/* KUNZ Coming Soon – Hero nach fraxbit-Vorbild (Tokens, Buttons, Intro) */
@font-face { font-family: Geist; src: url(/fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #121517;
  --accent: #ef233c;
  --white: #fff;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --brand: "Archivo Black", "Arial Black", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);     /* ease-out-expo = GSAP fx.out */
  --gutter: clamp(1rem, .6rem + 1.8vw, 2.5rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--white); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--accent); color: var(--white); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container-x { width: 100%; padding-inline: var(--gutter); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.wordmark { font: 400 1.25rem/1 var(--brand); letter-spacing: -.025em; text-transform: uppercase; }
.wordmark i { font-style: normal; color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; overflow: clip; }
.hero__field { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, transparent 38%, #000 72%); mask-image: linear-gradient(to bottom, transparent 38%, #000 72%); }
.hero__field canvas { display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1s; }
.hero__field canvas.is-on { opacity: 1; }
.hero__glow { position: absolute; inset-inline: 0; top: 55%; height: 40%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 40%, rgb(255 255 255 / .06), transparent); }

.hero__content { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: calc(var(--header-h) + 2.5rem) 2.5rem; }
@media (min-width: 48rem) { .hero__content { padding-bottom: 8.5rem; } }
.hero__kicker { font-size: .875rem; position: relative; z-index: 1; }
.kicker { display: flex; align-items: center; gap: .625rem; font: 400 .75rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.mark { position: relative; z-index: 0; margin-bottom: -.22em; animation: intro-fade-up 1.4s var(--ease) both; font-family: var(--brand); font-weight: 400; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; font-size: clamp(4rem, 13vw, 12.5rem); user-select: none; cursor: default; }
.mark__base { color: #1a1e21; -webkit-text-stroke: 1px rgb(255 255 255 / .07); }
.mark__glow { position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1.5px var(--accent); filter: drop-shadow(0 0 10px rgb(239 35 60 / .55)) drop-shadow(0 0 28px rgb(239 35 60 / .3)); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none;
  -webkit-mask-image: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%), #000 0%, rgb(0 0 0 / .5) 40%, transparent 72%); mask-image: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%), #000 0%, rgb(0 0 0 / .5) 40%, transparent 72%); }
.mark:hover .mark__glow, .mark:focus-visible .mark__glow { opacity: 1; }
.hero__title { position: relative; z-index: 1; margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; column-gap: .28em; font-weight: 400; letter-spacing: -.055em; line-height: .95; font-size: min(clamp(3rem, .5rem + 7.8vw, 10rem), 19svh); }
.line-mask { display: block; overflow: clip; margin-bottom: -.1em; padding-bottom: .1em; }
.intro-line { display: block; animation: intro-rise 1.4s var(--ease) var(--d, 0s) both; }
.hero__title i { font-style: normal; color: var(--accent); }

.hero__sub { margin-top: 1.75rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgb(255 255 255 / .6); }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 40rem) { .hero__sub { font-size: 1.125rem; } }

.intro { animation: intro-fade-up 1.2s var(--ease) var(--d, 0s) both; }
@keyframes intro-rise { 0% { translate: 0 108%; } }
@keyframes intro-fade-up { 0% { opacity: 0; translate: 0 1.25rem; } }

/* ---------- Buttons (Pill + Chip, Füllung wächst vom Chip aus) ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: transparent;
  --btn-fill: var(--accent); --btn-fill-fg: #fff; --btn-chip: var(--accent); --btn-chip-fg: #fff;
  --btn-h: 3.25rem; --btn-px: 1.5rem; --btn-font: .8125rem; --btn-chip-inset: .3125rem;
  --btn-chip-size: calc(var(--btn-h) - var(--btn-chip-inset) * 2);
  --btn-origin: calc(100% - var(--btn-h) / 2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 1rem; flex: none;
  height: var(--btn-h); padding-inline: var(--btn-px) var(--btn-chip-inset);
  border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: inset 0 0 0 1px var(--btn-border);
  font: 500 var(--btn-font)/1 var(--sans); letter-spacing: .04em; white-space: nowrap; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: color .5s var(--ease), box-shadow .5s var(--ease), scale .3s var(--ease);
}
.btn:active { scale: .97; }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); clip-path: circle(0 at var(--btn-origin) 50%); transition: clip-path .7s var(--ease); }
.btn__label { transition: translate .6s var(--ease); }
.btn__chip { flex: none; display: grid; place-items: center; width: var(--btn-chip-size); height: var(--btn-chip-size); border-radius: 999px; background: var(--btn-chip); color: var(--btn-chip-fg); font-size: calc(var(--btn-chip-size) * .5); transition: background-color .5s var(--ease), color .5s var(--ease), rotate .6s var(--ease); }
.btn__chip svg { width: .7em; height: .7em; display: block; }
.btn[data-variant="light"] { --btn-bg: #fff; --btn-fg: var(--ink); --btn-chip: var(--ink); }
.btn[data-variant="outline-light"] { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / .22); --btn-fill: #fff; --btn-fill-fg: var(--ink); --btn-chip: #fff; --btn-chip-fg: var(--ink); }
.btn[data-variant="accent"] { --btn-bg: var(--accent); --btn-fill: var(--ink); --btn-chip: rgb(255 255 255 / .18); }
.btn[data-size="sm"] { --btn-h: 2.5rem; --btn-px: 1.125rem; --btn-font: .75rem; --btn-chip-inset: .25rem; gap: .75rem; }
@media (hover: hover) {
  .btn:is(:hover, :focus-visible) { color: var(--btn-fill-fg); --btn-border: transparent; }
  .btn:is(:hover, :focus-visible) .btn__fill { clip-path: circle(150% at var(--btn-origin) 50%); }
  .btn:is(:hover, :focus-visible) .btn__label { translate: .25rem; }
  .btn:is(:hover, :focus-visible) .btn__chip { background: color-mix(in oklab, var(--btn-fill-fg) 16%, transparent); color: var(--btn-fill-fg); rotate: 45deg; }
}
.btn[aria-expanded="true"] .btn__chip { rotate: 90deg; }

/* ---------- Newsletter (klappt unter den Buttons auf) ---------- */
.nl-wrap { display: grid; grid-template-rows: 0fr; width: min(100%, 34rem); transition: grid-template-rows .6s var(--ease); }
.nl-wrap.is-open { grid-template-rows: 1fr; }
.nl-wrap > div { overflow: hidden; }
.nl { padding-top: 1.75rem; text-align: left; }
.nl__row { display: flex; align-items: center; gap: .5rem; padding: .3125rem .3125rem .3125rem 1.5rem; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); transition: box-shadow .4s var(--ease), background-color .4s var(--ease); }
.nl__row:focus-within { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); background: rgb(255 255 255 / .08); }
.nl__row input { flex: 1; min-width: 0; height: 2.625rem; border: 0; background: transparent; color: #fff; font: 400 .9375rem var(--sans); outline: none; }
.nl__row input::placeholder { color: rgb(255 255 255 / .55); }
.nl__row .btn { --btn-h: 2.625rem; --btn-px: 1.125rem; --btn-font: .75rem; --btn-chip-inset: .25rem; gap: .75rem; }
.nl__consent { display: flex; gap: .625rem; align-items: flex-start; margin-top: .875rem; font-size: .8125rem; line-height: 1.45; color: rgb(255 255 255 / .55); }
.nl__consent input { flex: none; margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--accent); }
.nl__consent a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.nl__status { margin-top: .625rem; font-size: .8125rem; font-weight: 500; }
.nl__status:empty { display: none; }
.nl__status[data-kind="error"] { color: #ff6b7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Unterer Streifen ---------- */
.hero__foot { display: grid; gap: 2rem; padding-bottom: 1.5rem; }
.stats { display: flex; gap: 2rem; }
.stats dt { font: 400 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.stats dd { margin-top: .375rem; font-size: 1.5rem; line-height: 1; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd i { font-style: normal; color: var(--accent); }
.count { display: inline-block; min-width: var(--w, 2ch); text-align: right; }
.legal { display: flex; gap: 1.25rem; font: 400 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.legal a:hover { color: #fff; }
.avail { width: fit-content; display: inline-flex; align-items: center; gap: .625rem; height: 2.5rem; padding: 0 1rem 0 .875rem; border-radius: 999px; font: 500 .8125rem/1 var(--sans); letter-spacing: .01em; color: #fff;
  background: linear-gradient(135deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .08), 0 10px 30px -14px rgb(0 0 0 / .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.avail i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px rgb(34 197 94 / .7); }
.avail i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgb(34 197 94 / .7); animation: pulse-ring 2.2s var(--ease) infinite; }
@keyframes pulse-ring { 0% { opacity: .8; scale: .7; } 70%, 100% { opacity: 0; scale: 1.9; } }
@media (min-width: 48rem) {
  .hero__foot { position: absolute; inset-inline: 0; bottom: 0; grid-template-columns: 1fr auto 1fr; align-items: end; padding-bottom: 1.75rem; }
  .stats { gap: 3rem; }
  .stats dd { font-size: 1.75rem; }
  .legal { justify-self: center; padding-bottom: .25rem; }
  .avail { justify-self: end; }
}

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro, .intro-line, .avail i::after { animation: none; }
  .mark__glow { transition: none; }
  .btn, .btn__fill, .btn__label, .btn__chip, .nl-wrap, .hero__field canvas { transition: none; }
}

@media (max-height: 780px) and (min-width: 48rem) {
  .mark { font-size: clamp(3.5rem, 9vw, 7.5rem); }
  .hero__content { padding-bottom: 6.5rem; }
}

/* ---------- Satz-Titel, Subline je Satz, Handschrift-Zeile (v10) ---------- */
@font-face { font-family: Caveat; src: url(/fonts/caveat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
.hero__title--sentence { font-size: min(clamp(2.5rem, .4rem + 4.7vw, 5.5rem), 13svh); max-width: 17.5em; letter-spacing: -.045em; line-height: 1.02; column-gap: .22em; row-gap: 0; }
.hero__title--sentence .line-mask { display: inline-block; vertical-align: top; }
.hero__sub--wide { max-width: 44rem; }
@media (min-width: 48rem) { .hero__sub--wide span { display: block; } }
.tag { margin-top: 1.25rem; }
.tag--hand { font: 600 1.75rem/1.1 Caveat, cursive; color: rgb(255 255 255 / .82); rotate: -1.5deg; display: inline-block; }
.tag--hand i { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .tag--hand { font-size: 1.5rem; } }
@media (max-height: 880px) and (min-width: 48rem) {
  .hero__title--sentence { font-size: min(clamp(2.5rem, .4rem + 4.7vw, 5.5rem), 11svh); }
  .hero__sub--wide { font-size: 1rem; margin-top: 1.25rem; }
  .tag { margin-top: .875rem; }
  .hero__actions { margin-top: 1.75rem; }
}
