/* LAXspa Designsystem — Layout: Kopf, Schaufenster-Menü, Schema-Umschalter, Vollbild-Menü, Fuß
   Umbruch Kopf: ab 72rem Menüzeile mit Aufklappfeldern, darunter Vollbild-Menü (menue.js nutzt dieselbe Grenze). */

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-kopf);
  height: var(--kopf-hoehe);
  color: var(--text);
  transition: transform var(--dauer-3) var(--kurve-aus), background-color var(--dauer-2) ease, color var(--dauer-2) ease;
  view-transition-name: lx-kopf;
}
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--linie);
  opacity: 0; transition: opacity var(--dauer-2) ease;
}
/* Schleier über der Seite, solange ein Aufklappfeld offen ist (liegt UNTER Kopf und Feld, fängt keine Klicks) */
.kopf::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; z-index: -2;
  background: rgb(2 8 12 / 0.55); opacity: 0; pointer-events: none;
  transition: opacity var(--dauer-3) ease;
}
.kopf.hat-mega::after { opacity: 1; }
.kopf.ist-fest::before, .kopf.hat-mega::before, body:not(.hat-bildkopf) .kopf::before,
html:not(.js) .kopf:has(.hat-kinder:hover, .hat-kinder:focus-within)::before { opacity: 1; }
.kopf.hat-mega::before { background: var(--bg); }
.kopf.ist-weg:not(.hat-mega):not(:focus-within):not(.ist-menue) { transform: translateY(-101%); }
/* Über einem Bild-Hero: helle Schrift, solange der Kopf noch durchsichtig ist */
html.js .hat-bildkopf .kopf:not(.ist-fest):not(.ist-menue):not(.hat-mega) {
  --text: #ffffff; --text-leise: rgb(255 255 255 / 0.8); --linie: rgb(255 255 255 / 0.3); --link: #ffffff;
  --logo-filter: brightness(0) invert(1);
  --mutter-weiss: block; --mutter-blau: none;
}
body:not(.hat-bildkopf) main { padding-top: var(--kopf-hoehe); }

.kopf__leiste {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(0.75rem, 1vw, 1.25rem);
  max-width: var(--breite-max); margin-inline: auto; padding-inline: var(--rand);
}
/* Doppel-Logo: LAXspa | by [spaPRO-Logo] */
.kopf__marke { display: flex; align-items: center; gap: clamp(0.5rem, 1vw, 0.9rem); flex: none; min-width: 0; }
.kopf__logo { display: flex; align-items: center; color: var(--text); text-decoration: none; flex: none; }
.kopf__logo img { height: clamp(1.7rem, 1.45rem + 0.9vw, 2.5rem); width: auto; filter: var(--logo-filter); transition: filter var(--dauer-2) ease; }
.kopf__mutter {
  display: flex; align-items: center; gap: 0.45rem; flex: none;
  padding-left: clamp(0.5rem, 1vw, 0.9rem); border-left: 1px solid var(--linie);
  color: var(--text-leise); text-decoration: none;
  --mutter-hoehe: clamp(2.3rem, 1.9rem + 1.5vw, 3.5rem);
  transition: opacity var(--dauer-2) ease;
}
.kopf__mutter:hover { opacity: 0.8; }
.kopf__by { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
@media (max-width: 24rem) { .kopf__by { display: none; } }

.kopf__nav { height: 100%; min-width: 0; }
.kopf__nav > ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.kopf__punkt { display: flex; align-items: center; }
.kopf__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.4em;
  height: 100%;
  padding-inline: clamp(0.5rem, 0.5vw, 0.625rem);
  color: var(--text); text-decoration: none; white-space: nowrap;
  font-size: clamp(0.9375rem, 0.85rem + 0.2vw, 1.0625rem); font-weight: 450; letter-spacing: 0.02em;
}
.kopf__link::after {
  content: ""; position: absolute; left: clamp(0.5rem, 0.9vw, 1.1rem); right: clamp(0.5rem, 0.9vw, 1.1rem);
  bottom: calc(50% - 0.95em); height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform var(--dauer-3) var(--kurve-aus);
}
.kopf__link:hover::after, .kopf__link.ist-aktiv::after, .kopf__punkt.ist-offen > .kopf__link::after, .kopf__link:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.kopf__link svg { width: 0.6rem; height: 0.6rem; transition: transform var(--dauer-2) var(--kurve-aus); }
.kopf__punkt.ist-offen .kopf__link svg { transform: rotate(180deg); }
/* „Beratung“ steht rechts schon als Knopf – in der Menüzeile nicht doppelt */
@media (min-width: 72rem) { .kopf__punkt--cta { display: none; } }
/* „Über uns“ erst, wenn Platz ist: zwischen 72 und 85rem stünde es sonst unter Tropfen und Beratung (seit „Zubehör“
   im Menü ist). Erreichbar bleibt es über „by spaPRO“ im Kopf, den Fuß und das Vollbild-Menü. */
@media (min-width: 72rem) and (max-width: 84.99rem) { .kopf__punkt--weit { display: none; } }

/* ---------- Schaufenster-Menü ---------- */
.kopf__mega {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100svh - var(--kopf-hoehe)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--text);
  border-bottom: 1px solid var(--linie);
  box-shadow: var(--schatten);
  visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dauer-3) var(--kurve-aus), opacity var(--dauer-2) ease, visibility 0s linear var(--dauer-3);
}
/* mit JS wird das Feld erst beim ersten Öffnen überhaupt gerendert → Bilder und Filme laden nicht vorab */
html.js .kopf__mega:not(.ist-bereit) { display: none; }
.kopf__punkt.ist-offen > .kopf__mega,
html:not(.js) .kopf__punkt.hat-kinder:hover > .kopf__mega,
html:not(.js) .kopf__punkt.hat-kinder:focus-within > .kopf__mega {
  visibility: visible; opacity: 1; clip-path: inset(0 0 -4rem 0);
  transition-delay: 0s;
}
.mega__innen {
  max-width: var(--breite-max); margin-inline: auto;
  padding: var(--raum-6) var(--rand) var(--raum-7);
  display: grid; gap: var(--raum-5) clamp(1.25rem, 2.2vw, 2.5rem);
  grid-template-columns: minmax(13rem, 17rem) minmax(15rem, 25rem) minmax(0, 1fr);
  align-items: stretch;
}
.mega__innen--themen { grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr); }
/* gestaffeltes Einblenden: alles mit --i */
.kopf__mega [style*="--i"] { opacity: 0; transform: translateY(1rem); transition: opacity var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus); }
.kopf__punkt.ist-offen [style*="--i"], html:not(.js) .kopf__mega [style*="--i"] { opacity: 1; transform: none; transition-delay: calc(90ms + var(--i, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) { .kopf__mega [style*="--i"] { opacity: 1; transform: none; } }

.mega__serien { display: flex; flex-direction: column; gap: var(--raum-2); min-width: 0; }
.mega__kicker { margin-bottom: var(--raum-3); }
.mega__satz { font-size: var(--gr-h4); line-height: 1.15; margin-bottom: var(--raum-4); }
.mserie {
  position: relative; display: grid; gap: 0.2rem;
  padding: var(--raum-3) var(--raum-4) var(--raum-3) var(--raum-4);
  border-radius: var(--radius-m); border: 1px solid transparent;
  color: var(--text); text-decoration: none;
  transition: background var(--dauer-2) ease, border-color var(--dauer-2) ease, opacity var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus);
}
.mserie__name {
  font-family: var(--schrift-display); font-weight: var(--display-gewicht); font-stretch: var(--display-breite);
  text-transform: var(--display-versal); letter-spacing: var(--display-weite);
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem); line-height: 1.05;
}
.mserie__zeile { color: var(--text-leise); font-size: var(--gr-klein); line-height: 1.35; }
.mserie.ist-aktiv, .mserie:hover, .mserie:focus-visible { background: var(--flaeche); border-color: var(--linie); }
.mserie.ist-aktiv .mserie__name { color: var(--link); }
.mega__aktionen { margin-top: auto; padding-top: var(--raum-4); }
.mega__aktionen .knopf { width: 100%; justify-content: space-between; font-size: 0.9375rem; padding-left: 1rem; gap: var(--raum-2); }
.mega__aktionen .knopf > span:first-child { white-space: normal; text-align: left; line-height: 1.2; }
.mega__aktionen .knopf__pfeil { flex: none; }

