/* Viva Möbel: Schriften, lokal eingebunden (keine Google Fonts).
   Jost für alles, auch die Überschriften: geometrisch wie die Wortmarke
   (runde O, spitze V und A, dünne Striche). Überschriften leicht, Fließtext
   normal. Ersetzt Marcellus (28.10.2026, Hamza: näher ans Logo). OFL. */
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/schriften/jost-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/schriften/jost-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   DHM-Haussystem — dunkel, grosszuegig, kontrastreich.
   Aufgebaut nach doublehmedia.de: fast schwarzer Grund, riesige
   Display-Headline, Versal-Eyebrow im Akzentton, Pill-Knopf mit
   Pfeil, Filmkorn, Sheen, Scroll-Indikator.

   Was pro Kunde wechselt, steht ausschliesslich in den Tokens
   weiter unten: --akzent, --akzent-tief, --display. Alles andere
   ist Haus.

   Keine Inline-Styles im HTML — CSP ohne unsafe-inline.
   Bewegung nur ueber transform/opacity, prefers-reduced-motion
   schaltet sie ab.
   ============================================================ */

:root {
  /* Schichten */
  --ink:        #0A0A0A;
  --layer:      #141414;
  --layer-2:    #1A1A1A;
  --cream:      #F6F4F0;
  /* Schriftfarbe auf --ink. Eigener Token, damit eine Marke das
     Haussystem umdrehen kann (helle Flaeche, dunkle Schrift), ohne
     dass 22 fest verdrahtete Werte uebrig bleiben. */
  --auf-ink:    #F6F4F0;
  --cream-tief: #E8E4DC;
  --muted:      #8A8A8A;
  --line:       color-mix(in srgb, var(--auf-ink) 10%, transparent);
  --line-stark: color-mix(in srgb, var(--auf-ink) 22%, transparent);
  --line-ink:   rgba(10, 10, 10, .12);

  /* Grundton fuer leise Abschnitte. Getrennt von --cream, weil --cream
     zugleich die Schriftfarbe auf dunklem Grund ist. Eine Marke, die das
     System umdreht (helle Flaeche, dunkle Schrift), braucht beide
     Bedeutungen getrennt, sonst wird aus dem leisen Abschnitt eine
     dunkle Flaeche mit gleichfarbiger Schrift. */
  --dunst:      var(--cream);
  --dunst-tief: var(--cream-tief);

  /* Schrift ueber Fotos. Buehne und Bildband liegen immer auf einem
     abgedunkelten Bild, auch bei einer hellen Marke. */
  --auf-bild:        var(--cream);
  --auf-bild-leise:  var(--auf-ink);
  --auf-bild-akzent: var(--akzent-hell, var(--akzent));

  /* Helle Abschnitte */
  --papier:     #FFFFFF;
  --tinte:      #0C0C0C;
  --text:       #3A3A3A;
  --text-leise: #6E6E6E;

  --weg:  cubic-bezier(.16, 1, .3, 1);
  --weg2: cubic-bezier(.22, .61, .36, 1);

  --kopf-grund:          rgba(10, 10, 10, .55);
  --kopf-grund-kompakt:  rgba(10, 10, 10, .9);

  --spur: 1240px;
  --pad: 22px;
}
@media (min-width: 700px)  { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }

/* Das hidden-Attribut versteckt ueber die Browservorgabe display:none.
   Jede eigene display-Regel schlaegt das, weil sie aus dem Autoren-
   stylesheet kommt. Bei .knopf (display:inline-flex) blieben dadurch
   "Zurueck" und "Anfrage absenden" im Planer sichtbar, obwohl das
   Skript sie versteckt hatte. Deshalb hier erzwungen. */
[hidden] { display: none !important; }

/* Sprungmarke: liegt ausserhalb des Bildes und kommt erst beim
   Tastaturfokus hervor. Ohne sie muss man auf jeder Seite durch die
   komplette Navigation tabben. */
.sprungmarke {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--akzent); color: var(--knopf-schrift, #0A0A0A);
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: top .25s var(--weg);
}
/* Bewusst :focus statt :focus-visible. Die Sprungmarke soll bei
   jedem Fokus hervorkommen, auch wenn der Browser den Fokus nicht
   als "sichtbar" einstuft. */
.sprungmarke:focus { top: 12px; }
main:focus { outline: none; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Scrollsperre beim offenen Klappmenue nur ueber html, body dabei
   ausdruecklich auf visible. body traegt sonst overflow-x: hidden
   (siehe unten): solange html sichtbar ist, wandert das an den Viewport.
   Wird html gesperrt, bleibt es an body haengen, body wird zum eigenen
   Scrollbereich, der sticky Kopf verliert seinen Halt und springt auf
   seine Ausgangslage am Seitenanfang. Das Menue haengt am Kopf
   (backdrop-filter macht ihn zum Bezugsrahmen fuer position: fixed),
   oeffnet ausserhalb des Bildschirms und die Seite bleibt gesperrt
   (MediNah, 31.10.2026). */
html.menue-offen { overflow: hidden; }
html.menue-offen body { overflow: visible; }

body {
  margin: 0;
  font-family: var(--fliess), -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.72;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* picture ist nur die Huelle fuer die AVIF-Auswahl. display:contents nimmt
   sie aus dem Layout heraus, damit das img weiterhin direktes Kind seines
   Elternelements bleibt. Sonst braeche jede Regel wie .buehne-bild img oder
   .galerie figure img und die absolute Positionierung der Buehne. */
picture { display: contents; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--tinte);
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(34px, 4.7vw, 68px); }

/* Deutsche Komposita sind lang: "Datenschutzerklaerung" sprengte bei
   360 px die Zeile. Das Dokument traegt lang="de", damit trennt der
   Browser korrekt. break-word ist der Notnagel, wenn kein Trennpunkt
   im Wort liegt. */
h1, h2, h3, h4, .hut, .zahl b, .schritt legend, .frage summary {
  hyphens: auto;
  overflow-wrap: break-word;
}
/* In Ueberschriften nicht: dort trennte es Woerter mitten durch
   ("Elektroin-nung", "Ei-gene Note"), was in einer Schlagzeile stoert.
   Ueberschriften brechen nur an Leerzeichen, den Notnagel break-word
   behalten sie fuer den Fall, dass ein einzelnes Wort breiter ist als
   die Spalte. */
h1, h2, h3, .hut, .zahl b, .schritt legend, .frage summary { hyphens: manual; }
h2 { font-size: clamp(26px, 3.1vw, 44px); }
h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: clamp(15px, 1.1vw, 17px); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--akzent-tief); text-decoration: none; transition: color .3s var(--weg); }
a:hover { color: var(--akzent); }
.recht a, .fliess a { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 3px; }

/* ------------------------------------------------ Filmkorn ------------- */
/* Feines, langsam wanderndes Korn ueber dunklen Flaechen. Kostet nichts:
   ein einziges wiederholtes Rauschmuster als data-URI, animiert nur ueber
   transform. */
.korn {
  position: relative;
  isolation: isolate;
  /* Die Kornebene liegt mit inset:-60% bewusst ueber den Rand hinaus,
     damit die Wanderbewegung keine Kanten zeigt. Ohne overflow:hidden
     schiebt sie das Dokument breit — beim Fussbereich waren das 864 px
     Querueberlauf. */
  overflow: hidden;
}
.korn::after {
  content: '';
  position: absolute;
  inset: -60%;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  animation: kornWandern 8s steps(6) infinite;
  mix-blend-mode: overlay;
}
.korn > * { position: relative; z-index: 1; }
@keyframes kornWandern {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -3%); }
  60%  { transform: translate(-2%, 4%); }
  80%  { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ------------------------------------------------ Spur / Bloecke ------- */

.spur { width: 100%; max-width: var(--spur); margin: 0 auto; padding: 0 var(--pad); }
.spur-schmal { max-width: 860px; }

.block { padding: clamp(72px, 10vw, 156px) 0; background: var(--papier); }
.block-dunkel { background: var(--ink); color: color-mix(in srgb, var(--auf-ink) 74%, transparent); }
.block-dunkel h1, .block-dunkel h2, .block-dunkel h3, .block-dunkel h4 { color: var(--cream); }
.block-schicht { background: var(--layer); color: color-mix(in srgb, var(--auf-ink) 74%, transparent); }
.block-schicht h2, .block-schicht h3 { color: var(--cream); }
.block-dunst { background: var(--dunst); }

/* Nur die mittige Variante wird zentriert. Vorher schob das auto auch
   linksbuendige Ueberschriften um gut 200 Pixel nach innen, waehrend der
   Text darunter am Spurrand stand. */
.block-kopf { max-width: 760px; margin: 0 0 clamp(44px, 5vw, 74px); }
.block-kopf-mitte { text-align: center; margin-left: auto; margin-right: auto; }
.block-kopf p { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-leise); margin-bottom: 0; }
.block-dunkel .block-kopf p, .block-schicht .block-kopf p { color: color-mix(in srgb, var(--auf-ink) 60%, transparent); }

/* ------------------------------------------------ Eyebrow -------------- */

.hut {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--fliess), sans-serif;
  font-size: clamp(11px, .78vw, 12.5px);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 20px;
}
.hut::before {
  content: '';
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}
.block-kopf-mitte .hut { justify-content: center; }

/* ------------------------------------------------ Knoepfe -------------- */

.knopf {
  --sheen: rgba(255, 255, 255, .26);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  border: 0;
  border-radius: 999px;
  font-family: var(--fliess), sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  transition: background-color .35s var(--weg), color .35s var(--weg),
              box-shadow .45s var(--weg), transform .45s var(--weg);
}
.knopf::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 42%;
  background: linear-gradient(100deg, transparent, var(--sheen), transparent);
  transform: skewX(-16deg);
  transition: left .7s var(--weg);
  z-index: -1;
}
.knopf:hover::after { left: 118%; }
.knopf .pfeil { transition: transform .45s var(--weg); }
.knopf:hover .pfeil { transform: translateX(5px); }

/* Eigener Token fuer die Knopfflaeche: bei Roth lag Weiss auf dem hellen
   Markenrot nur bei 3,6:1. Der Akzent selbst bleibt unangetastet, damit
   die Marke stimmt, nur die Flaeche unter der Schrift wird tiefer. */
.knopf-voll {
  background: var(--knopf-grund, var(--akzent));
  color: var(--knopf-schrift, #fff);
  box-shadow: 0 10px 30px -10px var(--akzent-schatten, rgba(0,0,0,.5));
}
.knopf-voll:hover {
  background: var(--knopf-grund-hover, var(--akzent-hell, var(--akzent)));
  color: var(--knopf-schrift, #fff);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px var(--akzent-schatten, rgba(0,0,0,.55));
}

/* Knopf, dessen Ziel noch fehlt. Sichtbar, aber klar nicht anklickbar,
   damit kein Verweis ins Leere laeuft. */
.knopf:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: inset 0 0 0 1px var(--line-ink); }
.knopf:disabled:hover { transform: none; }
.knopf-linie {
  background: transparent;
  color: var(--auf-bild);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--auf-bild) 26%, transparent);
  --sheen: rgba(255, 255, 255, .12);
}
.knopf-linie:hover { background: color-mix(in srgb, var(--auf-bild) 10%, transparent); color: var(--auf-bild); transform: translateY(-2px); }
.block .knopf-linie, .block-dunst .knopf-linie { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--line-ink); }
.block .knopf-linie:hover, .block-dunst .knopf-linie:hover { background: rgba(10, 10, 10, .05); color: var(--tinte); }

/* Heller Zweitknopf — fuer dunkle Buehnen, wo die Linien-Variante
   zu leise waere. */
.knopf-hell {
  background: var(--dunst);
  color: var(--tinte);
  --sheen: rgba(10, 10, 10, .12);
}
.knopf-hell:hover { background: #fff; color: var(--tinte); transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(0,0,0,.6); }

/* Knopf im Kopfbereich deutlich breiter als die uebrigen */
.kopf .knopf { padding-left: 30px; padding-right: 30px; }

/* ------------------------------------------------ Lesefortschritt ------ */

.lesefortschritt {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 200;
  background: var(--akzent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ------------------------------------------------ Kopfbereich ---------- */

.kopf {
  position: sticky; top: 0; z-index: 100;
  background: var(--kopf-grund);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--weg), border-color .4s var(--weg);
}
.kopf.kompakt { background: var(--kopf-grund-kompakt); border-bottom-color: var(--line); }

.kopf-innen {
  display: flex; align-items: center; justify-content: space-between;
  /* Die Kopfhoehe folgt dem Logo, sonst schneidet sie eine hohe
     Wortmarke unten ab. 88 Pixel bleiben die Untergrenze. */
  gap: 24px; height: max(88px, calc(var(--logo-hoehe, 40px) + 20px));
  transition: height .4s var(--weg);
}
.kopf.kompakt .kopf-innen { height: max(68px, calc(var(--logo-hoehe, 40px) * var(--logo-kompakt, .70) + 16px)); }

.marke { display: inline-flex; align-items: center; flex-shrink: 0; }
.marke img {
  height: var(--logo-hoehe, 40px); width: auto;
  filter: var(--logo-filter, none);
  transition: height .4s var(--weg), transform .5s var(--weg), filter .4s var(--weg);
}
.kopf.kompakt .marke img { height: calc(var(--logo-hoehe, 40px) * var(--logo-kompakt, .70)); }
.marke:hover img { transform: scale(1.04); filter: var(--logo-filter-hover, var(--logo-filter, none)); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav a:not(.knopf) {
  position: relative;
  font-size: 14.5px; font-weight: 500;
  color: color-mix(in srgb, var(--auf-ink) 72%, transparent);
  padding: 8px 0;
  transition: color .3s var(--weg);
}
.nav a:not(.knopf)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--akzent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--weg);
}
.nav a:not(.knopf):hover { color: var(--cream); }
.nav a:not(.knopf):hover::after, .nav a.aktiv:not(.knopf)::after { transform: scaleX(1); }
/* Der Knopf in der Navigation traegt seine eigene Flaeche und Schrift.
   Ohne :not(.knopf) faerbte .aktiv ihn in die Textfarbe und die Schrift
   verschwand auf dem Markenton. */
.nav a.aktiv:not(.knopf) { color: var(--cream); }

.nav-schalter {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; cursor: pointer; border-radius: 8px;
}
.nav-schalter span {
  display: block; width: 22px; height: 1.5px; margin: 5px auto;
  background: var(--cream); border-radius: 2px;
  transition: transform .4s var(--weg), opacity .3s var(--weg);
}
.nav-schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------ Buehne --------------- */

.buehne {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: min(86vh, 820px);
  padding: 140px 0 clamp(60px, 7vw, 100px);
  background: var(--ink);
  overflow: hidden;
}
/* Die Unterseiten-Buehne war mit 480 px zu flach, das Bild wirkte wie ein
   Streifen. Jetzt naeher an der Startseite, aber weiterhin klar kuerzer. */
.buehne-kurz { min-height: min(72vh, 640px); padding-top: 148px; }

.buehne-bild { position: absolute; inset: -8% 0; z-index: 0; overflow: hidden; }
.buehne-bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--buehne-lage, center 45%); }
.buehne-bild::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.34) 34%, rgba(10,10,10,.88) 100%),
    linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.30) 62%, transparent 100%);
}
.buehne .spur { position: relative; z-index: 2; width: 100%; }
/* Die Eyebrow darf nicht mit umbrechen — nur Titel und Fliesstext
   werden auf Lesebreite gehalten. */
