/* Cedrela · Website
   Statisch, ohne externe Quellen. Farben aus HumidorNeu/docs/design.md und dem Logo-Paket. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --grund: #17120F;
  --tief: #110A03;
  --flaeche: #1E1814;
  --erhoeht: #2A211B;
  --linie: #2E251F;
  --linie-fein: #241D18;
  --linie-stark: #5A4A3E;
  --rand-fenster: #3A2F27;
  --text: #EDE4D6;
  --text-mittel: #CFC3B2;
  --text-gedaempft: #A99B89;
  --zeder: #D4925E;
  --zeder-hell: #E0A673;
  --gold: #D5AC80;
  --gold-hell: #F1D9B5;
  --reif: #A9C79A;
  --karte-oben: #231B16;
  --karte-unten: #171009;
  --breite: 1160px;
  --breit: 1400px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(88px, 12vw, 160px);
  /* linker Rand der Inhaltsspalte, für Elemente, die bis an den Fensterrand laufen */
  --seite: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
  --weich: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Abstand für die Kopfzeile beim Springen zu Ankern. Als scroll-margin am Ziel, nicht als scroll-padding:
   scroll-padding würde die Scroll-Zeitleisten der Bewegung um 80 px verschieben (view-timeline-inset: auto). */
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* „clip“ schneidet ab, ohne einen Scrollbereich zu bilden; „position: sticky“ bleibt damit in allen Browsern verlässlich */
@supports (overflow-x: clip) { body { overflow-x: clip; } }

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--zeder); outline-offset: 3px; border-radius: 2px; }
strong { font-weight: 500; color: var(--text); }