/* ---------- Schaufenster mit Gruppen (19.11.2026) ----------
   Raster: Spalte 1 = Kicker, Reiter je Gruppe, „Alle … zeigen“ der gewählten Gruppe, unten „Alle vergleichen“;
   Spalte 2 = Bühne (Foto/Film der Gruppe, darüber die Pool-Vorschau); Spalte 3 = Pools der Gruppe, unten Aktion.
   Jede Gruppe ist .mg (display: contents) → ihre Teile sind Rasterelemente und hängen am Radio davor
   (.mg__wahl:checked ~ …). Nur die gewählte Liste bestimmt die Höhe, maximal sechs Vorschaukarten.
   Zeilen: Inhaltshöhe je Reiter, flexible Restzeile und gemeinsame Fußzeile aus kopf.html. */
.mega__innen--gruppen {
  position: relative; row-gap: 0; padding-block: var(--raum-5);
  grid-template-columns: minmax(13rem, 0.8fr) minmax(15rem, 1fr) minmax(0, 1.8fr);
}
.mega__innen--gruppen .mserie__name { font-size: 1.25rem; line-height: 1.15; }
.mega__innen--gruppen .mserie__zeile { font-size: 0.8125rem; }
.mega__innen--gruppen > .mega__kicker { grid-column: 1; }
.mg { display: contents; }
.mg__wahl { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.mega__innen--gruppen .mserie { grid-column: 1; margin-bottom: var(--raum-2); cursor: pointer; overflow: hidden; }
.mega__innen--gruppen .mserie::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 2px;
  background: var(--serie, var(--akzent)); transform: scaleY(0); transition: transform var(--dauer-3) var(--kurve-aus);
}
.mserie__name { display: flex; align-items: center; }
.mg__wahl:checked + .mserie .mserie__name { color: var(--serie, var(--link)); }
.mmodell { border-left: 4px solid var(--serie, var(--linie)) !important; }
.mega__innen--gruppen .mserie:hover { background: color-mix(in srgb, var(--flaeche) 60%, transparent); border-color: var(--linie); }
.mg__wahl:checked + .mserie { background: var(--flaeche); border-color: var(--linie); }
.mg__wahl:checked + .mserie::before { transform: none; }
.mg__wahl:checked + .mserie .mserie__name { color: var(--link); }
.mg__wahl:focus-visible + .mserie { outline: 2px solid var(--link); outline-offset: 2px; }

