/* ==========================================================================
   VERTEORA — Version 2
   Editorial & warm. Skandinavisch, viel Weissraum, grosse Typografie.
   Alle Farbwerte sind auf WCAG 2.2 AA geprueft; die Verhaeltnisse stehen
   als Kommentar an den Tokens.
   ========================================================================== */

:root {
  /* --- Flaechen ------------------------------------------------------- */
  --papier:      #FDFBF7;   /* warmes Papier, Grundflaeche */
  --papier-rein: #FFFFFF;
  --sand:        #F3ECE1;   /* Sektionswechsel */
  --sand-tief:   #EAE0D1;
  --dunst:       #E7EFF0;   /* Petrol stark aufgehellt */

  /* --- Marke ----------------------------------------------------------- */
  --petrol:      #155D70;   /* aus dem Flyer uebernommen */
  --petrol-tief: #0D3F4D;
  --petrol-hell: #3D8296;
  --lehm:        #9C5833;   /* warmer Akzent — 5.3:1 auf --papier, 4.6:1 auf --sand */

  /* --- Schrift --------------------------------------------------------- */
  --tinte:       #1E2A2B;   /* 14.9:1 auf --papier */
  --tinte-2:     #455658;   /* 7.2:1  auf --papier */
  --tinte-3:     #5F6E70;   /* 5.0:1  auf --papier, 4.6:1 auf --sand */
  --auf-petrol:  #FFFFFF;
  --auf-petrol-2:#C6DFE5;   /*  8.0:1 auf --petrol-tief */

  /* --- Linien ---------------------------------------------------------- */
  --linie:       #E5DAC8;
  --linie-kraeftig: #9A8C79; /* 3.3:1 auf Weiss — Formularrahmen */
  --linie-petrol:#B7D2D8;

  /* --- Fokus ----------------------------------------------------------- */
  --fokus:       #0D3F4D;   /* 11.5:1 auf --papier */
  --fokus-halo:  #FFFFFF;

  /* --- Typografie ------------------------------------------------------ */
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Raster ---------------------------------------------------------- */
  --bahn:        1240px;
  --bahn-eng:    740px;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 28px;

  /* --- Schatten -------------------------------------------------------- */
  --sch-1: 0 1px 2px rgba(30,42,43,.04), 0 6px 18px rgba(30,42,43,.05);
  --sch-2: 0 2px 8px rgba(30,42,43,.05), 0 22px 50px rgba(30,42,43,.09);
  --sch-3: 0 30px 80px rgba(13,63,77,.20);

  --weich: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------- Grundlage */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--tinte);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.4vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--petrol); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-tief); }

strong, b { font-weight: 600; color: var(--tinte); }

/* Fokus: dunkler Ring mit hellem Halo — traegt auf hellem UND dunklem Grund.
   Nur outline, kein box-shadow: sonst wuerden vorhandene Schatten
   ueberschrieben (Befund aus der Pruefung von Version 1). */
:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 2px;
  border-radius: 4px;
}
.auf-dunkel :focus-visible,
.fuss :focus-visible { outline-color: var(--fokus-halo); }
.auf-dunkel .knopf--hell:focus-visible { outline-color: var(--fokus); }

::selection { background: var(--dunst); color: var(--petrol-tief); }

.bahn     { width: min(100% - 3rem, var(--bahn));     margin-inline: auto; }
.bahn-eng { width: min(100% - 3rem, var(--bahn-eng)); margin-inline: auto; }

.sprung {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--petrol); color: #fff; padding: .9rem 1.3rem;
  border-radius: 0 0 var(--r-s) 0; text-decoration: none;
}
.sprung:focus { left: 0; }

.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- Bausteine */

.marke-zeile {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lehm);
  margin: 0 0 1.3rem;
  display: flex; align-items: center; gap: .8rem;
}
.marke-zeile::before {
  content: ""; width: 30px; height: 1px; background: currentColor; flex: none; opacity: .55;
}
.marke-zeile--mitte { justify-content: center; }
.marke-zeile--nackt::before { display: none; }

/* Auf „Ueber mich" traegt die Kickerzeile die H1 der Seite. Die Klasse deckt
   Schrift, Groesse, Farbe und Abstand schon ab; die h1-Grundregel bringt aber
   zusaetzlich line-height: 1.08 und text-wrap: balance mit. Beides wird hier
   auf den geerbten Zustand zurueckgesetzt - die Zeile sieht damit exakt aus
   wie als <p>. Rein semantische Aenderung, keine optische. */
h1.marke-zeile { line-height: 1.7; text-wrap: wrap; }

.vorspann {
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--tinte-2);
}

.leise  { color: var(--tinte-2); }
.klein  { font-size: .93rem; line-height: 1.62; }
.winzig { font-size: .84rem; line-height: 1.6; color: var(--tinte-3); }

.feld       { padding: clamp(5rem, 10vw, 9rem) 0; }
.feld--eng  { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.feld--sand { background: var(--sand); }
.feld--rein { background: var(--papier-rein); }

.auf-dunkel {
  background: var(--petrol-tief);
  color: var(--auf-petrol-2);
}
.auf-dunkel h1, .auf-dunkel h2, .auf-dunkel h3, .auf-dunkel h4 { color: #fff; }
.auf-dunkel .vorspann, .auf-dunkel .leise { color: var(--auf-petrol-2); }
.auf-dunkel .marke-zeile { color: #E4BFA8; }

/* Knoepfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  font-family: var(--sans); font-size: .97rem; font-weight: 600;
  padding: 1.02rem 1.9rem;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--weich), background-color .18s var(--weich),
              border-color .18s var(--weich), color .18s var(--weich), box-shadow .18s var(--weich);
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }

.knopf--voll  { background: var(--petrol); color: #fff; box-shadow: var(--sch-1); }
.knopf--voll:hover { background: var(--petrol-tief); color: #fff; box-shadow: var(--sch-2); }

.knopf--leer  { background: transparent; color: var(--tinte); border-color: var(--linie-kraeftig); }
.knopf--leer:hover { border-color: var(--petrol); color: var(--petrol); background: var(--papier-rein); }

.knopf--hell  { background: #fff; color: var(--petrol-tief); }
.knopf--hell:hover { background: #fff; color: var(--petrol-tief); box-shadow: var(--sch-2); }

.knopf--rand-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.knopf--rand-hell:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.knopf--gross { padding: 1.15rem 2.2rem; font-size: 1.03rem; }
.knopf--breit { width: 100%; }

.knopf-reihe { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.pfeil { transition: transform .2s var(--weich); }
.knopf:hover .pfeil { transform: translateX(4px); }

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .96rem; text-decoration: none;
  color: var(--petrol); border-bottom: 1px solid var(--linie-petrol);
  padding-bottom: 3px; transition: border-color .18s var(--weich);
}
.textlink:hover { border-color: var(--petrol); }

/* Statusband — nur im Vormerklisten-Modus */
.status {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--dunst); color: var(--petrol-tief);
  border: 1px solid var(--linie-petrol);
  border-radius: 999px;
  padding: .45rem 1.05rem .45rem .7rem;
  font-size: .84rem; font-weight: 600;
  margin-bottom: 1.6rem;
}
.status i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lehm);
  flex: none; position: relative;
}
.status i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--lehm); opacity: .45;
  animation: puls 2.6s var(--weich) infinite;
}
@keyframes puls {
  0%   { transform: scale(.7); opacity: .6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ------------------------------------------------------------- Kopfzeile */

.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,247,.88);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--weich);
}
.kopf.haftet { border-bottom-color: var(--linie); }

.navi { display: flex; align-items: center; gap: 1.1rem; height: 78px; }

.logo { display: flex; align-items: baseline; gap: .65rem; text-decoration: none; margin-right: auto; }
.logo__wort {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .15em; color: var(--petrol);
}

.navi__liste { display: flex; align-items: center; gap: .2rem; }
.navi__link {
  font-size: .94rem; font-weight: 500; color: var(--tinte-2);
  text-decoration: none; white-space: nowrap;
  padding: .6rem .9rem; border-radius: var(--r-s);
  transition: color .16s var(--weich), background-color .16s var(--weich);
}
.navi__link:hover { color: var(--petrol); background: var(--dunst); }
.navi__link[aria-current="page"] { color: var(--tinte); font-weight: 600; }

.navi__mobil-cta { display: none; }