.buehne-text { max-width: 62ch; }
.buehne .hut { max-width: none; }
.buehne h1 { color: var(--auf-bild); max-width: 19ch; }
.buehne p {
  /* Ueber einem Foto liegt immer noch die Abdunklung. 78 Prozent Deckung
     lasen sich darauf grau statt hell, deshalb 92. */
  color: color-mix(in srgb, var(--auf-bild-leise) 92%, transparent);
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 48ch; margin-top: 24px;
}
.buehne .hut { color: var(--auf-bild-akzent); }
/* Auf hellen Abschnitten ist der volle Markenton zu leise: das Gold von
   La Casetta kam auf Weiss nur auf 2,2:1. Dort steht die tiefe Variante. */
.block .hut, .block-dunst .hut, .block-bildrand .hut { color: var(--akzent-tief); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.knopfreihe-mitte { justify-content: center; }

/* Scroll-Hinweis */
.scrollhinweis {
  position: absolute; left: var(--pad); bottom: 30px; z-index: 3;
  width: 22px; height: 36px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--auf-bild) 26%, transparent);
  pointer-events: none;
}
.scrollhinweis::after {
  content: '';
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 6px; margin-left: -1.5px;
  border-radius: 2px; background: var(--auf-bild-akzent);
  animation: radLauf 2.1s var(--weg) infinite;
}
@keyframes radLauf {
  0%   { transform: translateY(0);    opacity: 0; }
  25%  { opacity: 1; }
  75%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ------------------------------------------------ Stichworte ----------- */

.stichworte { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.stichworte li {
  list-style: none;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  /* Leicht mit dem Markenton hinterlegt. Als reine Kontur ueber einem Foto
     verschwanden die Marken je nach Bildstelle. */
  background: color-mix(in srgb, var(--auf-bild-akzent) 15%, transparent);
  color: var(--auf-bild);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--auf-bild-akzent) 42%, transparent);
  transition: background-color .35s var(--weg), color .35s var(--weg), box-shadow .35s var(--weg);
}
.stichworte li:hover {
  background: color-mix(in srgb, var(--auf-bild-akzent) 26%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--auf-bild-akzent) 70%, transparent);
}
.stichworte-hell li, .stichworte-dunkel li { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-ink); }
.stichworte-hell li:hover, .stichworte-dunkel li:hover { background: rgba(10, 10, 10, .04); color: var(--tinte); }

/* ------------------------------------------------ Karten --------------- */

.gitter { display: grid; gap: clamp(14px, 1.4vw, 20px); }
.gitter-1 { grid-template-columns: 1fr; }
.gitter-2 { grid-template-columns: repeat(2, 1fr); }
.gitter-3 { grid-template-columns: repeat(3, 1fr); }

.karte {
  position: relative;
  background: var(--papier);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 12px 34px -18px rgba(10,10,10,.28);
  transition: transform .5s var(--weg), box-shadow .5s var(--weg);
}
.karte:hover { box-shadow: 0 2px 6px rgba(10,10,10,.06), 0 30px 60px -24px rgba(10,10,10,.4); }
.block-dunkel .karte, .block-schicht .karte {
  background: var(--layer-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: color-mix(in srgb, var(--auf-ink) 70%, transparent);
}
.block-dunkel .karte:hover, .block-schicht .karte:hover {
  box-shadow: inset 0 0 0 1px var(--line-stark), 0 30px 60px -24px rgba(0,0,0,.7);
}
a.karte { display: block; color: inherit; }
a.karte:hover { color: inherit; }

.karte-text { padding: clamp(24px, 2.2vw, 34px); }
.karte h2 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.22; margin-bottom: .5em; }
.karte h3 { margin-bottom: .5em; }
.karte p { color: var(--text-leise); margin-bottom: 0; font-size: 15.5px; }
.block-dunkel .karte p, .block-schicht .karte p { color: color-mix(in srgb, var(--auf-ink) 60%, transparent); }

.karte-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--layer); }
.karte-bild-hoch { aspect-ratio: 3 / 4; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--weg); }
.karte:hover .karte-bild img { transform: scale(1.06); }
.karte-abstand { margin-top: 18px; }

.sinnbild {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 22px;
  border-radius: 13px;
  background: var(--akzent-dunst, rgba(0,0,0,.05));
  color: var(--akzent-tief);
  transition: background-color .45s var(--weg), color .45s var(--weg), transform .5s var(--weg);
}
.sinnbild svg { width: 22px; height: 22px; }
.karte:hover .sinnbild { background: var(--akzent); color: var(--knopf-schrift, #fff); transform: translateY(-2px); }
.block-dunkel .sinnbild, .block-schicht .sinnbild { background: color-mix(in srgb, var(--auf-ink) 7%, transparent); color: var(--akzent); }

.hinweis {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  color: var(--akzent-tief);
  transition: color .35s var(--weg);
}
.block-dunkel .hinweis, .block-schicht .hinweis { color: var(--akzent); }
.hinweis svg { width: 15px; height: 15px; transition: transform .45s var(--weg); }
a.karte:hover .hinweis svg { transform: translateX(6px); }

/* ------------------------------------------------ Stimmen -------------- */

/* Kundenstimmen sind unterschiedlich lang. In einem festen Raster bliebe bei
   fuenf Karten ein Platz leer. Spalten statt Raster: die Karten fliessen und
   es entsteht kein Loch, egal wie viele es sind. */
.stimmen-spalten { columns: 1; column-gap: clamp(16px, 1.6vw, 24px); }
@media (min-width: 700px)  { .stimmen-spalten { columns: 2; } }
@media (min-width: 1100px) { .stimmen-spalten { columns: 3; } }
.stimmen-spalten .stimme { break-inside: avoid; margin-bottom: clamp(16px, 1.6vw, 24px); }

.stimme {
  margin: 0;
  padding: clamp(26px, 2.4vw, 38px);
  border-radius: 18px;
  background: var(--papier);
  box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 12px 34px -18px rgba(10,10,10,.28);
  transition: transform .5s var(--weg), box-shadow .5s var(--weg);
}
.stimme:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(10,10,10,.06), 0 30px 60px -24px rgba(10,10,10,.38); }
.block-dunkel .stimme, .block-schicht .stimme { background: var(--layer-2); box-shadow: inset 0 0 0 1px var(--line); }
.stimme blockquote { margin: 0 0 18px; }
.stimme blockquote p {
  font-family: var(--display);
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.55; color: var(--tinte);
}
.block-dunkel .stimme blockquote p, .block-schicht .stimme blockquote p { color: var(--cream); }
.stimme figcaption { font-size: 13.5px; color: var(--text-leise); }
.stimme cite { font-style: normal; font-weight: 600; color: var(--akzent-tief); }
.block-dunkel .stimme cite, .block-schicht .stimme cite { color: var(--akzent); }
.sterne { display: flex; gap: 3px; margin-bottom: 16px; }
.sterne svg { width: 15px; height: 15px; fill: var(--akzent); }

/* Warnkarte in unfertigen Rechtstexten — unuebersehbar */
.karte-warnung {
  background: var(--akzent-dunst);
  box-shadow: inset 0 0 0 1.5px var(--akzent);
  margin-bottom: 34px;
}
.karte-warnung h2 { margin-top: 0; font-size: clamp(18px, 1.5vw, 22px); color: var(--akzent-tief); }
.karte-warnung code { background: rgba(10,10,10,.07); padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* ------------------------------------------------ Zahlen --------------- */

.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 20px); }
/* Feste Spaltenzahl passend zur Kachelzahl. Vier Spalten bei drei
   Kacheln liessen rechts einen leeren Platz stehen. */
.zahlen-drei { grid-template-columns: repeat(3, 1fr); }
.zahlen-sechs { grid-template-columns: repeat(3, 1fr); }
/* Gefuellt statt nur umrandet: als reine Kontur wirkten die Kaesten leer.
   Der Grund ist der Markenakzent in der dunklen Variante, die Schrift darauf
   creme. Kontraste je Marke nachgerechnet, siehe Markendateien. */
.zahl {
  padding: clamp(26px, 2.4vw, 38px) clamp(20px, 2vw, 28px);
  border-radius: 18px;
  background: var(--akzent-tief);
  color: var(--cream);
  box-shadow: none;
  transition: transform .5s var(--weg), box-shadow .5s var(--weg), background-color .4s var(--weg);
}
.zahl:hover {
  transform: translateY(-3px);
  background: var(--akzent-hell-tief, var(--akzent-tief));
  box-shadow: 0 20px 46px -22px var(--akzent-schatten);
}
.block-dunkel .zahl, .block-schicht .zahl { background: color-mix(in srgb, var(--akzent) 16%, transparent); }
.zahl b {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1; letter-spacing: -.03em;
  color: var(--akzent-tief); margin-bottom: 10px;
}
.block-dunkel .zahl b, .block-schicht .zahl b { color: var(--akzent); }
.zahl span { font-size: 14.5px; color: var(--text-leise); }
.block-dunkel .zahl span, .block-schicht .zahl span { color: color-mix(in srgb, var(--auf-ink) 76%, transparent); }
.zahlen-wort .zahl span:first-child {
  display: block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 90%, transparent); margin-bottom: 8px;
}
/* Hoehere Spezifitaet als .zahlen .zahl b weiter unten. Sonst gewinnt
   dort der Zahlgrad von 50 px und ein Wort wie "Intensivpflegekraefte"
   steht in vier getrennten Zeilen in einer 215 Pixel breiten Kachel. */
.zahlen.zahlen-wort .zahl b { font-size: clamp(18px, 1.7vw, 25px); color: var(--cream); line-height: 1.25; }
.block-dunkel .zahlen.zahlen-wort .zahl b, .block-schicht .zahlen.zahlen-wort .zahl b { color: var(--cream); }
.block-dunkel .zahlen-wort .zahl span:first-child, .block-schicht .zahlen-wort .zahl span:first-child { color: var(--akzent); }

/* ------------------------------------------------ Zweispalter ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 84px); align-items: center; }
.duo-bild { overflow: hidden; border-radius: 20px; }
.duo-bild img { width: 100%; }
.duo-bild-hoch img { aspect-ratio: 3 / 4; object-fit: cover; }

.haken { list-style: none; margin: 28px 0 0; padding: 0; }
.haken li {
  position: relative; padding-left: 30px; margin-bottom: 13px;
  font-size: 15.5px; color: inherit;
}
.haken li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--akzent);
}

/* --------------------------------------------- Abschnitt mit Randbild ---
   Das Foto sitzt nicht als Karte in der Mitte, sondern laeuft rechts in den
   Abschnitt hinein und wird nach links in den Untergrund geblendet. */

.block-bildrand { position: relative; overflow: hidden; }
.bildrand-bild { position: absolute; inset: 0 0 0 auto; width: min(50%, 720px); }
.bildrand-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.bildrand-bild::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--bildrand-grund, var(--papier)) 0%,
    color-mix(in srgb, var(--bildrand-grund, var(--papier)) 55%, transparent) 34%,
    transparent 76%);
}
.block-dunst.block-bildrand { --bildrand-grund: var(--dunst); }
.bildrand-text { position: relative; z-index: 1; max-width: 46ch; }

@media (max-width: 900px) {
  .bildrand-bild {
    position: relative; inset: auto; width: 100%; height: clamp(220px, 42vw, 320px);
    margin-top: clamp(32px, 4vw, 48px); border-radius: 20px; overflow: hidden;
  }
  .bildrand-bild::after { display: none; }
  .bildrand-text { max-width: none; }
}

/* ------------------------------------------------ Bildband ------------- */

.bildband {
  position: relative; height: clamp(320px, 46vw, 520px);
  display: flex; align-items: center; overflow: hidden; background: var(--ink);
}
.bildband img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: var(--band-lage, center 50%); }
.bildband::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.3) 100%);
}
.bildband-hoch { height: clamp(400px, 56vw, 640px); }
.bildband .spur { position: relative; z-index: 2; }
.bildband h2 { color: var(--auf-bild); max-width: 18ch; }
/* Ueberschrift mit gesetztem Umbruch: die Zeilenbreite darf sie nicht
   ein zweites Mal brechen. */
.bildband h2.h2-breit { max-width: none; }
.bildband p { color: color-mix(in srgb, var(--auf-bild-leise) 88%, transparent); max-width: 50ch; margin-bottom: 0; }

/* --------------------------------------------- Reservierung ------------
   Zwei-Klick-Loesung: erst der Hinweis, nach dem Klick das Fenster des
   Anbieters. Vorher geht kein Aufruf an einen fremden Server. */

.reservierung { border-radius: 20px; overflow: hidden; }
.reservierung-hinweis {
  background: var(--dunst); border-radius: 20px;
  padding: clamp(28px, 3.4vw, 46px);
  text-align: center;
}
.block-dunkel .reservierung-hinweis, .block-schicht .reservierung-hinweis {
  background: var(--layer-2); box-shadow: inset 0 0 0 1px var(--line);
}
.reservierung-hinweis p { max-width: 56ch; margin: 0 auto 22px; color: var(--text-leise); }
.block-dunkel .reservierung-hinweis p, .block-schicht .reservierung-hinweis p { color: color-mix(in srgb, var(--auf-ink) 74%, transparent); }
.reservierung-rahmen {
  display: block; width: 100%; height: clamp(620px, 78vh, 860px);
  border: 0; border-radius: 20px; background: var(--papier);
}

/* ------------------------------------------------ Speisekarte ---------- */

