/* ============================================================
   KÖRBER SEXUALBERATUNGEN — Praxis für Sexologie
   Formance-System (Container-Raster, Reveal-Animationen, Sticky-Shrink-Nav,
   Karten-Hover, Scroll-Stack). Vorbild: ruhe.band + skoerber. Textfluss seit 2026-09-08
   EINHEITLICH (Kundenfeedback): linksbündiger Kopf, EINE Textbreite (--measure), kein L/R-Pendel.
   Farben/Typo/Spacing leben NUR in :root-Custom-Properties.
   ============================================================ */
:root {
  /* Palette — Leinen · Sand · Mauve · Bernstein · Aubergine */
  --color-bg: #F8F4EE;             /* Leinen (Seite) */
  --color-surface: #FFFFFF;        /* Karten */
  --color-tint: #EFE5DA;           /* Sand (Wechselflächen) */
  --color-greige: #D9CCBC;         /* Linien */
  --color-border: #E8DCCD;         /* Kartenränder */
  --color-border-hover: #D2BFA9;
  --color-ink: #2A2226;            /* Tinte */
  --color-ink-muted: #675B60;
  --color-ink-soft: #857880;
  --color-label: #AE9FA3;
  --color-mauve: #8E6F86;          /* Sekundär (Eyebrows, Do-Badge) */
  --color-mauve-deep: #6F546A;
  --color-mauve-light: #B99AB0;
  --color-accent: #B3702F;         /* Bernstein */
  --color-accent-hover: #94591F;
  --color-accent-soft: #D6A66C;
  --color-deep: #33232F;           /* Aubergine — Hero + Footer */
  --color-silver: #EEE6E8;
  --color-on-deep: #D9CFD3;

  --gradient-hero: linear-gradient(180deg, #33232F 0%, #33232F 100%);

  /* Typografie */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max-width: 1100px;
  --measure: 62ch;                 /* EINE Textbreite für Lede, Prose, Intros */
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 7rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 70px; }
::selection { background: var(--color-accent); color: var(--color-bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--color-accent); }

/* ===================== RASTER ===================== */
/* EIN Container, EINE linke Kante — alle Sektionen hängen daran. */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

/* ===================== ANIMATIONS-SYSTEM =====================
   Gate: <html class="js-anim"> (Inline-Script im <head>).
   Reveal: .rv wird per IntersectionObserver .is-visible. */
@keyframes ks-draw { from { stroke-dashoffset: var(--len, 1600); } to { stroke-dashoffset: 0; } }
@keyframes ks-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ks-rule { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ks-fade { from { opacity: 0; } to { opacity: 1; } }

.js-anim .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.js-anim .rv.is-visible { opacity: 1; transform: none; }
.js-anim .rv-d1 { transition-delay: 80ms; }
.js-anim .rv-d2 { transition-delay: 160ms; }
.js-anim .rv-d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .rv { opacity: 1; transform: none; transition: none; }
  .js-anim .hero-content { animation: none; }
  .hero-chain path { animation: none; stroke-dashoffset: 0; }
  .hero-chain text, .hero-chain circle { animation: none; opacity: 1; }
  .page-head .rule { animation: none; }
}

/* ===================== NAV (sticky, shrink, Logo-Swap) ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-greige);
  transition: box-shadow 0.2s ease;
}
.site-nav.is-scrolled { box-shadow: 0 2px 14px rgba(42, 34, 38, 0.07); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: padding 0.2s ease;
}
.site-nav.is-scrolled .nav-inner { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-ink);
}
.brand-tile {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-deep) 0%, #5C4157 55%, var(--color-mauve) 100%);
  color: var(--color-bg);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: width 0.2s ease, height 0.2s ease, font-size 0.2s ease;
}
.site-nav.is-scrolled .brand-tile { width: 33px; height: 33px; font-size: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-mauve);
  margin-top: 4px;
}
.site-nav.is-scrolled .brand-text { display: none; }
.nav-links { display: flex; gap: var(--space-2); margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--color-ink-muted); font-size: 0.9rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.is-active { color: var(--color-accent); }
.nav-toggle { display: none; }

/* ===================== EYEBROW (mit Strich) ===================== */
.eyebrow {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-mauve);
  margin: 0 0 var(--space-3);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: 0.22em;
}