.sprache {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--linie); border-radius: 999px; padding: 3px;
  background: var(--papier-rein);
}
.sprache a {
  font-size: .75rem; font-weight: 700; letter-spacing: .07em;
  padding: .32rem .62rem; border-radius: 999px;
  text-decoration: none; color: var(--tinte-3);
}
.sprache a:hover { color: var(--petrol); }
.sprache a[aria-current="true"] { background: var(--petrol); color: #fff; }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--linie-kraeftig); border-radius: var(--r-s);
  background: var(--papier-rein); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--tinte); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--tinte);
  transition: transform .24s var(--weich), top .24s var(--weich);
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(70% 60% at 12% 0%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    linear-gradient(172deg, var(--papier) 0%, var(--sand) 100%);
  overflow: hidden;
}

/* Drei Kinder: Text, Bild, Belege. Auf dem Desktop stehen Text und Belege
   untereinander in der linken Spalte, das Bild ueberspannt rechts beide
   Zeilen. Mobil wird daraus eine Spalte in der Reihenfolge
   Text -> Bild -> Belege. */
.hero__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  /* Die beiden 1fr-Zeilen sind Abstandhalter. Sie nehmen die Resthoehe auf,
     die das hohe Bild erzeugt — sonst wuerde sie zwischen Text und Belegen
     verteilt und risse dort eine Luecke auf. */
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__wort   { grid-column: 1; grid-row: 2; }
.hero__belege { grid-column: 1; grid-row: 3; }
.hero__bild   { grid-column: 2; grid-row: 1 / -1; align-self: center; }

.hero h1 { margin-bottom: .42em; }
.hero h1 em { font-style: normal; color: var(--petrol); display: block; }

.hero__text { max-width: 31em; }
.hero__knoepfe { margin-top: 2.3rem; }

.hero__belege {
  margin-top: 2.8rem; padding-top: 1.7rem;
  border-top: 1px solid var(--linie);
}
/* Vier gleich breite Spalten - bewusst feste Zahl statt auto-fit, damit die
   Sprachzeile darunter keine fuenfte Spalte bilden kann. */
/* min-content: Keine Spalte wird schmaler als ihr laengstes Wort - sonst
   ragt eine lange Ueberschrift in die Nachbarspalte. */
.hero__belege-raster {
  display: grid; grid-template-columns: repeat(4, minmax(min-content, 1fr));
  gap: 1.2rem; align-items: start;
}
.hero__beleg b {
  display: block; font-family: var(--serif); font-size: 1.42rem;
  font-weight: 400; color: var(--petrol); line-height: 1; margin-bottom: .3rem;
}
.hero__beleg span { font-size: .83rem; color: var(--tinte-3); line-height: 1.45; display: block; }

/* Die Sprache ist eine Serviceangabe, keine Qualifikation: eigene Zeile ueber
   die volle Breite, leiser als die vier Spalten darueber. */
.hero__sprachen {
  display: flex; align-items: baseline; gap: .6rem;
  margin: 1.3rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid var(--linie);
}
.hero__sprachen b {
  font-family: var(--serif); font-size: .95rem; font-weight: 400;
  color: var(--petrol); line-height: 1.4; flex: none;
}
.hero__sprachen span { font-size: .83rem; color: var(--tinte-3); line-height: 1.45; }

/* Portraetrahmen mit versetztem Farbfeld */
.hero__bild { position: relative; }
.hero__bild::before {
  content: ""; position: absolute;
  inset: 8% -5% -6% 12%;
  background: var(--dunst);
  border-radius: var(--r-l);
  z-index: 0;
}
.hero__bild img {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--r-l);
  box-shadow: var(--sch-2);
  object-fit: cover; aspect-ratio: 3/4;
}

/* --------------------------------------------------------- Zitat-Laufband */

.laufband { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--papier-rein); overflow: hidden; }
.laufband__kopf { text-align: center; max-width: 38rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.laufband__kopf .marke-zeile { justify-content: center; }

.spur { display: flex; gap: 1rem; width: max-content; }
.spur + .spur { margin-top: 1rem; }
.spur__inhalt {
  display: flex; gap: 1rem;
  animation: rollen 62s linear infinite;
}
.spur--rueck .spur__inhalt { animation-direction: reverse; }
.laufband:hover .spur__inhalt,
.laufband:focus-within .spur__inhalt { animation-play-state: paused; }

@keyframes rollen {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.zitat {
  flex: none;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  padding: 1.05rem 1.35rem;
  font-size: 1rem; font-weight: 600; line-height: 1.4;
  color: var(--tinte);
  white-space: nowrap;
  position: relative;
  padding-left: 1.6rem;
}
.zitat::before {
  content: ""; position: absolute; left: .8rem; top: 1.1rem; bottom: 1.1rem;
  width: 3px; border-radius: 3px; background: var(--petrol-hell);
}
.laufband__fuss { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ------------------------------------------------- Interaktive Wirbelsaeule */

.saeule { background: var(--sand); }
.saeule__raster {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.saeule__karte {
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: 1.6rem 1.2rem;
  box-shadow: var(--sch-1);
  position: sticky; top: 100px;
}

.wirbel-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.wirbel {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--r-m);
  padding: .8rem .95rem;
  display: grid; grid-template-columns: 4.1rem 1fr; gap: .85rem; align-items: center;
  font-family: var(--sans); color: var(--tinte-2);
  transition: background-color .2s var(--weich), border-color .2s var(--weich), color .2s var(--weich);
}
.wirbel:hover { background: var(--dunst); }
.wirbel__code {
  font-family: var(--serif); font-size: .84rem; color: var(--petrol);
  letter-spacing: .02em; text-align: center; white-space: nowrap;
  border: 1px solid var(--linie-petrol); border-radius: 6px;
  padding: .22rem .1rem; background: var(--papier);
}
.wirbel__name { font-size: .96rem; font-weight: 600; color: var(--tinte); display: block; line-height: 1.25; }
.wirbel__wo   { font-size: .78rem; color: var(--tinte-3); display: block; line-height: 1.3; margin-top: .1rem; }
.wirbel[aria-selected="true"] {
  background: var(--petrol); border-color: var(--petrol);
}
.wirbel[aria-selected="true"] .wirbel__name { color: #fff; }
.wirbel[aria-selected="true"] .wirbel__wo   { color: var(--auf-petrol-2); }
.wirbel[aria-selected="true"] .wirbel__code {
  background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.35);
}

.saeule__tafel { min-height: 26rem; }
.tafel { display: none; }
.tafel.aktiv { display: block; animation: einblenden .45s var(--weich) both; }
@keyframes einblenden {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.tafel__zitat {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.22;
  color: var(--petrol-tief);
  margin: 0 0 1.4rem;
  max-width: 22em;
}
.tafel h3 { margin-bottom: .6rem; }
.tafel p  { max-width: 38em; }

.tafel__schluss {
  margin-top: 1.8rem;
  display: grid; grid-template-columns: auto 1fr; gap: .85rem;
  align-items: start;
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--petrol-hell);
  border-radius: var(--r-m);
  padding: 1.1rem 1.35rem;
  font-size: .96rem; color: var(--petrol-tief);
  max-width: 34rem;
}
.tafel__schluss svg { margin-top: .22rem; }

/* Anatomisches Schema unter dem Text. Bewusst ohne Rahmen, Schatten und
   eigenen Hintergrund - es steht direkt auf dem Sandton des Abschnitts. */
.tafel__schema {
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  max-width: 38em;
  background: none; border: 0; box-shadow: none; padding: 0;
}
.tafel__schema img { width: 100%; height: auto; display: block; }

/* ----------------------------------------------------------------- Karten */


/* Zwei Wege — Angebotskarten */
.wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.weg {
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  box-shadow: var(--sch-1);
}
.weg--betont { border-color: var(--petrol); box-shadow: var(--sch-2); }
.weg__schild {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--petrol-tief); background: var(--dunst);
  border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1.2rem;
}
.weg--betont .weg__schild { background: var(--petrol); color: #fff; }
.weg h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.weg__preis {
  font-family: var(--serif); font-size: 1.2rem; color: var(--tinte);
  padding: .9rem 0; margin: .3rem 0 1.1rem; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.weg__preis span { font-family: var(--sans); font-size: .86rem; color: var(--tinte-3); display: block; margin-top: .15rem; }
.weg .haken { flex: 1; margin-bottom: 1.5rem; }
/* Das Kleingedruckte steht VOR dem Knopf, damit beide Karten mit dem Knopf
   enden und die Knoepfe auf gleicher Hoehe sitzen — auch wenn nur eine Karte
   einen solchen Hinweis traegt. */
.weg__fuss { margin: 0 0 1.2rem; }

/* Eine Hauptkarte statt zweier gleichrangiger Karten (Modus „vormerkliste“).
   Sie ist das Angebot; das Band darunter ist bewusst leichter gewichtet. */
.hauptkarte {
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.9rem, 3.6vw, 3rem);
  box-shadow: var(--sch-2);
  max-width: 56rem;
}
/* .weg__schild ist fuer Flex-Karten gedacht; hier braucht es display:block,
   damit der Abstand zur Ueberschrift wirklich greift. */
.hauptkarte .weg__schild { display: inline-block; margin-bottom: 1.2rem; }
.hauptkarte h3 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: .6rem; }

.hauptkarte__preis {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--tinte);
  margin: 1.3rem 0 1.5rem;
  padding: .85rem 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

/* Ohne H3 folgt die Preiszeile direkt auf das Schild - der Abstand des
   Schilds reicht dann, sonst addieren sich beide Raender. */
.hauptkarte .weg__schild + .hauptkarte__preis { margin-top: .3rem; }

/* Sprachhinweis unter der Preiszeile. Bewusst ohne Haken - die Sprache ist
   kein Inhalt des Gespraechs, sondern sein Rahmen. Abgesetzt wird er nur
   durch dieselbe Haarlinie, die auch die Preiszeile traegt: kein Kasten,
   keine eigene Flaeche. Schriftgroesse und Farbe entsprechen der Liste. */
.hauptkarte__sprache {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--linie);
  font-size: .97rem; line-height: 1.55; color: var(--tinte-2);
}
/* Direkt unter der Preiszeile traegt deren untere Linie schon die Trennung -
   sonst stuenden zwei Haarlinien uebereinander. */
.hauptkarte__preis + .hauptkarte__sprache { margin-top: 0; padding-top: 0; border-top: 0; }

.hauptkarte__knopf { margin-top: 1.9rem; }

/* Haken-Liste */
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.haken li {
  display: grid; grid-template-columns: 1.3rem 1fr; gap: .8rem;
  font-size: .97rem; color: var(--tinte-2); line-height: 1.55;
}
.haken li::before {
  content: ""; width: 18px; height: 18px; margin-top: .28rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='9' r='8.1' fill='none' stroke='%233D8296' stroke-width='1.4'/><path d='M5.4 9.2 7.9 11.7 12.7 6.6' fill='none' stroke='%23155D70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px 18px no-repeat;
}

/* Schritte - genutzt von der Zeitenliste auf der Praxisseite. */
.schritte { display: grid; gap: 0; }
.schritt {
  display: grid; grid-template-columns: 4rem 1fr; gap: 1.6rem;
  padding: 1.9rem 0; border-top: 1px solid var(--linie); align-items: start;
}
.schritt:last-child { border-bottom: 1px solid var(--linie); }

/* Profilkarten - zwei gleichwertige Situationen, gleiche Hoehe */
.profile {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.4vw, 2rem); align-items: stretch;
}
.profil {
  display: flex; flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.7rem, 3vw, 2.6rem);
  box-shadow: var(--sch-1);
}
.profil__schild {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lehm);
  margin: 0 0 1.15rem; line-height: 1.5;
}
.profil__zitat {
  font-family: var(--serif); font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.3; letter-spacing: -.012em; color: var(--tinte);
  margin: 0 0 1.1rem; text-wrap: pretty;
}
.profil__text { font-size: .97rem; line-height: 1.66; color: var(--tinte-2); margin: 0; }