.karten-wahl {
  display: flex; gap: clamp(18px, 2.4vw, 36px);
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line-ink);
  margin-bottom: clamp(34px, 4vw, 54px);
}
.karten-wahl::-webkit-scrollbar { display: none; }
.karten-reiter {
  flex-shrink: 0; appearance: none; background: none; border: 0;
  padding: 0 0 16px; margin-bottom: -1px; cursor: pointer;
  font-family: var(--fliess), sans-serif;
  font-size: clamp(12px, .9vw, 13.5px); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-leise);
  border-bottom: 2px solid transparent;
  transition: color .35s var(--weg), border-color .35s var(--weg);
}
.karten-reiter:hover { color: var(--tinte); }
.karten-reiter[aria-selected="true"] { color: var(--akzent-tief); border-bottom-color: var(--akzent); }

.karten-notiz { color: var(--text-leise); font-size: 15.5px; margin-bottom: clamp(24px, 2.6vw, 34px); }
.karten-notiz-mitte { text-align: center; margin-top: 18px; }

.karten-liste { list-style: none; margin: 0; padding: 0; }
.karten-liste li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 17px 0; border-bottom: 1px solid var(--line-ink);
}
.karten-liste li:last-child { border-bottom: 0; }
.karten-liste b { font-family: var(--display); font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; letter-spacing: -.01em; }
.karten-liste .gericht { display: block; }
.karten-liste .gericht span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-leise); }
.karten-liste .fuellung { flex: 1; height: 1px; background: var(--line-ink); transform: translateY(-3px); }
.karten-liste .preis { flex-shrink: 0; font-size: 14px; color: var(--text-leise); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ Galerie -------------- */

/* Vier Kacheln je Reihe, dafuer laeuft die Galerie in einer breiteren Spur. */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.1vw, 16px); }
.g-galerie .spur { max-width: 1480px; }
.galerie figure {
  margin: 0; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3;
  /* Der Platzhalter muss zum Abschnitt passen. Vorher stand hier --layer
     (#141414), dadurch zeigte jede noch nicht gezeichnete Kachel auf hellem
     Grund ein schwarzes Rechteck. */
  background: var(--dunst-tief);
  transition: transform .55s var(--weg);
}
.block-dunkel .galerie figure, .block-schicht .galerie figure { background: var(--layer); }
.galerie figure:hover { transform: translateY(-4px); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weg); }
.galerie figure:hover img { transform: scale(1.07); }

/* --------------------------------------------- Namenskacheln ----------
   Ansprechpartner ohne Portraet. Flexraster statt Grid, damit eine
   angebrochene letzte Reihe mittig sitzt und keine Luecke stehen bleibt. */

.namenskacheln {
  --kachel-luecke: clamp(14px, 1.5vw, 22px);
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--kachel-luecke);
}
.namenskacheln li {
  flex: 0 1 calc((100% - 3 * var(--kachel-luecke)) / 4);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(20px, 1.9vw, 28px);
  background: var(--papier);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 12px 34px -18px rgba(10,10,10,.28);
  transition: transform .5s var(--weg), box-shadow .5s var(--weg);
}
.kacheln-drei li { flex-basis: calc((100% - 2 * var(--kachel-luecke)) / 3); }
.namenskacheln li:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(10,10,10,.06), 0 26px 52px -22px rgba(10,10,10,.36);
}
.block-dunkel .namenskacheln li, .block-schicht .namenskacheln li {
  background: var(--layer-2); box-shadow: inset 0 0 0 1px var(--line);
}
.namenskacheln b {
  display: block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-leise); margin-bottom: 6px;
}
.block-dunkel .namenskacheln b, .block-schicht .namenskacheln b { color: color-mix(in srgb, var(--auf-ink) 50%, transparent); }
.namenskacheln .name {
  display: block; font-family: var(--display);
  font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.25; letter-spacing: -.01em;
}
.namenskacheln a { font-weight: 500; display: inline-block; margin-top: 8px; }

/* Zwischenueberschrift ueber einer Kachelgruppe. Ohne den Strich der
   normalen Hutzeile, der stoert hier ueber mittig gesetzten Kacheln. */
.hut-abschnitt { display: flex; justify-content: center; margin: 0 0 20px; }
.hut-abschnitt::before { display: none; }
.namenskacheln + .hut-abschnitt { margin-top: clamp(34px, 3.4vw, 52px); }

@media (max-width: 1080px) {
  .namenskacheln li, .kacheln-drei li { flex-basis: calc((100% - 2 * var(--kachel-luecke)) / 3); }
}
@media (max-width: 780px) {
  .namenskacheln li, .kacheln-drei li { flex-basis: calc((100% - var(--kachel-luecke)) / 2); }
}
@media (max-width: 470px) {
  .namenskacheln li, .kacheln-drei li { flex-basis: 100%; }
}

/* ------------------------------------------------ Zeilenlisten --------- */

.zeilen { list-style: none; margin: 0; padding: 0; }
.zeilen li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line-ink);
}
.block-dunkel .zeilen li, .block-schicht .zeilen li { border-bottom-color: var(--line); }
.zeilen li:first-child { padding-top: 0; }
.zeilen li:last-child { border-bottom: 0; padding-bottom: 0; }
.marke-punkt {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--akzent-dunst, rgba(0,0,0,.05));
}
.marke-punkt svg { width: 17px; height: 17px; fill: var(--akzent-tief); }
.block-dunkel .marke-punkt, .block-schicht .marke-punkt { background: color-mix(in srgb, var(--auf-ink) 7%, transparent); }
.block-dunkel .marke-punkt svg, .block-schicht .marke-punkt svg { fill: var(--akzent); }
.zeilen b {
  display: block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-leise); margin-bottom: 5px;
}
.block-dunkel .zeilen b, .block-schicht .zeilen b { color: color-mix(in srgb, var(--auf-ink) 50%, transparent); }
.zeilen a { font-weight: 500; }

.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-ink); font-size: 15px; }
.zeiten li:last-child { border-bottom: 0; }
.zeiten b { color: var(--tinte); font-weight: 600; }
.zeiten span { color: var(--text-leise); text-align: right; }

/* ------------------------------------------------ Formular ------------- */

.formular { background: var(--papier); border-radius: 20px; padding: clamp(26px, 3vw, 44px); box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 16px 44px -22px rgba(10,10,10,.3); }
.block-dunkel .formular, .block-schicht .formular { background: var(--layer-2); box-shadow: inset 0 0 0 1px var(--line); }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { margin-bottom: 16px; }
.feld label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--tinte); margin-bottom: 7px; }
.block-dunkel .feld label, .block-schicht .feld label { color: var(--cream); }
.feld input, .feld textarea, .feld select {
  width: 100%; padding: 14px 16px;
  border: 0; border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: rgba(10,10,10,.035);
  box-shadow: inset 0 0 0 1px var(--line-ink);
  transition: box-shadow .3s var(--weg), background-color .3s var(--weg);
}
.block-dunkel .feld input, .block-dunkel .feld textarea, .block-dunkel .feld select,
.block-schicht .feld input, .block-schicht .feld textarea, .block-schicht .feld select {
  background: color-mix(in srgb, var(--auf-ink) 5%, transparent); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: 0; background: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--akzent), 0 0 0 4px var(--akzent-dunst, rgba(0,0,0,.06));
}
/* Der Stern stand im vollen Markenton auf Weiss bei 2,7:1. */
.pflicht { color: var(--akzent-tief); }
.block-dunkel .pflicht, .block-schicht .pflicht { color: var(--akzent); }
.feld-hinweis { font-size: 13px; color: var(--text-leise); margin-bottom: 18px; }
.zustimmung { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.zustimmung input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--akzent); }
.zustimmung label { font-size: 13.5px; font-weight: 400; color: var(--text-leise); line-height: 1.55; margin: 0; }

/* ------------------------------------------------ Fragen --------------- */

.frage { border-bottom: 1px solid var(--line-ink); }
.block-dunkel .frage, .block-schicht .frage { border-bottom-color: var(--line); }
.frage summary {
  position: relative; padding: 24px 56px 24px 0;
  font-family: var(--display); font-size: clamp(17px, 1.35vw, 21px); font-weight: 700;
  letter-spacing: -.01em; color: var(--tinte);
  cursor: pointer; list-style: none;
  transition: color .3s var(--weg);
}
.block-dunkel .frage summary, .block-schicht .frage summary { color: var(--cream); }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--akzent); border-bottom: 1.5px solid var(--akzent);
  transform: rotate(45deg); transition: transform .45s var(--weg);
}
.frage[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.frage summary:hover { color: var(--akzent); }
.frage p { padding: 0 40px 24px 0; color: var(--text-leise); margin: 0; }
.block-dunkel .frage p, .block-schicht .frage p { color: color-mix(in srgb, var(--auf-ink) 60%, transparent); }

/* ------------------------------------------------ Rechtstexte ---------- */

.recht { color: var(--text); }
.recht h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: .6em; }
.recht h2 { font-size: clamp(20px, 1.7vw, 25px); margin-top: 2em; }
.recht h3 { margin-top: 1.6em; font-size: 17px; }
.recht ul { padding-left: 20px; }
.recht li { margin-bottom: 7px; }
.recht address { font-style: normal; margin-bottom: 1.1em; }

/* ------------------------------------------------ Fussbereich ---------- */

.fuss { background: var(--ink); color: color-mix(in srgb, var(--auf-ink) 74%, transparent); padding: clamp(64px, 7vw, 100px) 0 0; }
.fuss-gitter { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); }
.fuss h2 { color: var(--cream); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--fliess), sans-serif; font-weight: 600; }
.fuss img {
  height: var(--logo-fuss-hoehe, 40px); width: auto; margin-bottom: 22px;
  filter: var(--logo-fuss-filter, none);
  transition: filter .4s var(--weg), transform .5s var(--weg);
}
.fuss-marke:hover img {
  filter: var(--logo-filter-hover, var(--logo-fuss-filter, none));
  transform: scale(1.03);
}
.fuss p { font-size: 14.5px; max-width: 42ch; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 10px; font-size: 14.5px; }
.fuss a { color: color-mix(in srgb, var(--auf-ink) 74%, transparent); }
.fuss a:hover { color: var(--akzent); }
.fuss-riegel {
  margin-top: clamp(46px, 5vw, 70px); padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px;
}
.fuss-riegel nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* ------------------------------------------------ Planer --------------- */

.planer { background: var(--papier); border-radius: 20px; padding: clamp(26px, 3vw, 46px); box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 16px 44px -22px rgba(10,10,10,.3); }
.planer-kopf { margin-bottom: 30px; }
.fortschritt-zeile { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.fortschritt { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border: 0; border-radius: 999px; background: var(--line-ink); overflow: hidden; }
.fortschritt::-webkit-progress-bar { background: var(--line-ink); border-radius: 999px; }
.fortschritt::-webkit-progress-value { background: var(--akzent); border-radius: 999px; transition: width .5s var(--weg); }
.fortschritt::-moz-progress-bar { background: var(--akzent); border-radius: 999px; }
.fortschritt-text { flex-shrink: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); }
.schritt { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.schritt + .schritt { margin-top: 40px; }
.planer-schrittweise .schritt + .schritt { margin-top: 0; }
.schritt legend { padding: 0; font-family: var(--display); font-size: clamp(20px, 1.8vw, 27px); font-weight: 700; letter-spacing: -.015em; color: var(--tinte); line-height: 1.2; margin-bottom: 8px; }
.schritt-hinweis { color: var(--text-leise); font-size: 15px; margin-bottom: 22px; }
.wahlgitter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wahlgitter-3 { grid-template-columns: repeat(3, 1fr); }
.wahl { position: relative; display: block; cursor: pointer; }
.wahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl span {
  display: flex; align-items: center; min-height: 58px; padding: 14px 18px;
  border-radius: 13px; background: rgba(10,10,10,.03);
  box-shadow: inset 0 0 0 1px var(--line-ink);
  font-size: 15px; font-weight: 500; color: var(--tinte); line-height: 1.35;
  transition: background-color .3s var(--weg), box-shadow .3s var(--weg), color .3s var(--weg);
}
.wahl:hover span { box-shadow: inset 0 0 0 1px var(--akzent); }
.wahl input:checked + span, .wahl.gewaehlt span {
  background: var(--akzent-dunst, rgba(0,0,0,.05));
  box-shadow: inset 0 0 0 1.5px var(--akzent);
  color: var(--akzent-tief);
}
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.planer-fuss { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-ink); }
.planer-fuss .knopf-linie { margin-right: auto; }
.planer-meldung { flex-basis: 100%; color: var(--akzent); font-weight: 600; font-size: 14px; }
.planer-meldung:empty { display: none; }
.planer-hinweis { font-size: 13.5px; color: var(--text-leise); margin-top: 20px; }

/* ------------------------------------------------ Bewegung ------------- */

.js [data-auf] { opacity: 0; transition: opacity .9s var(--weg), transform .9s var(--weg), clip-path 1s var(--weg); will-change: transform, opacity; }
.js [data-auf="hoch"]   { transform: translate3d(0, 38px, 0); }
.js [data-auf="gross"]  { transform: scale(.95); }
.js [data-auf="links"]  { transform: translate3d(-40px, 0, 0); }
.js [data-auf="rechts"] { transform: translate3d(40px, 0, 0); }
/* Der seitliche Versatz von 40 px passt nur, solange der Aussenabstand
   der Spur mindestens genauso gross ist. --pad ist 22, 32 und erst ab
   1100 px 48. Darunter ragt eine Spalte am rechten Rand heraus und das
   Dokument laesst sich querschieben, bis das Element eingeblendet ist.
   Deshalb laeuft der Versatz unterhalb von 1100 px senkrecht. */
@media (max-width: 1099px) {
  .js [data-auf="links"], .js [data-auf="rechts"] { transform: translate3d(0, 30px, 0); }
}
.js [data-auf].da { opacity: 1; transform: none; }
.js [data-auf-verzug="1"] { transition-delay: .1s; }
.js [data-auf-verzug="2"] { transition-delay: .2s; }
.js [data-auf-verzug="3"] { transition-delay: .3s; }

.js .folge-kind { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .85s var(--weg), transform .85s var(--weg); }
.js [data-auf-folge].da .folge-kind { opacity: 1; transform: none; }

/* Der Kasten schneidet fuer die Aufblendung ab. Gemessen bei noa.s:
   die Fraunces steht mit 20 Einheiten Unterlaenge in einem Zeilenkasten,
   der nur 13,2 Pixel unter der Grundlinie hat, dem g fehlten 5,9 Pixel.
   Luft rein, Aussenabstand wieder raus: das Layout bleibt gleich. */
.wort {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: .06em 0 .14em;
  margin: -.06em 0 -.14em;
}
.wort-innen { display: inline-block; }
.js [data-worte] .wort-innen { transform: translate3d(0, 126%, 0); transition: transform 1s var(--weg); }
.js [data-worte].da .wort-innen { transform: none; }