/* „Alle <Gruppe> zeigen“: kräftige Kapsel direkt unter dem gewählten Reiter, Glanz läuft beim Überfahren */
.mg__alle {
  grid-column: 1; position: relative; overflow: hidden; isolation: isolate;
  display: none; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: var(--raum-3);
  min-height: 3.5rem; margin: 0 0 var(--raum-4) var(--raum-3); padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-radius: var(--radius-knopf); background: var(--akzent); color: var(--akzent-text); text-decoration: none;
  box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--akzent) 90%, transparent);
  transition: transform var(--dauer-3) var(--kurve-aus), box-shadow var(--dauer-3) ease;
}
.mg__wahl:checked ~ .mg__alle { display: grid; animation: mg-auf 420ms var(--kurve-aus) both; }
.mg__alle::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.34) 50%, transparent 70%);
  transform: translateX(-110%);
}
.mg__alle:hover, .mg__alle:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 34px -16px color-mix(in srgb, var(--akzent) 95%, transparent); }
.mg__alle:hover::before, .mg__alle:focus-visible::before { transform: translateX(110%); transition: transform 900ms var(--kurve-aus); }
.mg__alle:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.mg__alle-wort { font-weight: 700; font-size: 0.9375rem; line-height: 1.15; letter-spacing: 0.01em; }
.mg__alle-zahl { grid-row: 2; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.mg__alle-pfeil {
  grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: color-mix(in srgb, var(--akzent-text) 16%, transparent);
  transition: transform var(--dauer-3) var(--kurve-aus);
}
.mg__alle-pfeil svg { width: 1rem; height: 1rem; }
.mg__alle:hover .mg__alle-pfeil { transform: translateX(0.2rem) rotate(-45deg); }
@keyframes mg-auf { from { opacity: 0; transform: translateY(-0.4rem); } }

/* Bühne je Gruppe: Foto/Film; die gewählte blendet ein */
.mg__buehne {
  grid-column: 2; grid-row: 1 / -1; position: relative; z-index: 0;
  min-height: 20rem;
  border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 80% at 50% 35%, color-mix(in srgb, var(--wasser-flach) 70%, transparent), var(--wasser-tief) 85%);
  opacity: 0; visibility: hidden; transform: scale(1.015);
  transition: opacity var(--dauer-3) ease, transform var(--dauer-4) var(--kurve-aus), visibility 0s linear var(--dauer-3);
}
.mg__wahl:checked ~ .mg__buehne { opacity: 1; visibility: visible; transform: none; z-index: 1; transition-delay: 0s; }
.mg__buehne .mfilm__video { position: absolute; inset: 0; }
.mg__buehne .lxvideo__film, .mg__buehne .lxvideo__poster { transform: scale(1.02); transition: transform 2400ms var(--kurve-aus); }
.mg__buehne:hover .lxvideo__film, .mg__buehne:hover .lxvideo__poster { transform: scale(1.08); }
.mg__buehne .lxvideo__leiste { right: var(--raum-3); top: var(--raum-3); }
.mg__foto { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; padding: var(--raum-5) var(--raum-5) var(--raum-8); }
.mg__foto img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 24px rgb(0 0 0 / 0.45)); }
/* Bühnenfoto der Serie (echtes Foto, füllt die Bühne) */
.mg__bild { position: absolute; inset: 0; }
.mg__bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.02); transition: transform 2400ms var(--kurve-aus); }
.mg__buehne:hover .mg__bild img { transform: scale(1.07); }
.mfilm__text {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: var(--raum-7) var(--raum-4) var(--raum-4);
  background: linear-gradient(180deg, transparent, rgb(3 12 18 / 0.86));
  display: grid; gap: var(--raum-1); pointer-events: none;
}
.mfilm__text .etikett { color: #fff; opacity: 0.85; }
.mfilm__name { color: #fff; font-size: var(--gr-h3); }
.mfilm__claim { margin: 0; color: rgb(255 255 255 / 0.85); font-size: var(--gr-klein); }

/* Pool-Vorschau über der Bühne: großes Bild, Name, Maß, Personen, Preis */
.mvorschau {
  grid-column: 2; grid-row: 1 / -1; position: relative; z-index: 3; align-self: stretch;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; border-radius: var(--radius-l); overflow: hidden;
  contain: size;                                          /* zwei große Bilder dürfen das Menü nicht höher machen */
  background: radial-gradient(90% 80% at 50% 38%, var(--wasser-flach), var(--wasser-tief) 85%);
  color: #fff; text-decoration: none; opacity: 0; transition: opacity var(--dauer-2) ease; pointer-events: none;
}
/* oben Draufsicht, darunter Außenansicht (je halbe Höhe); ohne zweites Bild füllt die Draufsicht die Fläche */
.mvorschau__bilder { min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: var(--raum-2); padding: var(--raum-4) var(--raum-4) 0; background: #fff; }
.mvorschau__ansicht { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--raum-1); justify-items: center; }
.mvorschau__ansicht[hidden] { display: none; }
.mvorschau__ansicht + .mvorschau__ansicht { border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: var(--raum-2); }
.mvorschau__ansicht img {
  grid-row: 2; width: 100%; height: 100%; min-height: 0; object-fit: contain;
  transform: scale(0.9) translateY(0.6rem); opacity: 0; transition: transform var(--dauer-4) var(--kurve-aus), opacity var(--dauer-3) ease;
  /* Herstellerfotos haben weißen Grund: kein Schlagschatten (zeichnete graue Kästen um die Fotos, Holger 21.11.2026),
     multiply lässt den weißen Fotogrund mit der weißen Fläche verschmelzen. */
  mix-blend-mode: multiply;
}
.mvorschau__ansicht + .mvorschau__ansicht img { transition-delay: 60ms; }
.mvorschau__etikett {
  grid-row: 1; justify-self: start; padding: 0.15em 0.55em; border-radius: var(--radius-knopf);
  background: rgb(3 12 18 / 0.45); color: rgb(255 255 255 / 0.85); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.mvorschau:hover .mvorschau__name { text-decoration: underline; text-underline-offset: 0.2em; }
.mvorschau__text { display: grid; gap: 0.2rem; justify-items: start; padding: var(--raum-3) var(--raum-4) var(--raum-4); background: linear-gradient(180deg, transparent, rgb(3 12 18 / 0.7)); }
.mvorschau__marke { margin-bottom: var(--raum-1); }
.mvorschau__name { margin: 0; color: #fff; font-size: var(--gr-h3); }
.mvorschau__daten { margin: 0; font-size: var(--gr-klein); color: rgb(255 255 255 / 0.88); }
.mvorschau__preis { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.mvorschau__preis s { font-size: var(--gr-klein); color: rgb(255 255 255 / 0.75); }
.mvorschau__preis s:empty { display: none; }
.mvorschau__preis b { font-size: 1.375rem; font-weight: 650; }
.mvorschau__spar { padding: 0.2em 0.6em; border-radius: var(--radius-knopf); background: var(--akzent); color: var(--akzent-text); font-size: 0.8125rem; font-weight: 700; }
.mvorschau__spar.ist-bf { background: var(--bf); color: var(--bf-text); }
.mega__innen.zeigt-modell .mvorschau { opacity: 1; pointer-events: auto; cursor: pointer; }
.mega__innen.zeigt-modell .mvorschau__ansicht img { transform: none; opacity: 1; }

/* Nur die aktive Liste nimmt Platz ein. Alle Modelle stehen darin; ab drei Kartenreihen scrollt die Liste in sich
   (feste Höhe, Verlauf am unteren Rand als Hinweis), damit das Menü bei 28 WAVE-Modellen nicht wächst. */
.mg__modelle {
  grid-column: 3; grid-row: 1 / -2; align-self: start;
  margin: 0; padding: 0 var(--raum-2) var(--raum-4) 0; list-style: none; display: none; gap: var(--raum-2);
  max-height: min(36rem, calc(100dvh - 14rem)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent);
  grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start;
  visibility: hidden; opacity: 0; transition: opacity var(--dauer-2) ease, visibility 0s linear var(--dauer-2);
}
.mg__wahl:checked ~ .mg__modelle { display: grid; visibility: visible; opacity: 1; transition-delay: 0s; }
.mg__wahl:checked ~ .mg__modelle > li { animation: mg-ein 460ms var(--kurve-aus) both; animation-delay: calc(40ms + var(--k, 0) * 38ms); }
@keyframes mg-ein { from { opacity: 0; transform: translateY(0.8rem); } }
.mega__innen--gruppen > .mega__aktionen { grid-column: 1; grid-row: -2 / -1; margin-top: 0; padding-top: var(--raum-4); align-self: end; }
.mega__innen--gruppen > .mega__unten { grid-column: 3; grid-row: -2 / -1; padding-top: var(--raum-4); }
@media (prefers-reduced-motion: reduce) {
  .mg__wahl:checked ~ .mg__modelle > li, .mg__wahl:checked ~ .mg__alle { animation: none; }
  .mg__buehne, .mvorschau__ansicht img, .mg__bild img { transform: none; }
}

.mmodell {
  display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: var(--raum-3); align-items: center;
  height: 100%; padding: var(--raum-2); padding-right: var(--raum-3);
  border-radius: var(--radius-m); border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--text); text-decoration: none;
  transition: border-color var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus), box-shadow var(--dauer-3) ease;
}
.mmodell:hover, .mmodell:focus-visible { border-color: var(--link); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgb(0 0 0 / 0.6); }
.mmodell__bild { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-s); background: #fff; overflow: hidden; }
.mmodell__bild img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform var(--dauer-4) var(--kurve-aus); }
.mmodell:hover .mmodell__bild img, .mmodell:focus-visible .mmodell__bild img { transform: scale(1.14) rotate(-5deg); }
/* Menübild ohne Rand (werkzeug/menue_bilder.py): quer, füllt die Kachel; beim Überfahren nur leicht größer */
.mmodell:has(.mmodell__bild--karte) { grid-template-columns: 5.5rem minmax(0, 1fr); }
.mmodell__bild--karte { aspect-ratio: 4 / 3; }
.mmodell__bild--karte img { padding: 0; }
.mmodell:hover .mmodell__bild--karte img, .mmodell:focus-visible .mmodell__bild--karte img { transform: scale(1.08); }
.mmodell__text { display: grid; gap: 0.1rem; min-width: 0; }
.mmodell__name { font-weight: 600; font-size: 1rem; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.4rem; }
.mmodell__marke { font-size: 0.625rem; padding: 0.2em 0.6em; min-height: 0; letter-spacing: 0.06em; }
.mmodell__daten { color: var(--text-leise); font-size: 0.78rem; line-height: 1.3; letter-spacing: 0; }
.mmodell__preis { font-size: 0.9375rem; font-weight: 500; }
.mmodell__preis .preis__alt { font-size: 0.8125rem; }
.mega__unten { margin-top: auto; display: grid; gap: var(--raum-3); }
.mega__unten--breit { grid-column: 1 / -1; }
.mega__hinweis { margin: 0; }
.maktion {
  display: flex; align-items: center; gap: var(--raum-3); flex-wrap: wrap;
  padding: var(--raum-3) var(--raum-4); border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--akzent) 14%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--akzent) 45%, var(--linie));
  color: var(--text); text-decoration: none;
  transition: background var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus);
}
.maktion:hover, .maktion:focus-visible { background: color-mix(in srgb, var(--akzent) 16%, var(--flaeche)); border-color: var(--link); transform: translateY(-2px); }
.maktion.ist-bf { border-color: var(--bf); box-shadow: inset 4px 0 0 var(--bf); }
.maktion__text { flex: 1; min-width: 10rem; display: flex; flex-wrap: wrap; gap: 0.1rem 0.6rem; align-items: baseline; }
.maktion .knopf__pfeil { width: 2rem; height: 2rem; flex: none; }