/* Nebeneinander sollen Schild, Zitat und Text beider Karten auf derselben
   Hoehe beginnen, auch wenn das eine Zitat eine Zeile laenger laeuft.
   Ohne subgrid bleibt das Flex-Layout darunter - dann sitzen nur die
   Kartenraender buendig. */
@media (min-width: 1081px) {
  @supports (grid-template-rows: subgrid) {
    .profile { grid-template-rows: auto auto auto; row-gap: 0; }
    .profil  { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  }
}

/* Bruecke von den Zitaten zu den Karten: Zwischenueberschrift, kein H2. */
.laufband__profile { margin-top: clamp(2.8rem, 5vw, 4.2rem); }
.profile__bruecke {
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
  line-height: 1.42; letter-spacing: -.012em; color: var(--tinte);
  text-align: center; text-wrap: balance;
  max-width: 40rem; margin: 0 auto clamp(1.8rem, 3.4vw, 2.6rem);
}

/* ---------------------------------------------------------- Zugangssperre */
/* Nur aktiv, solange in konfig.py ein ZUGANGSCODE gesetzt ist. Der Inhalt
   wird ausgeblendet, bevor die Seite zum ersten Mal gemalt wird. */

html.gesperrt body > *:not(.sperre) { display: none !important; }
html.gesperrt, html.gesperrt body { overflow: hidden; }
html.gesperrt .sperre { display: grid; }
/* Muss die Klassenregel schlagen - sonst zeigt sich die Flaeche trotz hidden. */
.sperre[hidden] { display: none !important; }

.sperre {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  place-items: center;
  padding: clamp(1.2rem, 5vw, 3rem);
  background: var(--papier);
}
.sperre__blatt {
  width: min(100%, 26rem); text-align: center;
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  box-shadow: var(--sch-2);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.sperre__blatt .marke-zeile { justify-content: center; margin-bottom: 1.5rem; color: var(--petrol); }
.sperre__blatt h1 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: .7rem; }
.sperre__text { font-size: .95rem; line-height: 1.65; color: var(--tinte-2); margin-bottom: 1.6rem; }
.sperre input {
  font-family: var(--sans); font-size: 1.15rem; text-align: center;
  letter-spacing: .28em; color: var(--tinte);
  background: var(--papier);
  border: 1px solid var(--linie-kraeftig);
  border-radius: var(--r-s);
  padding: .9rem 1rem; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.sperre input::placeholder { letter-spacing: normal; color: #5F6E70; opacity: 1; }
.sperre input:focus {
  outline: none; background: var(--papier-rein);
  border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(21,93,112,.16);
}
.sperre.falsch input { border-color: #A6412F; background: #FDF5F3; }
.sperre .fehler { display: none; margin-top: .6rem; }
.sperre.falsch .fehler { display: block; }
.sperre .knopf { margin-top: 1.4rem; }

/* ----------------------------------------------------------------- Dialog */

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
/* Muss die Klasse ueberschreiben - sonst liegt der geschlossene Dialog
   unsichtbar ueber der Seite und faengt jeden Klick ab. */
.modal[hidden] { display: none; }
.modal__grund {
  position: absolute; inset: 0;
  background: rgba(13, 63, 77, .55);
  opacity: 0; transition: opacity .2s var(--weich);
}
.modal--offen .modal__grund { opacity: 1; }

.modal__blatt {
  position: relative;
  width: min(100%, 660px);
  max-height: min(88vh, 900px);
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--papier-rein);
  border-radius: var(--r-l);
  box-shadow: var(--sch-3);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .22s var(--weich), transform .22s var(--weich);
}
.modal--offen .modal__blatt { opacity: 1; transform: none; }

.modal__zu {
  position: absolute; top: .9rem; right: .9rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--papier); border: 1px solid var(--linie);
  color: var(--tinte-2); cursor: pointer;
  transition: background-color .18s var(--weich), color .18s var(--weich);
}
.modal__zu:hover { background: var(--dunst); color: var(--petrol-tief); }

.modal__kopf { margin: 0 2.6rem 1.5rem 0; }
.modal__kopf h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 0 0 .55rem; }
.modal__preis {
  font-family: var(--serif); font-size: 1.02rem; color: var(--petrol-tief);
  margin: 0 0 .9rem;
}
.modal__text { font-size: .95rem; line-height: 1.65; color: var(--tinte-2); margin: 0; }

/* Der Dialog fuehrt seit dem Wegfall des Formulars nur noch die Anrufkarte.
   Er darf deshalb deutlich schmaler und niedriger sein - so entsteht auf dem
   Schirm gar kein Scrollbalken im Blatt. */
.modal__blatt--knapp { width: min(100%, 540px); max-height: min(88vh, 620px); }

/* Seite hinter dem offenen Dialog nicht mitscrollen lassen. */
html.modal-offen, html.modal-offen body { overflow: hidden; }

/* ------------------------------------------------ Direkte Terminvereinbarung
   Anruf ist der Hauptweg und traegt deshalb Flaeche, Rahmen und den vollen
   Knopf. Die E-Mail-Zeile steht bewusst leiser darunter: keine Flaeche, kein
   Rahmen, nur eine feine Trennlinie. */
.anruf__h {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  color: var(--tinte);
  margin: 0 0 .3rem;
}
.anruf__zeiten { font-size: .92rem; color: var(--tinte-3); margin: 0 0 1.2rem; }

.anruf__nummer {
  font-family: var(--serif);
  font-size: clamp(1.32rem, 3vw, 1.75rem);
  line-height: 1.2;
  color: var(--petrol-tief);
  overflow-wrap: anywhere;
  margin: 0 0 1.3rem;
  padding: .9rem 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

.anruf__knopf { width: 100%; }

.anruf__mail {
  margin: 1.4rem 0 0; padding-top: 1.2rem;
  border-top: 1px solid var(--linie);
  font-size: .93rem; line-height: 1.6; color: var(--tinte-2);
  display: flex; flex-wrap: wrap; gap: .1rem .5rem;
}
.anruf__mail a { overflow-wrap: anywhere; }

/* Hinweiskasten */
.hinweis {
  display: grid; grid-template-columns: auto 1fr; gap: .95rem; align-items: start;
  background: var(--dunst); border: 1px solid var(--linie-petrol);
  border-radius: var(--r-m); padding: 1.2rem 1.45rem;
  font-size: .95rem; line-height: 1.6; color: #24454E;
}
.hinweis svg { margin-top: .2rem; color: var(--petrol); }
.hinweis strong { color: var(--petrol-tief); }
.hinweis--warm { background: #FBF2E9; border-color: #E7CDB4; color: #6A4326; }
.hinweis--warm svg { color: var(--lehm); }
.hinweis--warm strong { color: #7A3F1B; }

/* ------------------------------------------------------------- Über mich */

.person__kopf { padding-top: clamp(3.5rem, 7vw, 6rem); }
.person__kopf .bahn { align-items: center; }

/* Vorstellung und Ausbildung gehoeren zusammen und ruecken deshalb enger
   aneinander als zwei sonst getrennte Abschnitte. Nur die senkrechten
   Abstaende an dieser einen Nahtstelle - alles Uebrige bleibt. */
.person__kopf { padding-bottom: clamp(2rem, 3.5vw, 3.5rem); }
.person__kopf + .feld--sand { padding-top: clamp(2.5rem, 4.5vw, 4.5rem); }
.person__rolle {
  font-family: var(--serif); font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  color: var(--petrol-tief); margin: -.2rem 0 1.3rem;
}
/* Vorstellung auf „Ueber mich": Zeilenlaenge begrenzen. Im zweispaltigen
   Layout ist die Textspalte ohnehin schmaler als dieser Wert - die Regel
   greift erst, wenn die Spalte unter 1081 px die volle Breite einnimmt, und
   haelt die Zeilen dort bei rund 70 Zeichen statt 120. Betrifft nur diesen
   Block; an den vorhandenen Groessen, Farben und Abstaenden aendert sie nichts. */
.person__wort .vorspann, .person__wort .leise { max-width: 34em; }

.person__bild figure img { width: 100%; }
.person__schluss {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.4rem 2rem;
}
.person__schluss .vorspann { margin: 0; max-width: 30em; }

/* Zeitleiste */
.leiste { position: relative; padding-left: 2.4rem; }
.leiste::before {
  content: ""; position: absolute; left: 5px; top: .7rem; bottom: .7rem;
  width: 1px; background: var(--linie);
}
.leiste__punkt { position: relative; padding-bottom: 2.4rem; }
.leiste__punkt:last-child { padding-bottom: 0; }
.leiste__punkt::before {
  content: ""; position: absolute; left: -2.4rem; top: .6rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--petrol);
}
.leiste__zeit {
  font-size: .77rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lehm); display: block; margin-bottom: .3rem;
}
.leiste__punkt h3 { font-size: 1.18rem; margin-bottom: .25rem; }
.leiste__punkt p  { font-size: .94rem; margin: 0; }

/* Der akademische Hauptabschluss steht in der Reihe etwas hoeher im Rang. */
.leiste__punkt--wichtig::before { background: var(--petrol); }
.leiste__punkt--wichtig h3 { font-size: 1.34rem; }
.leiste__punkt--wichtig .leiste__zeit { color: var(--petrol-tief); }

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }


/* --------------------------------------------------------------- Fragen */

.fragen { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage__knopf {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.6rem;
  padding: 1.6rem 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.3; color: var(--tinte);
}
.frage__knopf:hover { color: var(--petrol); }
.frage__zeichen { flex: none; width: 22px; height: 22px; position: relative; margin-top: .3rem; }
.frage__zeichen::before, .frage__zeichen::after {
  content: ""; position: absolute; background: var(--petrol);
  left: 50%; top: 50%; border-radius: 2px;
}
.frage__zeichen::before { width: 15px; height: 1.6px; transform: translate(-50%,-50%); }
.frage__zeichen::after  { width: 1.6px; height: 15px; transform: translate(-50%,-50%); transition: transform .25s var(--weich); }
.frage__knopf[aria-expanded="true"] .frage__zeichen::after { transform: translate(-50%,-50%) rotate(90deg); }

/* Geschlossene Antworten sind per [hidden] wirklich aus dem
   Accessibility-Tree entfernt (Befund aus der Pruefung von Version 1). */
.frage__antwort[hidden] { display: none; }
.frage__antwort {
  animation: aufklappen .3s var(--weich) both;
  padding-bottom: 1.7rem;
}
.frage__antwort p { font-size: .99rem; max-width: 46rem; margin: 0; }
@keyframes aufklappen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Fehlermeldung - nach dem Wegfall des Formulars nur noch von der
   Zugangssperre genutzt. */
.fehler { font-size: .82rem; color: #96382A; display: none; }

/* --------------------------------------------------------- Seitenkopf */

.seitenkopf {
  background: linear-gradient(172deg, var(--papier) 0%, var(--sand) 100%);
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--linie);
}
.seitenkopf h1 { max-width: 16em; }
.seitenkopf .vorspann { max-width: 36em; }
.seitenkopf .winzig { max-width: 62ch; }

/* Rechtstexte */
.recht { max-width: 47rem; }
.recht h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-top: 3rem; padding-top: 2.3rem; border-top: 1px solid var(--linie);
}
.recht h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.recht h3 { font-size: 1.15rem; margin-top: 2rem; }
.recht p, .recht li { font-size: .97rem; color: var(--tinte-2); line-height: 1.75; }
.recht ul, .recht ol { padding-left: 1.35rem; margin: 0 0 1.15em; }
.recht li { margin-bottom: .5em; }
.recht address { font-style: normal; }
.offen {
  background: #FBF2DF; border: 1px dashed #C9A85E; color: #63501C;
  border-radius: var(--r-s); padding: .15rem .45rem; font-size: .92em; font-weight: 600;
}

.inhalt {
  background: var(--sand); border-radius: var(--r-m);
  padding: 1.6rem 1.8rem; margin-bottom: 2.6rem;
}
.inhalt ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2.2rem; }
.inhalt li { font-size: .91rem; margin-bottom: .38em; }
.inhalt a { text-decoration: none; }
.inhalt a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Fuss */