/* ===================== HERO ===================== */
.hero {
  background: var(--color-deep);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; }
.hero-inner { padding-top: var(--space-6); padding-bottom: var(--space-5); }
.hero-inner--compact { padding-top: var(--space-5); padding-bottom: var(--space-4); }
.js-anim .hero-content { animation: ks-rise 0.9s ease both; }
.hero .eyebrow { color: var(--color-mauve-light); }
.hero .eyebrow::before { background: var(--color-accent-soft); }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hero .lede {
  color: var(--color-on-deep);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 48ch;
  margin: 0;
}
/* Fünfklang: Spüren · Fühlen · Erleben · Erkennen · Handeln.
   DAS dynamische Hero-Element — Linie zeichnet sich, fünf Knoten atmen
   nacheinander (rAF in site.js), Gradient wandert. */
.hero-chain {
  display: block;
  width: min(880px, 96%);
  height: auto;
  margin: 22px 0 22px;
  overflow: visible;
}
.hero-chain path {
  fill: none;
  stroke: url(#chainGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1300;
  --len: 1300;
  animation: ks-draw 1.8s 0.3s ease both;
}
.hero-chain circle {
  fill: url(#chainGrad);
  animation: ks-fade 0.6s ease both;
}
.hero-chain circle:nth-of-type(1) { animation-delay: 0.5s; }
.hero-chain circle:nth-of-type(2) { animation-delay: 0.8s; }
.hero-chain circle:nth-of-type(3) { animation-delay: 1.1s; }
.hero-chain circle:nth-of-type(4) { animation-delay: 1.4s; }
.hero-chain circle:nth-of-type(5) { animation-delay: 1.7s; }
.hero-chain text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  fill: var(--color-silver);
  animation: ks-fade 0.8s ease both;
}
.hero-chain text:nth-of-type(1) { animation-delay: 0.7s; }
.hero-chain text:nth-of-type(2) { animation-delay: 1.0s; }
.hero-chain text:nth-of-type(3) { animation-delay: 1.3s; }
.hero-chain text:nth-of-type(4) { animation-delay: 1.6s; }
.hero-chain text:nth-of-type(5) { animation-delay: 1.9s; }

/* ===================== SEKTIONEN =====================
   Flächen-Rhythmus: Leinen ↔ Sand im Wechsel — Tonwechsel statt Trennlinien.
   Kopf (.sec-head) immer linksbündig über die volle Breite, Text in --measure,
   kein L/R-Pendel mehr (Kundenfeedback 2026-09-08). */
.section { padding: var(--space-6) 0; }
.section--tint { background: var(--color-tint); }
.section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  max-width: 24ch;
  text-wrap: balance;
}
.section-lede { color: var(--color-ink-muted); max-width: var(--measure); margin: 0 0 var(--space-3); }
.sec-head { margin-bottom: var(--space-4); }
.sec-head h2 { margin-bottom: var(--space-2); }
.sec-head > :last-child { margin-bottom: 0; }
.section--tint,
.section--deep { position: relative; overflow: hidden; }
.section--tint .container,
.section--deep .container { position: relative; }

/* ===================== SPLIT (Text links, Beiwerk rechts) ===================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split-media { margin: 0; }
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.split-media--top img { object-position: 50% 10%; }
/* Zur Person: das Porträt füllt auf Desktop exakt die Höhe der Textspalte (Owner 09-08:
   «picture alignment is off» — das 4:5-Bild hing ~150px unter dem Text). Absolut im
   Figure-Rahmen → das Bild bringt keine Eigenhöhe in die Grid-Zeile ein. */
@media (min-width: 801px) {
  .split--media { align-items: stretch; }
  .split--media .split-media { position: relative; min-height: 0; }
  .split--media .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
}