/* Themen-Kacheln (Ratgeber …) */
.mthemen {
  margin: 0; padding: 0; list-style: none; display: grid; gap: var(--raum-3);
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  grid-auto-rows: minmax(calc(var(--raum-8) + var(--raum-4)), 1fr) auto auto;
}
/* Shared image, heading and description tracks keep every card in a row aligned, including wrapped text. */
.mthemen > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; }
.mthema {
  position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: var(--raum-2); min-height: 12rem;
  padding: var(--raum-4); border-radius: var(--radius-m); overflow: hidden; isolation: isolate;
  border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); text-decoration: none;
  transition: border-color var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus), background var(--dauer-2) ease;
}
.mthema:hover, .mthema:focus-visible { border-color: var(--link); transform: translateY(-3px); background: color-mix(in srgb, var(--akzent) 10%, var(--flaeche)); }
.mthema__nr { position: absolute; left: var(--raum-4); top: var(--raum-3); color: var(--link); font-size: var(--gr-klein); font-weight: 500; }
.mthema__name {
  grid-row: 2; align-self: start;
  font-family: var(--schrift-display); font-weight: var(--display-gewicht); font-stretch: var(--display-breite);
  text-transform: var(--display-versal); letter-spacing: var(--display-weite);
  font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.875rem); line-height: 1.05;
}
.mthema__text { grid-row: 3; min-height: calc(3 * 1.35em); padding-right: 2rem; color: var(--text-leise); font-size: var(--gr-klein); line-height: 1.35; }
.mthema__pfeil { position: absolute; right: var(--raum-4); bottom: var(--raum-4); width: 1rem; height: 1rem; transition: transform var(--dauer-3) var(--kurve-aus); }
.mthema__pfeil svg { width: 100%; height: 100%; }
.mthema:hover .mthema__pfeil, .mthema:focus-visible .mthema__pfeil { transform: translateX(0.35rem); }
.mthema.hat-bild { color: #fff; border-color: transparent; }
.mthema.hat-bild .mthema__text, .mthema.hat-bild .mthema__nr { color: #fff; }
.mthema__bild { position: absolute; inset: 0; z-index: -1; }
.mthema__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 12 18 / 0.05), rgb(3 12 18 / 0.75)); }
.mthema__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--kurve-aus); }
.mthema:hover .mthema__bild img, .mthema:focus-visible .mthema__bild img { transform: scale(1.08); }

