/* nutzdiechance.de – Prototyp Startseite
   Farben: Schwarz, warmes Off-White, Gold nur für Zahlen, Linien und den einen Button. */

:root {
  --bg:     oklch(12% 0.006 85);
  --bg2:    oklch(16% 0.007 85);
  --ink:    oklch(93% 0.014 82);
  --muted:  oklch(70% 0.008 85);
  --gold:   oklch(74% 0.135 87);
  --line:   oklch(93% 0.014 82 / 0.14);
  --line-2: oklch(93% 0.014 82 / 0.32);
  --pad:    clamp(1.25rem, 4.2vw, 4.5rem);
  --head:   'Anton', 'Impact', sans-serif;
  --body:   'Inter', system-ui, sans-serif;
  --serif:  'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gold { color: var(--gold); }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--bg); padding: .6rem 1rem; z-index: 300; }
.skip:focus { left: 0; }

/* ---------- Typo ---------- */
.kicker { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.h2 { font: 400 clamp(2.3rem, 5.4vw, 5rem)/.98 var(--head); text-transform: uppercase; letter-spacing: .004em; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 34em; }
.fine { font-size: .8rem; line-height: 1.5; color: var(--muted); max-width: 36em; }
.more {
  display: inline-block; font-size: .9rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: .2rem; margin-top: 1.4rem;
  transition: color .2s;
}
.more:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: oklch(14% 0.01 85);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: 1rem 1.7rem; border-radius: 2px; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: oklch(80% 0.14 87); }
.btn--lg { font-size: 1.1rem; padding: 1.2rem 2.2rem; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }

/* ---------- Kopf, Menü, Rail ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem var(--pad);
  background: linear-gradient(to bottom, oklch(10% 0.006 85 / .85), transparent);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: oklch(10% 0.006 85 / .94); border-bottom-color: var(--line); }
.top__name { text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.top__nav { display: flex; align-items: center; gap: 1.8rem; }
.top__book { font-size: .85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .15rem; }
.top__menu, .menu__close {
  background: none; border: 1px solid var(--line-2); color: var(--ink);
  font: 600 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: .55rem 1rem; border-radius: 2px; cursor: pointer;
}
.top__menu:hover, .menu__close:hover { border-color: var(--gold); color: var(--gold); }

.menu { position: fixed; inset: 0; z-index: 200; background: var(--bg); padding: 6rem var(--pad) 2rem; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__list { list-style: none; display: grid; gap: .2rem; }
.menu__list a {
  display: block; font: 400 clamp(1.8rem, 5vw, 3.6rem)/1.15 var(--head); text-transform: uppercase;
  text-decoration: none; padding: .25rem 0; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .25s;
}
.menu__list a:hover { color: var(--gold); padding-left: 1rem; }
.menu__close { position: absolute; top: 1.1rem; right: var(--pad); }

.rail {
  position: fixed; left: .9rem; top: 50%; transform: translateY(-50%);
  z-index: 50; list-style: none; display: none; flex-direction: column; gap: 1rem;
}
.rail li { height: 1px; width: 12px; background: var(--ink); opacity: .35; transition: width .3s, opacity .3s, background .3s; }
.rail li span { display: none; }
.rail li.is-on { width: 28px; background: var(--gold); opacity: 1; }
@media (min-width: 1100px) { .rail { display: flex; } }

/* ---------- 01 Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem var(--pad) 3.2rem; }
.hero__portrait {
  position: absolute; top: 0; right: 0; height: 100%; width: min(62vw, 960px); z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%);
          mask-image: linear-gradient(to right, transparent 0, #000 42%);
}
.hero__portrait img { width: 100%; height: 118%; object-fit: cover; object-position: 55% 22%; will-change: transform; }
.hero__body { position: relative; z-index: 2; max-width: 62rem; }
.hero__kicker { margin-bottom: 1.4rem; }
.hero__h { font: 400 clamp(3.1rem, 10.2vw, 10.4rem)/.9 var(--head); text-transform: uppercase; letter-spacing: .002em; }
.hero__h .line { display: block; overflow: hidden; padding-block: .14em .02em; margin-top: -.1em; }
.hero__h .line > span { display: inline-block; animation: rise .95s cubic-bezier(.2,.7,.1,1) both; }
.hero__h .line:nth-child(2) > span { animation-delay: .08s; }
.hero__h .line:nth-child(3) > span { animation-delay: .2s; }
.hero__h .line:nth-child(4) > span { animation-delay: .28s; }
.hero__h .line--2 { font: italic 400 .27em/1.25 var(--serif); text-transform: none; letter-spacing: 0; margin-top: .5em; padding-block: .15em; color: var(--ink); }
.hero__h em { font-style: normal; color: var(--gold); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__p { max-width: 31em; margin: 2rem 0 1.8rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.hero__proof { font-size: .85rem; color: var(--muted); }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 3.2rem; z-index: 2;
  display: none; align-items: center; gap: .8rem; text-decoration: none;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll span { width: 1px; height: 64px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }
@media (min-width: 900px) { .hero__scroll { display: flex; } }
@media (max-width: 899px) {
  .hero { padding-top: 5.5rem; }
  .hero__portrait { position: relative; width: 100%; height: 48svh; margin: 0 calc(var(--pad) * -1); width: calc(100% + var(--pad) * 2); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .hero__portrait img { height: 100%; object-position: 62% 18%; }
  .hero { justify-content: flex-start; }
  .hero__body { margin-top: -4rem; }
}

/* ---------- Scroll-Szenen (Basis = statisch, ohne JS lesbar) ---------- */
.scene { padding: clamp(4rem, 9vw, 9rem) var(--pad); border-top: 1px solid var(--line); }
.scene__grid { display: grid; gap: 3rem; max-width: 92rem; margin: 0 auto; }
.scene__text .h2 { margin: 1rem 0 2.2rem; max-width: 11em; }
.steps { display: grid; gap: 1.6rem; }
.step { display: grid; grid-template-columns: 5.2rem 1fr; gap: .5rem 1.2rem; align-items: baseline; }
.step__n { font: 400 .8rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.step__p { font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.4; max-width: 24em; }
.step__p strong { font-weight: 700; }
.step .fine { grid-column: 2; margin-top: .6rem; }
.steps--elf .step { grid-template-columns: 7.6rem 1fr; }
.ei .step__n { font-family: var(--head); font-size: 1.5rem; letter-spacing: .02em; }

.lens { position: relative; width: min(100%, 34rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-inline: auto; background: #000; box-shadow: 0 0 0 1px var(--line-2); }
.lens__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens__shade { position: absolute; inset: 0; background: #000; opacity: 0; }
.lens__num { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lens__big { white-space: nowrap; }
.lens__val, .lens__eur { font: 400 clamp(4rem, 9vw, 8rem)/1 var(--head); color: var(--gold); }
.lens__num small { display: block; margin-top: .4rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lens__gans { display: none; }

.ticks { list-style: none; display: none; justify-content: center; gap: 2.2rem; margin-top: 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticks li { padding-bottom: .5rem; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.ticks li.is-on { color: var(--gold); border-color: var(--gold); }

.elf__note { margin-top: 1.8rem; }

/* Statisch (mobil / reduzierte Bewegung): beide Bilder sichtbar */
.ei .scene__visual { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; width: 100%; max-width: 32rem; margin-inline: auto; }
.ei .lens { grid-column: 1 / -1; }

.pitch { width: 100%; height: auto; display: block; }
.pitch__lines * { stroke: var(--line-2); stroke-width: 1.5; }
.pitch__arrows path { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .75; }
.dot { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; }
.dot__f { fill: var(--gold); }

/* Statische Version: Gans, Ei und Zahl als Streifen, alle Spieler gefüllt */
.ei .lens { display: block; }
.ei .lens__gans { display: block; width: 50%; left: 0; right: auto; border-radius: 0; }
.ei .lens__egg { width: 50%; left: 50%; clip-path: none; }
.ei .lens { aspect-ratio: 2 / 1; border-radius: 1rem; width: 100%; }
.ei .lens__shade { display: none; }
.ei .lens__num { display: none; }

/* ---------- Scrollytelling (nur Desktop + Bewegung erlaubt; JS setzt .js-scrolly) ---------- */
@media (min-width: 900px) {
  .js-scrolly .scene {
    min-height: 100svh; padding-block: 6.5rem 4rem; display: flex; align-items: center; border-top: 0;
  }
  .js-scrolly .scene__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 5vw; width: 100%; }
  .js-scrolly .scene__text .h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); max-width: 15em; margin-bottom: 1.6rem; }
  .js-scrolly .steps { display: grid; gap: 1.3rem; }
  .js-scrolly .step__p { font-size: clamp(1.05rem, 1.45vw, 1.35rem); }
  .js-scrolly .ticks { display: flex; }

  .js-scrolly .ei .scene__visual { display: block; max-width: none; }
  .js-scrolly .ei .lens { aspect-ratio: 1; border-radius: 50%; width: min(38vw, 68svh); display: block; }
  .js-scrolly .ei .lens__gans { display: block; width: 100%; left: 0; }
  .js-scrolly .ei .lens__egg { width: 100%; left: 0; clip-path: circle(0% at 50% 50%); transition: clip-path .6s ease; }
  .js-scrolly .ei[data-state="1"] .lens__egg, .js-scrolly .ei[data-state="2"] .lens__egg { clip-path: circle(72% at 50% 50%); }
  .js-scrolly .ei .lens__shade { display: block; transition: opacity .5s ease; }
  .js-scrolly .ei[data-state="2"] .lens__shade { opacity: .78; }
  .js-scrolly .ei .lens__num { display: flex; opacity: 0; transition: opacity .5s ease; }
  .js-scrolly .ei[data-state="2"] .lens__num { opacity: 1; }
  .js-scrolly .ei .lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold); opacity: .35; pointer-events: none; }
}


@media (max-width: 899px) {
  .scene__visual { order: -1; }
  .top__name { white-space: nowrap; }
}
@media (max-width: 600px) { .top__book { display: none; } }

/* ---------- 04 Zahlen ---------- */
.facts { padding: clamp(5rem, 10vw, 10rem) var(--pad); border-top: 1px solid var(--line); background: var(--bg2); }
.facts__h { max-width: 9em; margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.facts__list { list-style: none; display: grid; gap: 3rem; max-width: 92rem; margin: 0 auto; }
.fact__n { font: 400 clamp(5rem, 13.5vw, 12.5rem)/.85 var(--head); color: var(--gold); white-space: nowrap; }
.fact__star { font-size: .6em; vertical-align: .08em; }
.fact__t { margin-top: 1rem; max-width: 17em; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--ink); }
@media (min-width: 900px) {
  .facts__list { grid-template-columns: repeat(12, 1fr); align-items: start; gap: 0 2rem; }
  .fact--a { grid-column: 1 / span 5; }
  .fact--b { grid-column: 6 / span 4; margin-top: 6rem; }
  .fact--c { grid-column: 10 / span 3; margin-top: 2.5rem; }
}

/* ---------- 05 Über mich ---------- */
.about { padding: clamp(5rem, 10vw, 10rem) var(--pad); display: grid; gap: 3rem; max-width: 100rem; margin: 0 auto; }
.about__photo { position: relative; }
.about__photo img { width: 100%; max-width: 34rem; aspect-ratio: 3 / 4; object-fit: cover; }
.about__body .h2 { margin: 1rem 0 1.6rem; max-width: 9em; }
.quote { margin-top: 2.2rem; border-left: 1px solid var(--gold); padding-left: 1.4rem; max-width: 30em; }
.quote p { font: italic 400 clamp(1.15rem, 1.7vw, 1.55rem)/1.45 var(--serif); }
.quote footer { margin-top: .7rem; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.quote--2 { margin-left: clamp(0rem, 5vw, 4rem); }
.links { display: flex; flex-wrap: wrap; gap: .2rem 2rem; }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: end; }
  .about__photo { margin-left: -2vw; }
  .about__body { padding-bottom: 3rem; }
}

/* ---------- 06 Termin ---------- */
.book { padding: clamp(6rem, 12vw, 12rem) var(--pad); border-top: 1px solid var(--line); background: var(--bg2); }
.book__h { font: 400 clamp(3rem, 9.4vw, 9.5rem)/.92 var(--head); text-transform: uppercase; margin: 1.2rem 0 1.4rem; max-width: 12em; text-wrap: balance; }
.book__p { font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--muted); max-width: 28em; }
.book__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 2.4rem; }
.tel { font-size: 1.05rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: .15rem; }
.tel:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Fuß ---------- */
.foot { padding: 4rem var(--pad) 6.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot__grid { display: grid; gap: 2.4rem; max-width: 92rem; }
.foot__name { font: 400 1.6rem var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.foot__h { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .8rem; }
.foot ul { list-style: none; display: grid; gap: .35rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__ki { max-width: 30em; font-size: .78rem; }
.foot__legal { margin-top: 2.6rem; font-size: .78rem; }
@media (min-width: 900px) {
  .foot { padding-bottom: 3rem; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ---------- Mobile Dock ---------- */
.dock { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: oklch(10% 0.006 85 / .96); border-top: 1px solid var(--line-2); }
.dock a { text-align: center; padding: 1rem .5rem; font-size: .85rem; font-weight: 600; text-decoration: none; }
.dock__main { background: var(--gold); color: oklch(14% 0.01 85); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Cursor: goldenes Ei, folgt verzögert (nur Maus) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; width: 16px; height: 21px; margin: -10px 0 0 -8px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 34% 28%, oklch(90% 0.09 92), var(--gold) 52%, oklch(56% 0.12 80));
  pointer-events: none; z-index: 400; opacity: 0;
  transition: width .25s, height .25s, margin .25s, background .25s, border-color .25s, opacity .25s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 40px; height: 52px; margin: -26px 0 0 -20px; background: transparent; border: 1px solid var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__h .line > span { animation: none; }
  .hero__scroll span::after { animation: none; }
  .btn, .more { transition: none; }
  .cursor { display: none; }
}

/* Links im Fließtext: unterstrichen (Barrierefreiheit) */
.foot p a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* Goldene Schlagwörter in Überschriften */
.h2 em, .h em, .h3 em, .book__h em { font-style: normal; color: var(--gold); }

/* ---------- Ruhepunkte: zeitgesteuerte Übergänge (nur mit .js-scrolly) ---------- */
.step__s { margin-top: .5rem; font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.5; color: var(--muted); max-width: 30em; }
.step__calc { margin-top: .9rem; }
@media (min-width: 900px) {
  .js-scrolly .step { opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
  .js-scrolly .step.is-shown { opacity: 1; visibility: visible; transform: none;
    transition: opacity .5s ease, transform .5s ease, visibility 0s; }
  .js-scrolly .elf .step__p, .js-scrolly .elf .step__n { transition: color .5s ease; }
  .js-scrolly .elf .step.is-past .step__p { color: oklch(78% .006 85); }
  .js-scrolly .elf .step.is-past .step__n { color: oklch(62% .06 87); }
  .js-scrolly .elf .step.is-cur .step__p, .js-scrolly .elf .step.is-cur .step__n { color: var(--gold); }
  .js-scrolly .pos .dot__f { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .5s ease, transform .5s ease; }
  .js-scrolly .pos.is-lit .dot__f { opacity: 1; transform: none; }
  .js-scrolly .pitch__arrows path { transition: stroke-dashoffset .6s ease; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .js-scrolly .scene { padding-block: 5.5rem 2rem; }
  .js-scrolly .scene__text .h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); margin: .6rem 0 1rem; }
  .js-scrolly .steps { gap: .8rem; }
  .js-scrolly .step__p { font-size: 1rem; line-height: 1.35; }
  .js-scrolly .step__s { font-size: .9rem; margin-top: .3rem; }
  .js-scrolly .elf__note { margin-top: 1rem; }
}

/* Zweite Schrift: Unterzeile in Überschriften (Serifenschrift, Groß-/Kleinschreibung) */
.hsub { display: block; margin-top: .42em; font: italic 400 max(.5em, 1.2rem)/1.3 var(--serif); text-transform: none; letter-spacing: 0; color: var(--ink); text-wrap: balance; max-width: 34em; }
.hsub em { font-style: italic; color: var(--gold); }