.fuss { background: var(--petrol-tief); color: var(--auf-petrol-2); padding: clamp(4rem,7vw,6rem) 0 2.2rem; font-size: .94rem; }
.fuss__raster {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.6rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
.fuss__marke .logo__wort { color: #fff; font-size: 1.6rem; }
.fuss__marke p { margin-top: 1.1rem; color: var(--auf-petrol-2); font-size: .91rem; max-width: 25em; }

/* Anschrift und Oeffnungszeiten in der linken Fussspalte.
   <address> steht von Haus aus kursiv - hier bewusst aufrecht, damit die
   Spalte wie der uebrige Fuss gesetzt ist. Farbe, Schrift und Groesse sind
   dieselben wie beim frueheren Beschreibungssatz. */
.fuss__adresse {
  font-style: normal;
  margin-top: 1.1rem;
  color: var(--auf-petrol-2);
  font-size: .91rem;
  line-height: 1.75;
}
.fuss__zeiten { margin-top: 1.5rem; }
.fuss__zeiten h4 { margin-bottom: .5rem; }
.fuss__zeiten p { margin-top: 0; line-height: 1.75; font-variant-numeric: tabular-nums; }
.fuss h4 {
  font-family: var(--sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #9DC3CD; margin: 0 0 1.2rem;
}
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.fuss__liste a { color: #DCEBEF; text-decoration: none; font-size: .93rem; }
.fuss__liste a:hover { color: #fff; text-decoration: underline; }
/* Kontaktspalte: Name leicht hervorgehoben, die Rolle kleiner und leiser
   darunter - in der Farbe der Spaltenueberschriften. */
.fuss__person b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: 1.05rem; line-height: 1.3; color: #fff;
}
.fuss__person span { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.4; color: #9DC3CD; }
.fuss__unten {
  padding-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  align-items: center; justify-content: space-between; font-size: .85rem; color: #9DC3CD;
}
.fuss__klein { margin-top: 2.2rem; font-size: .82rem; line-height: 1.68; color: #A9CBD3; max-width: 64rem; }

/* ---------------------------------------------------------- Einblenden */

/* Ohne JavaScript bleibt alles sichtbar: .zeigen wirkt nur, wenn das
   Inline-Skript im <head> die Klasse js gesetzt hat. */
.js .zeigen { opacity: 0; transform: translateY(20px); }
.js .zeigen.da {
  opacity: 1; transform: none;
  transition: opacity .75s var(--weich), transform .75s var(--weich);
}
.js .zeigen[data-v="1"].da { transition-delay: .09s; }
.js .zeigen[data-v="2"].da { transition-delay: .18s; }
.js .zeigen[data-v="3"].da { transition-delay: .27s; }

/* ------------------------------------------------------------- Schmal */

@media (max-width: 1080px) {
  .hero__raster {
    display: flex; flex-direction: column; gap: 2.4rem;
  }
  .hero__wort   { order: 1; }
  .hero__bild   { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__belege { order: 3; margin-top: 0; }
  /* Tablet und Mobil: die vier Qualifikationen als 2x2. */
  .hero__belege-raster { grid-template-columns: repeat(2, minmax(min-content, 1fr)); gap: 1.4rem 1.2rem; }
  .zwei { grid-template-columns: 1fr; }
  /* Auf schmalen Schirmen zuerst der Text, dann das Portrait. */
  .person__kopf .bahn { display: flex; flex-direction: column; gap: 2.2rem; }
  .person__wort { order: 1; }
  .person__bild { order: 2; max-width: 420px; }
  .person__schluss { flex-direction: column; align-items: flex-start; }
  .profile { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .saeule__raster { grid-template-columns: 1fr; }
  .saeule__karte { position: static; }
  .wirbel-liste { grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); display: grid; }
  .fuss__raster { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}

/* Der Termin-Knopf verschwindet erst zusammen mit dem Burger — nicht davor.
   (Luecke zwischen 761 und 1000 px aus der Pruefung von Version 1.) */
@media (max-width: 820px) {
  html { scroll-padding-top: 80px; }
  body { font-size: 16px; }
  .bahn, .bahn-eng { width: min(100% - 2.2rem, var(--bahn)); }
  .navi { gap: .7rem; height: 70px; }
  .navi__liste, .navi__desktop-cta { display: none; }
  .burger { display: inline-flex; }

  .navi__liste.offen {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier-rein);
    border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
    padding: .7rem 1.2rem 1.3rem; box-shadow: var(--sch-2);
  }
  .navi__liste.offen .navi__link {
    padding: .95rem .4rem; border-bottom: 1px solid var(--linie); font-size: 1.02rem;
  }
  .navi__liste.offen .navi__link:last-of-type { border-bottom: 0; }
  .navi__liste.offen .navi__mobil-cta { display: inline-flex; margin-top: 1rem; }

  .fuss__raster { grid-template-columns: 1fr; gap: 2.2rem; }
  .inhalt ol { columns: 1; }
  .schritt { grid-template-columns: 2.8rem 1fr; gap: 1.1rem; }
  .hero__bild::before { display: none; }
  .zitat { font-size: .93rem; padding: .85rem 1.1rem .85rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .zeigen { opacity: 1; transform: none; }
  .spur__inhalt { animation: none; }
  .spur { width: 100%; overflow-x: auto; }
}

@media print {
  .kopf, .fuss, .knopf, .laufband { display: none !important; }
  body { background: #fff; }
  .tafel { display: block !important; page-break-inside: avoid; }
}

/* ======================================================= Online-Terminbuchung
   Startseite: zweiter Knopf im Hero. Seite online-termin.html: oeffentlicher
   Kalender (assets/buchung.js). Belegte Tage und Uhrzeiten tragen dieselbe
   graue Schraffur wie die gesperrten Zeiten im Verwaltungskalender - ohne
   jeden Inhalt. Alle Flaechen und Schriften nutzen die Tokens von oben. */

:root {
  /* Gleiche Schraffur wie im Verwaltungskalender, oeffentlich etwas kraeftiger,
     damit "belegt" auf Weiss klar von einem leeren Feld zu unterscheiden ist */
  --schraffur-grund: rgba(30, 42, 43, .06);
  --schraffur-linie: rgba(30, 42, 43, .16);
  --fehler-text: #96382A;                      /* 6.6:1 auf Weiss */
  --fehler-rand: #A6412F;
}
/* Doppelte Klasse: .tag und .zeit setzen weiter unten die Kurzform "background"
   und wuerden die Schraffur sonst wieder loeschen */
.tag.tag--voll, .zeit.zeit--belegt, .muster.muster--belegt {
  background-color: var(--schraffur-grund);
  background-image: repeating-linear-gradient(135deg, var(--schraffur-linie) 0 1.5px, transparent 1.5px 7px);
}

/* Hero: "Online Termin" als Konturknopf neben "Termin vereinbaren".
   Leicht aufgehellter Grund, damit die Kontur auf dem Verlauf traegt. */
.knopf__ic { flex: none; }
.hero__knoepfe .knopf--leer { background: rgba(255, 255, 255, .6); }
.hero__knoepfe .knopf--leer:hover { background: var(--papier-rein); }
@media (max-width: 560px) {
  .hero__knoepfe { flex-direction: column; align-items: stretch; }
  .hero__knoepfe .knopf { width: 100%; }
}

/* Anrufkarte (Dialog, Terminseite): leiser Hinweis auf die Online-Buchung */
.anruf__online {
  margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem;
  font-size: .93rem; color: var(--tinte-2);
}

/* ------------------------------------------------------------- Rahmen */
.buchung-feld { padding-top: clamp(2rem, 5vw, 3.5rem); }
.buchung {
  background: var(--papier-rein);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  box-shadow: var(--sch-2);
  padding: clamp(1.25rem, 4vw, 2.6rem);
}
.buchung [hidden] { display: none !important; }
.js .buchung__ohne-js { display: none; }
.kein-js .buchung__app { display: none; }
.buchung__text { font-size: 1.02rem; color: var(--tinte-2); margin: 0 0 1.4rem; }

/* Schritte 1-3 */
/* Gescrollt werden die Abschnitte - Abstand fuer die feste Kopfzeile */
.buchung__schritt { scroll-margin-top: 100px; }
.buchung__ende { scroll-margin-top: 110px; }
.buchung__schritt + .buchung__schritt,
.buchung__platzhalter + .buchung__schritt {
  margin-top: clamp(2rem, 5vw, 2.8rem);
  padding-top: clamp(1.6rem, 4vw, 2.2rem);
  border-top: 1px solid var(--linie);
}
.buchung__kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1.4rem; margin-bottom: 1.3rem;
}
.buchung__h {
  display: flex; align-items: center; gap: .75rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0;
  scroll-margin-top: 100px;
}
.buchung__schritt > .buchung__h { margin-bottom: .45rem; }
.buchung__nr {
  display: inline-grid; place-items: center; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--dunst); color: var(--petrol-tief);
  font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: 0;
}
.buchung__unter { font-size: .97rem; color: var(--tinte-3); margin: 0 0 1.2rem; }
.buchung__kopf--zeit { margin-bottom: 1.2rem; }
.buchung__kopf--zeit .buchung__unter { margin: 0; }

.buchung__legende {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .86rem; color: var(--tinte-3);
}
.buchung__legende li { display: flex; align-items: center; gap: .5rem; }
.muster { width: 1.5rem; height: 1.05rem; border-radius: 5px; flex: none; }
.muster--frei { background: var(--papier-rein); border: 1px solid var(--petrol-hell); }
.muster--belegt { border: 1px dashed var(--linie-kraeftig); }

/* Tage: nur Tage mit oeffentlichem Online-Fenster, nach Monaten gruppiert */
.tage__monat {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--lehm); margin: 1.5rem 0 .75rem;
}
.tage__monat:first-child { margin-top: 0; }
/* Eine Spalte je Wochentag mit Online-Fenster (--spalten setzt buchung.js):
   bei Di/Do steht jede Woche in einer Zeile, Di links, Do rechts */
.tage__liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--spalten, 2), minmax(0, 1fr)); gap: .65rem;
  max-width: calc(var(--spalten, 2) * 9rem);
}
.tage__luecke { visibility: hidden; }
/* Kompakt: der Monat steht schon als Ueberschrift ueber den Kacheln */
.tag {
  width: 100%; min-height: 4.75rem;
  display: grid; justify-items: center; align-content: center; gap: .08rem;
  padding: .55rem .4rem;
  border: 1px solid var(--petrol-hell); border-radius: var(--r-m);
  background: var(--papier-rein); color: var(--tinte);
  font-family: var(--sans); font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background-color .16s var(--weich), border-color .16s var(--weich),
              color .16s var(--weich), box-shadow .16s var(--weich), transform .16s var(--weich);
}
.tag__wt { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--tinte-3); }
.tag__nr { font-family: var(--serif); font-size: 1.8rem; line-height: 1.05; color: var(--tinte); }
.tag__mon { display: none; }
.tag__frei { margin-top: .3rem; font-size: .78rem; font-weight: 700; color: var(--petrol); }
.tag:not(:disabled):hover { border-color: var(--petrol); background: var(--dunst); transform: translateY(-2px); }
.tag[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); box-shadow: var(--sch-2); }
.tag[aria-pressed="true"]:hover { background: var(--petrol-tief); }
.tag[aria-pressed="true"] .tag__nr { color: #fff; }
.tag[aria-pressed="true"] .tag__wt,
.tag[aria-pressed="true"] .tag__mon,
.tag[aria-pressed="true"] .tag__frei { color: var(--auf-petrol-2); }
.tag--voll { border: 1px dashed var(--linie-kraeftig); cursor: not-allowed; }
.tag--voll .tag__nr, .tag--voll .tag__mon { color: var(--tinte-3); }
.tag--voll .tag__frei { color: var(--tinte-3); font-weight: 500; }
/* Schrift auf der Schraffur: kleine weisse Inseln, damit keine Linie durch die Ziffern laeuft */
.tag.tag--voll .tag__wt, .tag.tag--voll .tag__nr, .tag.tag--voll .tag__frei {
  background: var(--papier-rein); border-radius: 4px; padding: 0 .3rem;
}
/* "Weitere Tage anzeigen" (zunaechst nur drei Wochen) */
.tage__mehr {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin: .9rem 0 0 -.5rem; padding: .5rem;
  background: none; border: 0; border-radius: var(--r-s); cursor: pointer;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--petrol-tief);
  text-decoration: underline; text-underline-offset: .2em;
}
.tage__mehr:hover { color: var(--petrol); }
.tage__mehr:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; }
[data-tag-meldung] { margin-bottom: 1rem; }
/* Platzhalter rechts neben den Tagen (nur breite Ansicht, solange keine Uhrzeiten stehen) */
.buchung__platzhalter { display: none; }