[data-tiefe] { will-change: transform; }
[data-neigung] { transform-style: preserve-3d; }
[data-schein] { position: relative; }
[data-schein]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--zx,50%) var(--zy,50%), var(--scheinfarbe, rgba(255,255,255,.5)), transparent 60%);
  opacity: 0; transition: opacity .5s var(--weg); pointer-events: none; z-index: 0;
}
[data-schein]:hover::before { opacity: 1; }
[data-schein] > * { position: relative; z-index: 1; }
.block-dunkel [data-schein], .block-schicht [data-schein] { --scheinfarbe: color-mix(in srgb, var(--auf-ink) 5.5%, transparent); }


/* ------------------------------------------------ Schmale Schirme ------ */

@media (max-width: 1240px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
  .gitter-3 { grid-template-columns: repeat(2, 1fr); }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .duo-bild { order: -1; }
  .fuss-gitter { grid-template-columns: 1fr 1fr; }
  .nav-schalter { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .45s var(--weg), opacity .35s var(--weg), visibility .35s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.offen { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.knopf) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:not(.knopf)::after { display: none; }
  .kopf .knopf { margin-top: 18px; }
  .kopf-innen { height: 68px; }
  .buehne-text { max-width: none; }
}

@media (max-width: 660px) {
  .gitter-2, .gitter-3, .galerie, .zahlen, .feldpaar, .fuss-gitter, .wahlgitter, .wahlgitter-3 { grid-template-columns: 1fr; }
  .knopfreihe .knopf { width: 100%; }
  .planer-fuss .knopf { width: 100%; }
  .planer-fuss .knopf-linie { margin-right: 0; }
  .fuss-riegel { flex-direction: column; }
  .buehne { min-height: min(88vh, 720px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-auf], .js .folge-kind, .js [data-worte] .wort-innen { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .korn::after, .knopf::after, [data-schein]::before, .scrollhinweis { display: none; }
  }


/* ---------------------------------------------------- Personen im Team
   Feste Spaltenzahl statt auto-fit: die Anzahl der Personen ist bekannt,
   und auto-fit liesse bei ungeraden Zahlen leere Plaetze stehen. */
.personen {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 34px);
}
@media (min-width: 620px)  { .personen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .personen { grid-template-columns: repeat(3, 1fr); } }

.person { margin: 0; }
.person img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%;
  border-radius: 18px;
  filter: saturate(.92);
  transition: transform .6s var(--weg), filter .5s var(--weg), box-shadow .5s var(--weg);
}
.person:hover img {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1);
  box-shadow: 0 24px 56px -26px var(--akzent-schatten);
}
.person h3 {
  margin: 18px 0 2px; font-size: clamp(18px, 1.5vw, 22px);
  color: var(--cream); letter-spacing: -.01em;
}
.block .person h3, .block-dunst .person h3 { color: var(--tinte); }
.person p {
  margin: 0; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--akzent); font-weight: 600;
}
.block .person p, .block-dunst .person p { color: var(--akzent-tief); }


/* Hinweis, solange kein Formularziel hinterlegt ist. */
.formular-hinweis {
  margin: 20px 0 0; padding: 14px 18px;
  border-radius: 12px; font-size: 14.5px; line-height: 1.6;
  background: var(--akzent-dunst);
  color: var(--akzent-tief);
  box-shadow: inset 0 0 0 1px var(--akzent-schatten);
}


/* Zahl oben, Erlaeuterung darunter. Vorher stand ein Fuellwort ueber einem
   Substantiv ("Erstklassiger Service"), das trug nichts und die Kaesten
   wirkten leer. Jetzt eine pruefbare Zahl mit einer Zeile Erklaerung. */
.zahlen .zahl b {
  display: block; font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 50px); line-height: 1;
  letter-spacing: -.03em; color: var(--cream); margin-bottom: 10px;
}
.zahlen .zahl span {
  display: block; font-size: 14px; line-height: 1.5;
  color: color-mix(in srgb, var(--cream) 90%, transparent);
}


/* ------------------------------------------------ Stimmen als Laufband ---
   Die Karten laufen in einer Zeile durch. Der zweite Satz ist eine Kopie und
   traegt aria-hidden, damit Vorlesewerkzeuge die Zitate nicht doppelt lesen.
   Bewegt wird nur transform, es gibt also keinen Layout-Shift.

   Das Laufband haelt an, sobald der Zeiger darauf liegt oder etwas darin den
   Tastaturfokus hat. Sonst koennte man einen Text nicht zu Ende lesen. */
.stimmen-lauf {
  overflow: hidden;
  /* Platz fuer den Schatten der Karten, sonst schneidet ihn overflow ab */
  margin: 0 calc(var(--pad) * -1);
  padding: 14px var(--pad) 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.stimmen-spur {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 24px);
  width: max-content;
  animation: stimmen-zug 70s linear infinite;
}
.stimmen-lauf:hover .stimmen-spur,
.stimmen-lauf:focus-within .stimmen-spur { animation-play-state: paused; }

.stimmen-spur .stimme {
  width: min(420px, 78vw);
  flex: 0 0 auto;
  display: flex; flex-direction: column;
}
.stimmen-spur .stimme blockquote { flex: 1 1 auto; }

@keyframes stimmen-zug {
  /* Genau die halbe Strecke, dann steht der zweite Satz deckungsgleich
     ueber dem ersten und der Sprung ist unsichtbar. Die Luecke nach der
     letzten Karte muss mitgerechnet werden. */
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - clamp(16px, 1.6vw, 24px) / 2), 0, 0); }
}

/* Ohne Bewegungswunsch: keine Animation, dafuer von Hand schiebbar. */
@media (prefers-reduced-motion: reduce) {
  .stimmen-spur { animation: none; }
  .stimmen-lauf { overflow-x: auto; scroll-snap-type: x mandatory; }
  .stimmen-spur .stimme { scroll-snap-align: start; }
}


/* Fliesstext, der buendig unter dem Buehnentext beginnen soll, statt
   mittig in der Spur zu stehen. */
.text-links { max-width: 68ch; margin-bottom: clamp(40px, 4.4vw, 64px); }


/* ============================================================
   Marke Viva Möbel, Bergheim
   DNA der alten Seite: Weiß, Schwarz, Gold (#E6AF5D). Schrift seit 28.10. Jost wie die Wortmarke.
   Umsetzung: helle, ruhige Flächen wie in einem Showroom, dunkle
   Abschnitte in warmem Schwarz, Gold nur als Akzent.

   Kontraste gerechnet (WCAG):
   --akzent-tief #7A561A auf #F5F0E8 5,8:1, auf Weiß 6,5:1
   --text-leise  #6B6259 auf #F5F0E8 5,3:1
   Gold #E6AF5D auf --ink 9,6:1, Schwarz auf Gold 9,5:1
   ============================================================ */

:root {
  --display: 'Jost', -apple-system, 'Segoe UI', Arial, sans-serif;
  --fliess: 'Jost';

  --akzent:        #E6AF5D;
  --akzent-hell:   #F0C27E;
  --akzent-tief:   #7A561A;
  --akzent-dunst:  rgba(230, 175, 93, .14);
  --akzent-schatten: rgba(122, 86, 26, .32);

  --ink:     #12100E;
  --layer:   #1B1815;
  --layer-2: #221E1A;
  --cream:   #F6F1E7;
  --auf-ink: #F6F1E7;
  --cream-tief: #EAE2D5;

  --dunst:      #F5F0E8;
  --dunst-tief: #EAE2D5;
  --papier:     #FFFFFF;
  --tinte:      #141210;
  --text:       #3B3631;
  --text-leise: #6B6259;
  --line-ink:   rgba(20, 18, 16, .12);

  --auf-bild:        #FFFFFF;
  --auf-bild-leise:  #FFFFFF;
  --auf-bild-akzent: #F0C27E;

  /* Volle Knöpfe auf hellem Grund: schwarz mit heller Schrift. Auf
     dunklem Grund und über Fotos: Gold mit schwarzer Schrift. */
  --knopf-grund:  #141210;
  --knopf-schrift: #F6F1E7;

  --kopf-grund:         rgba(255, 255, 255, .82);
  --kopf-grund-kompakt: rgba(255, 255, 255, .94);

  /* Wortmarke 150 x 50. "MÖBEL" ist 7 von 50 Einheiten hoch, bei 66 px
     also gut 9 px Versalhöhe, darunter wird der Zusatz unleserlich. */
  --logo-hoehe: 66px;
  --logo-kompakt: .76;
  --logo-filter: none;
  --logo-filter-hover: drop-shadow(0 0 12px rgba(230, 175, 93, .55));
  --logo-fuss-hoehe: 58px;
}

body { background: var(--papier); }

h1, h2, h3, h4 { font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
h1 { font-weight: 300; letter-spacing: -.015em; }
@media (max-width: 560px) { h2 { font-size: 26px; } }

/* Hutzeile: auf hellem Grund immer die tiefe Variante (Gold auf Weiß
   kam auf 1,97:1), auf dunklem Grund und über Fotos das helle Gold.
   .block-dunkel trägt zugleich .block, deshalb die doppelte Klasse. */
.hut { color: var(--akzent-tief); }
.buehne .hut, .bildband .hut { color: var(--auf-bild-akzent); }
.block.block-dunkel .hut, .block.block-schicht .hut, .block-dunkel .hut, .fuss .hut { color: var(--akzent); }
.modell-info h1.lang { font-size: clamp(26px, 2.4vw, 36px); }
h1 { font-size: clamp(36px, 5vw, 72px); }
h2, h1.h2-stil { font-size: clamp(28px, 3.3vw, 48px); }
.hut { font-weight: 500; letter-spacing: .2em; }
.frage summary, .schritt legend { font-weight: 400; }

/* ------------------------------------------------ Kopf, hell ---------- */

.kopf { background: var(--kopf-grund); }
.kopf.kompakt { border-bottom-color: var(--line-ink); box-shadow: 0 10px 30px -24px rgba(20, 18, 16, .5); }
.nav a:not(.knopf) { color: var(--text); font-size: 15px; }
.nav a:not(.knopf):hover, .nav a.aktiv:not(.knopf) { color: var(--tinte); }
.nav-schalter span { background: var(--tinte); }
.kopf .knopf { padding-left: 34px; padding-right: 34px; }
.kopf-wa { display: inline-flex; align-items: center; gap: 8px; }
.nav a { white-space: nowrap; }
/* Zwischen 1001 und 1200 px reicht die Breite nicht für alle Punkte plus
   WhatsApp: "Dein Sofa" und "Über uns" brachen zweizeilig. WhatsApp bleibt
   in Bühne, Fuß und Mobilleiste erreichbar. */
@media (min-width: 1001px) and (max-width: 1200px) { .kopf-wa { display: none; } .nav { gap: 22px; } }
.kopf-wa svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 1000px) {
  /* Kopf folgt dem Logo: 56 px Logo plus Luft, MÖBEL bleibt bei knapp 8 px Versalhöhe */
  :root { --logo-hoehe: 56px; }
  .kopf-innen, .kopf.kompakt .kopf-innen { height: 76px; }
  .kopf.kompakt .marke img { height: 50px; }
  .nav { background: var(--papier); border-bottom-color: var(--line-ink); inset: 76px 0 auto; max-height: calc(100vh - 76px); }
  .nav a:not(.knopf) { border-bottom-color: var(--line-ink); }
}

/* ------------------------------------------------ Knöpfe -------------- */

.knopf { white-space: nowrap; }
.knopf .pfeil { width: 18px; height: 18px; flex-shrink: 0; }
.hinweis .pfeil { width: 15px; height: 15px; }

.knopf-voll:hover { background: var(--akzent); color: var(--tinte); }
.buehne .knopf-voll, .bildband .knopf-voll, .block-dunkel .knopf-voll, .block-schicht .knopf-voll, .fuss .knopf-voll {
  background: var(--akzent); color: var(--tinte);
}
.buehne .knopf-voll:hover, .bildband .knopf-voll:hover, .block-dunkel .knopf-voll:hover, .block-schicht .knopf-voll:hover, .fuss .knopf-voll:hover {
  background: var(--akzent-hell); color: var(--tinte);
}
.knopf-wa svg { width: 18px; height: 18px; fill: currentColor; }
.modellseite .knopf-linie, .formular .knopf-linie, .planer .knopf-linie { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--line-ink); }
.modellseite .knopf-linie:hover, .formular .knopf-linie:hover, .planer .knopf-linie:hover { background: rgba(20, 18, 16, .05); color: var(--tinte); }
.block-dunkel .knopf-linie, .block-schicht .knopf-linie { color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-stark); }

/* ------------------------------------------------ Bühne --------------- */

.buehne { padding-top: 110px; min-height: min(88vh, 860px); }
.buehne-kurz { min-height: min(62vh, 560px); padding-top: 120px; }
.buehne-bild::after {
  background:
    linear-gradient(180deg, rgba(18,16,14,.55) 0%, rgba(18,16,14,.22) 38%, rgba(18,16,14,.86) 100%),
    linear-gradient(90deg, rgba(18,16,14,.8) 0%, rgba(18,16,14,.35) 60%, rgba(18,16,14,.1) 100%);
}
.buehne h1 { max-width: 16ch; }
.buehne-bold { --buehne-lage: 62% 60%; }

/* ------------------------------------------------ Vertrauensleiste ---- */
/* Glasleiste im unteren Rand der Bühne. Beim Einblenden zieht eine
   Goldlinie über die Kante, die Punkte kommen nacheinander, jedes Zeichen
   hat seinen eigenen Auftritt (Sterne, Stofffächer, Ortsmarke, Transporter),
   danach läuft alle paar Sekunden ein Lichtschein durch. Alles über
   transform und opacity, bei reduzierter Bewegung steht alles still. */

.buehne-bold { padding-bottom: clamp(28px, 3vw, 40px); }
.leiste {
  --lz: 46px;
  position: relative; overflow: hidden; isolation: isolate;
  list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 22px;
  background: rgba(18, 16, 14, .5);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
/* Goldkante oben und Lichtschein */
.leiste::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--akzent) 30%, var(--akzent-hell) 50%, var(--akzent) 70%, transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--weg) .5s;
}
.leiste.da::before { transform: scaleX(1); }
.leiste::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(240, 194, 126, .13) 45%, rgba(255, 255, 255, .08) 50%, transparent 70%);
  transform: translateX(-120%); pointer-events: none;
}
.leiste.da::after { animation: leiste-schein 7s var(--weg) 2.4s infinite; }
@keyframes leiste-schein { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(440%); } }