.kopf__rechts { display: flex; align-items: center; gap: clamp(0.5rem, 1vw, 0.75rem); flex: none; }
.kopf__cta { min-height: 2.75rem; padding: 0.35rem 1.15rem; font-size: 0.9375rem; }
/* Die zusätzliche Produktgruppe braucht Platz; der Termin-Knopf bleibt immer sichtbar. */
@media (min-width: 72rem) and (max-width: 99.99rem) { .kopf__cta { display: none; } }
.kopf__menueknopf {
  display: none; width: 2.75rem; height: 2.75rem; place-items: center;
  border-radius: var(--radius-knopf); border: 1px solid var(--linie); color: var(--text);
}
.kopf__menueknopf i { display: block; width: 1.1rem; height: 1.5px; background: currentColor; transition: transform var(--dauer-3) var(--kurve-aus); }
.kopf__menueknopf i + i { margin-top: 5px; }
.menue-offen .kopf__menueknopf i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menue-offen .kopf__menueknopf i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Schmal: mit JS Vollbild-Menü, ohne JS bleibt die Menüzeile wischbar stehen */
@media (max-width: 71.99rem) {
  html.js .kopf__nav, html.js .kopf__cta { display: none; }
  html.js .kopf__menueknopf { display: grid; }
  html:not(.js) .kopf { position: static; height: auto; }
  html:not(.js) .kopf__leiste { flex-wrap: wrap; padding-block: var(--raum-3); }
  html:not(.js) .kopf__nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .kopf__link { height: 2.75rem; }
  html:not(.js) .kopf__mega, html:not(.js) .kopf__cta { display: none; }
  html:not(.js) body:not(.hat-bildkopf) main { padding-top: 0; }
  html:not(.js) .hat-bildkopf .kopf { position: absolute; }
}
/* Ohne JavaScript klappt die Farbauswahl beim Überfahren oder per Tastatur auf; die Wahl läuft über /thema */
html:not(.js) .themawahl:hover .themawahl__liste, html:not(.js) .themawahl:focus-within .themawahl__liste { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
html:not(.js) .themawahl__liste { top: 100%; }

/* ---------- Schema-Umschalter ---------- */
.themawahl { position: relative; }
.themawahl__knopf {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-knopf); border: 1px solid var(--linie); color: var(--text);
  transition: background var(--dauer-2) ease, color var(--dauer-2) ease;
}
.themawahl__knopf:hover, .themawahl__knopf[aria-expanded="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.themawahl__knopf svg { width: 1.15rem; height: 1.15rem; }
.themawahl__liste {
  position: absolute; right: 0; top: calc(100% + 0.75rem);
  width: 19.5rem; padding: var(--raum-3); margin: 0;
  background: var(--flaeche); color: var(--text);
  border: 1px solid var(--linie); border-radius: var(--radius-m);
  box-shadow: var(--schatten);
  display: grid; gap: 2px;
  visibility: hidden; opacity: 0; transform: translateY(-0.5rem) scale(0.97); transform-origin: 100% 0;
  transition: opacity var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus), visibility 0s linear var(--dauer-2);
}
.themawahl.ist-offen .themawahl__liste { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.themawahl__titel { padding: var(--raum-2) var(--raum-3) var(--raum-3); }
.themawahl__wahl {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--raum-3);
  width: 100%; padding: var(--raum-2) var(--raum-3); text-align: left;
  border-radius: var(--radius-s); color: inherit;
  transition: background var(--dauer-1) ease;
}
.themawahl__wahl:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.themawahl__wahl[aria-pressed="true"] { background: color-mix(in srgb, var(--akzent) 16%, transparent); }
.themawahl__wahl[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--akzent) 24%, transparent); }
.themawahl__wahl:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
/* Über einem Bild-Hero ist --text im Kopf weiß: der gefüllte Knopf braucht dann dunkle Schrift, nicht --bg */
.hat-bildkopf .kopf:not(.ist-fest):not(.ist-menue):not(.hat-mega) .themawahl__knopf:hover,
.hat-bildkopf .kopf:not(.ist-fest):not(.ist-menue):not(.hat-mega) .themawahl__knopf[aria-expanded="true"] { color: var(--bild-knopf-hover, var(--bg)); }
.themawahl__wahl small { white-space: nowrap; color: inherit; opacity: 0.8; font-size: var(--gr-mini); letter-spacing: 0.08em; text-transform: uppercase; }
.themawahl__wahl[aria-pressed="true"] small::after { content: " · aktiv"; }
.themamuster {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  width: 3.25rem; height: 2rem; flex: none;
  border-radius: calc(8px * var(--rundung)); border: 1px solid var(--linie);
}
.themamuster i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--akzent); }
.themamuster i + i { background: var(--text); }
.themamuster i + i + i { background: var(--akzent-2); }

/* ---------- Vollbild-Menü (schmal) ---------- */
.mobil {
  position: fixed; inset: 0; z-index: var(--z-menue);
  background: var(--bg); color: var(--text);
  display: flex; flex-direction: column;
  padding: calc(var(--kopf-hoehe) + var(--raum-4)) var(--rand) var(--raum-6);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - var(--rand) - 1.4rem) calc(var(--kopf-hoehe) / 2));
  transition: clip-path 700ms var(--kurve-ein-aus), visibility 0s linear 700ms;
}
/* Mit JS liegt das Menü bis zum ersten Öffnen ganz aus dem Layout (display:none): sonst rechnet der Browser beim
   Seitenaufbau Stil und Layout für alle Serien und Pools mit (Ladezeit-Messung: lange Aufgaben). menue.js setzt
   .ist-bereit kurz vor dem Öffnen und nimmt es nach dem Schließen wieder weg. Ohne JS gibt es das Vollbild-Menü nicht. */
html.js .mobil:not(.ist-bereit) { display: none; }
.menue-offen .mobil { visibility: visible; clip-path: circle(150vmax at calc(100% - var(--rand) - 1.4rem) calc(var(--kopf-hoehe) / 2)); transition-delay: 0s; }
.kopf.ist-menue { z-index: calc(var(--z-menue) + 1); transform: none !important; }
.kopf.ist-menue::before { opacity: 1 !important; background: var(--bg); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobil__liste { margin: 0; padding: 0; list-style: none; display: grid; }
.mobil__liste > li { border-bottom: 1px solid var(--linie); opacity: 0; transform: translateY(1.5rem); transition: opacity var(--dauer-2) ease, transform var(--dauer-3) var(--kurve-aus); }
.menue-offen .mobil__liste > li { opacity: 1; transform: none; transition-delay: calc(160ms + var(--i, 0) * 45ms); }
.mobil__link, .mobil details > summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--raum-4);
  padding-block: 0.32em;
  font-family: var(--schrift-display); font-weight: var(--display-gewicht); font-stretch: var(--display-breite);
  text-transform: var(--display-versal); letter-spacing: var(--display-weite);
  font-size: clamp(1.875rem, 1rem + 4.6vw, 3.25rem); line-height: 1.1;
  color: var(--text); text-decoration: none; list-style: none; cursor: pointer;
}
.mobil__marke { font-family: var(--schrift-text); font-stretch: normal; letter-spacing: 0.06em; }
.mobil details > summary::-webkit-details-marker { display: none; }
.mobil details > summary::after { content: "+"; font-family: var(--schrift-text); font-weight: 300; font-size: 0.8em; transition: transform var(--dauer-3) var(--kurve-aus); }
.mobil details[open] > summary::after { transform: rotate(45deg); }
.mobil details[open] > summary { color: var(--link); }
.mobil__schau { display: grid; gap: var(--raum-5); padding: var(--raum-3) 0 var(--raum-6); }
.mobil__serie { display: grid; gap: var(--raum-3); }
.mobil__seriekopf {
  position: relative; display: grid; align-content: end; gap: var(--raum-1);
  min-height: 9.5rem; padding: var(--raum-4); border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: var(--wasser-tief); text-decoration: none;
}
.mobil__seriekopf img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mobil__seriekopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(3 12 18 / 0.15), rgb(3 12 18 / 0.85)); }
.mobil__seriename { color: #fff; font-size: var(--gr-h3); }
.mobil__seriezeile { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: var(--gr-klein); }
.mobil__seriezeile .knopf__pfeil { width: 2rem; height: 2rem; background: rgb(255 255 255 / 0.16); color: #fff; }
.mobil__modelle { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--raum-2); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.mobil__kinder { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--raum-1); }
.mobil__kinder a { display: block; padding-block: var(--raum-2); color: var(--text-leise); text-decoration: none; font-size: var(--gr-gross); }
.mobil__alle { justify-content: space-between; }
.mobil__themenliste { margin: 0; padding: var(--raum-2) 0 var(--raum-5); list-style: none; display: grid; gap: var(--raum-2); }
.mobil__thema {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--raum-3);
  padding: var(--raum-3) var(--raum-4); border-radius: var(--radius-m); border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--text); text-decoration: none;
}
.mobil__thema > span:not(.knopf__pfeil):not(.mobil__themabild) { grid-column: 2; display: grid; gap: 0.1rem; }
.mobil__themabild { grid-column: 1; }
.mobil__thema b { font-size: var(--gr-gross); font-weight: 600; }
.mobil__thema small { color: var(--text-leise); font-size: var(--gr-klein); }
.mobil__thema .knopf__pfeil { grid-column: 3; width: 2rem; height: 2rem; }
.mobil__thema--alle { background: none; }
.mobil__themabild { width: 3.5rem; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; }
.mobil__themabild img { width: 100%; height: 100%; object-fit: cover; }
.mobil__fuss { margin-top: auto; padding-top: var(--raum-6); display: grid; gap: var(--raum-5); }
.mobil .knopf { justify-content: center; }
/* Farbschema im Handy-Menü: Muster MIT Namen (Schrift nimmt die Farben des aktiven Schemas) */
.mobil__themen { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--raum-2); }
.mobil__themen .themawahl__wahl {
  grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--raum-3); row-gap: 0;
  padding: var(--raum-2); border: 1px solid var(--linie); border-radius: var(--radius-m); color: var(--text); background: var(--flaeche);
}
.mobil__themen .themamuster { grid-row: 1 / 3; width: 2.75rem; height: 2.75rem; }
.mobil__themaname { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; color: var(--text); align-self: end; overflow-wrap: anywhere; }
.mobil__themen .themawahl__wahl small { grid-column: 2; align-self: start; color: var(--text-leise); opacity: 1; }
.mobil__themen .themawahl__wahl[aria-pressed="true"] { border-color: var(--link); background: color-mix(in srgb, var(--akzent) 16%, var(--flaeche)); }
.mobil__mutter { display: flex; align-items: center; justify-content: space-between; gap: var(--raum-4); padding-top: var(--raum-4); border-top: 1px solid var(--linie); text-decoration: none; --mutter-hoehe: 3.25rem; }
@media (min-width: 72rem) { .mobil { display: none; } }