/* Uhrzeiten als grosse Tipp-Chips; belegte Slots schraffiert und leer */
.zeiten__gruppe + .zeiten__gruppe { margin-top: 1.4rem; }
/* Nach der Wahl einer Uhrzeit wird ihre Zeile nach oben geholt - Abstand fuer die Kopfzeile */
.zeiten__gruppe { scroll-margin-top: 100px; }
.zeiten__h {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tinte-3); margin: 0 0 .65rem;
}
.zeiten__liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: .65rem;
}
.zeit {
  width: 100%; min-height: 3.5rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  border: 1px solid var(--petrol-hell); border-radius: var(--r-m);
  background: var(--papier-rein); color: var(--petrol-tief);
  font-family: var(--sans); font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .16s var(--weich), border-color .16s var(--weich), color .16s var(--weich), transform .16s var(--weich);
}
.zeit svg { flex: none; }
.zeit:not(:disabled):hover { background: var(--dunst); border-color: var(--petrol); transform: translateY(-2px); }
.zeit[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; box-shadow: var(--sch-1); }
.zeit[aria-pressed="true"]:hover { background: var(--petrol-tief); color: #fff; }
.zeit--belegt { border: 1px dashed var(--linie-kraeftig); cursor: not-allowed; }

/* Formular */
.buchung__form { display: grid; gap: 1.2rem; max-width: 36rem; }
.buchung__pflichthinweis { margin: 0; font-size: .86rem; color: var(--tinte-3); }
.buchung__pflichthinweis span, .bfeld__pflicht { color: var(--lehm); font-weight: 700; }
.bfeld label { display: block; margin-bottom: .45rem; font-size: .98rem; font-weight: 600; color: var(--tinte); }
.bfeld__frei { font-size: .86rem; font-weight: 400; color: var(--tinte-3); }
.bfeld input {
  width: 100%; min-height: 3.25rem;
  font-family: var(--sans); font-size: 1.06rem; color: var(--tinte);
  background: var(--papier-rein);
  border: 1px solid var(--linie-kraeftig); border-radius: var(--r-s);
  padding: .85rem 1rem;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s var(--weich), box-shadow .15s var(--weich);
}
.bfeld input:hover { border-color: var(--tinte-3); }
.bfeld input:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(21, 93, 112, .18); }
.bfeld input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; }
.bfeld__hilfe { margin: .4rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--tinte-3); }
.bfeld__fehler { margin: .4rem 0 0; font-size: .88rem; font-weight: 600; line-height: 1.5; color: var(--fehler-text); }
.bfeld__fehler:empty { display: none; }
.bfeld--fehler input { border-color: var(--fehler-rand); background: #FDF5F3; }
/* Honigtopf: fuer Menschen unsichtbar, fuer Screenreader ausgeblendet */
.buchung__honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.zusammenfassung { background: var(--sand); border-radius: var(--r-m); padding: 1.15rem 1.35rem; }
.zusammenfassung__h {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--lehm); margin: 0 0 .75rem;
}
.zusammenfassung__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; }
.zusammenfassung__aendern {
  min-height: 2.75rem; margin: -.65rem -.5rem 0 -.5rem; padding: .5rem;
  background: none; border: 0; border-radius: var(--r-s); cursor: pointer;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--petrol-tief);
  text-decoration: underline; text-underline-offset: .2em;
}
.zusammenfassung__aendern:hover { color: var(--petrol); }
.zusammenfassung__aendern:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; }
.zusammenfassung__kurz { margin: .85rem 0 0; font-size: .92rem; font-weight: 600; color: var(--tinte-2); }
.zusammenfassung dl { margin: 0; display: grid; gap: .5rem; }
.zusammenfassung dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; align-items: baseline; }
.zusammenfassung dt { font-size: .9rem; color: var(--tinte-3); }
.zusammenfassung dd { margin: 0; font-size: 1rem; font-weight: 600; color: var(--tinte); overflow-wrap: anywhere; }
.buchung__recht p { margin: 0; }
.buchung__ds { margin: 0; }
/* Abgrenzung unter der Buchungskarte (nicht im Seitenkopf - dort schoebe sie den
   Kalender am Handy unter die Faltkante) */