.springen {
  position: absolute; left: -9999px; top: 8px;
  background: var(--zeder); color: var(--grund); padding: 8px 14px; z-index: 10;
}
.springen:focus { left: 8px; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.innen.schmal { max-width: 900px; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 5;
  background: rgba(23, 18, 15, 0.94);
  border-bottom: 1px solid var(--linie);
  transition: background-color .5s ease, border-color .5s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .kopf { background: rgba(23, 18, 15, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
/* Ganz oben auf der Startseite: Kopfzeile ohne Fläche, sie erscheint beim Scrollen */
/* Touch-Geräte (Handy, Tablet): keine Unschärfe hinter der Kopfzeile. Sie müsste bei jedem Scrollbild neu
   berechnet werden und kostet dort die meiste Grafikleistung; stattdessen eine fast deckende Fläche. */
@media (hover: none) and (pointer: coarse) {
  .kopf { background: rgba(23, 18, 15, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.kopf.oben { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); min-height: 44px; }
.marke img { height: 26px; width: auto; }
.marke span { font-weight: 300; letter-spacing: 0.42em; font-size: 15px; text-transform: uppercase; }
.navi { display: flex; gap: clamp(14px, 3vw, 32px); align-items: center; }
.navi a:not(.knopf) {
  color: var(--text-mittel); text-decoration: none; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 0;
}
.navi a:not(.knopf):hover { color: var(--text); }
@media (max-width: 760px) {
  .navi a:not(.knopf) { display: none; }
}
@media (max-width: 380px) { .kopf .marke span { display: none; } }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  background: var(--zeder); color: var(--grund) !important;
  border: 1px solid var(--zeder); border-radius: 999px;
  font-weight: 500; font-size: 17px; line-height: 1.2; text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.knopf:hover { background: var(--zeder-hell); border-color: var(--zeder-hell); }
.knopf:active { transform: scale(0.98); }
.knopf.leise { background: transparent; color: var(--text) !important; border-color: var(--linie-stark); }
.knopf.leise:hover { border-color: var(--text-gedaempft); background: rgba(237, 228, 214, 0.05); }
.knopf.klein-knopf { min-height: 38px; padding: 7px 18px; font-size: 15px; }

/* Typografie: große Überschriften, eng gesetzt */
.kapitel {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); margin: 0 0 18px;
}
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; margin: 0; }
h1, h2 { -webkit-hyphens: manual; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(36px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.03; }
h2 { font-size: clamp(34px, 5.2vw, 72px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.05; margin-bottom: 24px; }
h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.005em; }
p { margin: 0 0 14px; }
.leitsatz { font-size: clamp(19px, 2vw, 24px); color: var(--text-mittel); max-width: 34em; font-weight: 400; line-height: 1.45; letter-spacing: -0.005em; }
.gedaempft { color: var(--text-gedaempft); }
h2 .gedaempft { color: var(--text-gedaempft); }
.klein { font-size: 14px; }
.kleiner-titel {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--text-gedaempft); margin: 0 0 6px;
}
/* Verlauf in der Schrift (Gold zu Zeder), mit einfarbigem Ersatz */
.verlauf { color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .verlauf {
    background: linear-gradient(100deg, var(--gold-hell) 0%, var(--gold) 38%, var(--zeder) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

/* Bühne (ohne Bewegung: normaler Abschnitt; mit Bewegung: siehe „Szenen“ unten) */
.buehne { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); text-align: center; position: relative; }
.glut { display: none; }
.buehne .bildmarke { width: 96px; margin: 0 auto 26px; }
.produktname { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.01em; color: var(--text); margin: 0 0 14px; }
.produktname span { color: var(--gold); }
.buehne h1 { max-width: 12em; margin: 0 auto 26px; }
.buehne .leitsatz { margin: 0 auto 34px; max-width: 30em; }
.aktionen { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hinweis { font-size: 14px; color: var(--text-gedaempft); margin: 0; }

/* Bildschirmfotos */
.foto {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--rand-fenster); background: var(--tief);
}
.foto a { display: block; }
.foto a:focus-visible { outline-offset: -3px; }
.foto img { width: 100%; }
.buehnenfoto {
  width: min(var(--breit), calc(100% - 2 * var(--rand)));
  margin: clamp(40px, 6vw, 72px) auto 0;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.bildunterschrift { font-size: 13px; color: var(--text-gedaempft); margin-top: 14px; }
figcaption { font-size: 14px; color: var(--text-gedaempft); margin-top: 12px; line-height: 1.5; text-align: left; }
.foto figcaption { padding: 0 16px 14px; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; border-top: 1px solid var(--linie-fein); }
.kopfteil { max-width: 50em; margin-bottom: clamp(40px, 6vw, 72px); }
.kopfteil h2 { max-width: 15em; }
.kopfteil.mittig { margin-left: auto; margin-right: auto; text-align: center; }
.kopfteil.mittig h2, .kopfteil.mittig .leitsatz { margin-left: auto; margin-right: auto; }

/* Vergleich mit der Liste */
.vergleich { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--linie-stark); }
.vergleich > dl { margin: 0; padding: 26px 28px 28px 0; border-bottom: 1px solid var(--linie); }
.vergleich > dl + dl { padding-left: 28px; border-left: 1px solid var(--linie); }
.vergleich dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-gedaempft); }
.vergleich dt + dd { margin: 4px 0 18px; }
.vergleich dd { margin: 4px 0 0; font-size: 18px; line-height: 1.5; }
.vergleich dd:not(.gedaempft) { color: var(--text); }
.vergleich dt:nth-of-type(2) { color: var(--zeder); }
@media (max-width: 860px) {
  .vergleich { grid-template-columns: 1fr; }
  .vergleich > dl + dl { padding-left: 0; border-left: 0; }
}

/* Galerie: die sechs Bereiche als Karten (ohne Bewegung: seitlich wischen) */
.galerie { padding: var(--abstand) 0; background: var(--tief); border-top: 1px solid var(--linie-fein); }
.galerie-kopf h2 { margin-bottom: clamp(32px, 4.4vw, 56px); }
.galerie-spur {
  list-style: none; margin: 0; padding: 0 var(--seite) 12px; position: relative;
  display: flex; gap: clamp(14px, 1.8vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--seite);
  scrollbar-width: none;
}
.galerie-spur::-webkit-scrollbar { display: none; }
.galerie-spur:focus-visible { outline-offset: -4px; }
.karte {
  flex: none; position: relative; overflow: hidden; scroll-snap-align: start;
  width: min(940px, 84vw); height: min(620px, 72vh);
  border-radius: 28px; border: 1px solid var(--linie);
  background: linear-gradient(165deg, var(--karte-oben), var(--karte-unten) 75%);
}
.karte-text { position: relative; z-index: 1; padding: clamp(24px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px) 0; max-width: 780px; }
.karte-kapitel { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.karte-taste {
  letter-spacing: 0.04em; font-size: 12px; color: var(--text-gedaempft);
  border: 1px solid var(--linie-stark); border-radius: 6px; padding: 1px 7px;
}
.karte h3 { font-size: clamp(26px, 3.1vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 12px; text-wrap: balance; }
.karte-text p:last-child { color: var(--text-mittel); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; margin: 0; max-width: 28em; }
.karte-bild { position: absolute; left: clamp(24px, 3.4vw, 44px); top: 50%; width: 112%; }
.karte-bild img { width: 100%; border-radius: 12px; border: 1px solid var(--rand-fenster); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.galerie-punkte { display: none; }
@media (max-width: 600px) {
  /* Auf dem Handy: Text oben, darunter das Bildschirmfoto, das rechts und unten aus der Karte läuft */
  .karte { height: min(560px, 74vh); display: flex; flex-direction: column; border-radius: 24px; }
  .karte-text { padding: 22px 22px 0; }
  .karte h3 { font-size: 25px; margin-bottom: 8px; }
  .karte-text p:last-child { font-size: 15px; }
  .karte-bild { position: relative; left: auto; top: auto; flex: none; width: 170%; margin: 18px 0 0 22px; }
  .karte-bild img { border-radius: 10px; }
}

/* Produktdemo */
.demo { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--linie); }
.demo:first-of-type { border-top: 1px solid var(--linie-stark); }
.demo:last-child { padding-bottom: 0; }
.nummer {
  display: block; font-size: 13px; letter-spacing: 0.22em; color: var(--gold);
  font-weight: 500; margin-bottom: 14px;
}
.demo h3 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 16px; }
.demo-kopf { display: grid; grid-template-columns: 1fr; max-width: 44em; margin-bottom: 40px; }
.demo-kopf p { margin: 0; font-size: clamp(18px, 1.7vw, 21px); }

.demo-raster { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.ausschnitt.voll img { width: 100%; }
.detail-zeile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.detail-zeile figcaption { margin: 0; font-size: 17px; max-width: 30em; color: var(--text-mittel); }
.detail-zeile .zeilen li { font-size: 16px; }
@media (max-width: 640px) { .detail-zeile { grid-template-columns: 1fr; gap: 0; } .detail-zeile figcaption { margin-top: 12px; font-size: 14px; } }

.ausschnitt { margin: 0; }
.ausschnitt picture {
  border: 1px solid var(--rand-fenster); border-radius: 12px; overflow: hidden; background: var(--tief);
}

.demo-zweispaltig {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start;
}
.demo-zweispaltig.gespiegelt { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.demo-zweispaltig.gespiegelt .demo-text { order: 2; }
.demo-text { position: sticky; top: 104px; }
.demo-text > p { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-mittel); }
@media (max-width: 960px) {
  .demo-zweispaltig, .demo-zweispaltig.gespiegelt { grid-template-columns: 1fr; }
  .demo-zweispaltig.gespiegelt .demo-text { order: 0; }
  .demo-text { position: static; }
}

.zeilen { margin: 16px 0 0; padding: 0; list-style: none; }
.zeilen li { padding: 10px 0 10px 22px; border-top: 1px solid var(--linie); position: relative; color: var(--text-mittel); }
.zeilen li:last-child { border-bottom: 1px solid var(--linie); }
.zeilen li::before {
  content: ""; position: absolute; left: 2px; top: 21px;
  width: 8px; height: 1px; background: var(--zeder);
}

.demo-bilder { display: grid; gap: 0; }
.demo-bilder .versetzt { width: 72%; margin: 24px 0 0 auto; }
@media (max-width: 600px) { .demo-bilder .versetzt { width: 100%; margin: 20px 0 0; } }

.ausschnitt-stapel { display: grid; gap: 28px; padding-top: 8px; }
.ausschnitt-stapel picture { width: fit-content; max-width: 100%; }

/* Reiter */
.reiter-leiste {
  display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 26px; padding: 4px;
  border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche);
}
.reiter-leiste button {
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--text-gedaempft); background: none; border: 0; cursor: pointer;
  padding: 9px 20px; min-height: 44px; border-radius: 999px;
  transition: color .2s ease, background-color .25s ease;
}
.reiter-leiste button:hover { color: var(--text); }
.reiter-leiste button[aria-selected="true"] { color: var(--grund); background: var(--text); }
.reiter-titel { display: none; }
.reiter-text { max-width: 44em; color: var(--text-mittel); min-height: 3.2em; font-size: 18px; }
.reiter-feld .foto { margin-top: 18px; }
/* Ohne JavaScript: alle Ansichten untereinander */
html:not(.js) .reiter-leiste { display: none; }
html:not(.js) .reiter-titel { display: block; font-size: 22px; font-weight: 500; margin: 32px 0 8px; }
html.js .reiter-feld[hidden] { display: none; }
html.js .reiter-feld:not([hidden]) { animation: einblenden .45s ease; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) {
  .reiter-leiste { display: flex; flex-wrap: nowrap; gap: 0; justify-content: space-between; }
  .reiter-leiste button { font-size: 14px; padding-left: 10px; padding-right: 10px; }
}

/* Außerdem: Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.kachel {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  padding: clamp(24px, 2.8vw, 36px); border-radius: 26px; border: 1px solid var(--linie);
  background: linear-gradient(165deg, var(--karte-oben), var(--karte-unten) 80%);
}
.kachel.breit { grid-column: span 2; }
.kachel.ganz { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
.kachel h3 { font-size: clamp(21px, 1.9vw, 24px); margin-bottom: 6px; }
.kachel p { color: var(--text-mittel); font-size: 16px; margin: 0; max-width: 30em; }
.kachel .kachel-zahl {
  margin: 0 0 auto; padding-bottom: 28px; max-width: none;
  font-size: clamp(64px, 7.4vw, 104px); font-weight: 300; line-height: 0.95; letter-spacing: -0.04em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .kachel .kachel-zahl:not(.tasten) {
    background: linear-gradient(170deg, var(--gold-hell), var(--zeder) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
.kachel-bild { margin: 0 0 auto; padding-bottom: 26px; }
.kachel-bild img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--linie-stark); }
.tasten { display: flex; gap: 10px; }
.tasten kbd {
  font: inherit; font-size: 0.5em; font-weight: 400; letter-spacing: 0; color: var(--text);
  display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.3em;
  border: 1px solid var(--linie-stark); border-radius: 0.24em; background: var(--erhoeht);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.3);
}
.schritte { list-style: none; counter-reset: schritt; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 auto; padding: 0 0 30px; }
.schritte li {
  counter-increment: schritt; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--linie-stark);
  font-size: 16px; color: var(--text);
}
.schritte li::before {
  content: counter(schritt); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--zeder); color: var(--grund); font-weight: 500; font-size: 15px;
}
.haken { list-style: none; margin: 0 0 auto; padding: 0 0 26px; }
.haken li { position: relative; padding: 6px 0 6px 32px; color: var(--text); font-size: 16px; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--reif);
}
.haken li::after {
  content: ""; position: absolute; left: 7px; top: 13px; width: 5px; height: 9px;
  border: solid var(--reif); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.marken-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; max-width: 62%; }
.marken-chips li { border: 1px solid var(--linie-stark); border-radius: 999px; padding: 6px 15px; font-size: 15px; color: var(--text-mittel); }
@media (max-width: 860px) {
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel.breit { grid-column: 1 / -1; }
  .kachel.ganz { flex-direction: column; align-items: flex-start; }
  .marken-chips { justify-content: flex-start; max-width: none; }
}
@media (max-width: 560px) {
  .kacheln { grid-template-columns: 1fr; }
  .kachel { min-height: 0; }
  .kachel .kachel-zahl { padding-bottom: 18px; }
}

/* Vertrauen */
.vertrauen { background: var(--tief); border-top-color: var(--linie); }
.saeulen { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px double var(--linie-stark); }
.saeulen > div { padding: 30px 32px 10px 0; }
.saeulen > div + div { padding-left: 32px; border-left: 1px solid var(--linie); }
.saeulen h3 { font-size: 24px; font-weight: 500; margin-bottom: 14px; }
.saeulen p { color: var(--text-mittel); font-size: 16px; }
.saeulen-nr { font-size: 13px; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 18px !important; }
.anmerkung {
  margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--linie);
  font-size: 15px; color: var(--text-gedaempft); max-width: 52em;
}
.anmerkung span { color: var(--text); }
@media (max-width: 860px) {
  .saeulen { grid-template-columns: 1fr; }
  .saeulen > div { padding-right: 0; }
  .saeulen > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
}

/* Tabelle */
.tabelle-rahmen { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabelle th, .tabelle td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle thead th {
  font-weight: 400; color: var(--text-gedaempft); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; border-bottom-color: var(--linie-stark);
}
.tabelle tbody th { font-weight: 400; color: var(--text); width: 30%; }
.tabelle td { color: var(--text-mittel); }
.tabelle .gruppe th {
  padding-top: 30px; color: var(--gold); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  border-bottom-color: var(--linie-stark);
}
.stand-zeile { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); column-gap: 20px; align-items: baseline; }
.stand {
  font-size: 13px; letter-spacing: 0.04em; color: var(--text-gedaempft); white-space: nowrap;
}
.stand::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--linie-stark); }
.stand.ja { color: var(--reif); }
.stand.ja::before { background: var(--reif); }
.stand.voraussetzung { color: var(--gold); }
.stand.voraussetzung::before { background: var(--gold); }
.stand.nein::before { background: transparent; border: 1px solid var(--text-gedaempft); }
@media (max-width: 640px) {
  .tabelle thead { display: none; }
  .tabelle tr { display: block; border-bottom: 1px solid var(--linie); padding: 12px 0; }
  .tabelle th, .tabelle td { display: block; border: 0; padding: 0; width: auto !important; }
  .tabelle tbody th { margin-bottom: 4px; }
  .tabelle .gruppe { border-bottom-color: var(--linie-stark); padding-top: 28px; }
  .tabelle .gruppe th { padding: 0; }
  .stand-zeile { grid-template-columns: 1fr; row-gap: 2px; }
}
.doppellinie { border: 0; border-top: 3px double var(--linie-stark); margin: 0; }

/* Beta */
.beta-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.beta-einladung h2 { max-width: 12em; }
.beta-einladung > p:not(.kapitel):not(.leitsatz) { color: var(--text-mittel); max-width: 34em; }
.beta-einladung .knopf { margin-top: 12px; }
.adresse { margin-top: 12px; }
.beta-details { border-top: 1px solid var(--linie-stark); padding-top: 22px; }
.beta-details .kleiner-titel:not(:first-child) { margin-top: 30px; }
.beta-details .zeilen { margin-top: 8px; }
.ablauf { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt; display: grid; grid-template-columns: 34px 1fr; align-items: baseline;
  padding: 10px 0; border-top: 1px solid var(--linie); color: var(--text-mittel);
}
.ablauf li:last-child { border-bottom: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); color: var(--zeder); font-size: 15px; }
.beta-daten { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 30px 0 0; font-size: 15px; }
.beta-daten dt { color: var(--text-gedaempft); }
.beta-daten dd { margin: 0; color: var(--text-mittel); }
@media (max-width: 900px) { .beta-raster { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { border-top: 1px solid var(--linie-stark); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 19px; padding: 20px 0; min-height: 56px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary:hover { color: var(--gold); }
.fragen summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  background:
    linear-gradient(var(--zeder), var(--zeder)) center / 13px 1px no-repeat,
    linear-gradient(var(--zeder), var(--zeder)) center / 1px 13px no-repeat;
  transition: transform .25s ease;
}
.fragen details[open] summary::after { transform: rotate(45deg) scale(0.9); }
.antwort { overflow: hidden; }
.antwort p { color: var(--text-mittel); margin: 0; padding: 0 40px 22px 0; max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .fragen summary::after { transition: none; } }

/* Abschluss */
.abschluss {
  padding: calc(var(--abstand) * 1.2) 0; text-align: center; border-top: 1px solid var(--linie-fein);
  background: radial-gradient(ellipse 50% 46% at 50% 34%, rgba(212, 146, 94, 0.13), rgba(212, 146, 94, 0) 72%), var(--grund);
}
.bildmarke.klein { width: 112px; margin: 0 auto 34px; }
.abschluss h2 { font-size: clamp(36px, 5.8vw, 80px); max-width: 12em; margin: 0 auto 22px; }
.abschluss .leitsatz { margin: 0 auto 34px; max-width: 30em; }
.abschluss .hinweis { margin-top: 18px; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 52px 0 40px; font-size: 15px; color: var(--text-gedaempft); background: var(--tief); }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.fuss-marke p { margin: 12px 0 0; max-width: 26em; }
.fuss-titel { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-gedaempft); margin: 0 0 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li a { display: inline-block; padding: 6px 0; color: var(--text-mittel); text-decoration: none; }
.fuss li a:hover { color: var(--text); text-decoration: underline; }
.fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linie); font-size: 13px;
}
.fuss-unten p { margin: 0; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

/* Rechtstexte */
.rechtstext { max-width: 46em; padding: clamp(40px, 7vw, 80px) 0; }
.rechtstext h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; letter-spacing: -0.015em; }
.rechtstext h2 { font-size: 22px; font-weight: 500; margin: 34px 0 10px; letter-spacing: -0.005em; line-height: 1.25; }
.rechtstext h3 { font-size: 18px; margin: 22px 0 6px; }
.rechtstext p, .rechtstext li { color: var(--text-mittel); }
.rechtstext address { font-style: normal; color: var(--text); }
.rechtstext ul { padding-left: 1.2em; margin: 0 0 14px; }
.rechtstext .hervorgehoben { color: var(--text); border-left: 2px solid var(--zeder); padding-left: 16px; }
.entwurf {
  border: 1px dashed var(--zeder); border-radius: 8px; padding: 14px 18px;
  color: var(--text); background: rgba(212, 146, 94, 0.08); margin-bottom: 28px; font-size: 15px;
}