/* ===================== PROSE ===================== */
.prose { max-width: var(--measure); }
.prose--wide { max-width: none; }
.prose p { margin: 0 0 var(--space-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose ul { margin: 0 0 var(--space-2); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.3rem; }
.prose h2 {
  font-size: 1.4rem;
  margin: var(--space-4) 0 var(--space-1);
  max-width: none;
}

/* ===================== THEMA (Tags unter dem Text) ===================== */
.factor-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-content: start;
}
.factor-tags--below { margin-top: var(--space-4); }
@keyframes ks-wander { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* EIN Tag-Stil für die Thema-Wörter UND die Themen-Chips (Owner 09-08: Konsistenz) — wandernder Mauve/Bernstein-Verlauf */
.factor-tags li,
.chip {
  border: 1px solid var(--color-greige);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  background: linear-gradient(120deg,
    rgba(142, 111, 134, 0.10) 0%,
    rgba(214, 166, 108, 0.14) 50%,
    rgba(142, 111, 134, 0.10) 100%);
  background-size: 220% 100%;
  animation: ks-wander 9s ease-in-out infinite alternate;
}
.factor-tags li:nth-child(2n), .chips .chip:nth-child(2n) { animation-delay: -3s; }
.factor-tags li:nth-child(3n), .chips .chip:nth-child(3n) { animation-delay: -6s; }
@media (prefers-reduced-motion: reduce) { .factor-tags li, .chip { animation: none; } }
/* ===================== KARTEN (Angebot) — mit Hover-Lift ===================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillars--2 { grid-template-columns: repeat(2, 1fr); }
.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(42, 34, 38, 0.02);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(42, 34, 38, 0.08);
  border-color: var(--color-border-hover);
}
.pillar .pillar-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--color-accent);
  margin: 0 0 14px;
}
.pillar h3 { font-weight: 600; font-size: 1.05rem; margin: 0 0 8px; }
.pillar p { font-size: 0.92rem; color: var(--color-ink-soft); line-height: 1.6; margin: 0; }
.pillar p + p { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .pillar { transition: none; }
  .pillar:hover { transform: none; }
}

/* ===================== SCROLL-STACK (Themengebiete) =====================
   formance.ch ueber-uns-Muster: jede Karte klebt (sticky) mit wachsendem
   Offset, die nächste schiebt sich darüber. Reines CSS. --i = Index im Markup.
   Abstand als margin-TOP der folgenden Karte, NIE margin-bottom (sticky hält
   die eigene Margin-Box → unterer Rand bricht den Fächer am Ende). */
.stack {
  --stack-top: 88px;
  --stack-step: 16px;
  --stack-bottom: 20px;      /* Luft unter einer bildschirmhohen Karte */
  list-style: none;
  padding: 0;
  margin: 0;
}
.stack > li {
  --card-top: calc(var(--stack-top) + var(--i, 0) * var(--stack-step));
  position: sticky;
  top: var(--card-top);
}
/* --runway (site.js) = Überhang der VORIGEN Karte: so lange bleibt sie allein
   gepinnt und ihr Inhalt läuft durch, erst dann kommt die nächste Karte darüber. */
.stack > li + li { margin-top: calc(90px + var(--runway, 0px)); }
.stack::after { content: ''; display: block; height: var(--runway-end, 0px); }   /* Auslauf der letzten Karte */
/* Karte höchstens bildschirmhoch (nur mit JS, Klasse .stack--fit): der Inhalt in
   .stack-clip wird geclippt und von site.js an den Seiten-Scroll gekoppelt. */
.stack--fit .pillar {
  max-height: calc(100vh - var(--card-top) - var(--stack-bottom));
  max-height: calc(100svh - var(--card-top) - var(--stack-bottom));
}
.stack-clip { min-height: 0; overflow: hidden; }
.stack-clip > :last-child { margin-bottom: 0; }
.stack .pillar {
  box-shadow: 0 -10px 26px rgba(42, 34, 38, 0.07), 0 14px 34px rgba(42, 34, 38, 0.07);
  padding: 34px 32px 30px;
}
.stack .pillar h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.stack .pillar p.stack-intro { font-size: 0.97rem; color: var(--color-ink-muted); margin: 0 0 18px; max-width: var(--measure); }
.stack .pillar .stack-body { margin: 0 0 18px; max-width: var(--measure); }
.stack .pillar .stack-body p { font-size: 0.97rem; color: var(--color-ink-muted); line-height: 1.65; }   /* wie .stack-intro */
.stack .pillar > :last-child { margin-bottom: 0; }

/* Schritte (Arbeitsweise) — vier kompakte Karten untereinander, Nummer + Titel in
   EINER Zeile, damit die linke Spalte höhenmässig zur Erwarten-Liste rechts passt
   (Owner 2026-09-08; löst den gepinnten Stapel ab, der live nur Karte 01 zeigte). */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pillar--step { padding: 16px 22px 14px; }
.pillar--step .pillar-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.pillar--step .pillar-lead { margin: 0; font-size: 1.05rem; }
.pillar--step h3 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; }
.pillar--step p { font-size: 0.95rem; color: var(--color-ink-muted); }

/* Chips (Themen innerhalb einer Stack-Karte) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chip { transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }   /* Optik: gemeinsame Regel bei .factor-tags li (Thema) */
.chip:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 8px 20px rgba(42, 34, 38, 0.07);
  transform: translateY(-1px);
}

