/* =========================================================================
   FIVR. — Coming soon
   Schlicht: einfarbiger dunkler Hintergrund, Logo im Mittelpunkt.
   Gold (#c2a46b) nur als Akzent. Schriften lokal in /fonts.
   ========================================================================= */

@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-tight-var.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-var.woff2") format("woff2"); }

:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #1d1d21;
  --line: #2a2a2e;
  --text: #ecebe6;
  --muted: #9a99a0;
  --gold: #c2a46b;
  --gold-hi: #d3b981;
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.5, .5, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gold { color: var(--gold); }
.label { font: 500 11px/1.3 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Kopfzeile ---------- */
.top {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + var(--safe-t)) var(--gutter) 10px;
  opacity: 0; transition: opacity 1s var(--ease) 2.2s;
}
.is-ready .top { opacity: 1; }
.top__tag { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.top__social { display: flex; }
.top__social a, .top__social button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); transition: color .3s; }
.top__social a:hover, .top__social button:hover { color: var(--text); }
.top__social svg { width: 19px; height: 19px; }

/* ---------- 1. Logo + Coming soon ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; padding: calc(70px + var(--safe-t)) var(--gutter) 96px; text-align: center;
}
.hero__inner { display: grid; justify-items: center; will-change: transform, opacity; }

/* Das Logo: Blätter wachsen nacheinander aus der Mitte, das Ganze dreht sich dabei in Position */
.mark { width: clamp(104px, 26vw, 168px); aspect-ratio: 1; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.mark__svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-144deg) scale(.6); transition: transform 1.9s var(--ease); }
.mark__svg path { fill: var(--text); transform: scale(0); transform-origin: 0 0; transition: transform .9s var(--spring), fill .5s; }
.is-ready .mark__svg { transform: none; }
.is-ready .mark__svg path { transform: none; }
.is-ready .mark__svg g:nth-child(1) path { transition-delay: .1s; }
.is-ready .mark__svg g:nth-child(2) path { transition-delay: .25s; }
.is-ready .mark__svg g:nth-child(3) path { transition-delay: .4s; }
.is-ready .mark__svg g:nth-child(4) path { transition-delay: .55s; }
.is-ready .mark__svg g:nth-child(5) path { transition-delay: .7s; }
/* danach: ruhiges "Atmen"; antippen dreht um ein Blatt weiter */
.mark.is-idle .mark__svg { animation: breathe 5.5s var(--ease-io) infinite; }
.mark.is-spin .mark__svg { transition: transform 1s var(--spring); }
@keyframes breathe { 50% { transform: scale(1.035); } }
.mark:hover .mark__svg path { fill: #fff; }

.word { margin-top: clamp(14px, 2.6vh, 24px); overflow: hidden; font: 400 clamp(40px, 9vw, 64px)/1 var(--f-display); letter-spacing: .06em; }
.word__in { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease) 1.1s; }
.is-ready .word__in { transform: none; }

.soon { margin-top: 14px; overflow: hidden; font: 500 12px/1.4 var(--f-mono); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); padding-left: .5em; }
.soon span { display: inline-block; opacity: 0; letter-spacing: 1.2em; transition: opacity 1.2s var(--ease) 1.5s, letter-spacing 1.6s var(--ease) 1.5s; }
.is-ready .soon span { opacity: 1; letter-spacing: .5em; }

