/* Nuntia GmbH – hell & seriös */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f2f0ea;
  --surface: #ffffff;
  --ink: #13202f;
  --ink-soft: #3c4857;
  --muted: #6a7482;
  --line: #e2ded5;
  --accent: #0f5e6b;
  --accent-dark: #0a4650;
  --accent-tint: #e6f0f0;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .98rem/1 var(--sans);
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-dark); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand-name small { font-family: var(--sans); font-size: .7rem; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px;
  border: 1px solid var(--line); border-radius: 50%; z-index: -1;
}
.hero::before {
  content: ""; position: absolute; right: -60px; top: 0; width: 320px; height: 320px;
  border: 1px solid var(--line); border-radius: 50%; z-index: -1;
}
.hero-inner { max-width: 780px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.2rem; max-width: 640px; color: var(--ink-soft); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1.1; display: block; }
.fact-label { font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { font-size: 1.08rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #cfd8d6; box-shadow: 0 12px 30px -18px rgba(19, 32, 47, .25); }
.card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent);
  margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }
.card ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.card li { font-size: .93rem; padding: 4px 0 4px 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 1.5px; background: var(--accent); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 1rem; color: var(--accent); margin-bottom: 10px;
}
.step p { font-size: .95rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list li:first-child { padding-top: 0; }
.why-list strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.why-list span { font-size: .96rem; }

.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; position: sticky; top: 104px;
}
.case-number { font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: var(--accent); }
.case-unit { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--ink); margin-top: 8px; letter-spacing: 0; }
.case blockquote { margin: 18px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.45; }
.case-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; }
.about-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.about-role { font-size: .95rem; color: var(--muted); margin-top: -.4em; margin-bottom: 1.4em; }
.langs { margin-top: 22px; font-size: .92rem; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #c9d1da; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #7fc1c8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.contact-details { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-details li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-details span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8d99a6; }
.contact-details a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.contact-details a:hover { color: #7fc1c8; }

.form { background: var(--surface); border-radius: var(--radius); padding: 40px; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form .btn { width: 100%; justify-content: center; }

/* Footer */
.site-footer { background: #0c1520; color: #8d99a6; font-size: .88rem; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: #c9d1da; text-decoration: none; margin-left: 22px; }
.site-footer a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 72px 0 104px; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.placeholder { background: #fff4d6; padding: 0 4px; border-radius: 3px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 360px; }
  .case { position: static; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 0 22px 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-value { font-size: 1.45rem; white-space: nowrap; }
  .fact-label { display: block; margin-top: 4px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .cards, .steps, .form-row { grid-template-columns: 1fr; }
  .form, .case { padding: 28px 22px; }
  .footer-inner { flex-direction: column; }
  .site-footer a { margin: 0 22px 0 0; }
}
