/* Startseite des Funnels. Zuerst fürs Handy (Instagram öffnet sie im Hochformat). Zentriert, flach und vollbreit.
   Aufbau wie mikehillebrand.com, nur aus Glas: Leiste unten, Menü mit Untermenü, Überschriften als Glasschrift („Bühnen“).
   Schriften und Farben kommen aus seite.css, gezeichnet wird in js/start.js. */
.start { display: block; }
code { font: .92em ui-monospace, Menlo, Consolas, monospace; font-variation-settings: normal; letter-spacing: 0; }
.claude { color: #d97757; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
:root { --leiste-unten: max(8px, env(safe-area-inset-bottom)); }

/* ---------- Leiste unten (wie auf der Hauptseite: Menüknopf, Marke, Aktion), drei Stücke Frostglas, die ineinanderfließen.
   ::before zeichnet die Seite dahinter weich (das kann nur CSS), darüber liegt das Glas halb durchsichtig. Nichts bewegt sich. ---------- */
.leiste { position: fixed; left: 50%; bottom: var(--leiste-unten); transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: stretch; gap: 3px; padding: 12px 14px 18px; color: #fff; white-space: nowrap;
  font-family: var(--titel); font-variation-settings: "wght" 600; text-transform: uppercase; font-size: 1.4rem; line-height: 1; letter-spacing: .05em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.leiste::before { content: ""; position: absolute; inset: 12px 14px 18px; z-index: -2; border-radius: 18px;
  background: rgba(18, 17, 58, .34); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
.leiste a { display: flex; align-items: center; gap: 9px; height: 52px; padding: .08em 20px 0; color: #fff; text-decoration: none; }
.leiste__burger { all: unset; display: block; position: relative; width: 54px; height: 52px; cursor: pointer; border-radius: 18px 6px 6px 18px; }
.leiste__burger i { position: absolute; left: 15px; width: 24px; height: 2px; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.leiste__burger i:nth-child(1) { top: 21px; }
.leiste__burger i:nth-child(2) { top: 29px; }
.menue-offen .leiste__burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menue-offen .leiste__burger i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.leiste__marke { border-radius: 6px; }
.leiste__marke img { display: block; width: 24px; height: 24px; margin-top: -.08em; }
.leiste__kauf { border-radius: 6px 18px 18px 6px; }
.leiste :focus-visible, .menue :focus-visible { outline: 2px solid #FFAC42; outline-offset: -4px; }

/* ---------- Menü: Frostglas-Tafel über der Leiste, die Seite dahinter bleibt weichgezeichnet sichtbar.
   Untermenü tauscht den Inhalt, die Tafel wächst weich mit. ---------- */
.menue { position: fixed; inset: 0; z-index: 900; background: rgba(18, 17, 58, .5); color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); opacity: 0; transition: opacity .3s ease;
  touch-action: none; overscroll-behavior: contain; }
.menue[hidden] { display: none; }
.menue-offen .menue { opacity: 1; }
.menue__tafel { position: absolute; left: 50%; bottom: calc(var(--leiste-unten) + 84px); transform: translateX(-50%);
  width: min(22rem, 100vw - 32px); border-radius: 24px; overflow: hidden; transition: height .38s cubic-bezier(.2, .8, .2, 1); }
.menue ul { list-style: none; margin: 0; padding: 0; }
.menue li { position: relative; border-top: 1px solid rgba(255, 255, 255, .22); }
.menue__liste li:first-child { border-top: 0; }
.menue a, .menue__unter header { display: flex; align-items: center; justify-content: center; height: 52px; padding-top: .08em; color: #fff; text-decoration: none;
  font-family: var(--titel); font-variation-settings: "wght" 500; text-transform: uppercase; font-size: 1.65rem; line-height: 1; letter-spacing: .03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.menue a:hover, .menue a:focus-visible, .menue button:hover { background: rgba(255, 255, 255, .16); }
.menue__liste .cta a { background: rgba(255, 255, 255, .14); font-variation-settings: "wght" 700; }
.menue button { all: unset; display: grid; place-items: center; cursor: pointer; width: 52px; height: 52px; }
.menue button svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }
.menue [data-unter] { position: absolute; right: 0; top: 0; border-left: 1px solid rgba(255, 255, 255, .22); }
.menue__unter[hidden], .menue__liste[hidden] { display: none; }
.menue__unter header { justify-content: space-between; padding-left: 20px; font-variation-settings: "wght" 700; }

/* ---------- Kopfbereich wie die Szene im Studio: Glasschrift, Karte und Knopf aus Glas, dazu eine Linse,
   die dem Finger folgt und mit allem verschmilzt. Alles auf der Mittelachse, unten bleibt Platz für die Leiste. ---------- */
.held { position: relative; min-height: max(100svh, 740px); overflow: hidden; background: #12113a; color: #fff; touch-action: pan-y; text-align: center; }
.held [data-glas]:not([data-glas="text"]) { text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
/* Glasschrift: font-weight statt font-variation-settings, weil glas.js die Schrift für die Maske aus font-weight und font-family liest */
.held__wort { position: absolute; left: 0; right: 0; top: 7%; margin: 0; text-align: center; pointer-events: none;
  font-family: var(--titel); font-weight: 600; font-variation-settings: normal; font-size: min(58vw, 38svh); letter-spacing: 0; line-height: .9; }
.held__karte { position: absolute; left: 50%; transform: translateX(-50%); width: min(100% - 32px, 34rem); bottom: 226px;
  padding: 20px 22px 22px; border-radius: 28px; }
.held__karte h1 { font-size: clamp(2.4rem, 10.5vw, 3.5rem); line-height: .94; margin: 0 0 .5rem; padding: 0; letter-spacing: 0;
  color: #fff; background: none; -webkit-text-fill-color: currentColor; }
.held__karte p { margin: 0; font-size: .95rem; line-height: 1.45; opacity: .94; font-variation-settings: "wght" 200; }
.held__knopf { position: absolute; left: 50%; transform: translateX(-50%); width: min(100% - 32px, 22rem); bottom: 146px; height: 62px;
  display: grid; place-items: center; padding-top: .1em; border-radius: 999px; color: #fff; text-decoration: none;
  font-family: var(--titel); font-variation-settings: "wght" 600; text-transform: uppercase; font-size: 1.75rem; line-height: 1; letter-spacing: .04em; }
.held__knopf:focus-visible, .held__looks button:focus-visible { outline: 2px solid #FFAC42; outline-offset: 4px; }
.held__looks { position: absolute; left: 16px; right: 16px; bottom: 94px; display: flex; justify-content: center; gap: 0 1.15rem; }
.held__looks button { all: unset; cursor: pointer; padding: .55rem 0 .25rem; color: rgba(255, 255, 255, .72); border-bottom: 2px solid transparent;
  font-family: var(--titel); font-variation-settings: "wght" 500; text-transform: uppercase; font-size: 1.15rem; line-height: 1; letter-spacing: .05em; }
.held__looks button[aria-pressed="true"] { color: #fff; border-color: #FFAC42; }
.held__linse { position: absolute; left: 0; top: 0; width: min(36vmin, 180px); height: min(36vmin, 180px); border-radius: 50%;
  touch-action: none; cursor: grab; will-change: transform; }

/* ---------- Bühne: Überschrift als Glasschrift vor dem Verlauf der Marke. Jede Zeile ist ein eigenes Element (Glasschrift ist einzeilig).
   Größe: so groß, dass die längste Zeile (--z Zeichen) in die Breite und alle Zeilen (--n) in gut die halbe Höhe passen. ---------- */
.buehne { position: relative; overflow: hidden; display: grid; place-items: center; padding: 3.4rem 16px 3.6rem; background: var(--sonne) var(--akzent); color: #fff; }
.buehne__titel { position: relative; margin: 0; padding: 0; border: 0; color: #fff;
  font-family: var(--titel); font-weight: 600; font-variation-settings: normal; text-transform: uppercase; letter-spacing: 0; line-height: .9;
  font-size: min(calc((100vw - 2rem) / (var(--z) * .42)), calc(62svh / var(--n)), 15rem); }
.buehne__titel span { display: block; white-space: nowrap; }
.buehne .hand { position: absolute; right: -.12em; bottom: -.3em; transform: rotate(-6deg); pointer-events: none; white-space: nowrap;
  font: normal .46em/.8 "Pure Heart", cursive; font-variation-settings: normal; text-transform: none; letter-spacing: 0; color: #fff;
  text-shadow: 0 2px 14px rgba(1, 1, 1, .45); }

/* ---------- Abschnitte: Bühne oben, darunter der Inhalt auf Weiß, auf der Mittelachse ---------- */
.abschnitt { text-align: center; }
.abschnitt__innen { max-width: 44rem; margin: 0 auto; padding: 2.6rem 16px 3.6rem; }
.abschnitt__innen > :first-child { margin-top: 0; }
.klein { font-size: .85rem; color: var(--leise); font-variation-settings: "wght" 200; }
.film { display: block; width: min(100%, 22rem); aspect-ratio: 9 / 16; background: #12113a; margin: 0 auto; }
.film--studio { width: min(100%, 30rem); height: auto; aspect-ratio: auto; margin-bottom: 1.6rem; }
.reihen { margin: 0; border-top: 2px solid var(--schrift); }
.reihen div { padding: 1.3rem 0 1.15rem; border-bottom: 1px solid var(--linie); scroll-margin-top: 1rem; }
.reihen dt { font-family: var(--titel); font-variation-settings: "wght" 600; text-transform: uppercase; font-size: 2.1rem; line-height: 1; letter-spacing: .01em; }
.reihen dd { margin: .45rem auto 0; max-width: 34rem; color: #2a2a2d; }
.schritte { margin: 0; padding: 0; list-style: none; counter-reset: schritt; border-top: 2px solid var(--schrift); }
.schritte li { counter-increment: schritt; padding: 1.3rem 0 1.25rem; border-bottom: 1px solid var(--linie); font-size: 1.1rem; }
.schritte li::before { content: counter(schritt); display: block; margin: 0 auto .3rem; width: max-content; padding: 0 .4em;
  font-family: var(--titel); font-variation-settings: "wght" 600; font-size: 4.2rem; line-height: .92;
  color: var(--akzent); background: var(--sonne); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.schritte li > span { display: block; max-width: 34rem; margin: 0 auto; }
.abschnitt--kauf .knopf { display: block; width: 100%; text-align: center; }
details { border-bottom: 1px solid var(--linie); }
details:first-of-type { border-top: 2px solid var(--schrift); }
summary { cursor: pointer; padding: 1.05rem 0; font-size: 1.1rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: inline-block; margin-left: .5rem; color: var(--akzent);
  font-family: var(--titel); font-variation-settings: "wght" 600; font-size: 1.6rem; line-height: 0; vertical-align: -.1em; }
details[open] summary::after { content: "–"; }
details p { margin: 0 auto 1.2rem; max-width: 36rem; color: #2a2a2d; }
details ~ .knopf { margin-top: 2.25rem; }
.mhm-hinweis { bottom: calc(var(--leiste-unten) + 66px); } /* über der Leiste */
.start + .fuss { padding-bottom: 7.5rem; } /* Platz für die Leiste */

@media (min-width: 48rem) {
  .held__wort { top: 5%; font-size: min(36vw, 44svh); }
  .buehne { padding: 5rem 2.5rem 5.2rem; }
  .abschnitt__innen { padding: 3.6rem 2.5rem 5rem; }
  .abschnitt--kauf .knopf { width: auto; display: inline-block; }
}