.cd, .when { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) 1.9s, transform 1s var(--ease) 1.9s; }
.is-ready .cd, .is-ready .when { opacity: 1; transform: none; }
.cd { display: flex; justify-content: center; gap: clamp(14px, 4vw, 26px); margin-top: clamp(20px, 3.6vh, 32px); }
.cd__u { display: inline-flex; align-items: baseline; gap: 3px; }
.cd__u b { font: 300 clamp(26px, 6vw, 34px)/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.cd__u b.tick { animation: tick .6s var(--ease); }
@keyframes tick { from { opacity: .3; transform: translateY(-4px); } }
.cd__u i { font: 500 12px/1 var(--f-mono); font-style: normal; color: var(--gold); }
.when { margin-top: 12px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cd__u b { display: inline-block; }

.open { display: grid; justify-items: center; gap: 26px; }
.open[hidden], [data-soon][hidden] { display: none; }

.hint {
  position: absolute; left: 50%; bottom: calc(22px + var(--safe-b)); translate: -50% 0;
  display: grid; justify-items: center; gap: 10px; min-width: 44px; padding: 4px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity 1s 2.6s;
}
.is-ready .hint { opacity: 1; }
.hint i { position: relative; width: 1px; height: 36px; overflow: hidden; background: var(--line); }
.hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: fall 2.2s var(--ease-io) infinite; }
@keyframes fall { to { top: 100%; } }

/* ---------- 2. Sneak peek (wischen, Bilder fliegen ein) ---------- */
.peek { padding: clamp(56px, 10vh, 110px) 0 clamp(40px, 8vh, 90px); }
.peek__head { max-width: 1200px; margin: 0 auto clamp(16px, 3vh, 26px); padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; }
.peek__nav { display: flex; align-items: center; gap: 8px; }
.peek__count { margin-right: 6px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); }
.peek__count b { font-weight: 500; color: var(--text); }
.peek__btn { width: 44px; height: 44px; display: none; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: border-color .3s, opacity .3s; }
.peek__btn:hover { border-color: var(--text); }
.peek__btn:disabled { opacity: .3; cursor: default; border-color: var(--line); }
.peek__btn svg { width: 18px; height: 18px; }
.peek__btn[data-peek-prev] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .peek__btn { display: grid; } }