.leiste-punkt { position: relative; }
.leiste-punkt + .leiste-punkt::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: rgba(255, 255, 255, .12);
}
.leiste-punkt, .leiste-punkt > a {
  display: flex; align-items: center; gap: 14px;
  padding: clamp(16px, 1.6vw, 22px) clamp(14px, 1.6vw, 24px);
}
.leiste-punkt > a { margin: calc(clamp(16px, 1.6vw, 22px) * -1) calc(clamp(14px, 1.6vw, 24px) * -1); flex: 1; color: inherit; text-decoration: none; }
.leiste-punkt > a:hover { color: inherit; }
.js .leiste-punkt { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--weg), transform .8s var(--weg); }
.js :is(.leiste, .zeitstrahl, .werte).da .leiste-punkt { opacity: 1; transform: none; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-punkt:nth-child(1) { transition-delay: .45s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-punkt:nth-child(2) { transition-delay: .6s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-punkt:nth-child(3) { transition-delay: .75s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-punkt:nth-child(4) { transition-delay: .9s; }

.leiste-text { min-width: 0; }
.leiste-text b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(16px, 1.3vw, 19px); color: var(--auf-bild); line-height: 1.25; white-space: nowrap; }
.leiste-text small { display: block; font-size: 13px; color: var(--auf-bild-leise); line-height: 1.4; margin-top: 2px; }
.leiste-punkt > a small { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--weg); }
.leiste-punkt > a:hover small { background-size: 100% 1px; }

/* Zeichen: goldener Ring mit eigenem Inhalt */
.leiste-zeichen {
  position: relative; flex: none; width: var(--lz); height: var(--lz); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(240, 194, 126, .22), rgba(230, 175, 93, .06) 70%);
  box-shadow: inset 0 0 0 1px rgba(240, 194, 126, .45);
  transition: transform .5s var(--weg), box-shadow .5s var(--weg);
}
.leiste-punkt:hover .leiste-zeichen { transform: scale(1.08); box-shadow: inset 0 0 0 1px var(--akzent-hell), 0 0 24px rgba(230, 175, 93, .35); }
.leiste-zeichen svg { width: 22px; height: 22px; fill: none; stroke: var(--akzent-hell); stroke-width: 1.6; stroke-linejoin: round; }

/* Stern: dreht sich groß ein, danach blitzen zwei Funken auf */
.leiste-sterne svg {
  width: 22px; height: 22px; fill: var(--akzent-hell); stroke: none;
  transform: scale(0) rotate(-120deg);
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .8s;
}
:is(.leiste, .zeitstrahl, .werte).da .leiste-sterne svg { transform: none; }
.leiste-sterne i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff 0, var(--akzent-hell) 40%, transparent 70%);
}
.leiste-sterne i:nth-of-type(1) { top: 8px; right: 9px; }
.leiste-sterne i:nth-of-type(2) { bottom: 10px; left: 9px; width: 4px; height: 4px; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-sterne i { animation: leiste-funke 3.2s var(--weg) 1.7s infinite; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-sterne i:nth-of-type(2) { animation-delay: 2.3s; }
@keyframes leiste-funke { 0% { opacity: 0; transform: scale(.2); } 12% { opacity: 1; transform: scale(1.4); } 30%, 100% { opacity: 0; transform: scale(.2); } }
.leiste-punkt:hover .leiste-sterne svg { transform: rotate(72deg); transition-delay: 0s; }

/* Stofffächer: drei Muster fächern auf, beim Zeigen drehen sie weiter */
.leiste-muster i {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 22px; margin: -13px 0 0 -8px;
  border-radius: 8px 8px 4px 4px; transform-origin: 50% 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1);
}
.leiste-muster i:nth-child(1) { background: #5B6E6A; }
.leiste-muster i:nth-child(2) { background: var(--cream); }
.leiste-muster i:nth-child(3) { background: var(--akzent); }
:is(.leiste, .zeitstrahl, .werte).da .leiste-muster i:nth-child(1) { transform: rotate(-32deg); transition-delay: .95s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-muster i:nth-child(2) { transform: rotate(0deg); transition-delay: 1.05s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-muster i:nth-child(3) { transform: rotate(32deg); transition-delay: 1.15s; }
.leiste-muster i { transform: rotate(0deg) scale(.6); }
.leiste-punkt:hover .leiste-muster i:nth-child(1) { transform: rotate(-48deg); transition-delay: 0s; }
.leiste-punkt:hover .leiste-muster i:nth-child(3) { transform: rotate(48deg); transition-delay: 0s; }

/* Ortsmarke: fällt ein, danach ein ruhiger Puls */
.leiste-ort svg { transform: translateY(-16px); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.7, .64, 1) 1.1s, opacity .4s var(--weg) 1.1s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-ort svg { transform: none; opacity: 1; }
.leiste-ort i {
  position: absolute; inset: 8px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--akzent-hell); opacity: 0;
}
:is(.leiste, .zeitstrahl, .werte).da .leiste-ort i { animation: leiste-puls 2.8s var(--weg) 1.9s infinite; }
@keyframes leiste-puls { 0% { transform: scale(.7); opacity: .8; } 80%, 100% { transform: scale(1.65); opacity: 0; } }
.leiste-punkt:hover .leiste-ort svg { animation: leiste-huepfen .6s var(--weg); }
@keyframes leiste-huepfen { 40% { transform: translateY(-4px); } }

/* Transporter: fährt ein, Fahrtlinien laufen weiter */
.leiste-liefer { overflow: hidden; }
.leiste-liefer svg { transform: translateX(-34px); transition: transform 1.1s var(--weg) 1.25s; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-liefer svg { transform: none; animation: leiste-rollen 1.6s ease-in-out 2.5s infinite; }
@keyframes leiste-rollen { 50% { transform: translateY(-1px); } }
.leiste-liefer i {
  position: absolute; left: 6px; height: 1.5px; width: 9px; border-radius: 2px;
  background: var(--akzent-hell); opacity: 0;
}
.leiste-liefer i:nth-of-type(1) { top: 20px; }
.leiste-liefer i:nth-of-type(2) { top: 25px; width: 6px; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-liefer i { animation: leiste-fahrt 1.1s linear 2.3s infinite; }
:is(.leiste, .zeitstrahl, .werte).da .leiste-liefer i:nth-of-type(2) { animation-delay: 2.65s; }
@keyframes leiste-fahrt { 0% { transform: translateX(6px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateX(-8px); opacity: 0; } }

@media (max-width: 900px) {
  .leiste { --lz: 40px; grid-template-columns: repeat(2, 1fr); }
  .leiste-punkt:nth-child(3)::before { display: none; }
  .leiste-punkt:nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
  .leiste-punkt, .leiste-punkt > a { gap: 11px; }
}
@media (max-width: 560px) {
  .leiste-punkt, .leiste-punkt > a { flex-direction: column; align-items: flex-start; gap: 10px; }
  .leiste-text b { font-size: 15.5px; white-space: normal; }
  .leiste-text small { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .leiste::after, :is(.leiste, .zeitstrahl, .werte).da .leiste-ort i, :is(.leiste, .zeitstrahl, .werte).da .leiste-liefer i, :is(.leiste, .zeitstrahl, .werte).da .leiste-liefer svg, :is(.leiste, .zeitstrahl, .werte).da .leiste-sterne i { animation: none; }
  .leiste::before, .leiste-sterne svg, .leiste-muster i, .leiste-ort svg, .leiste-liefer svg { transition: none; }
}

/* ------------------------------------------------ Produktkarten ------- */

.modelle { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.modelle-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .modelle, .modelle-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .modelle, .modelle-4 { grid-template-columns: 1fr; } }
/* Ungerade Anzahl: Flexraster, die angebrochene Reihe sitzt mittig */
.modelle-fluss { display: flex; flex-wrap: wrap; justify-content: center; }
.modelle-fluss > * { flex: 0 1 calc((100% - 2 * clamp(16px, 1.8vw, 26px)) / 3); }
@media (max-width: 1000px) { .modelle-fluss > * { flex-basis: calc((100% - clamp(16px, 1.8vw, 26px)) / 2); } }
@media (max-width: 560px)  { .modelle-fluss > * { flex-basis: 100%; } }

.modell { text-decoration: none; }
.modell .karte-bild { background: var(--dunst); aspect-ratio: 4 / 3; }
.modell .karte-text { padding: 20px 22px 24px; }
.modell h3 { font-size: clamp(19px, 1.5vw, 23px); margin-bottom: 6px; color: var(--tinte); }
.modell-preis { display: block; font-size: 15px; color: var(--text); }
.modell-preis b { font-weight: 600; color: var(--tinte); }
.modell .hinweis { margin-top: 12px; }
.modell-art { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent-tief); margin-bottom: 8px; }

/* Bereichswahl über den Kollektionen */
.bereiche { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(30px, 3.4vw, 48px); padding: 0; list-style: none; }
.bereiche a {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-ink);
  transition: background-color .3s var(--weg), color .3s var(--weg), box-shadow .3s var(--weg);
}
.bereiche a:hover { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--akzent); }
.bereiche a.aktiv { background: var(--tinte); color: var(--cream); box-shadow: none; }
.bereich-titel { margin-top: clamp(56px, 6vw, 88px); }
.bereich-titel:first-of-type { margin-top: 0; }

.preis-notiz { font-size: 13.5px; color: var(--text-leise); margin-top: clamp(26px, 3vw, 40px); }

/* ------------------------------------------------ Bereichskacheln ----- */

.raum { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); text-decoration: none; }
.raum img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weg); }
/* Jans Fotos sind hell (Creme, Bouclé): der Verlauf setzt früher ein und
   endet dunkler, gemessen am Bildpunkt unter der Schrift mindestens 6,9:1. */
.raum::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,0) 30%, rgba(18,16,14,.55) 62%, rgba(18,16,14,.9) 100%); }
.raum:hover img { transform: scale(1.06); }
.raum-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2vw, 28px); }
.raum-text h3 { color: var(--auf-bild); margin: 0 0 4px; font-size: clamp(22px, 2vw, 30px); }
.raum-text span { color: var(--auf-bild); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.raum-text svg { width: 15px; height: 15px; transition: transform .45s var(--weg); }
.raum:hover .raum-text svg { transform: translateX(6px); }
.raeume { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 900px) { .raeume { grid-template-columns: repeat(2, 1fr); } .raeume > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .raeume { grid-template-columns: 1fr; } .raeume > :last-child { aspect-ratio: 4 / 5; } }

/* ------------------------------------------------ Vier Schritte ------- */

.schritte4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); counter-reset: s; }
.schritte3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .schritte4 { grid-template-columns: repeat(2, 1fr); } .schritte3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .schritte4 { grid-template-columns: 1fr; } }
.schritt-karte { background: var(--papier); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 12px 34px -18px rgba(20,18,16,.28); counter-increment: s; transition: transform .5s var(--weg), box-shadow .5s var(--weg); }
.schritt-karte:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(20,18,16,.06), 0 30px 60px -24px rgba(20,18,16,.4); }
.schritt-karte .karte-bild { aspect-ratio: 1 / 1; background: var(--dunst); }
.schritt-karte .karte-text { padding: 22px 24px 26px; }
.schritt-karte h3 { font-size: clamp(19px, 1.5vw, 22px); margin-bottom: 8px; }
.schritt-karte h3::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--fliess), sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--akzent-tief); margin-bottom: 10px; }
.schritt-karte p { font-size: 15px; color: var(--text-leise); margin: 0; }
.block-dunkel .schritt-karte { background: var(--layer-2); box-shadow: inset 0 0 0 1px var(--line); }
.block-dunkel .schritt-karte h3::before { color: var(--akzent); }
.block-dunkel .schritt-karte p { color: color-mix(in srgb, var(--auf-ink) 68%, transparent); }
.schritt-karte-text .karte-text { padding-top: 30px; }

/* ------------------------------------------------ Modellseite --------- */

.modellseite { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 120px); background: var(--papier); }
.brotkrumen { font-size: 13.5px; color: var(--text-leise); margin-bottom: clamp(18px, 2vw, 28px); }
.brotkrumen a { color: var(--text-leise); }
.brotkrumen a:hover { color: var(--tinte); }
.brotkrumen span { margin: 0 8px; opacity: .6; }
.modell-gitter { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .modell-gitter { grid-template-columns: 1fr; } }

.galerie-gross { border-radius: 20px; overflow: hidden; background: var(--dunst); aspect-ratio: 3 / 2; }
.galerie-gross img { width: 100%; height: 100%; object-fit: contain; }
.galerie-leiste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.galerie-leiste a {
  display: block; border-radius: 12px; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--dunst);
  box-shadow: inset 0 0 0 0 var(--akzent); opacity: .72;
  transition: opacity .3s var(--weg), box-shadow .3s var(--weg), transform .4s var(--weg);
}
.galerie-leiste a:hover { opacity: 1; transform: translateY(-2px); }
.galerie-leiste a[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--akzent); }
.galerie-leiste img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .galerie-leiste { grid-template-columns: repeat(3, 1fr); } }

.modell-info { position: sticky; top: 110px; }
.modell-info h1 { font-size: clamp(32px, 3.4vw, 50px); margin-bottom: 14px; }
.modell-info .preis { font-family: var(--display); font-size: clamp(26px, 2.2vw, 34px); color: var(--tinte); margin: 0; }
.modell-info .preis small { font-family: var(--fliess), sans-serif; font-size: 15px; color: var(--text-leise); margin-right: 6px; }
.modell-info .preis-zusatz { font-size: 13.5px; color: var(--text-leise); margin: 4px 0 26px; }
.modell-info .knopfreihe { margin-top: 26px; }
.modell-info .knopfreihe .knopf { flex: 1 1 auto; }
.merkmale { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.merkmale li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); font-size: 15px; }
.merkmale b { flex: 0 0 120px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); padding-top: 3px; }
.merkmale span { color: var(--tinte); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips i { font-style: normal; padding: 4px 12px; border-radius: 999px; background: var(--dunst); font-size: 13.5px; color: var(--tinte); }
.modell-text { margin-top: 22px; color: var(--text); }
.termin-notiz { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--akzent-dunst); font-size: 14.5px; color: var(--tinte); line-height: 1.55; }
.termin-notiz svg { flex-shrink: 0; width: 20px; height: 20px; fill: var(--akzent-tief); margin-top: 2px; }
@media (max-width: 900px) { .modell-info { position: static; } }

/* ------------------------------------------------ Sofa-Finder -------- */

.finder { max-width: 860px; margin: 0 auto; }
.finder .schritt-hinweis { margin-bottom: 18px; }
.finder-ergebnis h2 { margin-bottom: 10px; }
.finder-ergebnis .modelle { margin-top: 28px; }

/* ------------------------------------------------ Termin ------------- */