/* ===================== SCHRITTE (Arbeitsweise) ===================== */
.steps { margin-top: var(--space-2); }
.step {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  border-top: 1px solid var(--color-greige);
  padding: var(--space-3) 0;
}
.step:last-child { border-bottom: 1px solid var(--color-greige); }
.step-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-accent);
  flex: none;
  width: 2.2rem;
}
.step h3 { font-weight: 600; font-size: 1.05rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--color-ink-muted); font-size: 0.95rem; }
.steps-note { color: var(--color-ink-soft); font-size: 0.92rem; margin: var(--space-3) 0 0; max-width: var(--measure); }

/* ===================== DO / DON'T (Erwartung / Abgrenzung) ===================== */
.dodont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.dodont--stacked { grid-template-columns: 1fr; gap: var(--space-4); }
.dodont-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.dodont-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.dodont-badge.is-do { background: var(--color-mauve-deep); }
.dodont-badge.is-dont { background: var(--color-accent); }
.dodont-col ul { list-style: none; margin: 0; padding: 0; }
.dodont-col li {
  border-top: 1px solid var(--color-greige);
  padding: 13px 0 13px 30px;
  position: relative;
  font-size: 0.97rem;
}
.dodont-col li:last-child { border-bottom: 1px solid var(--color-greige); }
.dodont-col li::before {
  content: "\2713";
  position: absolute;
  left: 3px;
  top: 13px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-mauve-deep);
}
.dodont-col ul.is-muted li { color: var(--color-ink-soft); }
.dodont-col ul.is-muted li::before {
  content: "\00d7";
  color: var(--color-accent-soft);
  font-size: 1rem;
  top: 11px;
}

/* ===================== ÜBER MICH — Fakten-Zeile ===================== */
.facts-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: var(--space-3) 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-label);
}

/* ===================== KOSTEN (Tarif-Zeilen) ===================== */
/* Tarife: zwei Blöcke nebeneinander, linksbündig wie alles andere; Gruppen als
   Zwischentitel, drei Spalten Leistung | Dauer | Preis — keine Löcher. */