/* Wisch-Leiste: Bilder rasten mittig ein */
.peek__grid {
  display: flex; gap: clamp(10px, 2vw, 20px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 14px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  -webkit-overflow-scrolling: touch; outline: none;
}
.peek__grid::-webkit-scrollbar { display: none; }
.peek__grid .card { flex: 0 0 min(72vw, 360px); scroll-snap-align: start; }
.peek__swipe { margin-top: 10px; text-align: center; font: 500 10.5px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.peek__swipe b { font-weight: 500; }
.peek__swipe span { display: inline-block; animation: nudge 1.8s var(--ease-io) infinite; }
.peek__swipe span:first-child { animation-direction: reverse; }
@keyframes nudge { 50% { transform: translateX(4px); } }
@media (hover: hover) and (pointer: fine) { .peek__swipe { display: none; } }

.card { margin: 0; }
.card__fly { display: grid; gap: 10px; }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.card__cap { display: flex; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__cap b { font-weight: 500; color: var(--text); }

/* Einfliegen: jedes Bild kommt aus einer anderen Richtung, leicht gedreht, und landet mit kleinem Federn */
.card__fly { opacity: 0; transform: translate3d(var(--fx, 40vw), var(--fy, 40px), 0) rotate(var(--fr, 6deg)) scale(.86); }
.card.is-in .card__fly { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--fd, 0s), transform 1.15s var(--spring) var(--fd, 0s); }
.card.is-in .card__img img { transform: scale(1); }
@media (hover: hover) {
  .card.is-in:hover .card__fly { transform: translateY(-6px) rotate(-.6deg); transition-delay: 0s; transition-duration: .5s; }
  .card.is-in:hover .card__img img { transform: scale(1.05); }
}

.card--locked .card__img img { filter: blur(24px) brightness(.4) saturate(.6); transform: scale(1.25); }
.card--locked.is-in .card__img img { transform: scale(1.2); }
.card__lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 10px; text-align: center; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.card__lock svg { width: 34px; height: 34px; fill: var(--text); }
.card__lock b { font: 400 clamp(24px, 6vw, 34px)/1 var(--f-display); letter-spacing: .04em; font-weight: 400; }

@media (prefers-reduced-motion: reduce) { .card__fly { opacity: 1; transform: none; } }

/* ---------- 3. Stay in the loop ---------- */
.loop { padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(60px, 10vh, 120px); }
.loop__inner { width: 100%; max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.loop__title { font: 400 clamp(48px, 11vw, 80px)/.9 var(--f-display); text-transform: uppercase; }
.loop__lede { color: var(--muted); }
.loop__offer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.loop__offer b { font: 400 22px/1 var(--f-display); color: var(--gold); font-weight: 400; margin-right: 2px; }
.loop__offer svg { width: 15px; height: 15px; fill: var(--gold); }
.loop__offer span[data-gift-color] { color: var(--text); }
.dotsep { color: var(--line); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 14px; }
.field { display: grid; gap: 12px; }
.field__lbl { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field__lbl b { font-weight: 500; color: var(--text); }

.swatches { display: flex; gap: 14px; padding: 8px 0 0 5px; }
.swatch { position: relative; cursor: pointer; }
.swatch input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch__dot { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .25s, transform .4s var(--spring); }
.swatch input:checked + .swatch__dot { outline-color: var(--text); transform: scale(1.06); }
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--gold); }

.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chip { position: relative; }
.chip span { display: grid; place-items: center; height: 46px; border-radius: 12px; border: 1px solid var(--line); font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: #45454c; }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.has-error .chip span { border-color: #b4555a; }

/* E-Mail + Knopf in einer Zeile */
.mail, .remind__row {
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: 999px; transition: border-color .3s;
}
.mail:focus-within, .remind__row:focus-within { border-color: var(--gold); }
.pick.has-error .mail { border-color: #b4555a; }
.mail__input, .remind__input { flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 18px; background: none; border: 0; outline: none; font-size: 16px; }
.mail__input::placeholder, .remind__input::placeholder { color: #75747b; }
.mail__btn, .remind__btn {
  position: relative; flex: none; height: 46px; padding: 0 18px 0 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #141210;
  font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s;
}
.mail__btn:hover, .remind__btn:hover { background: var(--gold-hi); }
.mail__btn svg, .remind__btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mail__btn:hover svg { transform: translateX(3px); }
.btn__spin { display: none; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(20,18,16,.25); border-top-color: #141210; animation: spin .8s linear infinite; }
.is-sending .btn__txt, .is-sending svg { visibility: hidden; }
.is-sending .btn__spin { display: block; }
@keyframes spin { to { rotate: 360deg; } }

.checks { display: grid; gap: 12px; }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.check__box { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1px solid #4a4a50; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check__box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.pick.has-consent-error input[name="consent"] + .check__box { border-color: #b4555a; }
.check__txt { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.err, .remind__err { min-height: 1em; font-size: 13px; color: #d98a8e; }
.err:empty, .remind__err:empty { display: none; }

.link { position: relative; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.link::after { content: ""; position: absolute; inset: -14px -8px; }
.link:hover { text-decoration-color: var(--gold); }

.done { display: grid; justify-items: center; gap: 10px; padding: 26px 0 10px; text-align: center; outline: none; }
.done[hidden] { display: none; }
.done__mark { width: 64px; height: 64px; overflow: visible; margin-bottom: 8px; }
.done__mark path { fill: var(--text); transform: scale(0); transform-origin: 0 0; animation: pop .8s var(--spring) forwards; }
.done__mark g:nth-child(2) path { animation-delay: .1s; }
.done__mark g:nth-child(3) path { animation-delay: .2s; }
.done__mark g:nth-child(4) path { animation-delay: .3s; }
.done__mark g:nth-child(5) path { animation-delay: .4s; }
@keyframes pop { to { transform: scale(1); } }
.done__title { font: 400 clamp(36px, 8vw, 52px)/1 var(--f-display); text-transform: uppercase; }
.done__sub { font: 500 11px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.done__txt { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: #141210; }
.btn--gold:hover { background: var(--gold-hi); }

/* ---------- 4. Socials ---------- */
.follow { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) var(--gutter) clamp(70px, 12vh, 130px); display: grid; gap: 6px; }
.follow .label { margin-bottom: 14px; }
.follow__link {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(18px, 3vh, 26px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.follow__link::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.follow__link:hover::before, .follow__link:focus-visible::before { transform: none; }
.follow__name { font: 400 clamp(34px, 7vw, 72px)/1 var(--f-display); text-transform: uppercase; transition: transform .6s var(--ease), color .3s; }
.follow__link:hover .follow__name { transform: translateX(10px); color: var(--gold); }
.follow__handle { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.follow__handle svg { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.follow__link:hover .follow__handle svg { transform: rotate(0); }

/* ---------- Footer ---------- */
.foot { display: grid; justify-items: center; gap: 14px; padding: 30px var(--gutter) calc(28px + var(--safe-b)); border-top: 1px solid var(--line); text-align: center; }
.foot__mark { width: 26px; height: 26px; fill: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.foot__links button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--muted); transition: color .3s; }
.foot__links button:hover { color: var(--text); }
.foot__links svg { width: 14px; height: 14px; }
.foot__copy { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: #5d5c63; }

/* ---------- Dialoge ---------- */
.sheet {
  width: min(680px, calc(100% - 24px)); max-height: min(86vh, 900px); margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text);
}
.sheet::backdrop { background: rgba(8,8,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { display: flex; flex-direction: column; animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.sheet__title { font: 400 24px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.sheet__body { overflow-y: auto; padding: 22px 24px 30px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.icon-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.legal { font-size: 14px; line-height: 1.65; color: #c9c8c3; }
.legal h3 { margin: 22px 0 6px; font: 600 14px/1.3 var(--f-body); color: var(--text); }
.legal p { margin: 0 0 10px; }
.legal__note { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); color: var(--gold); font-size: 13px; }
body.has-sheet { overflow: hidden; }

.sheet.sheet--pw { max-width: 460px; }
.pw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 24px 26px; }
.pw__txt { color: var(--muted); font-size: 14px; }
.pw.has-error .remind__row { border-color: #b4555a; animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.sg-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 16px; }
.sg-tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sg-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.sg-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.sg-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sg-table th, .sg-table td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sg-table tr:last-child td { border-bottom: 0; }
.sg-table th { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.sg-table td:first-child, .sg-table th:first-child { text-align: left; color: var(--muted); }
.sg-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

@media (max-width: 400px) {
  .sg-table { font-size: 13px; }
  .sg-table th, .sg-table td { padding: 10px 6px; }
  .mail__btn { padding: 0 14px; }
  .mail__btn .btn__txt { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 560px) {
  .follow__link { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Umschalter Neues / Altes Design ---------- */
.design-switch {
  position: fixed; z-index: 60; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; padding: 4px; border-radius: 999px; border: 1px solid #2a2a2e;
  background: rgba(14,14,16,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 10.5px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase;
}
.design-switch a { display: grid; place-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; color: #9a99a0; transition: color .3s, background-color .3s; }
.design-switch a:hover { color: #ecebe6; }
.design-switch a[aria-current="page"] { background: #ecebe6; color: #0e0e10; }

/* ---------- E-Mail-Anmeldung im Hero ---------- */
.notify, .done { width: min(440px, calc(100vw - 2 * var(--gutter))); margin: clamp(24px, 4.5vh, 38px) auto 0; text-align: left; }
.notify { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) 2.15s, transform 1s var(--ease) 2.15s; }
.is-ready .notify { opacity: 1; transform: none; }
.notify.has-error .mail { border-color: #b4555a; }
.notify.has-consent-error input[name="consent"] + .check__box { border-color: #b4555a; }
.notify .checks { gap: 10px; padding: 0 6px; }
.notify .err { padding: 0 6px; }
.done { text-align: center; }
.done__title { font-size: clamp(30px, 7vw, 40px); }
.hero { padding-bottom: 86px; }
@media (max-height: 700px) {
  .mark { width: clamp(88px, 22vw, 130px); }
  .notify, .done { margin-top: 20px; }
  .cd { margin-top: 18px; }
}
.notify[hidden] { display: none; }
@media (max-height: 700px) { .hint { display: none; } }
.hero .done__mark { display: none; } /* Logo steht schon darüber */

/* ---------- Feines Kleeblatt-Muster oben ---------- */
.hero { overflow: hidden; isolation: isolate; }
.hero__inner { position: relative; z-index: 1; }
.hero__pattern {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: var(--text); stroke-width: 5; color: var(--text);
  opacity: 0; transition: opacity 2s var(--ease) 1.4s;
  /* zur Mitte (Logo, Text) und nach unten hin unsichtbar */
  height: 82%;
  -webkit-mask-image: radial-gradient(ellipse 52% 66% at 50% 50%, transparent 48%, rgba(0,0,0,.5) 75%, #000 100%);
  mask-image: radial-gradient(ellipse 52% 66% at 50% 50%, transparent 48%, rgba(0,0,0,.5) 75%, #000 100%);
}
.is-ready .hero__pattern { opacity: .11; }
@media (max-width: 640px) { .hero__pattern { -webkit-mask-image: linear-gradient(#000 0 14%, transparent 34%, transparent 80%, rgba(0,0,0,.5) 100%); mask-image: linear-gradient(#000 0 14%, transparent 34%, transparent 80%, rgba(0,0,0,.5) 100%); height: 100%; } }

/* Hinweis, solange noch kein E-Mail-Dienst verbunden ist */
.notify-soon { width: min(440px, calc(100vw - 2 * var(--gutter))); margin: clamp(24px, 4.5vh, 38px) auto 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--muted); text-align: center; opacity: 0; transition: opacity 1s var(--ease) 2.15s; }
.is-ready .notify-soon { opacity: 1; }


/* ---------- Danke-Animation ---------- */
.ty { width: 132px; height: 132px; margin: 0 auto -6px; }
.ty svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ty__leaf { fill: var(--text); opacity: 0; transform-origin: 0 0;
  animation: ty-leaf .9s calc(var(--i) * .09s) cubic-bezier(.3, 1.35, .45, 1) forwards; }
.ty__spin { transform-origin: 0 0; animation: ty-spin 1.1s .85s cubic-bezier(.65, 0, .35, 1) both; }
.ty__ring { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0; transform-origin: 0 0;
  animation: ty-ring 1.2s 1.35s cubic-bezier(.2, .7, .1, 1) forwards; }
.ty__spark { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; opacity: 0;
  animation: ty-spark .9s calc(1.4s + var(--i) * .08s) cubic-bezier(.2, .7, .1, 1) forwards; }
@keyframes ty-leaf { from { opacity: 0; transform: translateY(-46px) rotate(-35deg) scale(.35); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes ty-spin { from { transform: rotate(-72deg) scale(.92); } 60% { transform: rotate(6deg) scale(1.04); } to { transform: none; } }
@keyframes ty-ring { from { opacity: .9; transform: scale(.55); } to { opacity: 0; transform: scale(1.5); } }
@keyframes ty-spark { from { opacity: 1; transform: translateY(6px); } to { opacity: 0; transform: translateY(-16px); } }
.ty__spark { transform-origin: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .ty__leaf { animation: none; opacity: 1; }
  .ty__spin, .ty__ring, .ty__spark { animation: none; }
}

.spam-tip { margin: 0; padding: 0 6px; font: 400 11px/1.5 var(--f-mono); letter-spacing: .02em; color: var(--muted); }
