/* Kegelclub Manager – Website
   Hell und dunkel folgen dem System. Bewegung ist optional (prefers-reduced-motion). */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --accent: #2563eb;
  --accent-text: #0a58ca;
  --good: #15803d;
  --warn: #b45309;
  --bad: #c62828;
  --on-good: #ffffff;
  --phone-bg: #f2f2f7;
  --phone-card: #ffffff;
  --shadow-phone: 0 60px 100px -40px rgba(20, 30, 60, .5), 0 25px 45px -25px rgba(20, 30, 60, .4);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0d0d10;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .12);
    --accent: #3b82f6;
    --accent-text: #6ea8ff;
    --good: #4ade80;
    --warn: #fbbf24;
    --bad: #ff7b72;
    --on-good: #04130a;
    --phone-bg: #000000;
    --phone-card: #1c1c1e;
    --shadow-phone: 0 60px 110px -40px rgba(80, 120, 255, .35), 0 25px 45px -25px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { width: min(1120px, 100% - 48px); margin-inline: auto; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.brand span, .btn { white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 2px; transition: color .2s; }
.nav-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; background: var(--accent); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px var(--accent); }
.btn-light { background: #fff; color: #0b3aa8; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.is-soon { cursor: default; opacity: .96; }
.is-soon:hover { transform: none; }
.link-arrow { color: var(--accent-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(120px, 20vh, 190px) 24px 0; text-align: center; }
.hero-copy { --hp: 0; width: min(900px, 100%); margin-inline: auto; transform: translateY(calc(var(--hp) * -34px)) scale(calc(1 - var(--hp) * .05)); opacity: calc(1 - var(--hp) * 1.15); will-change: transform, opacity; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-text); letter-spacing: .01em; margin-bottom: 18px; }
.eyebrow.center { text-align: center; }
h1 { font-size: clamp(46px, 9vw, 104px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.lead { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.32; color: var(--muted); max-width: 30ch; margin: 26px auto 0; font-weight: 500; letter-spacing: -.01em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; margin-top: 34px; }
.cta.center { justify-content: center; }
.hero h1, .hero .lead, .hero .eyebrow, .hero .cta { animation: rise .9s var(--ease) both; }
.hero .lead { animation-delay: .08s; }
.hero .cta { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Story: Telefon bleibt stehen, Inhalte wechseln ---------- */
.story { position: relative; margin-top: clamp(0px, 4vh, 40px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(1120px, 100% - 48px); margin-inline: auto; }
.steps { grid-area: 1 / 1; }
.phone-col { grid-area: 1 / 2; position: sticky; top: 0; height: 100svh; align-self: start; display: grid; place-items: center; }
.step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 440px; opacity: .28; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step-tag { font-size: 14px; font-weight: 700; color: var(--accent-text); margin-bottom: 14px; letter-spacing: .02em; }
.step h3 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.step p:last-child { margin-top: 18px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--muted); font-weight: 500; }

/* Telefon */
.phone {
  --tilt: -6; --ty: 0;
  position: relative; width: 310px; aspect-ratio: 310 / 640; padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #3a3a3f, #0c0c0e 55%, #26262a);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .16);
  transform: perspective(1800px) rotateY(calc(var(--tilt) * 1deg)) rotateX(2deg) translateY(calc(var(--ty) * 1px));
  transition: transform .3s linear;
  will-change: transform;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--phone-bg); font-size: 13.5px; line-height: 1.3; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 6; }
.statusbar { position: absolute; z-index: 5; top: 14px; left: 26px; right: 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; transition: color .4s; }
.battery { width: 24px; height: 11px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; opacity: .85; }
.battery i { position: absolute; inset: 1.5px; right: 6px; background: currentColor; border-radius: 2px; }
.phone[data-scene="5"] .statusbar { color: #fff; }

.scr {
  position: absolute; inset: 0; padding: 56px 14px 88px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(16px) scale(.985); pointer-events: none;
  transition: opacity .45s ease, transform .7s var(--ease);
}
.scr.is-on { opacity: 1; transform: none; }
.lt-row { display: flex; align-items: center; justify-content: space-between; }
.lt { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin: 4px 2px 6px; }
.c { background: var(--phone-card); border-radius: 18px; padding: 12px 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.k { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.big { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.big.xl { font-size: 30px; letter-spacing: -.035em; }
.sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; background: color-mix(in srgb, currentColor 14%, transparent); }
.chip.warn { color: var(--warn); }
.chip.good { color: var(--good); }
.meter { height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 22%, transparent); margin: 10px 0 6px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 1s var(--ease) .25s; }
.scr.is-on .meter i { width: var(--w); }

.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.a1 { background: #2563eb; } .a2 { background: #15803d; } .a3 { background: #7e22ce; } .a4 { background: #c2410c; } .a5 { background: #0f766e; }
.avatar.more { background: color-mix(in srgb, var(--muted) 35%, transparent); color: var(--text); }
.stack { display: flex; margin-top: 8px; }
.stack .avatar { margin-left: -7px; box-shadow: 0 0 0 2.5px var(--phone-card); }
.stack .avatar:first-child { margin-left: 0; }
.scr .stack .avatar { transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.scr.is-on .stack .avatar { transform: none; opacity: 1; }
.scr.is-on .stack .avatar:nth-child(1) { transition-delay: .3s; } .scr.is-on .stack .avatar:nth-child(2) { transition-delay: .38s; }
.scr.is-on .stack .avatar:nth-child(3) { transition-delay: .46s; } .scr.is-on .stack .avatar:nth-child(4) { transition-delay: .54s; }
.scr.is-on .stack .avatar:nth-child(5) { transition-delay: .62s; } .scr.is-on .stack .avatar:nth-child(6) { transition-delay: .7s; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--muted) 18%, transparent); font-size: 12px; font-weight: 600; text-align: center; }
.seg span { padding: 5px 0; border-radius: 8px; color: var(--muted); }
.seg .on { background: var(--phone-card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.row { position: relative; display: flex; align-items: center; gap: 10px; background: var(--phone-card); border-radius: 16px; padding: 10px 12px; }
.row > div { flex: 1; min-width: 0; }
.row b { display: block; font-size: 13.5px; letter-spacing: -.01em; }
.row small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.amt { font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; }
.amt.plus { color: var(--good); }
.slim .row { padding: 9px 12px; }
.scr.is-on .row.new { animation: dropIn .7s var(--ease) .15s both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
.row.settle .check { position: absolute; right: 10px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--good); display: grid; place-items: center; transform: scale(0); }
.row.settle .check svg { width: 15px; height: 15px; fill: none; stroke: var(--on-good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.row.settle .amt { transition: opacity .3s; }
.s-paid { display: none; }
.scr.is-on .row.settle .check { animation: pop .5s var(--ease) 1.5s forwards; }
.scr.is-on .row.settle .amt { animation: fadeOut .3s 1.5s forwards; }
.scr.is-on .row.settle .s-open { animation: swapOut 0s 1.5s forwards; }
.scr.is-on .row.settle .s-paid { display: inline; }
.scr.is-on .row.settle .s-paid { opacity: 0; animation: fadeIn .3s 1.5s forwards; }
.row.settle small { position: relative; }
.row.settle .s-paid { position: absolute; left: 0; top: 0; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes swapOut { to { opacity: 0; } }

.cal-card { padding: 12px 10px; }
.cal-head { padding: 0 4px 6px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 11.5px; }
.cal .wd { color: var(--muted); font-weight: 600; font-size: 10px; padding-bottom: 4px; }
.cal .d { position: relative; height: 27px; display: grid; place-items: center; border-radius: 50%; font-weight: 500; }
.cal .d.has::after { content: ""; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal .d.sel { background: var(--accent); color: #fff; font-weight: 700; transform: scale(.6); opacity: .4; }
.scr.is-on .cal .d.sel { animation: pop2 .6s var(--ease) .5s forwards; }
@keyframes pop2 { to { transform: scale(1); opacity: 1; } }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 6px; border-radius: 999px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--muted); }
.pill.good { color: var(--good); background: color-mix(in srgb, var(--good) 16%, transparent); }
.pill.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.wheel-wrap { position: relative; display: grid; place-items: center; padding: 18px 0 6px; }
.pin { position: absolute; top: 6px; z-index: 2; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 18px solid var(--text); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.wheel { position: relative; width: 196px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45), inset 0 0 0 5px var(--phone-card);
  background: conic-gradient(#3b82f6 0 60deg, #22c55e 60deg 120deg, #a855f7 120deg 180deg, #f97316 180deg 240deg, #ef4444 240deg 300deg, #14b8a6 300deg 360deg); }
.hub { position: absolute; inset: 41%; border-radius: 50%; background: var(--phone-card); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.scr:not(.is-on) .wheel { transition: none; transform: rotate(0); }
.scr.is-on .wheel { transform: rotate(1500deg); transition: transform 3.4s cubic-bezier(.12, .7, .1, 1) .25s; }
.result { margin-top: 6px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.scr.is-on .result { opacity: 1; transform: none; transition-delay: 3.3s; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 12px; }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--accent) 38%, transparent); transition: height .9s var(--ease); }
.bars i.hi { background: var(--accent); }
.scr.is-on .bars i { height: var(--h); }
.scr.is-on .bars i:nth-child(2) { transition-delay: .06s; } .scr.is-on .bars i:nth-child(3) { transition-delay: .12s; }
.scr.is-on .bars i:nth-child(4) { transition-delay: .18s; } .scr.is-on .bars i:nth-child(5) { transition-delay: .24s; } .scr.is-on .bars i:nth-child(6) { transition-delay: .3s; }
.months { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--muted); font-weight: 600; }
.months span { flex: 1; text-align: center; }

.scr.lock { inset: 0; padding: 74px 14px 0; align-items: stretch; gap: 9px; color: #fff; background: linear-gradient(160deg, #1d4ed8, #6d28d9 58%, #be185d); }
.lock-time { font-size: 64px; font-weight: 700; letter-spacing: -.04em; text-align: center; line-height: 1; }
.lock-date { text-align: center; font-size: 15px; font-weight: 600; opacity: .92; margin-bottom: 18px; }
.notif { background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: 11px 14px; opacity: 0; transform: translateY(26px) scale(.96); }
.notif b { display: block; font-size: 12px; letter-spacing: .01em; opacity: .95; }
.notif span { display: block; font-size: 13px; line-height: 1.3; margin-top: 2px; }
.scr.is-on .notif { animation: notifIn .7s var(--ease) both; }
.scr.is-on .notif:nth-of-type(1) { animation-delay: .25s; } .scr.is-on .notif:nth-of-type(2) { animation-delay: .75s; } .scr.is-on .notif:nth-of-type(3) { animation-delay: 1.25s; }
@keyframes notifIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }

.tabs {
  position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 14px; height: 58px; border-radius: 30px;
  display: flex; align-items: center; justify-content: space-around;
  background: color-mix(in srgb, var(--phone-card) 72%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line);
  transition: opacity .4s, transform .6s var(--ease);
}
.phone[data-scene="5"] .tabs { opacity: 0; transform: translateY(26px); }
.tab { display: grid; justify-items: center; gap: 1px; width: 52px; font-size: 9.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.tab svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:last-child svg { fill: currentColor; stroke: none; }
.tab.on { color: var(--accent); }

/* ---------- Funktionen ---------- */
.features { padding: clamp(90px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(36px, 6vw, 68px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 7vh, 72px); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 30px; display: flex; flex-direction: column; min-height: 300px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); }
.tile-wide { grid-column: span 2; }
.tile-full { grid-column: 1 / -1; min-height: 220px; }
.tile h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.tile p { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: 17px; max-width: 38ch; }
.tile-visual { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip-big { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 16px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); }
.chip-big.ok { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.chip-big svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dots i { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); transform: scale(.5); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.tile.in .dots i { transform: none; opacity: 1; }
.tile.in .dots i:nth-child(2) { transition-delay: .08s; } .tile.in .dots i:nth-child(3) { transition-delay: .16s; } .tile.in .dots i:nth-child(4) { transition-delay: .24s; } .tile.in .dots i:nth-child(5) { transition-delay: .32s; }
.lockv svg, .mailv svg { width: 54px; height: 54px; fill: none; stroke: var(--accent-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile.in .lockv svg { animation: nudge 1.2s var(--ease) .3s both; }
@keyframes nudge { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Abschluss ---------- */
.closing { padding: clamp(60px, 10vh, 120px) 0; }
.closing-card { text-align: center; color: #fff; padding: clamp(48px, 9vw, 110px) 24px; border-radius: 40px; background: radial-gradient(120% 140% at 15% 0%, #3b82f6 0%, #1d4ed8 45%, #4c1d95 100%); }
.closing-card h2 { font-size: clamp(34px, 6vw, 64px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.closing-card p { margin: 18px auto 0; max-width: 34ch; font-size: clamp(18px, 2vw, 22px); font-weight: 500; opacity: .95; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal.in:hover { transform: translateY(-4px); }

/* ---------- Dokumentseiten (Datenschutz, Support, Impressum) ---------- */
.doc { width: min(760px, 100% - 48px); margin: 0 auto; padding: 120px 0 80px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.04em; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); font-weight: 500; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc .draft { margin-top: 24px; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--text); font-weight: 600; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 860px) {
  .nav-link { display: none; }
  .brand { font-size: 15px; gap: 8px; }
  .btn-small { padding: 0 14px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-area: 1 / 1; padding-top: 62svh; }
  .phone-col { grid-area: 1 / 1; top: 56px; height: 58svh; z-index: 3; background: linear-gradient(var(--bg) 88%, transparent); }
  .phone { scale: .62; --tilt: 0 !important; margin-top: -8svh; }
  .step { min-height: 62svh; max-width: none; justify-content: flex-start; padding-top: 4svh; }
  .step h3 { font-size: clamp(30px, 8vw, 40px); }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-full { grid-column: auto; }
  .tile { min-height: 0; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide, .tile-full { grid-column: span 2; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-copy { transform: none !important; opacity: 1 !important; }
  .phone { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
  .step { opacity: 1; transform: none; }
  .scr.is-on .wheel { transform: rotate(60deg); }
  .scr.is-on .notif { opacity: 1; transform: none; }
  .scr.is-on .row.new { opacity: 1; }
}