/* ---------- Fuß ---------- */
.fuss {
  position: relative;
  background: var(--bg-alt);
  border-top: 1px solid var(--linie);
  padding-top: var(--raum-abschnitt);
  overflow: clip;
}
.fuss__oben { display: grid; gap: var(--raum-8) var(--luecke); }
.fuss__marke { display: grid; gap: var(--raum-5); align-content: start; }
.fuss__logos { display: flex; align-items: center; gap: var(--raum-5); flex-wrap: wrap; }
.fuss__logo-lax { height: 3rem; width: auto; filter: var(--logo-filter); }
.fuss__logo-mutter { display: block; --mutter-hoehe: 5rem; transition: opacity var(--dauer-2) ease; }
.fuss__logo-mutter:hover { opacity: 0.8; }
.fuss__logos i { width: 1px; height: 3rem; background: var(--linie); }
.fuss__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--raum-7) var(--luecke); }
.fuss__spalte ul { list-style: none; padding: 0; margin: var(--raum-4) 0 0; display: grid; gap: var(--raum-2); }
.fuss__spalte a, .fuss__adresse a { color: var(--text); text-decoration: none; }
.fuss__spalte a:hover, .fuss__adresse a:hover { color: var(--link); text-decoration: underline; }
.fuss__adresse { font-style: normal; display: grid; gap: var(--raum-1); margin-top: var(--raum-4); }
.fuss__adresse > span:not(:first-child) { white-space: nowrap; }
.fuss__adresse > .fuss__strasse { white-space: normal; } /* „Kirche 14“ bleibt durch das geschützte Leerzeichen zusammen. */
.fuss__wort {
  margin-top: var(--raum-9);
  font-size: clamp(5rem, 24vw, 30rem); line-height: 0.75;
  white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1px var(--linie);
  user-select: none; pointer-events: none;
  transform: translateY(12%);
}
.fuss__unten {
  position: relative; z-index: 1;
  padding-block: var(--raum-5);
  border-top: 1px solid var(--linie);
  background: var(--bg-alt);
  font-size: var(--gr-klein); color: var(--text-leise);
}
/* Innenzeile */
.fuss__unten-innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--raum-4); }
.fuss__themen { display: flex; align-items: center; gap: var(--raum-2); }
.fuss__themen .themawahl__wahl { width: auto; grid-template-columns: auto; padding: 0; }
.fuss__themen .themawahl__wahl span:not(.themamuster) { display: none; }
.fuss__themen .themawahl__wahl[aria-pressed="true"] .themamuster { outline: 2px solid var(--akzent); outline-offset: 2px; }
@media (min-width: 60rem) {
  .fuss__oben { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Always available shortcuts; below menu and consent layers. No page-wide overlay. */
body { --schnellhilfe-unten: calc(var(--raum-4) + env(safe-area-inset-bottom, 0px)); }
body.seite-produkt { --schnellhilfe-unten: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
.schnellhilfe { position: fixed; right: 0; bottom: var(--schnellhilfe-unten); z-index: calc(var(--z-kopf) - 3); display: grid; justify-items: end; gap: var(--raum-3); }
.schnellhilfe__suche, .schnellkontakt__knopf { display: flex; align-items: center; justify-content: center; min-height: 2.875rem; background: var(--akzent); color: var(--akzent-text); box-shadow: var(--schatten); border: 1px solid var(--linie); font-weight: 650; cursor: pointer; text-decoration: none; }
.schnellhilfe__suche { width: 2.875rem; border-radius: 50%; margin-right: var(--raum-3); }
.schnellhilfe__suche svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.schnellkontakt__knopf { border-radius: var(--radius-knopf) 0 0 var(--radius-knopf); padding: var(--raum-2) var(--raum-4); list-style: none; }
.schnellkontakt__knopf::-webkit-details-marker { display: none; }
.schnellkontakt__feld { position: fixed; bottom: calc(var(--schnellhilfe-unten) + 3rem + var(--raum-4)); right: var(--raum-4); width: min(22rem, calc(100vw - 2 * var(--raum-4))); max-height: calc(100dvh - var(--kopf-hoehe) - var(--schnellhilfe-unten) - 3rem - 2 * var(--raum-4)); overflow: auto; overscroll-behavior: contain; padding: var(--raum-5); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--flaeche); color: var(--text); box-shadow: var(--schatten); }
.schnellkontakt__feld img { width: 10rem; height: auto; max-width: 70%; margin: 0 auto var(--raum-4); border-radius: var(--radius-m); }
.schnellkontakt__feld h2 { font-family: var(--schrift-text); font-size: var(--gr-h4); line-height: 1.2; margin-bottom: var(--raum-2); }
.schnellkontakt__feld p { color: var(--text-leise); margin-bottom: var(--raum-4); }
.schnellkontakt__feld nav { display: grid; gap: var(--raum-3); }
.schnellkontakt__feld nav a { display: flex; flex-wrap: wrap; gap: var(--raum-2); align-items: center; justify-content: space-between; border: 1px solid var(--linie); border-radius: var(--radius-m); padding: var(--raum-3); min-height: 2.875rem; text-decoration: none; }
.schnellkontakt__feld nav a:hover { border-color: var(--akzent); color: var(--akzent); }
.schnellkontakt__zu { position: absolute; right: var(--raum-2); top: var(--raum-2); width: 2.75rem; height: 2.75rem; border: 1px solid var(--linie); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 2rem; cursor: pointer; }
.schnellhilfe:has(.schnellkontakt[open]) { z-index: calc(var(--z-kopf) - 2); }
.scroll-halt .schnellhilfe { visibility: hidden; }
@media (max-width: 47.99rem) {
  .schnellkontakt__knopf { font-size: var(--gr-klein); padding-inline: var(--raum-3); }
}
@media print { .schnellhilfe { display: none; } }

/* ---------- Einwilligung (teile/einwilligung.html): kleines Feld unten, kein Vollbild, keine Scrollsperre ----------
   Beide Knöpfe tragen dieselbe Klasse und sehen gleich aus (keine Lenkung). Farben nur aus Tokens → jedes Schema. */
.einw {
  position: fixed; z-index: calc(var(--z-kopf) - 1);
  left: var(--raum-4); bottom: calc(var(--raum-4) + env(safe-area-inset-bottom, 0px));
  width: min(27rem, calc(100vw - 2 * var(--raum-4)));
  padding: var(--raum-4) var(--raum-5);
  border: 1px solid var(--feldrand, var(--linie)); border-radius: var(--radius-m);
  background: var(--flaeche); color: var(--text);
  box-shadow: var(--schatten);
  font-size: var(--gr-klein); line-height: 1.45;
}
.einw__form { display: grid; gap: var(--raum-3); }
.einw__titel { font-family: var(--schrift-text); font-size: var(--gr-text); font-weight: 600; font-stretch: 100%; letter-spacing: 0; text-transform: none; line-height: 1.25; margin: 0 0 var(--raum-1); }
.einw__text p { margin: 0; color: var(--text-leise); }
.einw__text a, .fuss__einw { color: var(--link); text-underline-offset: 0.2em; }
.einw__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--raum-3); }
.einw__wahl {
  min-height: 2.75rem; padding: 0.5rem 1rem;
  border: 1px solid var(--text); border-radius: var(--radius-knopf);
  background: transparent; color: var(--text);
  font: inherit; font-size: var(--gr-text); font-weight: 500; letter-spacing: 0.02em; text-align: center; cursor: pointer;
  transition: background var(--dauer-2) ease, color var(--dauer-2) ease;
}
.einw__wahl:hover, .einw__wahl[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.einw__wahl:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.einw__wahl[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 30rem) {
  .einw { left: var(--raum-3); right: var(--raum-3); width: auto; bottom: calc(var(--raum-3) + env(safe-area-inset-bottom, 0px)); padding: var(--raum-3) var(--raum-4); }
  .einw__titel { display: none; }
  .einw__form { gap: var(--raum-2); }
  .einw { font-size: 0.8125rem; line-height: 1.35; padding: var(--raum-2) var(--raum-3); }
  .einw__wahl { min-height: 2.5rem; padding: 0.25rem 0.75rem; }
}
@media print { .einw { display: none; } }
.fuss__einw { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; }
.fuss__einw:hover { color: var(--link); }
/* Seite /cookie-einstellungen */
.einwseite { display: grid; gap: var(--raum-7); max-width: 46rem; }
.einwseite__stand { display: grid; gap: var(--raum-3); }
.einwseite__form { margin-top: var(--raum-3); max-width: 24rem; }
.einwseite__wert { margin: 0; }
/* Lange Wörter in Versal-Schemata (Graphit: „WASSERPFLEGE“) dürfen die Themenkachel nicht sprengen */
.mthema__name { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(1.05rem, 0.5rem + 0.9vw, 1.5rem); }

/* Ohne JavaScript (auch: eingebettete Vorschau, die Skripte sperrt) weiß der Kopf nicht, wie weit gescrollt ist:
   dann IMMER mit deckendem Grund und Schrift in Schemafarbe – nie durchsichtig über dem Inhalt. */
html:not(.js) .kopf::before { opacity: 1 !important; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Auch mit JavaScript: sobald gescrollt ist, deckt der Kopf vollständig (Text darunter schien durch). */
.kopf.ist-fest::before { background: color-mix(in srgb, var(--bg) 96%, transparent); }

/* Farbauswahl im Kopf: nur ein kleiner Tropfen (20.11.2026), gefüllt mit dem Akzent des aktiven Schemas.
   Trefferfläche bleibt 2,75rem (Finger), sichtbar ist nur der Tropfen; Rand erst beim Überfahren/Öffnen. */
.themawahl__knopf { border-color: transparent; background: transparent; }
.themawahl__knopf:hover, .themawahl__knopf[aria-expanded="true"], .themawahl:focus-within .themawahl__knopf {
  background: color-mix(in srgb, currentColor 12%, transparent); color: var(--text); border-color: var(--linie);
}
.themawahl__knopf:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.themawahl__knopf .themawahl__tropfen { width: 1.3rem; height: 1.3rem; overflow: visible; transition: transform var(--dauer-3) var(--kurve-feder); }
.themawahl__knopf:hover .themawahl__tropfen, .themawahl__knopf[aria-expanded="true"] .themawahl__tropfen { transform: translateY(-1px) scale(1.12); }
.themawahl__tropfen-farbe { fill: var(--akzent); stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.themawahl__tropfen-licht { stroke: rgb(255 255 255 / 0.85); stroke-width: 1.3; }
/* über einem Bild-Hero (weiße Kopfschrift) bleibt der Tropfen farbig, nur der Hover-Grund wird hell */
.hat-bildkopf .kopf:not(.ist-fest):not(.ist-menue):not(.hat-mega) .themawahl__knopf:hover,
.hat-bildkopf .kopf:not(.ist-fest):not(.ist-menue):not(.hat-mega) .themawahl__knopf[aria-expanded="true"] { color: var(--text); background: rgb(255 255 255 / 0.16); }
@media (prefers-reduced-motion: reduce) { .themawahl__knopf .themawahl__tropfen { transition: none; } }

/* ---------- Termin-Knopf im Kopf (19.11.2026, Auftrag Inhaber: „IMMER: TERMIN Button!“) ----------
   Auf jeder Seite sichtbar: breit als Hauptknopf neben „Beratung“, schmal kompakt neben dem Menüknopf (auch ohne JS). */
.kopf__termin { min-height: 2.75rem; padding: 0.35rem 1.1rem 0.35rem 0.95rem; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.kopf__termin-symbol { width: 1.2rem; height: 1.2rem; flex: none; }
/* Holger 21.11.2026: Kopfmenü zu breit, der Farbtropfen rutschte über „Über uns“ → überall nur „Termin“. */
.kopf__termin-lang { display: none; }
.kopf__termin.ist-aktiv { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--akzent); }
@media (max-width: 71.99rem) {
  .kopf__termin { padding-inline: 0.85rem 1rem; }
  html.js .kopf__rechts .themawahl { display: none; }        /* Farbschema steht im Vollbild-Menü */
}
@media (max-width: 23.5rem) {
  .kopf__termin { padding-inline: 0; width: 2.75rem; justify-content: center; }
  .kopf__termin-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.mobil__knoepfe { display: grid; gap: var(--raum-3); }

/* ---------- Handy-Menü: Gruppen (Serien) als Akkordeon, eine offen ---------- */
.mobil .mobil__serie > .mobil__seriekopf {
  position: relative; display: grid; align-content: end; gap: var(--raum-1); justify-content: stretch;
  min-height: 7.5rem; padding: var(--raum-4); border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: var(--wasser-tief); color: #fff;
  font-family: var(--schrift-text); font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: normal;
  font-size: var(--gr-text); line-height: 1.3;
}
.mobil .mobil__serie > .mobil__seriekopf::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: none;
  background: linear-gradient(180deg, rgb(3 12 18 / 0.1), rgb(3 12 18 / 0.85));
}
.mobil .mobil__serie[open] > .mobil__seriekopf { color: #fff; box-shadow: inset 0 0 0 2px var(--akzent); }
.mobil__seriekopf:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.mobil__seriezeichen { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(255 255 255 / 0.18); }
.mobil__seriezeichen::before, .mobil__seriezeichen::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 1.5px; margin: -0.75px 0 0 -0.4rem; background: #fff; transition: transform var(--dauer-3) var(--kurve-aus); }
.mobil__seriezeichen::after { transform: rotate(90deg); }
.mobil__serie[open] .mobil__seriezeichen::after { transform: rotate(0deg); }
.mobil__serieinhalt { display: grid; gap: var(--raum-3); padding-top: var(--raum-3); }
.mobil__serie[open] .mobil__serieinhalt { animation: mg-ein 420ms var(--kurve-aus) both; }
.mobil__seriealle { display: grid; margin: 0; }
@media (prefers-reduced-motion: reduce) { .mobil__serie[open] .mobil__serieinhalt { animation: none; } }

/* Category dropdowns: a shared frame keeps headings and imagery steady while the preview changes. */
.mega__innen--vorschau { grid-template-columns: minmax(12rem, 0.7fr) minmax(17rem, 1fr) minmax(23rem, 1.3fr); }
.mtbuehnen { display: grid; min-width: 0; }
.mtbuehne { grid-area: 1 / 1; display: grid; grid-template-rows: minmax(15rem, 1fr) auto; border-radius: var(--radius-l); overflow: hidden; background: var(--flaeche); color: var(--text); text-decoration: none; visibility: hidden; opacity: 0; transition: opacity var(--dauer-2) ease; }
.mtbuehne.ist-aktiv { visibility: visible; opacity: 1; }
.mtbuehne__bild { display: grid; place-items: center; background: #fff; padding: var(--raum-4); min-height: 0; }
.mtbuehne__bild img { width: 100%; height: 100%; max-height: 22rem; object-fit: contain; }
.mtbuehne__text { display: grid; gap: var(--raum-2); padding: var(--raum-4); }
.mtbuehne__text b { font-size: var(--gr-h3); }
.mtbuehne__text > span { font-size: var(--gr-klein); }
.mtbuehne__link { display: flex; align-items: center; gap: 0.75rem; color: var(--link); font-weight: 600; }
.mtbuehne__link svg { width: 1rem; height: 1rem; }
.mtkarten { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-rows: 1fr; gap: var(--raum-2); }
.mtkarte { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 1rem; gap: var(--raum-3); align-items: center; height: 100%; padding: var(--raum-3); border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--flaeche); color: var(--text); text-decoration: none; }
.mtkarte:hover, .mtkarte:focus-visible, .mtkarte.ist-aktiv { border-color: var(--link); }
.mtkarte__bild { background: #fff; border-radius: var(--radius-s); aspect-ratio: 1; padding: 0.4rem; display: grid; place-items: center; }
/* Black Friday im Aktionen-Menü schwarz/rot (Holger 21.11.2026), Farben aus komponenten.css (--bf, --bf-text, --bf-rand) */
.mtkarte.ist-bf { background: var(--bf); border-color: var(--bf-rand); color: #fff; box-shadow: inset 4px 0 0 var(--bf-rand); }
.mtkarte.ist-bf b { color: var(--bf-text); }
.mtkarte.ist-bf small, .mtkarte.ist-bf .mtkarte__text span { color: rgb(255 255 255 / 0.85); }
.mtkarte.ist-bf:hover, .mtkarte.ist-bf:focus-visible, .mtkarte.ist-bf.ist-aktiv { border-color: var(--bf-text); }
.mtbuehne.ist-bf .mtbuehne__text { background: var(--bf); color: #fff; border-top: 3px solid var(--bf-rand); }
.mtbuehne.ist-bf .mtbuehne__text b { color: var(--bf-text); }
.mtkarte__bild img { width: 100%; height: 100%; object-fit: contain; }
.mtkarte__text { display: grid; gap: 0.35rem; }
.mtkarte__text b { font-size: 1.125rem; line-height: 1.2; }
.mtkarte__text span, .mtkarte__text small { color: var(--text-leise); font-size: var(--gr-klein); line-height: 1.35; }
.mtkarte__pfeil svg { width: 1rem; height: 1rem; }
.mobil__thema--produkt .mobil__themabild { background: #fff; }
.mobil__thema--produkt .mobil__themabild img { object-fit: contain; padding: 0.25rem; }
@media (min-width: 72rem) and (max-width: 85rem) { .mega__innen--vorschau { grid-template-columns: minmax(10rem, 0.7fr) minmax(16rem, 1fr) minmax(21rem, 1.3fr); gap: var(--raum-3); } }
@media (prefers-reduced-motion: reduce) { .mtbuehne { transition: none; } }

.fuss__hotspring { display: grid; justify-items: start; gap: 0.6rem; max-width: 22rem; margin-top: var(--raum-5); text-decoration: none; color: var(--text); font-size: var(--gr-klein); }
.fuss__hotspring img { display: block; width: 11rem; height: auto; padding: 0.6rem; border-radius: var(--radius-s); background: #fff; }
.fuss__hotspring:hover span:last-child, .fuss__hotspring:focus-visible span:last-child { text-decoration: underline; text-underline-offset: 0.2em; }