/* Leitsatz (ohne Bewegung: einfach groß gesetzt) */
.worte { padding: var(--abstand) 0; border-top: 1px solid var(--linie-fein); }
.worte-text {
  font-size: clamp(32px, 5.4vw, 80px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em;
  max-width: 15em; margin: 0 auto; text-align: center; color: var(--text); text-wrap: balance;
}
.worte-text em { font-style: normal; color: var(--gold); }

/* Reife (ohne Bewegung: Endstand) */
.reife { padding: var(--abstand) 0; border-top: 1px solid var(--linie-fein); text-align: center; }
.reife-titel { margin-bottom: 8px; }
.reife-zahl {
  margin: 18px 0 0; font-weight: 200; line-height: 0.9; color: var(--text);
  font-size: clamp(110px, 20vw, 260px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .reife-zahl > span:first-child {
    background: linear-gradient(175deg, var(--text) 20%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
.reife-einheit { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-gedaempft); margin-top: 18px; }
.reife-satz { color: var(--gold); font-size: clamp(18px, 1.9vw, 22px); margin: 18px 0 0; }
.reife-text { margin: 0 auto; max-width: 32em; }
.zeitleiste { position: relative; width: 100%; max-width: 760px; height: 64px; margin: 44px auto 34px; }
.zeitleiste > span { position: absolute; }
.zl-linie { left: 0; right: 0; top: 14px; height: 1px; background: var(--linie-stark); }
.zl-fenster { left: 34%; right: 8%; top: 8px; height: 13px; border-radius: 7px; background: rgba(169, 199, 154, 0.12); border: 1px solid rgba(169, 199, 154, 0.35); }
.zl-fortschritt { left: 0; top: 13px; height: 3px; border-radius: 2px; background: var(--zeder); width: 56%; }
.zl-punkt { top: 8px; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: var(--zeder); box-shadow: 0 0 0 5px rgba(212, 146, 94, 0.18); left: 56%; }
.zl-marke { top: 32px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gedaempft); white-space: nowrap; }
.zl-kauf { left: 0; }
.zl-min { left: 34%; transform: translateX(-50%); }
.zl-max { right: 8%; transform: translateX(50%); }
@media (max-width: 560px) {
  .zl-marke { font-size: 10px; letter-spacing: 0.08em; }
  .zl-kauf { left: 0; }
  .zl-max { right: 0; transform: none; }
}

/* ==== Szenen: nur mit JavaScript und ohne „Bewegung reduzieren“ (Klasse „bewegung“ setzt frueh.js) ====
   Fassung „durchgehend“: Jeder Scrollschritt bewegt etwas, es gibt keine Haltestrecken. Abschnitte mit der Klasse
   „vorhang“ schieben sich über die noch stehende Bühne davor, die dabei zurücktritt.
   Hier stehen nur Aufbau und Ausgangslage. Die Bewegung selbst (transform und opacity) rechnet site.js aus dem Scrollweg
   und übergibt sie dem Browser als Scroll-Zeitleiste; so läuft sie im Takt des Bildschirms (auch 120 Hz).
   Bewegt werden nur transform und opacity, Text wird nie skaliert (skalierter Text zittert beim Neuzeichnen). */

/* 0. Vorhang: der nächste Abschnitt gleitet über die stehende Bühne */
html.bewegung .vorhang {
  position: relative; z-index: 2;
  margin-top: -100vh; margin-top: -100svh;
  min-height: 100vh; min-height: 100svh;   /* deckt die stehende Bühne davor ganz ab */
  border-top: 1px solid var(--linie);
  box-shadow: 0 -30px 70px rgba(0, 0, 0, 0.55);
}
html.bewegung .worte.vorhang, html.bewegung .abschnitt.vorhang { background: var(--grund); }

/* 1. Auftritt: Text tritt zurück, das App-Fenster steigt aus der Tiefe auf und füllt dann den Bildschirm */
html.bewegung .auftritt { height: 360vh; height: 360svh; }
html.bewegung .buehne {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; margin-top: -64px;
  display: grid; place-items: center; overflow: hidden; overflow: clip; perspective: 1600px;
}
html.bewegung .buehne > * { grid-area: 1 / 1; }
html.bewegung .glut {
  display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0.35;
  background:
    radial-gradient(ellipse 60% 44% at 50% 64%, rgba(212, 146, 94, 0.24), rgba(212, 146, 94, 0) 70%),
    radial-gradient(ellipse 34% 30% at 50% 20%, rgba(241, 217, 181, 0.07), rgba(241, 217, 181, 0) 70%);
}
html.bewegung .buehne-text { padding-top: 64px; position: relative; z-index: 1; will-change: transform, opacity; }
html.bewegung .auftritt.text-weg .buehne-text { visibility: hidden; }
html.bewegung .buehnenfoto {
  margin: 64px 0 0; position: relative; z-index: 2;
  width: min(var(--breit), calc(100vw - 2 * var(--rand)), calc((100svh - 170px) * 1.6));
  /* feste Rundung: eine wechselnde Rundung müsste das große Bild in jedem Bild neu zeichnen */
  border-radius: 12px; overflow: visible;
  transform-origin: 50% 0%;
  transform: translateY(82svh) rotateX(32deg) scale(0.74);   /* Ausgangslage vor dem Aufstieg */
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
/* Touch-Geräte: kleinerer Schatten. Ein Schatten mit 120 px Unschärfe vergrößert die bewegte Bildebene stark. */
@media (hover: none) and (pointer: coarse) {
  html.bewegung .buehnenfoto { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55); }
}
html.bewegung .buehnenfoto > a { border-radius: 11px; overflow: hidden; }
/* goldene Haarlinie während des Aufstiegs: eigene Ebene, nur ihre Deckkraft ändert sich */
html.bewegung .fotorand {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(213, 172, 128, 0.14); opacity: 0;
}
html.bewegung .buehne .bildunterschrift {
  /* steht direkt unter dem Fenster oder, wenn dafür kein Platz ist, unten auf ihm (--unter setzt site.js) */
  align-self: start; margin: calc(var(--unter, 0) * 1px) auto 0; position: relative; z-index: 3;
  opacity: 0; transform: translateY(10px);
  padding: 8px 18px; border-radius: 999px; color: var(--text-mittel);
  background: rgba(17, 10, 3, 0.86); border: 1px solid var(--linie);
}
@media (max-height: 760px) {
  html.bewegung .buehne .bildmarke { width: 64px; margin-bottom: 16px; }
  html.bewegung .buehne .leitsatz { margin-bottom: 22px; }
}
@media (max-height: 640px) {
  html.bewegung .buehne .hinweis, html.bewegung .buehne .bildmarke { display: none; }
}
@media (max-width: 600px) {
  html.bewegung .auftritt { height: 300vh; height: 300svh; }
  html.bewegung .buehne .leitsatz { font-size: 17px; }
  html.bewegung .buehne .bildunterschrift { font-size: 12px; margin-left: 12px; margin-right: 12px; }
}

/* 2. Leitsatz: Wort für Wort heller, dazu eine langsame Kamerafahrt (nur verschieben) */
html.bewegung .worte { height: 300vh; height: 300svh; padding: 0; }
html.bewegung .worte-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
html.bewegung .worte-text { will-change: transform; }

/* 3. Galerie: die Kartenreihe fährt seitwärts, solange der Abschnitt steht. Die Höhe setzt site.js. */
html.bewegung .galerie { padding: 0; height: 400vh; }
html.bewegung .galerie-buehne {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; overflow: clip;   /* clip: kein eigener Scrollbereich, sonst bezöge sich die Zeitleiste der Überschrift auf ihn */
  display: flex; flex-direction: column; justify-content: center; padding-top: 56px;
}
html.bewegung .galerie-kopf h2 { margin-bottom: clamp(20px, 3vh, 40px); }
html.bewegung .galerie-spur { overflow: visible; scroll-snap-type: none; width: max-content; padding-bottom: 0; }
html.bewegung .karte {
  height: min(620px, max(340px, calc(100vh - 290px)));
  height: min(620px, max(340px, calc(100svh - 290px)));
}
html.bewegung .galerie-punkte { display: flex; justify-content: center; gap: 8px; margin-top: clamp(16px, 2.6vh, 28px); }
.galerie-punkte span { width: 8px; height: 8px; border-radius: 4px; background: var(--linie-stark); transition: width .45s var(--weich), background-color .45s ease; }
.galerie-punkte span.an { width: 30px; background: var(--gold); }
@media (max-height: 700px) {
  html.bewegung .galerie-kopf .kapitel { display: none; }
}
@media (max-width: 600px) {
  html.bewegung .karte { height: min(560px, max(360px, calc(100vh - 220px))); height: min(560px, max(360px, calc(100svh - 220px))); }
}

/* 4. Reife: Zähler und Zeitleiste laufen mit; Titel und Zahl steigen verschieden schnell (Tiefe ohne Skalieren) */
html.bewegung .reife { height: 300vh; height: 300svh; padding: 0; }
html.bewegung .reife-buehne { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 24px; }
html.bewegung .reife-satz, html.bewegung .reife-text { opacity: 0; transform: translateY(14px); }
html.bewegung .reife-titel, html.bewegung .reife-zahl { will-change: transform; }
html.bewegung .zl-fortschritt { transform-origin: 0 50%; }
@media (max-height: 760px) {
  html.bewegung .reife-zahl { font-size: clamp(80px, 14vw, 160px); }
  html.bewegung .zeitleiste { margin: 28px auto 22px; }
}

/* 5. Bilder und Text erscheinen gekoppelt an den Scrollweg, rückwärts genauso. Ausgangslage: sichtbar */
html.bewegung .auftauchen { transform-origin: 50% 100%; }