.buchung__abgrenzung { max-width: 62ch; margin: 1.1rem 0 0; }
.buchung__meldung { margin: 0; font-size: .97rem; font-weight: 600; line-height: 1.55; color: var(--fehler-text); }
.buchung__meldung:empty { display: none; }
.buchung__meldung a { color: inherit; }
[data-senden][aria-busy="true"] { opacity: .78; cursor: progress; transform: none; }

/* Laden, Fehler, leer */
.buchung__laden { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; }
.buchung__laden > p { margin: 0; font-size: .98rem; color: var(--tinte-3); }
.buchung__kreis {
  width: 1.35rem; height: 1.35rem; border-radius: 50%; flex: none;
  border: 2px solid var(--linie-petrol); border-top-color: var(--petrol);
  animation: drehen .9s linear infinite;
}
.buchung__skelett {
  flex-basis: 100%; display: grid; gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(6.3rem, 1fr));
}
.buchung__skelett i {
  display: block; height: 4.75rem; border-radius: var(--r-m);
  background: linear-gradient(90deg, var(--sand) 0%, var(--papier) 50%, var(--sand) 100%);
  background-size: 200% 100%;
  animation: schimmern 1.5s ease-in-out infinite;
}
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes schimmern { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.buchung__zustand h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 0 0 .55rem; }
.buchung__zustand p { color: var(--tinte-2); margin: 0; }
.buchung__zustand .knopf-reihe { margin-top: 1.4rem; }