.termin-gitter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .termin-gitter { grid-template-columns: 1fr; } }
.termin-gitter .zeilen { margin-top: 26px; }
.formular h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 6px; }
.formular .feld-hinweis { margin-bottom: 22px; }
.feld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-leise) 50%), linear-gradient(135deg, var(--text-leise) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.karte-weg { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------ Landingpage -------- */

.kopf-schlicht .kopf-innen { justify-content: space-between; }
.lp-punkte { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-punkte li { display: flex; gap: 12px; align-items: flex-start; color: var(--auf-bild); font-size: clamp(16px, 1.3vw, 18px); }
.lp-punkte svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--auf-bild-akzent); margin-top: 3px; }

/* ------------------------------------------------ Hasan ------------- */

.zitat-gross { font-family: var(--display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; color: var(--cream); margin: 0 0 22px; max-width: 30ch; }
.zitat-gross::before { content: '\201E'; color: var(--akzent); }
.zitat-gross::after { content: '\201C'; color: var(--akzent); }

/* ------------------------------------------------ Bildband ----------- */

.bildband .knopfreihe { margin-top: 28px; }
.band-dora { --band-lage: center 60%; }
.band-marion { --band-lage: center 64%; }

/* ------------------------------------------------ Fuß ---------------- */

.fuss-marke p { color: color-mix(in srgb, var(--auf-ink) 74%, transparent); }
.fuss-wege { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fuss-wege .knopf { padding: 14px 24px; }

/* ------------------------------------------------ Leiste unten mobil -- */

.mobil-leiste { display: none; }
@media (max-width: 760px) {
  .mobil-leiste {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px -18px rgba(20, 18, 16, .45);
  }
  .mobil-leiste .knopf { padding: 15px 18px; width: 100%; }
  .mobil-leiste .knopf-wa-rund { width: 52px; padding: 0; }
  body { padding-bottom: 76px; }
  /* Calendly zeigt im Fenster einen eigenen Cookie-Hinweis: die Leiste darf ihn nicht verdecken */
  .kalender-offen .mobil-leiste { display: none; }
  .kalender-offen body { padding-bottom: 0; }
  .lesefortschritt { display: none; }
}
.knopf-wa-rund { background: #1F7A4A; color: #fff; }
.knopf-wa-rund:hover { background: #17633B; color: #fff; }
.knopf-wa-rund svg { width: 22px; height: 22px; fill: currentColor; }

/* ------------------------------------------------ Kleinkram ---------- */

.abstand-oben { margin-top: clamp(40px, 4.4vw, 64px); }
.mitte { text-align: center; }
.block-dunst + .block-dunst { padding-top: 0; }
.leise { color: var(--text-leise); }
.duo-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
.recht .karte-warnung { padding: 22px 26px; border-radius: 16px; }

/* ------------------------------------------------ Buchung: Calendly + Formular
   Mit Calendly steht der Kalender oben (Zwei-Klick), das Formular klappt
   darunter als Rueckruf-Variante auf. Die Hinweiskarte liegt auf Papier,
   weil der Abschnitt selbst schon Dunst ist. */

.termin-gitter .reservierung-hinweis { background: var(--papier); text-align: left; box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 16px 44px -22px rgba(10,10,10,.3); }
.reservierung-hinweis h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 10px; }
.termin-gitter .reservierung-hinweis p { margin: 0 0 22px; max-width: none; color: var(--text); }
.formular-klappe { margin-top: 18px; }
.formular-klappe > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 24px; border-radius: 16px; background: var(--papier); color: var(--tinte); font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-ink); transition: box-shadow .25s ease, background .25s ease;
}
.formular-klappe > summary::-webkit-details-marker { display: none; }
.formular-klappe > summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--akzent-tief); transition: transform .25s ease; }
.formular-klappe[open] > summary::after { transform: rotate(45deg); }
.formular-klappe > summary:hover { box-shadow: inset 0 0 0 1px var(--akzent-tief); }
.formular-klappe .formular { margin-top: 14px; }

/* ------------------------------------------------ Einwilligung (Meta)
   Eigener Hinweis, keine Fremdbibliothek. Beide Knoepfe identisch, damit
   Ablehnen genauso leicht ist wie Zustimmen. Sitzt mobil ueber der
   Termin-Leiste. */

.einwilligung {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  display: flex; justify-content: center; pointer-events: none;
}
.einwilligung-innen {
  pointer-events: auto; width: min(640px, 100%);
  background: var(--papier); color: var(--text); border-radius: 20px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 2px 6px rgba(10,10,10,.08), 0 24px 60px -20px rgba(10,10,10,.45);
}
.einwilligung h2 { font-size: clamp(20px, 1.8vw, 24px); margin: 0 0 8px; color: var(--tinte); }
.einwilligung p { font-size: 14.5px; margin: 0 0 18px; }
.einwilligung p a { color: var(--akzent-tief); }
.einwilligung-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.einwilligung-knopf { width: 100%; background: var(--knopf-grund); color: var(--knopf-schrift); }
.einwilligung-knopf:hover { background: var(--layer-2); color: var(--knopf-schrift); }
@media (max-width: 760px) {
  .einwilligung { left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   Bausteine 2 (28.10.2026): Atelier, Vitrine, Raumfahrt, Stoffband,
   Kontrast, Weg. Ersetzen die drei Kachelraster hintereinander.
   Bewegung nur über transform und opacity (Ausnahme: Strichfarbe im
   Kontrast, reine Farbe). Ohne JS und bei reduzierter Bewegung steht
   alles untereinander und lesbar.
   ============================================================ */

/* Atelier: stehender Bildrahmen, Schritte laufen daneben */
.atelier .block-kopf { margin-bottom: clamp(32px, 4vw, 56px); }
.atelier-gitter { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.atelier-buehne { position: sticky; top: max(96px, calc(50vh - min(37vh, 330px))); }
.atelier-rahmen { position: relative; height: min(74vh, 660px); border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.atelier-bild { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--weg), transform 1.8s var(--weg); }
.atelier-bild.ist-aktiv { opacity: 1; transform: scale(1); }
.atelier-bild img { width: 100%; height: 100%; object-fit: cover; }
.atelier-rahmen::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,16,14,0) 45%, rgba(18,16,14,.88) 100%); pointer-events: none; }
.atelier-zaehler { position: absolute; left: clamp(20px, 2.4vw, 32px); bottom: clamp(30px, 3vw, 40px); z-index: 2; display: flex; align-items: baseline; gap: 10px; color: var(--auf-bild); font-family: var(--display); }
.atelier-zaehler b { font-size: clamp(48px, 5vw, 84px); font-weight: 300; line-height: 1; }
.atelier-zaehler span { font-size: 15px; letter-spacing: .14em; }
.atelier-balken { position: absolute; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: 18px; z-index: 2; height: 2px; background: rgba(255, 255, 255, .28); }
.atelier-balken i { display: block; height: 100%; background: var(--akzent); transform-origin: left center; transform: scaleX(.25); transition: transform .8s var(--weg); }
.atelier-schritte { list-style: none; margin: 0; padding: 0; }
.atelier-schritt { min-height: min(74vh, 660px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.js .atelier-schritt { opacity: .7; transition: opacity .6s var(--weg); }
.js .atelier-schritt.ist-aktiv { opacity: 1; }
.atelier-nr { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--akzent); margin-bottom: 14px; }
.atelier-schritt h3 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 300; line-height: 1.08; margin-bottom: 16px; }
.atelier-schritt p { font-size: clamp(17px, 1.3vw, 20px); max-width: 30em; margin: 0; }
.atelier-mobilbild { display: none; }
.atelier .knopfreihe { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 1000px) {
  .atelier-gitter { grid-template-columns: 1fr; gap: 0; }
  .atelier-buehne { display: none; }
  .atelier-schritt { min-height: 0; padding: 26px 0 34px; border-top: 1px solid var(--line-stark); }
  .js .atelier-schritt { opacity: 1; }
  .atelier-mobilbild { display: block; margin-top: 22px; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: #000; }
  .atelier-mobilbild img { width: 100%; height: 100%; object-fit: cover; }
}

/* Vitrine: grosse Namen, Bild wechselt beim Zeigen */
.vitrine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 90px); align-items: start; }
.vitrine-bilder { position: sticky; top: 110px; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: var(--dunst-tief); box-shadow: 0 30px 70px -36px rgba(20, 18, 16, .45); }
.vitrine-bild { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--weg), transform 1.4s var(--weg); }
.vitrine-bild.ist-aktiv { opacity: 1; transform: scale(1); }
.vitrine-bild img { width: 100%; height: 100%; object-fit: cover; }
.vitrine-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.vitrine-zeile {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name hinweis" "preis hinweis";
  gap: 6px 24px; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-ink);
  color: var(--tinte); text-decoration: none;
}
.vitrine-name { grid-area: name; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.7vw, 44px); line-height: 1.1; hyphens: manual; transition: transform .5s var(--weg); }
.vitrine-preis { grid-area: preis; font-size: 15.5px; color: var(--text-leise); transition: transform .5s var(--weg); }
.vitrine-preis b { color: var(--tinte); font-weight: 600; }
.vitrine-hinweis { grid-area: hinweis; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--akzent-tief); opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--weg), transform .5s var(--weg); }
.vitrine-hinweis svg { width: 15px; height: 15px; }
.vitrine-zeile:hover .vitrine-name, .vitrine-zeile:focus-visible .vitrine-name, .vitrine-zeile.ist-aktiv .vitrine-name,
.vitrine-zeile:hover .vitrine-preis, .vitrine-zeile:focus-visible .vitrine-preis, .vitrine-zeile.ist-aktiv .vitrine-preis { transform: translateX(14px); }
.vitrine-zeile:hover .vitrine-hinweis, .vitrine-zeile:focus-visible .vitrine-hinweis, .vitrine-zeile.ist-aktiv .vitrine-hinweis { opacity: 1; transform: none; }
.vitrine-mobilbild { display: none; }
.vitrine + .preis-notiz, .vitrine ~ .preis-notiz { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 900px) {
  .vitrine { grid-template-columns: 1fr; }
  .vitrine-bilder { display: none; }
  .vitrine-zeile { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "bild name" "bild preis" "bild hinweis"; gap: 4px 18px; align-items: center; padding: 16px 0; }
  .vitrine-mobilbild { display: block; grid-area: bild; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dunst-tief); }
  .vitrine-mobilbild img { width: 100%; height: 100%; object-fit: cover; }
  .vitrine-name { font-size: clamp(21px, 5.4vw, 26px); }
  .vitrine-hinweis { opacity: 1; transform: none; align-self: start; }
  .vitrine-zeile:hover .vitrine-name, .vitrine-zeile.ist-aktiv .vitrine-name,
  .vitrine-zeile:hover .vitrine-preis, .vitrine-zeile.ist-aktiv .vitrine-preis { transform: none; }
}

/* Raumfahrt: Abschnitt hält an, die Bahn fährt waagerecht */
.raumfahrt { position: relative; background: var(--papier); }
.raumfahrt-halter { padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.raumfahrt-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 52px); }
.raumfahrt-kopf h2 { margin: 0; }
.raumfahrt-wink { display: none; margin: 0; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-leise); }
.raumfahrt-wink svg { width: 15px; height: 15px; transform: rotate(90deg); }
.raumfahrt-fenster { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 0 max(var(--pad), calc((100vw - var(--spur)) / 2 + var(--pad))); scroll-padding: 0 max(var(--pad), calc((100vw - var(--spur)) / 2 + var(--pad))); }
.raumfahrt-fenster::-webkit-scrollbar { display: none; }
.raumfahrt-bahn { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; }
.raumfahrt-tafel { position: relative; flex: 0 0 auto; width: min(80vw, 980px); height: clamp(380px, 62vh, 620px); border-radius: 24px; overflow: hidden; background: var(--ink); scroll-snap-align: start; text-decoration: none; }
.raumfahrt-tafel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weg); }
.raumfahrt-tafel:hover img { transform: scale(1.05); }
.raumfahrt-tafel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,.1) 0%, rgba(18,16,14,.35) 35%, rgba(18,16,14,.9) 100%); }
.raumfahrt-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 44px); }
.raumfahrt-text h3 { color: var(--auf-bild); font-size: clamp(34px, 4.6vw, 74px); font-weight: 300; line-height: 1.02; margin: 0 0 10px; }
.raumfahrt-text p { color: var(--auf-bild); font-size: clamp(16px, 1.3vw, 19px); max-width: 30em; margin: 0 0 16px; }
.raumfahrt-text .hinweis { color: var(--auf-bild-akzent); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.raumfahrt-text .hinweis svg { width: 15px; height: 15px; transition: transform .45s var(--weg); }
.raumfahrt-tafel:hover .hinweis svg { transform: translateX(6px); }
.raumfahrt-schluss { width: min(70vw, 560px); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 60px); }
.raumfahrt-schluss::after { display: none; }
.raumfahrt-schluss h3 { color: var(--cream); font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; margin: 0 0 12px; }
.raumfahrt-links { list-style: none; margin: 0; padding: 0; }
.raumfahrt-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-stark); color: var(--cream); text-decoration: none; font-size: clamp(18px, 1.5vw, 22px); transition: color .3s var(--weg); }
.raumfahrt-links a:hover { color: var(--akzent); }
.raumfahrt-links svg { width: 16px; height: 16px; transition: transform .45s var(--weg); }
.raumfahrt-links a:hover svg { transform: translateX(6px); }
.raumfahrt.ist-gepinnt .raumfahrt-halter { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 24px; }
.raumfahrt.ist-gepinnt .raumfahrt-fenster { overflow: visible; scroll-snap-type: none; }
.raumfahrt.ist-gepinnt .raumfahrt-bahn { will-change: transform; }
.raumfahrt.ist-gepinnt .raumfahrt-tafel { height: min(60vh, 620px); }
.raumfahrt.ist-gepinnt .raumfahrt-wink { display: inline-flex; }
@media (max-width: 560px) { .raumfahrt-tafel { width: 86vw; height: 440px; } .raumfahrt-schluss { width: 86vw; } }

/* Stoffband: Laufband in Gold */
.stoffband { background: var(--akzent); overflow: hidden; padding: clamp(16px, 2vw, 26px) 0; }
.stoffband-spur { display: flex; width: max-content; animation: stoffband 42s linear infinite; }
.stoffband span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 54px); line-height: 1.1; color: var(--tinte); }
.stoffband span::after { content: ''; width: .16em; height: .16em; margin: 0 .9em; border: 1.5px solid var(--tinte); transform: rotate(45deg); }
@keyframes stoffband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .stoffband-spur { animation: none; } }

