/* ==========================================================================
   rachensperger steuerberatung – main.css
   Aufbau: 1 Fonts · 2 Tokens · 3 Basis · 4 Layout · 5 Typo · 6 Komponenten
           7 Seitenbereiche · 8 Formulare & Terminbuchung · 9 Utilities · 10 Motion
   ========================================================================== */

/* 1 · Fonts (selbst gehostet, OFL) ----------------------------------------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

/* 2 · Tokens --------------------------------------------------------------- */
:root {
  /* Marke (aus dem Logo gemessen) */
  --red: #a31211;
  --red-strong: #850e0d;
  --red-wash: #f7eceb;
  --stone: #817d7c;            /* Logo-Grau, nur dekorativ/groß */

  /* Neutral */
  --ink: #1c1f23;
  --ink-2: #2a2f35;
  --text: #1c1f23;
  --muted: #545a61;            /* 7:1 auf Weiß */
  --bg: #ffffff;
  --mist: #eef0f1;             /* kühles Kanzleigrau */
  --line: #d3d8dc;
  --line-soft: #e3e7ea;
  --on-ink: #ffffff;
  --on-ink-muted: #b9c0c6;

  /* Typo */
  --f-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --t-small: 0.9375rem;        /* 15 */
  --t-body: 1.0625rem;         /* 17 */
  --t-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  --t-h4: 1.1875rem;
  --t-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --t-h2: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  --t-h1: clamp(2.375rem, 1.5rem + 3.4vw, 4.375rem);
  --t-sub-h1: clamp(2.25rem, 1.5rem + 3vw, 4rem);

  /* Raum (Basis 4) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --col-gap: clamp(20px, 2.4vw, 32px);

  /* Form */
  --r-sm: 6px;
  --r-md: 10px;
  --r-pill: 999px;
  --r-hero: clamp(72px, 12vw, 180px);   /* Bogen des „R“ */
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  hyphens: auto;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

::selection { background: var(--red); color: #fff; }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* 4 · Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--flush, .section--flush-top { padding-top: 0; }
.page-hero + .section:not(.section--mist):not(.section--flush) { padding-top: calc(var(--section) * .45); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.split {
  display: grid;
  gap: var(--s-7) var(--col-gap);
}
.split__head h2 { font-size: clamp(2rem, 1.45rem + 1.7vw, 2.875rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split__head { grid-column: 1 / span 5; }
  .split__body { grid-column: 6 / span 7; }
  .split--even > :first-child { grid-column: 1 / span 6; }
  .split--even > :last-child { grid-column: 7 / span 6; }
}

/* 5 · Typografie ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  hyphens: manual;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.025em; font-weight: 420; }
h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: var(--t-h3); font-weight: 500; }
h4 { font-size: var(--t-h4); font-weight: 550; letter-spacing: 0; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 38em; }
.on-ink .lead { color: var(--on-ink-muted); }
.prose { max-width: 40em; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .3em; }
.muted { color: var(--muted); }
.small { font-size: var(--t-small); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }

/* Seitenkennung über der H1 – Satzschreibung, nicht versal */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s-5);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--muted);
}
.kicker .tick { width: 22px; height: 22px; color: var(--red); flex: none; }

.textlink {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.textlink:hover { color: var(--red); }
.on-ink .textlink { color: #fff; }
.on-ink .textlink:hover { color: #fff; text-decoration-color: #fff; }

/* 6 · Komponenten ---------------------------------------------------------- */

/* Icons */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tick { overflow: visible; }
.tick path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tick polygon { fill: currentColor; stroke: none; }

/* Buttons – Pillenform greift die runden Strichenden des Logos auf */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 19px; height: 19px; }
.btn--primary { --btn-bg: var(--red); --btn-bd: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-strong); --btn-bd: var(--red-strong); }
.btn--dark:hover { --btn-bg: var(--ink-2); --btn-bd: var(--ink-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--mist); --btn-bd: var(--mist); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--ghost-light:hover { --btn-bd: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (max-width: 479px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn { white-space: normal; }
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand { display: inline-flex; flex: none; margin-right: auto; }
.brand img { height: 46px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__link:hover { color: var(--red); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link {
  color: var(--red);
}
.nav__sub-toggle {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-left: -8px;
  border: 0; background: none; border-radius: var(--r-sm);
  color: var(--muted);
}
.nav__sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: -24px;
  width: min(560px, 80vw);
  padding: var(--s-3);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px -18px rgba(28,31,35,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--sub:hover .subnav,
.nav__item--sub:focus-within .subnav,
.subnav.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.subnav ul { list-style: none; display: grid; }
.subnav a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.subnav a:hover { background: var(--mist); }
.subnav .tick { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--line); transition: color .15s; }
.subnav a:hover .tick { color: var(--red); }
.subnav strong { font-weight: 600; }
.subnav span { font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.subnav__all { border-top: 1px solid var(--line-soft); margin-top: var(--s-2); padding-top: var(--s-2); }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .icon { width: 20px; height: 20px; }
.header-cta { display: none; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1140px) {
  .nav { display: block; }
  .nav-toggle, .header-call { display: none; }
  .header-phone { display: inline-flex; }
  .brand { margin-right: var(--s-3); }
  .nav { margin-right: auto; }
}
@media (max-width: 479px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .icon-btn { width: 42px; height: 42px; }
}

/* Mobile-Navigation */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  padding: var(--s-5) var(--gutter) calc(var(--s-9) + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility 0s linear .2s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .2s var(--ease); }
body.nav-open { overflow: hidden; }
.mobile-nav__list { list-style: none; border-top: 1px solid var(--line-soft); }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__link {
  flex: 1;
  display: block;
  padding: 18px 0;
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 450;
  text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--red); }
.mobile-nav__toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; background: none;
}
.mobile-nav__toggle .icon { transition: transform .2s var(--ease); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; padding: 0 0 var(--s-4); }
.mobile-nav__sub a { display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--line-soft); text-decoration: none; font-size: 1.125rem; }
.mobile-nav__sub a:hover { border-left-color: var(--red); }
.mobile-nav__meta { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.mobile-nav__meta .contact-line { font-size: 1.125rem; }

/* Sticky-Leiste mobil */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 24px -16px rgba(28,31,35,.3);
}
.callbar .btn { min-height: 48px; padding: 0 12px; }
body.has-callbar { padding-bottom: 76px; }
@media (min-width: 900px) {
  .callbar { display: none; }
  body.has-callbar { padding-bottom: 0; }
}

/* Kontaktzeilen */
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
}
a.contact-line:hover { color: var(--red); }
.on-ink a.contact-line:hover { color: #fff; text-decoration: underline; }
.contact-line .icon { color: var(--red); }
.on-ink .contact-line .icon { color: var(--on-ink-muted); }
.contact-lines { display: grid; gap: var(--s-3); }

/* Hauptbuch-Liste (Bilanz-Optik) */
.ledger { margin: 0; font-variant-numeric: tabular-nums lining-nums; }
.ledger__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-5);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ledger__row:first-child { border-top: 1px solid var(--line); }
.ledger dt { color: var(--muted); }
.ledger dd { margin: 0; font-family: var(--f-display); font-size: 1.375rem; font-weight: 500; text-align: right; white-space: nowrap; }
.ledger__row--total { border-bottom: 4px double var(--ink); }
.ledger__row--total dt { color: var(--ink); font-weight: 600; }
.ledger__row--total dd { color: var(--red); }
.ledger--compact .ledger__row { padding: 10px 0; }
.ledger--compact dd { font-family: var(--f-text); font-size: 1.0625rem; font-weight: 600; }
.on-ink .ledger__row { border-color: rgba(255,255,255,.18); }
.on-ink .ledger dt { color: var(--on-ink-muted); }
.on-ink .ledger__row--total { border-bottom-color: #fff; }
.on-ink .ledger__row--total dd, .on-ink .ledger__row--total dt { color: #fff; }

/* Häkchen-Liste */
.checks { list-style: none; display: grid; gap: 2px; }
.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.checks .tick { width: 26px; height: 26px; color: var(--red); margin-top: -1px; }
@media (min-width: 760px) {
  .checks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
}

/* Platzhalter */
.ph {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: var(--r-md);
  background-color: #dfe3e6;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.28) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.28) 75%, transparent 75%);
  background-size: 22px 22px;
  color: var(--ink);
}
.ph__label {
  margin: var(--s-4);
  padding: 8px 12px;
  background: #fff;
  border-radius: var(--r-sm);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.35;
  max-width: calc(100% - 32px);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Porträts mit optionalem Foto (Datei einfach in assets/img/team/ legen) */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #dfe3e6;
}
.portrait__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 400;
  color: var(--stone);
  letter-spacing: .02em;
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.portrait img.is-loaded { opacity: 1; }

/* Offen-Status */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.open-status__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--stone);
  flex: none;
}
.open-status.is-open .open-status__dot { background: #2f8a4c; box-shadow: 0 0 0 4px rgba(47,138,76,.16); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; margin: -1px 0 0 -8px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { padding: 0 0 var(--s-6); max-width: 40em; color: var(--muted); }
.faq details[open] .faq__body { animation: reveal .3s var(--ease); }

/* Tabs */
.tabs__list {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding-bottom: var(--s-2);
  scrollbar-width: thin;
}
.tabs__tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.tabs__tab:hover { border-color: var(--ink); }
.tabs__tab[aria-selected="true"], .chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tabs__panel { padding-top: var(--s-5); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-weight: 600;
}
.chip:hover { border-color: var(--ink); }
.chip__count { color: var(--muted); font-weight: 400; margin-left: 4px; }
.chip[aria-pressed="true"] .chip__count { color: var(--on-ink-muted); }
@media (max-width: 639px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; }
  .chips--scroll .chip { flex: none; }
}

/* Einbettungs-Slot für Fremdinhalte */
.embed-slot {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.embed-slot__title { font-weight: 600; }

/* Offene Inhalte – bewusst auffällig, vor Livegang entfernen */
.todo {
  background: #fff3bf;
  color: #5a4500;
  padding: 0 .25em;
  border-radius: 3px;
  outline: 1px dashed #c9a400;
  font-weight: 600;
  font-style: normal;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--s-6); font-size: var(--t-small); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }

/* 7 · Seitenbereiche ------------------------------------------------------- */

/* Hero Startseite */
.hero { padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); padding-bottom: var(--section); }
.hero__grid { display: grid; gap: var(--s-8) var(--col-gap); align-items: start; }
.hero h1 { margin-bottom: var(--s-6); max-width: 12.5em; }
.hero h1 span { display: block; color: var(--stone); }
.hero .lead { margin-bottom: var(--s-6); max-width: 34em; }

.hero-list { list-style: none; margin: 0 0 var(--s-7); border-top: 1px solid var(--line); max-width: 34em; }
.hero-list li { border-bottom: 1px solid var(--line); }
.hero-list a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.4375rem);
  font-weight: 450;
}
.hero-list .tick { width: 30px; height: 30px; color: var(--red); }
.hero-list .icon { color: var(--line); transition: color .2s var(--ease), transform .2s var(--ease); }
.hero-list a:hover { color: var(--red); }
.hero-list a:hover .icon { color: var(--red); transform: translateX(3px); }

.hero__media { position: relative; }
.hero__media .ph {
  --ratio: 4 / 3;
  place-items: start end;
  border-radius: var(--r-hero) var(--r-md) var(--r-md) var(--r-md);
}
.hero__card {
  position: relative;
  margin: calc(-1 * var(--s-8)) var(--s-4) 0 auto;
  width: min(340px, calc(100% - var(--s-4)));
  padding: var(--s-5);
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 24px 50px -24px rgba(28,31,35,.35);
}
.hero__card .ledger { margin-top: var(--s-3); }
.hero__card .ledger__row { padding: 8px 0; font-size: var(--t-small); }
.hero__card .ledger dd { font-family: var(--f-text); font-size: var(--t-small); font-weight: 600; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero__text { grid-column: 1 / span 7; padding-top: var(--s-5); }
  .hero__media { grid-column: 8 / span 5; }
  .hero__media .ph { --ratio: 5 / 7; }
  .hero__card { margin-top: calc(-1 * var(--s-9)); margin-right: auto; margin-left: calc(-1 * var(--s-8)); }
}
@media (min-width: 1280px) {
  .hero__media { grid-column: 8 / span 5; }
}

/* Unterseiten-Kopf */
.page-hero { padding-top: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero h1 { font-size: var(--t-sub-h1); max-width: 14em; margin-bottom: var(--s-5); }
.page-hero__grid { display: grid; gap: var(--s-7) var(--col-gap); align-items: end; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .page-hero__text { grid-column: 1 / span 7; }
  .page-hero__aside { grid-column: 9 / span 4; }
}
.page-hero--media .ph { --ratio: 16 / 7; border-radius: var(--r-hero) var(--r-md) var(--r-md) var(--r-md); margin-top: var(--s-7); }
@media (max-width: 699px) { .page-hero--media .ph { --ratio: 4 / 3; } }

/* Abschnittskopf */
.section-head { display: grid; gap: var(--s-4) var(--col-gap); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { margin: 0; max-width: 16em; }
.section-head .lead { margin: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .section-head--split > :first-child { grid-column: 1 / span 6; }
  .section-head--split > :last-child { grid-column: 8 / span 5; }
}

/* Leistungszeilen */
.services { list-style: none; border-top: 1px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row a {
  position: relative;
  display: grid;
  gap: var(--s-2) var(--col-gap);
  padding: var(--s-6) 0;
  text-decoration: none;
}
.service-row h3 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); font-weight: 450; transition: color .2s var(--ease); }
.service-row p { margin: 0; color: var(--muted); max-width: 34em; }
.service-row__meta { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.service-row__go {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.service-row .tick { width: 36px; height: 36px; color: var(--line); transition: color .2s var(--ease); }
.service-row a:hover h3 { color: var(--red); }
.service-row a:hover .tick { color: var(--red); }
@media (min-width: 900px) {
  .service-row a { grid-template-columns: 48px repeat(11, minmax(0, 1fr)); align-items: center; }
  .service-row .tick { grid-column: 1; }
  .service-row h3 { grid-column: 2 / span 4; }
  .service-row p { grid-column: 6 / span 5; }
  .service-row__side { grid-column: 11 / span 2; justify-self: end; text-align: right; display: grid; gap: 6px; }
}
@media (max-width: 899px) {
  .service-row a { grid-template-columns: 36px 1fr; }
  .service-row .tick { grid-row: span 3; }
  .service-row__side { display: flex; gap: var(--s-4); align-items: baseline; flex-wrap: wrap; margin-top: var(--s-2); }
}

/* Zielgruppen */
.audiences { display: grid; gap: var(--s-6) var(--col-gap); list-style: none; }
.audiences li { padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.audiences h3 { margin-bottom: var(--s-3); }
.audiences p { color: var(--muted); }
@media (min-width: 800px) { .audiences { grid-template-columns: repeat(3, 1fr); } }

/* Personen-Block */
.person {
  display: grid;
  gap: var(--s-7) var(--col-gap);
  align-items: center;
}
.person .portrait { max-width: 420px; }
@media (max-width: 899px) { .person .portrait { max-width: 280px; } }
.person__sign { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.person__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; margin: 0; }
.person__role { color: var(--muted); margin: 0 0 var(--s-4); }
@media (min-width: 900px) {
  .person { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .person__media { grid-column: 1 / span 5; }
  .person__text { grid-column: 7 / span 6; }
}

/* Ablauf (echte Reihenfolge) */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s-6) var(--col-gap); }
.steps li { counter-increment: step; position: relative; padding-top: var(--s-7); }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 500;
}
.steps li::after {
  content: "";
  position: absolute; top: 18px; left: 48px; right: 0;
  height: 1px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 799px) { .steps li::after { display: none; } }

/* Link-Liste (Service & Wissen) */
.linklist { list-style: none; border-top: 1px solid var(--line); }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px var(--s-5);
  align-items: center;
  padding: var(--s-5) 0;
  text-decoration: none;
}
.linklist strong { font-family: var(--f-display); font-size: 1.375rem; font-weight: 500; }
.linklist span { grid-column: 1; color: var(--muted); }
.linklist .icon { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.linklist a:hover strong { color: var(--red); }
.linklist a:hover .icon { color: var(--red); transform: translateX(3px); }
.on-ink .linklist, .on-ink .linklist li { border-color: rgba(255,255,255,.18); }
.on-ink .linklist span { color: var(--on-ink-muted); }

/* Team */
.team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--s-7) var(--col-gap);
}
.team-grid--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
@media (min-width: 640px) { .team-grid--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team-grid--teaser { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.member h3 { font-size: 1.3125rem; margin: var(--s-4) 0 var(--s-1); }
.member__tasks { color: var(--muted); font-size: var(--t-small); margin: 0 0 var(--s-3); }
.member__contact { display: grid; gap: 4px; font-size: var(--t-small); }
.member__contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; overflow-wrap: anywhere; }
.member__contact a:hover { color: var(--red); text-decoration: underline; }
.member__contact .icon { width: 16px; height: 16px; color: var(--red); }
.team-grid--teaser .member h3 { font-size: 1.0625rem; margin-top: var(--s-3); font-family: var(--f-text); font-weight: 600; }
.member.is-hidden { display: none; }

.lead-member {
  display: grid;
  gap: var(--s-6) var(--col-gap);
  padding: var(--s-6);
  background: var(--mist);
  border-radius: var(--r-md);
}
.lead-member .portrait { max-width: 300px; }
@media (min-width: 760px) {
  .lead-member { grid-template-columns: minmax(200px, 300px) 1fr; align-items: center; padding: var(--s-7); }
}

/* Kompakte Ansprechpartner-Tabelle */
.contacts { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.contacts th, .contacts td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.contacts th { font-size: var(--t-small); color: var(--muted); font-weight: 600; border-bottom-color: var(--line); }
.contacts td a { text-decoration: none; }
.contacts td a:hover { color: var(--red); text-decoration: underline; }
@media (max-width: 639px) {
  .contacts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .contacts tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .contacts td { border: 0; padding: 2px 0; }
  .contacts td:nth-child(1) { font-weight: 600; }
  .contacts td:nth-child(3) { grid-column: 1 / -1; }
}

/* Zeitleiste */
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 var(--s-7) var(--s-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--red);
}
.timeline li:last-child::before { background: var(--red); }
.timeline__year { font-family: var(--f-display); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 450; line-height: 1.1; margin: 0 0 var(--s-2); font-variant-numeric: tabular-nums; }

/* Galerie-Platzhalter */
.gallery { display: grid; gap: var(--col-gap); grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: 2fr 1fr; }
  .gallery > :first-child { grid-row: span 2; }
  .gallery > :first-child .ph { height: 100%; aspect-ratio: auto; min-height: 100%; }
}

/* Abschluss-CTA */
.closing { background: var(--ink); color: #fff; }
.closing__grid { display: grid; gap: var(--s-8) var(--col-gap); }
.closing h2 { max-width: 13em; }
.closing .btn-row { margin-top: var(--s-6); }
.closing__mark { width: 64px; margin-bottom: var(--s-6); }
@media (min-width: 960px) {
  .closing__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .closing__text { grid-column: 1 / span 6; }
  .closing__info { grid-column: 8 / span 5; }
}
.closing__info h3 { font-size: 1.1875rem; font-family: var(--f-text); font-weight: 600; margin: 0 0 var(--s-3); color: var(--on-ink-muted); }
.closing__info > * + h3 { margin-top: var(--s-6); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--t-small); }
.site-footer__grid { display: grid; gap: var(--s-7) var(--col-gap); padding-block: var(--s-8); }
.site-footer img { height: 44px; width: auto; margin-bottom: var(--s-5); }
.site-footer h2 { font-family: var(--f-text); font-size: var(--t-small); font-weight: 600; color: #fff; margin: 0 0 var(--s-4); letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; padding-block: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Karte mit Einwilligung */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: var(--s-6);
  border-radius: var(--r-md);
  background-color: #dfe3e6;
  background-image:
    linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
}
.map-consent__box { max-width: 30em; padding: var(--s-6); background: #fff; border-radius: var(--r-md); box-shadow: 0 20px 40px -24px rgba(28,31,35,.4); }
.map-consent__box p { color: var(--muted); font-size: var(--t-small); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Info-Kacheln (Kontakt) */
.info-block { padding: var(--s-6); border-radius: var(--r-md); background: var(--mist); }
.info-block + .info-block { margin-top: var(--col-gap); }
.info-block h2, .info-block h3 { font-size: 1.375rem; margin-bottom: var(--s-4); }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* 8 · Formulare & Terminbuchung ------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; }
.field .req { color: var(--red); }
.field__hint { font-size: var(--t-small); color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f23' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: #aab2b8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(163,18,17,.18); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--red); }
.field__error { display: none; color: var(--red); font-size: var(--t-small); font-weight: 600; margin: 0; }
.field.has-error .field__error { display: block; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: var(--t-small); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--t-small); color: var(--muted); }
.demo-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #fff3bf;
  color: #4d3b00;
  font-size: var(--t-small);
}
.form-success {
  padding: var(--s-6);
  border-radius: var(--r-md);
  background: var(--mist);
  border-left: 4px solid var(--red);
}
.form-success:focus { outline: none; }

/* Terminbuchung */
.booking { display: grid; gap: var(--s-7) var(--col-gap); align-items: start; }
@media (min-width: 1000px) {
  .booking { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .booking__main { grid-column: 1 / span 8; }
  .booking__aside { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
}
.stepper { list-style: none; display: flex; gap: var(--s-2); margin-bottom: var(--s-7); counter-reset: bstep; }
.stepper li {
  flex: 1;
  counter-increment: bstep;
  padding-top: 12px;
  border-top: 3px solid var(--line);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--muted);
}
.stepper li::before { content: counter(bstep) ". "; }
.stepper li.is-current { border-top-color: var(--red); color: var(--ink); }
.stepper li.is-done { border-top-color: var(--ink); color: var(--ink); }

.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep > legend, .bstep__title { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 500; line-height: 1.2; margin-bottom: var(--s-5); padding: 0; }
.bstep__group + .bstep__group { margin-top: var(--s-7); }
.bstep__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.bstep__nav .btn:only-child { margin-left: auto; }
.bstep__error { color: var(--red); font-weight: 600; margin: var(--s-4) 0 0; }

.options { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px 12px;
  height: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .15s, background-color .15s;
}
.option__radio {
  grid-row: span 2;
  width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid #9aa3aa;
  border-radius: 50%;
  display: grid; place-items: center;
}
.option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s var(--ease); }
.option__name { font-weight: 600; }
.option__desc { font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.option__badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--red-wash); color: var(--red); font-size: .8125rem; font-weight: 700; vertical-align: 2px; }
.option input:hover + .option__card { border-color: #9aa3aa; }
.option input:checked + .option__card { border-color: var(--red); background: var(--red-wash); }
.option input:checked + .option__card .option__radio { border-color: var(--red); background: var(--red); }
.option input:checked + .option__card .option__radio::after { transform: scale(1); }
.option input:focus-visible + .option__card { outline: 3px solid var(--red); outline-offset: 2px; }

.cal { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); background: var(--mist); }
.cal__title { font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }
.cal__title span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cal__nav button:hover:not([disabled]) { border-color: var(--ink); }
.cal__nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 12px; border-bottom: 1px solid var(--line-soft); }
.day {
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 10px 4px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  background: none;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.day__wd { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.day__d { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.day__free { font-size: .75rem; color: var(--muted); }
.day:hover:not([disabled]) { border-color: var(--line); }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.day[aria-pressed="true"] .day__wd, .day[aria-pressed="true"] .day__free { color: var(--on-ink-muted); }
.day[disabled] { cursor: not-allowed; opacity: .45; }
.day[disabled] .day__d { text-decoration: line-through; text-decoration-thickness: 1px; }
.cal__slots { padding: 16px; }
.cal__slots-title { margin: 0 0 12px; font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot[disabled] { background: var(--mist); border-color: var(--mist); color: #8f979d; text-decoration: line-through; cursor: not-allowed; }
.cal__empty { color: var(--muted); margin: 0; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 16px 16px; font-size: .8125rem; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-block; }
.cal__legend i.is-busy { background: var(--mist); border-color: var(--mist); }
.cal__legend i.is-sel { background: var(--red); border-color: var(--red); }
@media (max-width: 479px) {
  .day { padding: 8px 0; }
  .day__d { font-size: 1.25rem; }
  .day__free { display: none; }
}

.summary { padding: var(--s-6); border-radius: var(--r-md); background: var(--mist); }
.summary h2 { font-size: 1.375rem; margin-bottom: var(--s-4); }
.summary .ledger dd { font-family: var(--f-text); font-size: 1rem; font-weight: 600; white-space: normal; max-width: 60%; }
.summary .ledger dd.is-empty { color: var(--muted); font-weight: 400; }
.summary__help { margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }

.confirm { padding: var(--s-7); border-radius: var(--r-md); background: var(--mist); }
.confirm:focus { outline: none; }
.confirm .tick { width: 56px; height: 56px; color: var(--red); margin-bottom: var(--s-5); }

/* 9 · Utilities ------------------------------------------------------------ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0 !important; }
.stack > * + * { margin-top: var(--s-5); }

/* 10 · Motion: ein einziger orchestrierter Moment – die Häkchen im Hero ---- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-3px, 3px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.js .hero-list .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .45s var(--ease) forwards; }
.js .hero-list .tick polygon { opacity: 0; transform-origin: 22px 4px; animation: pop .3s var(--ease) forwards; }
.js .hero-list li:nth-child(1) .tick path { animation-delay: .35s; } .js .hero-list li:nth-child(1) .tick polygon { animation-delay: .7s; }
.js .hero-list li:nth-child(2) .tick path { animation-delay: .55s; } .js .hero-list li:nth-child(2) .tick polygon { animation-delay: .9s; }
.js .hero-list li:nth-child(3) .tick path { animation-delay: .75s; } .js .hero-list li:nth-child(3) .tick polygon { animation-delay: 1.1s; }
.js .hero-list li:nth-child(4) .tick path { animation-delay: .95s; } .js .hero-list li:nth-child(4) .tick polygon { animation-delay: 1.3s; }
.js .hero-list li:nth-child(5) .tick path { animation-delay: 1.15s; } .js .hero-list li:nth-child(5) .tick polygon { animation-delay: 1.5s; }
.bstep.is-entering, .confirm.is-entering { animation: fadein .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .hero-list .tick path { stroke-dashoffset: 0; }
  .js .hero-list .tick polygon { opacity: 1; }
}

@media print {
  .site-header, .callbar, .mobile-nav, .closing .btn-row, .map-consent { display: none !important; }
  body { padding: 0 !important; }
  a { text-decoration: underline; }
}

@media (min-width: 900px) {
  .split--contact > .split__head { grid-column: 1 / span 5; }
  .split--contact > .split__body { grid-column: 7 / span 6; }
}

/* Grid-Kinder dürfen schrumpfen (verhindert Überlauf durch lange Inhalte) */
.split > *, .section-head > *, .hero__grid > *, .page-hero__grid > *, .booking > *, .closing__grid > *, .person > * { min-width: 0; }
.ledger dt { min-width: 0; }
.ledger dd { white-space: normal; max-width: 65%; }
.ledger dd.num, .ledger dd .num { white-space: nowrap; }
.option__card { align-content: start; }
.option--wide { grid-column: 1 / -1; }
.section--half-top { padding-top: calc(var(--section) * .5); }
@media (min-width: 760px) {
  .split__body .lead-member { grid-template-columns: minmax(120px, 170px) 1fr; padding: var(--s-6); }
}