/* Erfolg und Absage */
.buchung__ende { display: grid; gap: 1.25rem; }
.buchung__ende > * { margin: 0; }
.ende__kopf { display: flex; align-items: center; gap: 1rem; }
.ende__zeichen {
  display: grid; place-items: center; flex: none;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--dunst); color: var(--petrol);
}
.ende__zeichen--leise { background: var(--sand); color: var(--lehm); }
.ende__kopf h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 1.95rem); scroll-margin-top: 110px; }
.buchung__ende .zusammenfassung { max-width: 36rem; }
.ende__text { color: var(--tinte-2); font-size: 1rem; }
.ende__leise { color: var(--tinte-3); font-size: .93rem; }

@media (max-width: 560px) {
  .buchung { padding: 1.2rem 1rem 1.4rem; border-radius: var(--r-m); }
  .buchung__skelett { grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: .5rem; }
  .tage__liste { gap: .5rem; max-width: none; }
  .tage__liste--eng .tag { min-height: 4.6rem; padding: .5rem .1rem; }
  .tage__liste--eng .tag__frei, .tage__liste--eng .tag__mon { display: none; }
  .tag { min-height: 4.6rem; }
  .buchung__skelett i { height: 4.6rem; }
  .tag__nr { font-size: 1.6rem; }
  .zeiten__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .zusammenfassung { padding: 1rem 1.05rem; }
  .zusammenfassung dl > div { grid-template-columns: 5.2rem minmax(0, 1fr); gap: .6rem; }
  .buchung__ende .knopf { width: 100%; }
  /* Kalender moeglichst weit oben: knapperer Seitenkopf ueber der Buchungskarte */
  .seitenkopf:has(+ .buchung-feld) { padding-block: 1.75rem 1.25rem; }
  .seitenkopf:has(+ .buchung-feld) .vorspann { margin-bottom: .35rem; }
  .seitenkopf:has(+ .buchung-feld) .winzig { margin: 0; }
  .buchung-feld { padding-top: 1rem; }
  .buchung__kopf { gap: .35rem 1rem; margin-bottom: .9rem; }
  .tage__monat { margin-bottom: .6rem; }
}
/* Breite Ansicht: Tage links, Uhrzeiten und Angaben rechts - beides auf einen Blick.
   Die Klassen setzt buchung.js je nach sichtbaren Schritten. */
/* Ab Tablet-Breite (720px); ab 900px mit breiterer Bahn (Block darunter) */
@media (min-width: 720px) {
  .buchung__app--tage {
    display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  }
  .buchung__app--tage > * { grid-column: 1 / -1; }
  .buchung__app--tage > [data-schritt="tag"] { grid-column: 1; grid-row: 1 / span 2; }
  .buchung__app--tage > [data-schritt="zeit"],
  .buchung__app--tage > .buchung__platzhalter { grid-column: 2; grid-row: 1; }
  .buchung__app--tage > [data-schritt="angaben"] { grid-column: 2; grid-row: 2; }
  .buchung__app--tage > [data-schritt="zeit"] { margin-top: 0; padding-top: 0; border-top: 0; }
  .buchung__app--tage .tage__liste { max-width: none; }
  /* Die Legende steht schon bei den Tagen links daneben */
  .buchung__app--tage.buchung__app--zeit [data-schritt="zeit"] .buchung__legende { display: none; }
  .buchung__app--tage:not(.buchung__app--zeit) > .buchung__platzhalter {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
    min-height: 16rem; margin: 0; padding: 2rem; text-align: center;
    border: 1px dashed var(--linie-kraeftig); border-radius: var(--r-m);
    color: var(--tinte-3); font-size: 1rem;
  }
  .buchung__platzhalter svg { width: 28px; height: 28px; color: var(--petrol-hell); }
}
@media (min-width: 900px) {
  .bahn-buchung { width: min(100% - 3rem, 1060px); }
  .buchung__app--tage { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); }
}
@media (forced-colors: active) {
  .tag--voll, .zeit--belegt, .muster--belegt { border: 1px dashed GrayText; color: GrayText; }
  .tag[aria-pressed="true"], .zeit[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
}
@media print {
  .buchung__form, .buchung__schritt { display: none !important; }
}

/* ============================================================ Für Unternehmen
   Seite unternehmen.html (tr/sirketler-icin.html). Alle Regeln tragen das
   Praefix .firma- und nutzen nur die Tokens und Bausteine von oben (Knoepfe,
   .marke-zeile, .hinweis, .haken, .bfeld, .buchung__form). Keine bestehende
   Regel wird hier veraendert. */

/* Hero: Text links, Bild rechts - Hintergrund und Abstaende von .hero */
.firma-hero__raster {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.firma-hero h1 { margin-bottom: .28em; }
.firma-hero__unterzeile {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.25; letter-spacing: -.012em; color: var(--petrol);
  margin: 0 0 1.3rem;
}
.firma-hero__text { max-width: 30em; }
.firma-hero__bild { position: relative; }
.firma-hero__bild::before {
  content: ""; position: absolute; inset: 10% -4% -7% 14%;
  background: var(--dunst); border-radius: var(--r-l); z-index: 0;
}
.firma-hero__bild img {
  position: relative; z-index: 1; width: 100%;
  aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 50%;
  border-radius: var(--r-l); box-shadow: var(--sch-2);
}
/* Kleines Kennzeichen "PDF" im Download-Knopf */
.firma-pdf__art {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  border: 1px solid currentColor; border-radius: 4px;
  padding: .05rem .32rem; opacity: .7; line-height: 1.4;
}

/* Abschnittskopf */
.firma-kopf { max-width: 40rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.firma-kopf h2 { margin-bottom: 0; }
.firma-kopf--mitte { text-align: center; margin-inline: auto; }

/* Angebote: drei ruhige Spalten, Bild oben */
.firma-angebote {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 72rem; margin-inline: auto;
  gap: clamp(1.8rem, 3.5vw, 3rem); align-items: start;
}
.firma-angebot__bild {
  aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden;
  background: var(--sand); box-shadow: var(--sch-1); margin-bottom: 1.5rem;
}
.firma-angebot__bild picture, .firma-angebot__bild img {
  width: 100%; height: 100%; object-fit: cover;
}
.firma-angebot__nr {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; color: var(--lehm); margin: 0 0 .55rem;
}
.firma-angebot h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin-bottom: .55rem; }
.firma-angebot .leise { font-size: .99rem; margin: 0; }
/* Ersatzmotiv, solange assets/bilder/firma-beratung.*, firma-massage.* bzw.
   firma-schroepfen.* fehlt - alle drei Karten gleich: Dunst oben, Sand unten */
.firma-motiv {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(70% 60% at 50% 35%, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(165deg, var(--dunst) 0%, var(--sand-tief) 100%);
}
.firma-motiv__svg { width: 92%; height: auto; }
.firma-hinweis { margin-top: clamp(2.4rem, 4.5vw, 3.4rem); max-width: 54rem; }
.firma-hinweis p { margin: 0; }
.firma-hinweis p + p { margin-top: .45rem; }

/* Zusammenarbeit: vier Schritte auf einer Linie */
.firma-schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.firma-schritt { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--petrol-hell); }
.firma-schritt::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--sand); border: 2px solid var(--petrol);
}
.firma-schritt__nr {
  display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1;
  color: var(--petrol); margin-bottom: .9rem;
}
.firma-schritt h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.firma-schritt p { font-size: .95rem; line-height: 1.62; margin: 0; color: var(--tinte-2); }
.firma-orga {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--papier-rein); border: 1px solid var(--linie);
  border-radius: var(--r-l); padding: clamp(1.6rem, 3.4vw, 2.6rem);
}
.firma-orga h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin-bottom: 1.3rem; }
.firma-orga__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 2.6rem; }