/* Kontrast: drei Ärgernisse, werden durchgestrichen */
.kontrast-titel { font-size: clamp(34px, 4.4vw, 64px); font-weight: 300; margin-bottom: clamp(26px, 3vw, 44px); }
.kontrast-liste { list-style: none; margin: 0 0 clamp(40px, 5vw, 72px); padding: 0; border-top: 1px solid var(--line-ink); }
.kontrast-liste li { padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line-ink); font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.22; color: var(--text-leise); }
.kontrast-liste span { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--akzent-tief); }
.js .kontrast-liste span { text-decoration-color: transparent; transition: text-decoration-color .6s var(--weg) .5s; }
.js .kontrast-liste.da span { text-decoration-color: var(--akzent-tief); }
.js .kontrast-liste li:nth-child(2) span { transition-delay: .9s; }
.js .kontrast-liste li:nth-child(3) span { transition-delay: 1.3s; }
.kontrast-gross { font-family: var(--display); font-size: clamp(30px, 3.6vw, 56px); font-weight: 400; line-height: 1.1; color: var(--tinte); margin: 0 0 14px; }
.kontrast-wende p:not(.kontrast-gross) { font-size: clamp(17px, 1.35vw, 20px); max-width: 36em; margin: 0; }

/* Weg: übliche Kette gegen Direktimport */
.weg-gitter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
.weg-spalte { border-radius: 22px; padding: clamp(26px, 3vw, 44px); background: color-mix(in srgb, var(--auf-ink) 6%, transparent); }
.weg-spalte h3 { font-family: var(--fliess), sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px; }
.weg-kette { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--line-stark); display: flex; flex-direction: column; gap: 14px; }
.weg-kette li { position: relative; font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; color: var(--cream); }
.weg-kette li::before { content: ''; position: absolute; left: -31px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--akzent); }
.weg-viva { background: var(--akzent); }
.block-dunkel .weg-viva h3, .weg-viva .weg-kette li { color: var(--tinte); }
.weg-viva .weg-kette { border-left-color: rgba(20, 18, 16, .35); }
.weg-viva .weg-kette li::before { background: var(--tinte); }
@media (max-width: 800px) { .weg-gitter { grid-template-columns: 1fr; } }

/* Vertrauenszeile in der Bühne der Landingpages */
.lp-vertrauen { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--auf-bild); }
.lp-vertrauen .sterne { margin: 0; }
.lp-vertrauen .sterne svg { width: 14px; height: 14px; fill: var(--auf-bild-akzent); }
@media (max-width: 600px) { .lp-vertrauen { flex-wrap: wrap; row-gap: 4px; } .lp-vertrauen .sterne { flex: 0 0 100%; } }

/* Erfolgsmeldung des Terminformulars (senden.php): tintig statt Gold,
   damit sie sich klar von Fehlermeldungen abhebt. */
.formular-hinweis.formular-gut { background: var(--papier); color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--akzent); }

/* ============================================================
   Weniger Kacheln (29.10.2026)
   Hamza: zu viele abgerundete Bildkarten. Bilder gehören jetzt zum
   Abschnitt: randlos bis an den Fensterrand und über die volle Höhe des
   Abschnitts, ohne Ecken und Schatten. Textkarten werden zu offenen
   Spalten mit Linie und großer Ziffer.
   ============================================================ */

:root {
  --rand: max(var(--pad), calc((100vw - var(--spur)) / 2 + var(--pad)));
  --block-pad: clamp(72px, 10vw, 156px);
}

/* Duo: das Bild füllt seine Hälfte des Abschnitts bis an den Rand.
   Bis 1000 px stapelt haus.css das Duo und stellt das Bild nach vorn (order -1),
   deshalb gilt der Abschnittsrand dort immer oben, nie unten. */
@media (min-width: 1001px) {
  .duo { align-items: stretch; min-height: min(78vh, 760px); }
  .duo > div:not(.duo-bild) { align-self: center; padding: clamp(8px, 2vw, 24px) 0; }
  .duo > .duo-bild { border-radius: 0; margin-block: calc(var(--block-pad) * -1); position: relative; }
  .duo > .duo-bild:last-child { margin-right: calc(var(--rand) * -1); }
  .duo > .duo-bild:first-child { margin-left: calc(var(--rand) * -1); }
  .duo > .duo-bild picture, .duo > .duo-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 1000px) {
  .duo-bild { border-radius: 0; margin: 0 calc(var(--pad) * -1); }
  .duo > .duo-bild, .duo > .duo-bild:first-child, .duo > .duo-bild:last-child {
    margin-top: calc(var(--block-pad) * -1); margin-bottom: clamp(16px, 3vw, 28px);
  }
  .duo-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
}

/* Atelier: das Bild steht als volle linke Fensterhälfte */
@media (min-width: 1001px) {
  .atelier-gitter { gap: clamp(48px, 6vw, 110px); }
  .atelier-buehne { top: 0; height: 100vh; margin-left: calc(var(--rand) * -1); }
  .atelier-rahmen { height: 100%; border-radius: 0; box-shadow: none; }
  .atelier-schritt { min-height: 88vh; }
  .atelier-zaehler { left: var(--rand); }
  .atelier-balken { left: var(--rand); right: clamp(24px, 3vw, 48px); bottom: clamp(22px, 3vh, 34px); }
}
@media (max-width: 1000px) {
  .atelier-mobilbild { border-radius: 0; margin: 22px calc(var(--pad) * -1) 0; }
}

/* Vitrine: das Bild läuft links bis an den Rand */
@media (min-width: 901px) {
  .vitrine-bilder { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: calc(100vh - 140px); max-height: 780px; margin-left: calc(var(--rand) * -1); }
}

/* Raumfahrt: eine durchgehende Bildbahn statt einzelner Karten */
.raumfahrt-bahn { gap: 0; }
.raumfahrt-tafel { border-radius: 0; }
.raumfahrt-tafel + .raumfahrt-tafel { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .14); }
.raumfahrt.ist-gepinnt .raumfahrt-tafel { height: min(68vh, 720px); width: min(72vw, 1040px); }

/* Textkarten: offene Spalten */
.schritt-karte, .block-dunkel .schritt-karte {
  background: none; border-radius: 0; box-shadow: none; overflow: visible;
  border-top: 1px solid var(--line-ink);
}
.block-dunkel .schritt-karte { border-top-color: var(--line-stark); }
.schritt-karte:hover { transform: none; box-shadow: none; }
.schritt-karte .karte-text, .schritt-karte-text .karte-text { padding: clamp(22px, 2.4vw, 32px) clamp(0px, 2vw, 28px) 0 0; }
.schritt-karte h3::before {
  font-family: var(--display); font-size: clamp(40px, 4vw, 60px); font-weight: 300; letter-spacing: 0;
  line-height: 1; margin-bottom: 18px;
}
.schritt-karte .karte-bild { border-radius: 0; }

/* Bereichsliste (Kollektion): Vitrine mit Bereichen statt sechs Kacheln */
.bereichsliste .vitrine-preis { font-size: 15.5px; }


/* ------------------------------------------------ Szenen (29.10.2026, Runde 2) */
/* Rückmeldung Hamza: schwarze Leerflächen im Atelier, leere rechte Hälfte
   in der Vitrine, helle Fläche hinter dunklen Raumfotos, zwei gleiche
   Dreierspalten übereinander. Daher: Atelier als Vollbildszene, Vitrine
   füllt die Bildhöhe, Raumstrecke auf dunklem Verlauf mit Text neben dem
   Bild, Ablauf als Zeitstrahl, Werte als große Zeilen mit Zeichen. */