.rate-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }   /* zwei Blöcke nebeneinander */
.rate-table { width: auto; max-width: none; margin-left: 0; }
.rate-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  margin: 30px 0 8px;
}
.rate-table .rate-head:first-child { margin-top: 0; }
.rate-head .rate-lead { font-style: italic; color: var(--color-accent); }
.rate-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 4px 24px;
  align-items: baseline;
  border-top: 1px solid var(--color-greige);
  padding: 12px 0;
}
.rate-row:last-child,
.rate-row + .rate-head { border-top: 0; }
.rate-table > .rate-row:last-of-type { border-bottom: 1px solid var(--color-greige); }
.rate-head + .rate-row { border-top: 1px solid var(--color-greige); }
.rate-row:has(+ .rate-head) { border-bottom: 1px solid var(--color-greige); }   /* Gruppe unten schliessen */
.rate-row + .rate-row { border-top: 1px solid var(--color-greige); }
.rate-row .rate-name { font-weight: 600; font-size: 0.97rem; }
.rate-row .rate-meta { color: var(--color-ink-soft); font-size: 0.88rem; }
.rate-row .rate-price { font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-accent); white-space: nowrap; text-align: right; }
.rate-notes {
  width: auto;
  max-width: none;
  margin: var(--space-3) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.rate-notes p { margin: 0; color: var(--color-ink-soft); font-size: 0.88rem; }
.rate-notes strong { color: var(--color-ink-muted); font-weight: 600; }

/* ===================== KONTAKT ===================== */
.contact-form { max-width: 640px; }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.field-hint { color: var(--color-ink-soft); font-size: 0.85rem; margin: 0 0 var(--space-2); max-width: 52ch; }
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-accent);
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms var(--ease);
}
.btn:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-banner {
  border-radius: 12px;
  padding: var(--space-2);
  margin-bottom: var(--space-2);
  border: 1px solid;
  max-width: 640px;
}
.form-banner.is-success { background: #eef0e8; border-color: #b9c3a8; color: #3a4630; }
.form-banner.is-error { background: #f7ebe4; border-color: #d9b8a5; color: #7a3c22; }

.address {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.address h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.address .address-sub { color: var(--color-mauve); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 var(--space-2); }
.address p { margin: 0 0 var(--space-2); }
.address p:last-child { margin-bottom: 0; }
.address a { color: var(--color-ink); text-decoration: none; border-bottom: 1px solid var(--color-greige); }
.address a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.address .address-way { border-top: 1px solid var(--color-greige); padding-top: var(--space-2); margin-top: var(--space-2); font-size: 0.92rem; color: var(--color-ink-muted); }
.address .address-way strong { color: var(--color-ink); font-weight: 600; }
/* Karte (statisches Markenfarben-Bild, Klick → Google Maps) */
.map-figure { margin: var(--space-2) 0; }
.map-figure > a { display: block; border: 0; }
.map-figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--color-border); }
.map-figure figcaption { font-size: 0.82rem; color: var(--color-ink-soft); margin-top: 8px; }

/* ===================== RECHTSSEITEN ===================== */
.page-head { padding: var(--space-6) 0 0; }
.page-head .rule {
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: var(--space-2);
  animation: ks-rule 0.9s var(--ease) both;
}

/* ===================== FOOTER (skoerber-Einheitsfooter: links ©, rechts Links) ===================== */
.site-footer {
  background: var(--color-deep);
  color: var(--color-on-deep);
  padding: 22px var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.site-footer .footer-meta { color: var(--color-on-deep); }
.footer-nav { display: flex; gap: 20px; margin: 0; }
.footer-nav a { color: var(--color-silver); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* ===================== MOBILE ===================== */
@media (max-width: 900px) {
  .rate-cols { grid-template-columns: 1fr; gap: var(--space-4) 0; }
}
@media (max-width: 640px) {
  .rate-row { grid-template-columns: 1fr auto; }
  .rate-row .rate-meta { grid-column: 1; }
  .rate-row .rate-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 800px) {
  .split,
  .dodont,
  .pillars,
  .pillars--2 { grid-template-columns: 1fr; }
  .split { gap: var(--space-3); }
  .stack { --stack-top: 70px; --stack-step: 12px; --stack-bottom: 16px; }
  .stack > li + li { margin-top: calc(60px + var(--runway, 0px)); }
  .hero-chain text { font-size: 38px; }
}
@media (max-width: 560px) {
  .hero-chain text { font-size: 48px; }
  .hero-chain path { stroke-width: 3.5; }
}
@media (max-width: 1180px) {
  .brand-word { font-size: 1.15rem; }
  .nav-links { gap: 0.8rem; }
  .nav-links a { font-size: 0.84rem; }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 0.4rem;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    margin: 5px 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-greige);
    padding: var(--space-2) var(--space-3);
  }
  .nav-links.is-open { display: flex; }
  .hero-inner { padding-top: var(--space-5); padding-bottom: var(--space-4); }
  .brand-sub { display: none; }
}