/* Preise */
.firma-preise {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem); max-width: 68rem; margin-inline: auto;
}
.firma-preis {
  display: flex; flex-direction: column; text-align: center;
  background: var(--papier-rein); border: 1px solid var(--linie);
  border-radius: var(--r-l); box-shadow: var(--sch-1);
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
}
.firma-preis__name {
  flex: 1 0 auto;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lehm);
  margin: 0 0 1.1rem;
}
.firma-preis__name span {
  display: block; margin-top: .25rem; font-size: .92rem; font-weight: 500;
  letter-spacing: .02em; text-transform: none; color: var(--tinte-3);
}
.firma-preis__betrag {
  font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1;
  letter-spacing: -.02em; color: var(--petrol); margin: 0 0 1rem;
}
/* „Auf Anfrage" statt Betrag - kleiner, damit es in eine Zeile passt */
.firma-preis__betrag--text { font-size: clamp(1.9rem, 3.2vw, 2.4rem); padding-block: .35em .25em; }
.firma-preis__zusatz {
  font-size: .95rem; color: var(--tinte-3); margin: 0;
  padding-top: .9rem; border-top: 1px solid var(--linie);
}

/* Mitarbeitervorteile */
.firma-vorteile {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem); align-items: stretch;
}
.firma-vorteil {
  background: var(--papier-rein); border: 1px solid var(--linie);
  border-radius: var(--r-l); box-shadow: var(--sch-1);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
}
.firma-vorteil--rahmen { border-color: var(--petrol); box-shadow: var(--sch-2); }
.firma-vorteil h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .6rem; }
.firma-vorteil .leise { margin: 0; }
/* Gutschein: ruhiges Zeichen statt einer zweiten grossen Zahl */
.firma-vorteil__zeichen {
  display: inline-grid; place-items: center; width: 64px; height: 64px;
  border-radius: 50%; background: var(--dunst); color: var(--petrol);
  margin-bottom: 1.2rem;
}
/* Preisvergleich: Labels in einer Zeile oben, Betraege darunter auf einer Grundlinie */
.firma-vergleich {
  display: grid; grid-template-columns: auto auto auto; justify-content: start;
  align-items: baseline; gap: .35rem clamp(.8rem, 3vw, 1.4rem);
  margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--linie);
}
.firma-vergleich__label {
  align-self: end; white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tinte-3);
}
.firma-vergleich__label--neu { color: var(--petrol-tief); }
.firma-vergleich s {
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
  color: var(--tinte-3); text-decoration-thickness: 1.5px;
}
.firma-vergleich b {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1; color: var(--petrol);
}
.firma-vergleich .pfeil { width: 20px; height: 20px; color: var(--petrol-hell); align-self: center; }
.firma-vorteile__fuss { margin: 1.6rem 0 0; }
.firma-vorteile__fuss p { margin: 0; }
.firma-vorteile__fuss p + p { margin-top: .35rem; }
/* "10-€-Gutschein" bricht nicht an den Bindestrichen um (bauen.py, firma_satz) */
.firma-nobr { white-space: nowrap; }

/* Anfrage: Text und Kontakt links, Formular rechts */
.firma-anfrage__raster {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start;
}
.firma-anfrage__wort .vorspann { max-width: 30em; }
.firma-anfrage__pdf { margin: 1.6rem 0 0; }
.firma-kontakt { margin-top: clamp(2rem, 4vw, 2.8rem); padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.firma-kontakt__h {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .18em; text-transform: uppercase; color: var(--lehm); margin: 0 0 1rem;
}
.firma-kontakt__adresse { font-style: normal; line-height: 1.7; color: var(--tinte-2); margin: 0 0 1rem; }
.firma-kontakt__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.firma-kontakt__liste li {
  display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: .8rem;
  font-size: .97rem; line-height: 1.55;
}
.firma-kontakt__liste span { color: var(--tinte-3); }
.firma-kontakt__liste a { overflow-wrap: anywhere; }

.firma-form {
  background: var(--papier-rein); border: 1px solid var(--linie);
  border-radius: var(--r-l); box-shadow: var(--sch-2);
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.firma-form [hidden] { display: none !important; }
.firma-form .buchung__form { max-width: none; }
.firma-form textarea {
  width: 100%; min-height: 9rem; resize: vertical;
  font-family: var(--sans); font-size: 1.06rem; line-height: 1.55; color: var(--tinte);
  background: var(--papier-rein);
  border: 1px solid var(--linie-kraeftig); border-radius: var(--r-s);
  padding: .85rem 1rem;
  transition: border-color .15s var(--weich), box-shadow .15s var(--weich);
}
.firma-form textarea:hover { border-color: var(--tinte-3); }
.firma-form textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(21, 93, 112, .18); }
.firma-form textarea:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; }
.firma-form .bfeld--fehler textarea { border-color: var(--fehler-rand); background: #FDF5F3; }
.firma-form input[type="number"] { -moz-appearance: textfield; }
.firma-form__ds { margin: 0; }
.firma-form [data-meldung]:focus { outline: none; }
.firma-form.sendet [data-senden] { opacity: .75; cursor: progress; }
.firma-erfolg { display: grid; gap: 1rem; justify-items: start; }
.firma-erfolg > * { margin: 0; }
.firma-erfolg__h { font-size: clamp(1.45rem, 3vw, 1.9rem); scroll-margin-top: 110px; }
.firma-erfolg__h:focus { outline: none; }

/* Schmalere Schirme */
@media (max-width: 1080px) {
  .firma-hero__raster { grid-template-columns: 1fr; }
  .firma-hero__bild { max-width: 620px; width: 100%; margin-inline: auto; }
  .firma-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; }
  /* Drei Angebote werden hier zu zweien - die dritte Karte rutscht in Reihe 2 */
  .firma-angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
}
@media (max-width: 900px) {
  /* Erst hier einspaltig (vorher schon bei 1080 px: zu breite Formularfelder) */
  .firma-vorteile, .firma-anfrage__raster { grid-template-columns: 1fr; }
  .firma-anfrage__form { max-width: 40rem; }
  .firma-angebote { grid-template-columns: 1fr; gap: 2.4rem; }
  .firma-angebot {
    display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    column-gap: 1.8rem; align-items: start;
  }
  .firma-angebot__bild { grid-row: 1 / span 3; margin-bottom: 0; }
}
@media (max-width: 820px) {
  .firma-hero__bild::before { display: none; }
  .firma-preise { grid-template-columns: 1fr; max-width: 30rem; }
}
@media (max-width: 640px) {
  .firma-angebot { display: block; }
  .firma-angebot__bild { margin-bottom: 1.3rem; }
  .firma-schritte { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .firma-orga__liste { grid-template-columns: 1fr; }
  .firma-preise { grid-template-columns: 1fr; }
  .firma-form { padding: 1.3rem 1.05rem 1.5rem; border-radius: var(--r-m); }
  .firma-kontakt__liste li { grid-template-columns: 5.4rem minmax(0, 1fr); }
  .firma-vergleich { column-gap: .7rem; }
  .firma-vergleich__label { font-size: .68rem; letter-spacing: .06em; }
}

/* Fuer Unternehmen, Runde 2: drei Schritte (ohne Schritt 04, solange die
   Mitarbeitervorteile aus sind - konfig.py FIRMA_VORTEILE), Hinweis unter den
   Preisen und Bedingungsliste der Mitarbeitervorteile (beide nur, wenn gepflegt) */
.firma-schritte--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.firma-preise__hinweis { max-width: 52rem; margin: 1.4rem auto 0; text-align: center; }
.firma-vorteile__bedingungen { margin: .6rem 0 0; padding-left: 1.1rem; }
.firma-vorteile__bedingungen li + li { margin-top: .2rem; }
@media (max-width: 1080px) {
  .firma-schritte--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .firma-schritte--3 { grid-template-columns: 1fr; row-gap: 2.2rem; }
}