/* Atelier: Bild steht als Vollbild, die Schritte laufen rechts darüber */
.atelier-spalte { min-width: 0; }
.atelier-kopf .block-kopf { margin-bottom: 0; }
@media (min-width: 1001px) {
  .atelier.block { padding: 0; }
  .atelier-szene { display: grid; }
  .atelier-szene > .atelier-buehne, .atelier-szene > .atelier-ebene { grid-area: 1 / 1; }
  .atelier-szene > .atelier-buehne { display: block; position: sticky; top: 0; align-self: start; height: 100vh; margin: 0; z-index: 0; }
  .atelier-szene .atelier-rahmen { height: 100%; border-radius: 0; box-shadow: none; }
  .atelier-szene .atelier-rahmen::after {
    background:
      linear-gradient(90deg, rgba(18, 16, 14, .12) 0%, rgba(18, 16, 14, .3) 34%, rgba(18, 16, 14, .86) 50%, rgba(18, 16, 14, .92) 100%),
      linear-gradient(0deg, rgba(18, 16, 14, .55) 0%, rgba(18, 16, 14, 0) 26%);
  }
  .atelier-ebene { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
  .atelier-spalte { width: min(560px, 45%); padding-bottom: 22vh; }
  .atelier-kopf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .atelier-kopf h2 { font-size: clamp(34px, 3vw, 46px); max-width: none; }
  .atelier-schritt { min-height: 84vh; padding: 0; }
  .atelier-schritt:last-child { min-height: 64vh; }
  .atelier-schritt h3, .atelier-kopf h2 { color: var(--auf-bild); }
  .atelier-schritt p, .atelier-kopf p { color: var(--auf-bild-leise); }
  .js .atelier-schritt { opacity: .32; }
  .js .atelier-schritt.ist-aktiv { opacity: 1; }
  .atelier-zaehler { left: var(--rand); bottom: clamp(40px, 6vh, 64px); }
  .atelier-balken { left: var(--rand); right: auto; width: min(380px, 26vw); bottom: clamp(26px, 4vh, 40px); }
  .atelier .knopfreihe { margin-top: 0; }
}
@media (max-width: 1000px) {
  .atelier-kopf { margin-bottom: clamp(24px, 4vw, 40px); }
}

/* Vitrine: die Liste füllt die Bildhöhe, auch bei drei Modellen */
@media (min-width: 901px) {
  .vitrine { align-items: stretch; }
  .vitrine-liste { display: flex; flex-direction: column; min-height: min(calc(100vh - 140px), 780px); }
  .vitrine-liste > li { flex: 1 1 0; display: flex; }
  .vitrine-zeile { flex: 1; align-content: center; padding-block: clamp(18px, 2vw, 28px); }
  .vitrine-liste > li:only-child, .vitrine-liste > li:nth-last-child(n+7) { flex: 0 0 auto; }
  .vitrine-liste > li:nth-last-child(-n+3):first-child .vitrine-name,
  .vitrine-liste > li:nth-last-child(-n+3):first-child ~ li .vitrine-name { font-size: clamp(34px, 3.6vw, 58px); }
  .vitrine-liste > li:nth-last-child(-n+3):first-child .vitrine-preis,
  .vitrine-liste > li:nth-last-child(-n+3):first-child ~ li .vitrine-preis { font-size: 17px; margin-top: 4px; }
}

/* Raumstrecke: dunkler Verlauf, Bild und Text als Doppelseite */
.raumfahrt { background-color: var(--ink); background-image: radial-gradient(120% 80% at 15% 0%, rgba(230, 175, 93, .12), transparent 55%), linear-gradient(180deg, #1d1a17 0%, var(--ink) 70%); color: var(--auf-ink); }
.raumfahrt-kopf h2 { color: var(--auf-ink); }
.raumfahrt-wink { color: color-mix(in srgb, var(--auf-ink) 70%, transparent); }
.raumfahrt-bahn { gap: clamp(28px, 4vw, 72px); }
.raumfahrt-tafel, .raumfahrt.ist-gepinnt .raumfahrt-tafel {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: end;
  width: min(84vw, 1180px); height: min(66vh, 680px); overflow: visible; background: none; box-shadow: none; border-radius: 0;
  color: var(--auf-ink); text-decoration: none;
}
.raumfahrt-tafel + .raumfahrt-tafel { box-shadow: none; }
.raumfahrt-tafel::after { display: none; }
.raumfahrt-bild { position: relative; display: block; height: 100%; overflow: hidden; transform-origin: 50% 60%; transition: transform 1s var(--weg), opacity 1s var(--weg); }
.raumfahrt-tiefe { position: absolute; inset: 0 -8%; display: block; will-change: transform; }
.raumfahrt-tafel img, .raumfahrt-tafel:hover img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.raumfahrt-text { position: static; padding: 0 0 clamp(4px, 1vw, 12px); transition: transform .9s var(--weg), opacity .9s var(--weg); }
.raumfahrt.ist-gepinnt .raumfahrt-bild { transform: scale(.9); opacity: .45; }
.raumfahrt.ist-gepinnt .raumfahrt-text { transform: translateY(24px); opacity: .35; }
.raumfahrt.ist-gepinnt .raumfahrt-tafel.ist-mitte .raumfahrt-bild, .raumfahrt.ist-gepinnt .raumfahrt-tafel:focus-visible .raumfahrt-bild { transform: none; opacity: 1; }
.raumfahrt.ist-gepinnt .raumfahrt-tafel.ist-mitte .raumfahrt-text, .raumfahrt.ist-gepinnt .raumfahrt-tafel:focus-visible .raumfahrt-text { transform: none; opacity: 1; }
.raumfahrt-nr { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(64px, 7vw, 120px); line-height: .9; color: var(--akzent); margin-bottom: clamp(14px, 2vw, 26px); }
.raumfahrt-text h3 { color: var(--auf-ink); font-size: clamp(32px, 3.4vw, 56px); margin-bottom: 12px; }
.raumfahrt-text p { color: color-mix(in srgb, var(--auf-ink) 72%, transparent); margin-bottom: 18px; }
.raumfahrt-text .hinweis { color: var(--akzent); }
.raumfahrt-schluss, .raumfahrt.ist-gepinnt .raumfahrt-schluss { display: flex; width: min(60vw, 520px); align-self: center; height: auto; }
.raumfahrt-links a { color: var(--auf-ink); border-color: var(--line-stark); }
.raumfahrt.ist-gepinnt .raumfahrt-halter { padding-block: clamp(48px, 7vh, 96px); }
@media (max-width: 899px) {
  .raumfahrt-tafel, .raumfahrt.ist-gepinnt .raumfahrt-tafel { grid-template-columns: 1fr; grid-template-rows: auto auto; width: 82vw; height: auto; align-items: start; gap: 18px; scroll-snap-align: start; }
  .raumfahrt-bild { height: auto; aspect-ratio: 4 / 5; transform: none; opacity: 1; }
  .raumfahrt-text { transform: none; opacity: 1; }
  .raumfahrt-nr { font-size: 52px; margin-bottom: 8px; }
  .raumfahrt-schluss { width: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  .raumfahrt-bild, .raumfahrt-text { transform: none; opacity: 1; transition: none; }
}

/* Dunkler Knoten für Themenzeichen auf hellem Grund */
.zeit-knoten {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2622, var(--ink) 70%);
  box-shadow: 0 0 0 6px var(--knoten-rand, var(--dunst)), 0 18px 36px -18px rgba(18, 16, 14, .6);
}
.block:not(.block-dunst):not(.block-dunkel) .zeit-knoten { --knoten-rand: var(--papier); }
.block-dunkel .zeit-knoten { --knoten-rand: var(--ink); box-shadow: 0 0 0 6px var(--ink), inset 0 0 0 1px var(--line-stark); }
.zeit-knoten b { position: absolute; top: -6px; right: -8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .04em; background: var(--akzent); color: var(--ink); }

/* Kalender: Blatt klappt auf, ein Tag wird markiert */
.zeichen-kalender svg { transform: rotateX(80deg); opacity: 0; transition: transform .8s var(--weg) .5s, opacity .4s var(--weg) .5s; }
.zeitstrahl.da .zeichen-kalender svg { transform: none; opacity: 1; }
.zeichen-kalender i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -1px 0 0 1px; border-radius: 50%; background: var(--akzent-hell); transform: scale(0); }
.zeitstrahl.da .zeichen-kalender i { animation: zeichen-tag 3.4s var(--weg) 1.3s infinite; }
@keyframes zeichen-tag { 0% { transform: scale(0); } 12%, 70% { transform: scale(1.5); } 85%, 100% { transform: scale(0); } }
/* Sofa: setzt sich sanft ab */
.zeichen-sofa svg { transform: translateY(-14px); opacity: 0; transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) 1s, opacity .4s var(--weg) 1s; }
.zeitstrahl.da .zeichen-sofa svg, .werte.da .zeichen-sofa svg { transform: none; opacity: 1; }
/* Gespräch: Blase erscheint, drei Punkte tippen */
.zeichen-gespraech svg { transform: scale(.4); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .5s, opacity .3s var(--weg) .5s; }
.werte.da .zeichen-gespraech svg { transform: none; opacity: 1; }
.zeichen-gespraech i { position: absolute; top: 19px; width: 3px; height: 3px; border-radius: 50%; background: var(--akzent-hell); opacity: 0; }
.zeichen-gespraech i:nth-of-type(1) { left: 17px; } .zeichen-gespraech i:nth-of-type(2) { left: 21.5px; } .zeichen-gespraech i:nth-of-type(3) { left: 26px; }
.werte.da .zeichen-gespraech i { animation: zeichen-tippen 1.4s ease-in-out 1.2s infinite; }
.werte.da .zeichen-gespraech i:nth-of-type(2) { animation-delay: 1.4s; }
.werte.da .zeichen-gespraech i:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes zeichen-tippen { 0%, 100% { opacity: .2; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* Zeitstrahl */
.zeitstrahl { --zk: 88px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.zeitstrahl::before, .zeitstrahl::after {
  content: ''; position: absolute; top: calc(var(--zk) / 2); left: calc((100% - 2 * clamp(24px, 4vw, 64px)) / 6); right: calc((100% - 2 * clamp(24px, 4vw, 64px)) / 6);
  height: 2px; margin-top: -1px; border-radius: 2px;
}
.zeitstrahl::before { background: var(--line-ink); }
.block-dunkel .zeitstrahl::before { background: var(--line-stark); }
.zeitstrahl::after { background: linear-gradient(90deg, var(--akzent-tief), var(--akzent) 60%, var(--akzent-hell)); transform: scaleX(0); transform-origin: left center; transition: transform 2s cubic-bezier(.65, 0, .35, 1) .3s; }
.zeitstrahl.da::after { transform: scaleX(1); }
.zeit-punkt { display: flex; flex-direction: column; align-items: center; text-align: center; }
.zeit-text { margin-top: clamp(22px, 2.4vw, 32px); max-width: 21em; }
.zeit-text h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 400; margin-bottom: 10px; }
.zeit-text p { font-size: 15.5px; color: var(--text-leise); margin: 0; }
.block-dunkel .zeit-text p { color: color-mix(in srgb, var(--auf-ink) 70%, transparent); }
.js .zeitstrahl .zeit-knoten { transform: scale(.5); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s var(--weg); }
.js .zeitstrahl .zeit-text { transform: translateY(18px); opacity: 0; transition: transform .8s var(--weg), opacity .8s var(--weg); }
.js .zeitstrahl.da .zeit-knoten, .js .zeitstrahl.da .zeit-text { transform: none; opacity: 1; }
.zeitstrahl.da .zeit-punkt:nth-child(1) .zeit-knoten { transition-delay: .2s; } .zeitstrahl.da .zeit-punkt:nth-child(1) .zeit-text { transition-delay: .35s; }
.zeitstrahl.da .zeit-punkt:nth-child(2) .zeit-knoten { transition-delay: 1.1s; } .zeitstrahl.da .zeit-punkt:nth-child(2) .zeit-text { transition-delay: 1.25s; }
.zeitstrahl.da .zeit-punkt:nth-child(3) .zeit-knoten { transition-delay: 2s; } .zeitstrahl.da .zeit-punkt:nth-child(3) .zeit-text { transition-delay: 2.15s; }
.zeitstrahl.da .zeit-punkt:nth-child(2) .leiste-muster i { transition-delay: 1.6s; }
.zeitstrahl.da .zeit-punkt:nth-child(3) .leiste-liefer svg { transition-delay: 2.3s; }
.zeit-knoten .leiste-zeichen { transform: scale(1.32); }
.zeit-punkt:hover .leiste-zeichen, .werte-zeile:hover .leiste-zeichen { transform: scale(1.45); }
.ablauf .knopfreihe { justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.ablauf .block-kopf { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) {
  .zeitstrahl { --zk: 64px; grid-template-columns: 1fr; gap: 34px; }
  .zeitstrahl::before, .zeitstrahl::after { top: calc(var(--zk) / 2); bottom: calc(var(--zk) / 2); left: calc(var(--zk) / 2); right: auto; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .zeitstrahl::after { transform: scaleY(0); transform-origin: center top; background: linear-gradient(180deg, var(--akzent-tief), var(--akzent)); }
  .zeitstrahl.da::after { transform: scaleY(1); }
  .zeit-punkt { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .zeit-knoten { width: var(--zk); height: var(--zk); }
  .zeit-text { margin-top: 6px; }
  .ablauf .block-kopf { text-align: left; }
  .ablauf .knopfreihe { justify-content: flex-start; }
}

/* Werte: großer Kopf links, rechts drei Zeilen mit Zeichen */
.werte-gitter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.werte-kopf { position: sticky; top: 130px; }
.werte-kopf .block-kopf { margin-bottom: 0; }
.werte-kopf h2 { max-width: none; font-size: clamp(30px, 2.9vw, 42px); }
.werte { list-style: none; margin: 0; padding: 0; }
.werte-zeile { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: clamp(20px, 2.4vw, 36px); align-items: center; padding: clamp(26px, 3vw, 40px) 0; }
.werte-zeile .zeit-knoten { grid-row: 1 / span 2; align-self: start; }
.werte-zeile h3 { font-size: clamp(30px, 3vw, 46px); font-weight: 300; margin: 0 0 8px; align-self: end; }
.werte-zeile p { grid-column: 2; font-size: 16px; color: var(--text-leise); margin: 0; max-width: 32em; }
.werte-zeile::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--weg); }
.werte.da .werte-zeile::before { transform: scaleX(1); }
.js .werte-zeile > * { opacity: 0; transform: translateX(-18px); transition: opacity .8s var(--weg), transform .8s var(--weg); }
.js .werte.da .werte-zeile > * { opacity: 1; transform: none; }
.werte.da .werte-zeile:nth-child(2)::before, .werte.da .werte-zeile:nth-child(2) > * { transition-delay: .35s; }
.werte.da .werte-zeile:nth-child(3)::before, .werte.da .werte-zeile:nth-child(3) > * { transition-delay: .7s; }
.werte.da .werte-zeile:nth-child(2) .leiste-muster i { transition-delay: 1.2s; }
.werte.da .werte-zeile:nth-child(3) .leiste-ort svg { transition-delay: 1.5s; }
@media (max-width: 900px) {
  .werte-gitter { grid-template-columns: 1fr; gap: 20px; }
  .werte-kopf { position: static; }
  .werte-zeile { grid-template-columns: 64px minmax(0, 1fr); }
  .werte-zeile .zeit-knoten { width: 64px; height: 64px; }
  .zeit-knoten .leiste-zeichen { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .zeitstrahl::after, .zeitstrahl .zeit-knoten, .zeitstrahl .zeit-text, .werte-zeile::before, .werte-zeile > *, .zeichen-kalender svg, .zeichen-sofa svg, .zeichen-gespraech svg { transition: none !important; transform: none !important; opacity: 1 !important; }
  .zeitstrahl.da .zeichen-kalender i, .werte.da .zeichen-gespraech i { animation: none; }
}

/* Auftakt: heller Abschnitt zwischen Bühne und Atelier */
.auftakt.block { padding: clamp(56px, 6.5vw, 104px) 0; }
.auftakt h2 { max-width: none; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.1; margin: 0; }
.auftakt-unten { display: grid; gap: 18px; justify-items: start; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-ink); }
.auftakt-unten p { font-size: clamp(16px, 1.15vw, 18px); color: var(--text-leise); max-width: 38em; margin: 0; }
.auftakt-unten .hinweis { margin: 0; white-space: nowrap; }
.auftakt-unten .hinweis:hover svg { transform: translateX(6px); }
/* Kompakt (Hamza 31.10.2026): Titel links, Text rechts, eine Zeile Abschnitt statt Bühne */
@media (min-width: 901px) {
  .auftakt .spur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
  .auftakt-unten { margin: 0; padding: 4px 0 4px clamp(28px, 3vw, 48px); border-top: 0; border-left: 1px solid var(--line-ink); }
}

/* ============================================================
   Handy (29.10.2026, Hamza): mehr Luft, kein seitliches Wackeln,
   Atelier als Bühne mit Glaskarten statt Foto-Text-Stapel
   ============================================================ */

/* iOS ignoriert overflow-x am body, solange html nicht mitzieht: die
   Startversätze der Einblendungen schoben die ganze Seite seitlich */
html, body { overflow-x: clip; }

@media (max-width: 700px) {
  :root { --pad: 24px; --block-pad: 104px; }
  .block { padding: var(--block-pad) 0; }
  .block-kopf { margin-bottom: 52px; }
  h2 { margin-bottom: 22px; }
  .block p + p { margin-top: 18px; }
  .knopfreihe { margin-top: 36px; gap: 14px; }
  .buehne-bold { --buehne-lage: center 50%; }
  .auftakt.block { padding: 72px 0; }
  .auftakt-unten { margin-top: 24px; padding-top: 22px; gap: 18px; }
  .zeitstrahl, .werte { margin-top: 12px; }
  .zeit-punkt + .zeit-punkt, .werte-zeile + .werte-zeile { margin-top: 20px; }
}

@media (max-width: 1000px) {
  .atelier.block { padding: 0; }
  .atelier-szene { display: grid; }
  .atelier-szene > .atelier-buehne, .atelier-szene > .atelier-ebene { grid-area: 1 / 1; }
  .atelier-szene > .atelier-buehne {
    display: block; position: sticky; top: 0; align-self: start;
    height: 100vh; height: 100svh; margin: 0; z-index: 0;
  }
  .atelier-szene .atelier-rahmen { height: 100%; border-radius: 0; box-shadow: none; }
  .atelier-szene .atelier-rahmen::after {
    background: linear-gradient(180deg, rgba(18, 16, 14, .7) 0%, rgba(18, 16, 14, .6) 20%, rgba(18, 16, 14, .18) 45%, rgba(18, 16, 14, .62) 100%);
  }
  .atelier-ebene { position: relative; z-index: 1; padding: 0 16px; }
  .atelier-spalte { width: 100%; padding-bottom: 20svh; }
  .atelier-mobilbild { display: none; }

  .atelier-kopf, .atelier-karte {
    background: rgba(18, 16, 14, .8);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px;
    padding: 26px 20px 28px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
  .atelier-kopf { margin: 0; min-height: 0; }
  .atelier-kopf h2 { color: var(--auf-bild); font-size: clamp(24px, 6.6vw, 34px); max-width: none; }
  .atelier-kopf p { color: var(--auf-bild-leise); }
  /* Der Kopf steht unten im ersten Bild, darüber bleibt das Foto frei */
  .atelier-spalte::before { content: ''; display: block; height: 52svh; }

  .atelier-schritt {
    min-height: 92svh; padding: 0 0 132px; border-top: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .atelier-schritt h3 { color: var(--auf-bild); font-size: 32px; margin-bottom: 12px; }
  .atelier-schritt p { color: var(--auf-bild-leise); font-size: 17px; }
  .atelier-nr { margin-bottom: 12px; }
  .js .atelier-schritt { opacity: 1; }
  .js .atelier-karte { opacity: .35; transform: translateY(28px) scale(.97); transition: opacity .6s var(--weg), transform .8s var(--weg); }
  .js .atelier-schritt.ist-aktiv .atelier-karte { opacity: 1; transform: none; }

  .atelier-zaehler { left: var(--pad); top: 88px; bottom: auto; }
  .atelier-zaehler b { font-size: 44px; }
  .atelier-balken { left: var(--pad); right: var(--pad); bottom: 104px; }
  .atelier .knopfreihe { margin-top: 0; }
  .atelier-bild.lage-20 img { object-position: 20% 50%; }
  .atelier-bild.lage-30 img { object-position: 30% 50%; }
  .atelier-bild.lage-45 img { object-position: 45% 50%; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .js .atelier-karte { opacity: 1; transform: none; transition: none; }
}

/* Folgt ein Duo direkt auf einen Fotoabschnitt, bleibt sein Bild auf dem
   Handy unten, sonst stößt Foto an Foto (Hamza 29.10.2026) */
@media (max-width: 1000px) {
  :is(.buehne, .bildband, .raumfahrt, .atelier) + section .duo > .duo-bild {
    order: 0; margin-top: clamp(32px, 6vw, 48px); margin-bottom: calc(var(--block-pad) * -1);
  }
}

/* Pruefbericht B1 (03.11.2026): auf dem Handy steht die Buchung vor den
   Kontaktdaten, der Termin-Knopf landet direkt beim Kalender */
@media (max-width: 900px) {
  .termin-buchung > div:last-child { order: -1; }
}
/* Pruefbericht B2: Telefonnummer im schlichten Kopf nicht abschneiden */
@media (max-width: 440px) {
  .kopf-schlicht .knopf { padding: 0 16px; font-size: 14px; }
}
