/* ---------- Tokens ---------- */
:root {
  --paper: #F4F0E8;
  --paper-2: #ECE6DB;
  --paper-3: #E2DACB;
  --ink: #1C1A17;
  --ink-2: #3A362F;
  --muted: #6E675C;
  --line: #D6CEBF;
  --accent: #B9441C;
  --accent-ink: #8F3313;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --header-h: 68px;
  --z-header: 20;
  --z-grain: 30;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* Papierkorn */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-grain); opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

.kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--muted); margin-bottom: 20px; }
.kicker::before { content: "— "; color: var(--accent); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border: 0; border-radius: 3px;
  background: var(--ink); color: var(--paper);
  font: 500 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .15s;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-arrow span { color: var(--muted); font-weight: 400; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h);
  background: rgba(244, 240, 232, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.wordmark { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1; }
.wordmark-q { color: var(--accent); font-style: italic; }
.wordmark-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 8px; vertical-align: middle; }
.wordmark-dot { color: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-cta { font-weight: 500; font-size: .95rem; text-decoration: none; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 3px; transition: background-color .2s, color .2s; }
.header-cta:hover { background: var(--ink); color: var(--paper); }

.lang-switch { display: flex; align-items: center; font-family: var(--mono); font-size: .78rem; }
.lang-switch button { border: 0; background: none; font: inherit; color: var(--muted); padding: 4px 6px; cursor: pointer; }
.lang-switch button + button::before { content: "/"; display: inline-block; text-decoration: none; color: var(--line); margin-right: 10px; margin-left: -4px; }
.lang-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero h1 { max-width: 15ch; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-top: 44px; padding-bottom: 56px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-photo { margin: 0 auto; }
.hero-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 42%; border-radius: 2px; filter: saturate(.85) contrast(1.02); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 24px 32px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dd { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dt { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 120px 0 128px; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-lead { margin-top: 22px; font-size: 1.08rem; color: var(--ink-2); max-width: 56ch; }

/* Full cycle: Titel links, Liste rechts */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 40px); }
.phases { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.phases li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 14px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.phase-num { font-family: var(--mono); font-size: .85rem; color: var(--accent); padding-top: 8px; }
.phases h3 { margin-bottom: 8px; }
.phases p { color: var(--ink-2); max-width: 52ch; }
.phase-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.phase-tags span { font-family: var(--mono); font-size: .74rem; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; }
.prose { display: grid; gap: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; padding-top: 6px; }
.prose p:first-child { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; color: var(--ink); }
.facts-3 { grid-template-columns: repeat(3, 1fr); }
.greetings .more { font-family: var(--mono); font-size: .32em; letter-spacing: 0; vertical-align: super; color: #A79F92; }
.benefits.benefits-3 { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.benefits-3 article:nth-child(even) { padding-left: 0; border-left: 0; }
.team-groups { border-top: 1px solid var(--ink); }
.team-group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.team-group-label { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 6px; }
.team-group .people { grid-template-columns: repeat(2, 1fr); border-top: 0; }
.team-group .person { padding-top: 0; padding-bottom: 0; }
.contact address { font-style: normal; margin-top: 18px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.phase-kpi { grid-column: 2; justify-self: start; font-family: var(--mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; border-radius: 2px; }

/* Sprachen */
.languages { background: var(--ink); color: var(--paper); padding: 112px 0 120px; }
.languages .kicker { color: #A79F92; }
.greetings { font-family: var(--serif); font-size: clamp(3rem, 9.5vw, 8.5rem); line-height: .98; letter-spacing: -0.03em; margin: 0 0 40px; }
.greetings span { display: inline-block; margin-right: .18em; }
.greetings .accent { font-style: italic; color: #E0794F; }
.languages-text { max-width: 52ch; font-size: 1.15rem; color: #D7D0C4; margin-left: auto; }

/* Leistungen */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.service { padding: 36px 48px 8px 0; }
.service + .service { padding-left: 48px; border-left: 1px solid var(--line); }
.service-tag { font-family: var(--mono); font-size: .8rem; color: var(--accent); margin-bottom: 14px; }
.service h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 26px; max-width: 18ch; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-2); }

.photo-band { display: grid; grid-template-columns: 7fr 4fr; gap: 20px; margin-top: 96px; align-items: end; }
.photo-band img { width: 100%; object-fit: cover; border-radius: 2px; filter: saturate(.85); }
.photo-band img:first-child { aspect-ratio: 3 / 2; }
.photo-band img:last-child { aspect-ratio: 4 / 5; margin-bottom: -56px; }

/* Vorteile */
.benefits { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.benefits article { padding: 32px 0 40px; border-top: 1px solid var(--line); }
.benefits h3 { margin-bottom: 12px; }
.benefits p { color: var(--ink-2); max-width: 46ch; }

/* Ablauf */
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.weeks li { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.weeks li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40%; height: 2px; background: var(--accent); }
.week { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.weeks h3 { margin: 10px 0 10px; }
.weeks p { color: var(--ink-2); font-size: .97rem; }

/* Team */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: center; padding: 28px 24px 28px 0; }
.person + .person { padding-left: 24px; border-left: 1px solid var(--line); }
.person h3 { font-size: 1.35rem; }
.portrait {
  grid-row: span 2; width: 96px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 2px;
  background: var(--paper-3); color: var(--ink-2); font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em;
}
.portrait-2 { background: #DCD1BE; }
.portrait-photo { display: block; height: auto; object-fit: cover; }
.portrait-3 { background: #D5CCBE; }
.person p { color: var(--muted); font-size: .95rem; align-self: start; }
.person h3 { align-self: end; }

/* FAQ */
.faq { margin: 0; border-top: 1px solid var(--ink); }
.faq div { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.faq dd { margin: 0; color: var(--ink-2); max-width: 58ch; padding-top: 4px; }

/* Kontakt */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.direct { margin-top: 44px; display: grid; gap: 4px; }
.direct a { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-decoration: none; line-height: 1.25; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.direct a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.direct p { margin-top: 14px; color: var(--muted); font-size: .95rem; max-width: 40ch; }

.contact-form { display: grid; gap: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-form label { display: grid; gap: 6px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%; font: 400 1.05rem var(--sans); color: var(--ink);
  padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0; background: transparent;
  transition: border-color .2s;
}
.contact-form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1A17' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom: 2px solid var(--accent); padding-bottom: 9px; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form ::placeholder { color: #A39B8E; }
.contact-form .invalid { border-bottom-color: #B3261E !important; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 12px; font-family: var(--sans); font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--ink); flex: none; }
.consent a { color: var(--ink); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .92rem; min-height: 1.4em; }
.form-status.error { color: #B3261E; }
.form-status.ok { color: var(--ink); }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: baseline; gap: 32px; flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 1.4rem; }
.footer-meta { color: var(--muted); font-size: .9rem; }
.footer-legal { margin-left: auto; display: flex; gap: 24px; font-size: .9rem; }
.footer-legal a { text-decoration: none; color: var(--ink-2); }
.footer-legal a:hover { color: var(--accent-ink); }

/* ---------- Rechtliche Seiten / 404 ---------- */
.legal { padding: 80px 0 120px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--accent-ink); }
.legal .todo { background: #F6E3C8; padding: 1px 5px; border-radius: 2px; }
.legal-note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin-bottom: 36px; }
.back-link { margin-left: auto; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.back-link:hover { border-color: var(--accent); }

.notfound { min-height: 70vh; display: grid; align-items: center; padding: 80px 0; }
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: var(--accent); letter-spacing: -0.04em; }
.notfound h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 20px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 32px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { font-family: var(--serif); font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { border-bottom-color: var(--line); }
  .nav-mobile-cta { display: block; color: var(--accent-ink) !important; border-bottom: 0 !important; }

  .hero { padding-top: 48px; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; padding-bottom: 40px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services, .benefits, .benefits.benefits-3, .contact-grid { grid-template-columns: 1fr; }
  .facts-3 { grid-template-columns: 1fr 1fr; }
  .facts-3 div:nth-child(3) { grid-column: 1 / -1; }
  .team-group { grid-template-columns: 1fr; gap: 16px; }
  .service + .service { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .weeks { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .people { grid-template-columns: 1fr; }
  .person + .person { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .faq div { grid-template-columns: 1fr; gap: 10px; }
  .contact-grid { gap: 56px; }
  .section { padding: 88px 0 96px; }
  .languages { padding: 88px 0; }
  .languages-text { margin-left: 0; }
  .photo-band { margin-top: 64px; }
  .photo-band img:last-child { margin-bottom: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .facts dd { font-size: 2.3rem; }
  .facts div { padding-right: 12px; }
  .facts div + div { padding-left: 14px; }
  .phases li { grid-template-columns: 1fr; }
  .phase-kpi, .phase-tags { grid-column: 1; }
  .wordmark-sub { display: none; }
  .phase-num { padding-top: 0; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img:first-child { display: none; }
  .weeks, .people, .field-row, .team-group .people { grid-template-columns: 1fr; }
  .team-group .person + .person { padding-top: 20px; }
  .person { grid-template-columns: 72px minmax(0, 1fr); }
  .portrait { width: 72px; font-size: 1.6rem; }
  .section { padding: 72px 0 80px; }
  .section-head { margin-bottom: 44px; }
  .contact-form .btn { width: 100%; }
  .footer-legal { margin-left: 0; }
}
