/* ==========================================================================
   Tusche & Siegel – Startseite fabian-martin.at
   Baut auf base.css auf (Schriften, Farben, Kopfleiste, Menü, Fuß).
   Hier: Partikelbühne, Vorspann mit Ton-Eingang, Mauszeiger, Randanzeige,
   Szenen, Showreel, Live-Baukasten, Referenzen, Match-Check, Papier-
   Kapitel der Startseite und die Auftritte beim Scrollen.
   ========================================================================== */

/* ---------- Bühne: Partikel ---------- */
.ink { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.has-ink .ink { opacity: 1; }

/* ---------- Vorspann ---------- */
.loader { display: none; }
.is-loading body { overflow: hidden; }
.is-loading .loader { display: block; position: fixed; inset: 0; z-index: 200; background: var(--ink); animation: loader-safety .01s 7s forwards; }
@keyframes loader-safety { to { visibility: hidden; } }
.loader__seal { position: absolute; left: 50%; top: 46%; width: clamp(96px, 11vw, 168px); height: auto; aspect-ratio: 1; color: var(--seal); opacity: 0; transform: translate(-50%, -50%) scale(1.8) rotate(-18deg); }
.loader.is-stamp .loader__seal { animation: stamp-in .62s cubic-bezier(.3, 1.45, .5, 1) forwards; }
@keyframes stamp-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.8) rotate(-18deg); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-6deg); }
}
.loader__line { position: absolute; left: var(--gutter); bottom: 36px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); }
.loader__line::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* Feste Breite: Die Plakatschrift hat keine gleich breiten Ziffern, sonst springt der Zähler. */
.loader__count { position: absolute; right: var(--gutter); bottom: 18px; width: 1.7em; text-align: right; font-family: var(--f-display); font-weight: 900; font-size: clamp(88px, 17vw, 280px); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(238, 231, 218, .5); font-variant-numeric: tabular-nums; }
.loader.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); }
/* Mit Partikeln: Der Staub sammelt sich selbst zum Siegel, der Vorhang bleibt durchsichtig. */
.has-ink .loader { background: transparent; }
.has-ink .loader__seal { display: none; }
.has-ink .loader.is-out { clip-path: none; opacity: 0; transition: opacity .7s ease; }

/* ---------- Mauszeiger ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none; }
.has-cursor input, .has-cursor .menu, .has-cursor .menu * { cursor: auto; }
.has-cursor .menu a, .has-cursor .menu button { cursor: pointer; }
.cursor__dot, .cursor__ring, .cursor__label { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(238, 231, 218, .45); transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s, opacity .3s; }
.cursor.is-link .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(224, 64, 44, .16); border-color: var(--red); }
.cursor.on-paper .cursor__ring { border-color: rgba(20, 18, 16, .45); }
.cursor.on-paper.is-link .cursor__ring { background: rgba(191, 46, 28, .14); border-color: var(--red-deep); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.on-paper .cursor__label { color: var(--paper-ink); }
.cursor.has-label .cursor__label { opacity: 1; }

/* Kopfleiste während des Vorspanns */
.is-loading .hdr { opacity: 0; transform: translateY(-24px); }

/* ---------- Randanzeige: Ort links, Kapitel und Fortschritt rechts ---------- */
.hud { display: none; }
@media (min-width: 900px) and (min-height: 560px) {
  .hud { position: fixed; inset: 0; z-index: 40; display: block; font-family: var(--f-mono); font-size: 10px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); pointer-events: none; transition: opacity .45s ease; }
  .hud__geo, .hud__chapter { position: absolute; writing-mode: vertical-rl; white-space: nowrap; }
  .hud__geo { left: calc(var(--gutter) / 2); bottom: 32px; transform: translateX(-50%) rotate(180deg); }
  .hud__chapter { right: calc(var(--gutter) / 2); top: 50%; display: flex; gap: 12px; transform: translate(50%, -50%); }
  .hud__bar { position: absolute; right: calc(var(--gutter) / 2); bottom: 32px; width: 1px; height: 96px; background: rgba(238, 231, 218, .22); overflow: hidden; }
  .hud__bar span { position: absolute; inset: 0; background: var(--bone); transform: scaleY(0); transform-origin: top; }
  .paper-view .hud, .at-end .hud, .is-loading .hud { opacity: 0; }
}

/* ---------- Szenen (dunkel, Partikel dahinter) ---------- */
main { display: block; }
.scene { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding: clamp(112px, 16vh, 180px) var(--gutter) clamp(96px, 14vh, 160px); overflow-x: clip; }
.scene__copy { position: relative; max-width: 660px; }
@media (min-width: 900px) {
  .scene__copy { width: 47%; max-width: 760px; }
}
@media (max-width: 899px) {
  .has-ink .scene.offer, .has-ink .scene.contact { justify-content: flex-end; padding-top: 54svh; }
  .has-ink .scene.lab-scene { padding-top: 40svh; }
  .has-ink .scene__copy::before { content: ''; position: absolute; z-index: -1; inset: -56px calc(var(--gutter) * -1) -48px; background: linear-gradient(to bottom, rgba(13, 12, 11, 0), rgba(13, 12, 11, .86) 80px, rgba(13, 12, 11, .86) calc(100% - 48px), rgba(13, 12, 11, 0)); pointer-events: none; }
}

/* Start */
.hero { justify-content: space-between; padding-top: clamp(96px, 13vh, 132px); padding-bottom: clamp(28px, 5vh, 48px); }
.hero__top { display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
/* Angebote im ersten Bildschirm: am Handy unter der Zeile mit dem Namen, ab 900 px rechts oben */
.hero__index { line-height: 26px; text-wrap: balance; }
.hero__index li { display: inline; }
.hero__index li:not(:last-child)::after { content: '\a0· '; content: '\a0· ' / ''; }
/* Trefferfläche mindestens 24 × 24 Pixel (WCAG 2.5.8), ohne die Abstände zu verändern */
.hero__index a { margin: 0 -4px; padding: 5px 4px; text-decoration: none; transition: color .3s; }
.hero__index a:hover { color: var(--bone); }
@media (min-width: 900px) { .hero__top { align-items: baseline; } }
@media (max-width: 899px) { .hero__top { flex-direction: column; gap: 2px; } }
.hero__title { display: flex; flex-direction: column; margin-top: auto; padding-top: 6vh; font-weight: 400; }
.hero__title > span { display: block; }
.hero__l1 { font-family: var(--f-voice); font-style: italic; font-size: clamp(38px, 6.2vw, 112px); line-height: 1; padding-left: .03em; }
.hero__l2 { font-family: var(--f-display); font-weight: 900; font-size: min(300px, (100vw - 2 * var(--gutter) - 14px) / 5.6); line-height: .8; letter-spacing: -.004em; text-transform: uppercase; margin-left: -.035em; padding-top: .04em; }
.hero__l3 { align-self: flex-end; margin: -.14em -.04em 0 0; padding: .14em .22em .1em .12em; font-family: var(--f-brush); font-size: clamp(66px, 13.4vw, 250px); line-height: .62; color: var(--red); transform: rotate(-5deg); transform-origin: 70% 60%; }
.hero__foot { display: grid; gap: 22px; margin-top: clamp(26px, 5vh, 56px); }
.hero__knot { max-width: 23em; font-family: var(--f-voice); font-size: clamp(21px, 1.7vw, 30px); line-height: 1.22; color: var(--bone-dim); }
.hero__knot em { font-style: italic; color: var(--bone); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.hero__hint { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.hero__hint-line { width: 1px; height: 46px; background: linear-gradient(var(--bone), rgba(238, 231, 218, 0)); transform-origin: top; }
.ready:not(.calm) .hero__hint-line { animation: hint 2.4s var(--ease) infinite; }
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr); align-items: end; gap: 40px; }
  .hero__hint { justify-self: end; }
}
@media (max-width: 899px) { .hero__hint { display: none; } }
/* Auftritt nach dem Vorspann */
.ready:not(.calm):not(.hero-in) .hero__title > span, .ready:not(.calm):not(.hero-in) .hero__foot > *, .ready:not(.calm):not(.hero-in) .hero__top { opacity: 0; }
.hero-in:not(.calm) .hero__top { animation: fade-up .9s var(--ease-out) .1s backwards; }
.hero-in:not(.calm) .hero__l1 { animation: rise 1.1s var(--ease-out) .05s backwards; }
.hero-in:not(.calm) .hero__l2 { animation: rise 1.25s var(--ease-out) .16s backwards; }
.hero-in:not(.calm) .hero__l3 { animation: write 1.35s cubic-bezier(.5, 0, .2, 1) .62s backwards; }
.hero-in:not(.calm) .hero__foot > :nth-child(1) { animation: fade-up 1s var(--ease-out) .9s backwards; }
.hero-in:not(.calm) .hero__foot > :nth-child(2) { animation: fade-up 1s var(--ease-out) 1.02s backwards; }
.hero-in:not(.calm) .hero__foot > :nth-child(3) { animation: fade-up 1s var(--ease-out) 1.14s backwards; }
@keyframes rise { from { clip-path: inset(100% 0 0 0); transform: translateY(38%); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

/* Wer ich bin: das echte Foto, unverändert und scharf, mit Papierrand wie ein Abzug */
.who__portrait { position: relative; width: min(100%, 340px); margin: 0 0 40px; }
.who__portrait img { display: block; width: 100%; height: auto; border: 10px solid var(--bone); background: var(--bone); }
.who__portrait figcaption { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.ready:not(.calm) .who__portrait img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out) .15s; }
.ready:not(.calm) .who__portrait.is-in img { clip-path: inset(0 0 0 0); }
@media (max-width: 899px) { .who__portrait { order: -1; } }
@media (min-width: 900px) {
  .scene.who { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 6vw; align-content: center; }
  .who .scene__copy { width: auto; }
  .who__portrait { grid-column: 2; grid-row: 1; align-self: center; width: clamp(280px, 27vw, 430px); margin: 0; }
  .who .marquee { grid-column: 1 / -1; }
}
.marquee { display: flex; overflow: hidden; margin: clamp(48px, 9vh, 110px) calc(var(--gutter) * -1) 0; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; flex: none; will-change: transform; }
.marquee__track li { display: flex; align-items: center; flex: none; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.8vw, 64px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee__track li::after { content: ''; flex: none; width: .26em; height: .26em; margin: 0 .7em; background: var(--red); transform: rotate(9deg); }
.calm .marquee, html:not(.ready) .marquee { -webkit-mask-image: none; mask-image: none; }
.calm .marquee__track:first-child, html:not(.ready) .marquee__track:first-child { flex-wrap: wrap; flex: 1 1 auto; padding: 0 var(--gutter); }
.calm .marquee__track + .marquee__track, html:not(.ready) .marquee__track + .marquee__track { display: none; }
.calm .marquee__track li, html:not(.ready) .marquee__track li { white-space: normal; }

/* Wegweiser */
.weg { justify-content: flex-start; }
.weg__head { max-width: 780px; }
.weg__list { margin-top: clamp(40px, 8vh, 84px); border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .weg__list { width: 60%; } }
.weg__item { border-bottom: 1px solid var(--line-dark); }
.weg__item summary { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; align-items: center; gap: 14px; padding: 22px 0; cursor: pointer; list-style: none; }
.weg__item summary::-webkit-details-marker { display: none; }
.weg__item summary::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.weg__item summary:hover::after, .weg__item summary:focus-visible::after, .weg__item[open] summary::after, .weg__item.is-hint summary::after { transform: scaleX(1); }
.weg__q { font-family: var(--f-voice); font-size: clamp(23px, 2.3vw, 40px); line-height: 1.12; transition: transform .7s var(--ease-out); }
.weg__item summary:hover .weg__q, .weg__item[open] .weg__q, .weg__item.is-hint .weg__q { transform: translateX(12px); }
.weg__item.is-hint .weg__tag { color: var(--bone); }
.weg__item[open] .weg__q { font-style: italic; }
.weg__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.weg__plus { position: relative; width: 20px; height: 20px; justify-self: end; transition: transform .6s var(--ease-out); }
.weg__plus::before, .weg__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.weg__plus::after { transform: rotate(90deg); }
.weg__item[open] .weg__plus { transform: rotate(135deg); color: var(--red); }
.weg__a { max-width: 44em; padding: 4px 0 36px 12px; }
.weg__item::details-content, .faq__item::details-content { block-size: 0; overflow-y: clip; transition: block-size .6s var(--ease-out), content-visibility .6s allow-discrete; }
.weg__item[open]::details-content, .faq__item[open]::details-content { block-size: auto; }
.steps { display: grid; gap: 10px; margin-top: 22px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; line-height: 1.5; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); padding-top: .2em; font-family: var(--f-mono); font-size: 12px; color: var(--red); }
@media (max-width: 599px) {
  .weg__item summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 12px; }
  .weg__tag { display: none; }
  .weg__a { padding-left: 0; }
}

/* Angebots-Szenen */
.offer__word { position: absolute; left: -.04em; bottom: -.12em; z-index: -1; margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 25vw, 520px); line-height: .8; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(238, 231, 218, .12); pointer-events: none; user-select: none; }
@supports (animation-timeline: view()) {
  .ready:not(.calm) .offer__word { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { transform: translateX(10%); } to { transform: translateX(-12%); } }
}
.prompt { display: flex; align-items: center; gap: 12px; max-width: 100%; min-height: 54px; margin-top: 28px; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(13, 12, 11, .62); font-family: var(--f-mono); font-size: 14px; line-height: 1.4; }
.prompt__sign { color: var(--red); }
.prompt__caret { flex: none; width: 8px; height: 1.15em; background: var(--red); }
.ready:not(.calm) .prompt__caret { animation: blink 1s steps(1) infinite; }

.breath { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.breath__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 24px 0 8px; border: 1px solid rgba(238, 231, 218, .45); border-radius: 999px; font-size: 15px; font-weight: 500; transition: border-color .3s, background-color .3s; }
.breath__btn:hover { border-color: var(--bone); background: rgba(238, 231, 218, .06); }
.breath__ring { width: 42px; height: 42px; transform: rotate(-90deg); }
.breath__ring circle { fill: none; stroke: rgba(238, 231, 218, .22); stroke-width: 2; }
.breath__ring .breath__fill { stroke: var(--red); stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
.breath__label { min-width: 8em; font-family: var(--f-voice); font-style: italic; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; }

.facts-line { margin-top: 22px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.roll { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; }
.roll__num { min-width: 1.3em; font-family: var(--f-brush); font-size: 88px; line-height: .7; color: var(--red); }
.roll__num.is-in { animation: pop .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
.roll__out { flex-basis: 100%; min-height: 1.4em; font-family: var(--f-voice); font-style: italic; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; }

/* Kontakt */
.contact__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(62px, 9.6vw, 190px); line-height: .84; letter-spacing: -.008em; text-transform: uppercase; }
.contact__voice { margin-top: 16px; font-family: var(--f-voice); font-size: clamp(30px, 3.4vw, 60px); line-height: 1.05; }
.contact__steps { display: grid; gap: 20px; max-width: 820px; margin-top: 44px; counter-reset: c; }
.contact__steps li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line-dark); counter-increment: c; }
.contact__steps li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--red); }
.contact__steps strong { font-weight: 600; }
.contact__steps span { font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
@media (min-width: 700px) { .contact__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.word { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.word__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(88px, 13.5vw, 250px); line-height: .8; letter-spacing: -.01em; text-transform: uppercase; }
.word__title em { font-style: normal; color: var(--red-deep); }
.promise { margin-top: clamp(32px, 6vh, 56px); border-top: 1px solid var(--paper-ink); }
.promise li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-paper); font-family: var(--f-voice); font-size: clamp(26px, 2.7vw, 46px); line-height: 1.14; }
.promise li::before { content: ''; width: 9px; height: 9px; background: var(--red-deep); transform: translateY(-.3em) rotate(9deg); }
/* Unterschrift und Siegel: Das Wort gilt, unterschrieben und gesiegelt */
.word__sign { position: relative; container-type: inline-size; display: grid; justify-items: center; width: 100%; max-width: 560px; justify-self: center; padding-bottom: 10px; }
.word__name { padding: .12em .2em .04em .06em; font-family: var(--f-brush); font-size: 17cqi; line-height: 1; white-space: nowrap; color: var(--paper-ink); transform: rotate(-6deg); }
.word__place { width: 78%; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--paper-ink); text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); }
.word__stamp { position: absolute; right: -4%; bottom: 6%; width: 24cqi; height: auto; color: var(--seal); transform: rotate(-9deg); mix-blend-mode: multiply; }
.ready:not(.calm) .word__sign:not(.is-in) .word__name { clip-path: inset(0 100% 0 0); }
.ready:not(.calm) .word__sign.is-in .word__name { animation: write 1.5s cubic-bezier(.5, 0, .2, 1) .2s backwards; }
.ready:not(.calm) .word__sign:not(.is-in) .word__stamp { opacity: 0; }
.ready:not(.calm) .word__sign.is-in .word__stamp { animation: stamp .62s cubic-bezier(.3, 1.5, .5, 1) 1.45s backwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-22deg) scale(1.7); } 55% { opacity: 1; } to { transform: rotate(-9deg) scale(1); } }
@media (min-width: 900px) { .word { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 6vw; } .word__sign { align-self: end; } }

.numbers { margin-top: clamp(110px, 18vh, 200px); }
.numbers__head { display: grid; gap: 6px; }
@media (min-width: 900px) { .numbers__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 6vw; } .numbers__head .lead { margin-top: 0; } }
.numbers__grid { display: grid; margin-top: clamp(40px, 7vh, 72px); border-top: 1px solid var(--paper-ink); }
.num { display: flex; flex-direction: column; padding: 28px 0 32px; border-bottom: 1px solid var(--line-paper); }
.num dt { order: 2; margin-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.num__big { order: 1; font-family: var(--f-display); font-weight: 900; font-size: clamp(76px, 7.6vw, 136px); line-height: .84; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.num__txt { order: 3; max-width: 26em; margin-top: 8px; font-size: 15px; line-height: 1.5; }
.num--alert .num__big { color: var(--red-deep); }
@media (min-width: 640px) {
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding-right: 28px; }
  .num:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line-paper); }
}
@media (min-width: 1040px) {
  .numbers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num:nth-child(2n) { padding-left: 0; border-left: 0; }
  .num:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line-paper); }
}

.faq { display: grid; gap: 36px; margin-top: clamp(110px, 18vh, 200px); }
.ask { display: grid; gap: 14px; }
.ask__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.ask__input { width: 100%; padding: 12px 0; border: 0; border-bottom: 2px solid var(--paper-ink); border-radius: 0; background: transparent; color: var(--paper-ink); font-family: var(--f-voice); font-size: clamp(22px, 2vw, 32px); outline: none; -webkit-appearance: none; appearance: none; }
.ask__input::placeholder { color: #857c70; }
.ask__input:focus-visible { border-bottom-color: var(--red-deep); box-shadow: 0 2px 0 var(--red-deep); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__chips button { min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-paper); border-radius: 999px; font-size: 14px; line-height: 1.3; text-align: left; transition: background-color .3s, color .3s, border-color .3s; }
.ask__chips button:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.ask__status { min-height: 1.5em; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--paper-mute); }
.faq__list { border-top: 1px solid var(--paper-ink); }
.faq__item { border-bottom: 1px solid var(--line-paper); }
.faq__item summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--f-voice); font-size: clamp(21px, 1.75vw, 29px); line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; justify-self: end; width: 11px; height: 11px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .45s var(--ease-out); }
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item summary:hover { color: var(--red-deep); }
.faq__a { max-width: 40em; padding: 0 0 26px; }
.faq__a a { display: inline-block; margin-top: 10px; padding: 4px 0; font-weight: 500; color: var(--red-deep); }
.faq__empty { font-size: 18px; }
.faq__empty a { font-weight: 500; color: var(--red-deep); }
@media (min-width: 1040px) {
  .faq { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 6vw; align-items: start; }
  .faq__head { grid-column: 1; grid-row: 1; }
  .ask { grid-column: 1; grid-row: 2; align-self: start; }
  .faq__list { grid-column: 2; grid-row: 1 / span 3; }
  .faq__empty { grid-column: 2; grid-row: 4; }
}

/* ---------- Auftritte beim Scrollen (erst wenn das Skript läuft) ---------- */
.ready:not(.calm) [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.ready:not(.calm) [data-reveal].is-in { opacity: 1; transform: none; }
.ready:not(.calm) .is-split .w { display: inline-block; overflow: hidden; padding: .18em 0 .14em; margin: -.18em 0 -.14em; vertical-align: top; }
.ready:not(.calm) .is-split .wi { display: inline-block; transform: translateY(112%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms); }
.ready:not(.calm) .is-split em .wi { padding-right: .06em; }
.ready:not(.calm) .is-split.is-in .wi { transform: none; }

/* ==========================================================================
   Gründer-Fassung (9. 10. 2026): Ton, Eingang, Showreel, Baukasten,
   Referenzen, Match-Check, Röntgenblick
   ========================================================================== */

/* ---------- Ton-Schalter mit Pegel ---------- */
.sound { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(238, 231, 218, .3); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s, background-color .3s, color .3s; }
.sound:hover { border-color: var(--bone); }
.sound[aria-pressed="true"] { border-color: var(--red); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; width: 14px; height: 14px; }
.sound__bars i { flex: 1; height: 3px; border-radius: 1px; background: currentColor; transition: height .3s var(--ease-out); }
.sound[aria-pressed="true"] .sound__bars i { background: var(--red); height: 9px; }
.ready:not(.calm) .sound[aria-pressed="true"] .sound__bars i { animation: eq .8s ease-in-out infinite alternate; }
.ready:not(.calm) .sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-duration: .55s; animation-delay: -.2s; }
.ready:not(.calm) .sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-duration: .7s; animation-delay: -.45s; }
.ready:not(.calm) .sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-duration: .5s; animation-delay: -.1s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.hdr.on-paper .sound { border-color: rgba(20, 18, 16, .3); }
.hdr.on-paper .sound[aria-pressed="true"] { border-color: var(--red-deep); }
.hdr.on-paper .sound[aria-pressed="true"] .sound__bars i { background: var(--red-deep); }
@media (max-width: 719px) {
  .hdr__sound { padding: 0 13px; }
  .hdr__sound .sound__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.menu__switches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.menu__sound { color: var(--bone-dim); }
.menu__sound:hover, .menu__sound[aria-pressed="true"] { color: var(--bone); }

/* ---------- Eingang: mit Ton oder ohne ---------- */
.gate { position: fixed; inset: 0; z-index: 210; display: grid; align-content: end; justify-items: center; gap: 16px; padding: 24px var(--gutter) clamp(28px, 6vh, 80px); text-align: center; background: linear-gradient(to bottom, rgba(13, 12, 11, 0) 30%, rgba(13, 12, 11, .82) 72%); opacity: 0; transition: opacity .5s ease; }
.gate[hidden] { display: none; }
.gate.is-in { opacity: 1; }
.gate.is-out { opacity: 0; transition-duration: .6s; }
.gate__kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); }
.gate__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 7.4vw, 120px); line-height: .86; text-transform: uppercase; }
.gate__title em { display: inline-block; margin-left: .12em; font-family: var(--f-brush); font-weight: 400; font-style: normal; font-size: 1.14em; line-height: .6; text-transform: none; color: var(--red); transform: rotate(-6deg); }
.gate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.gate__hint { max-width: 34em; font-family: var(--f-mono); font-size: 11px; line-height: 1.6; letter-spacing: .08em; color: var(--bone-dim); }
.gate__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: left; }
.gate.is-in .gate__timer { animation: gate-timer 6.5s linear forwards; }
@keyframes gate-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.gate-open .loader__count, .gate-open .loader__line { opacity: 0; transition: opacity .4s; }
.gate-open .loader { animation-delay: 15s; }

/* ---------- Hinweis-Leiste (Geheimnisse) ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 150; width: max-content; max-width: min(560px, calc(100vw - 32px)); padding: 14px 20px; border: 1px solid var(--red); border-radius: 14px; background: rgba(13, 12, 11, .94); font-family: var(--f-mono); font-size: 12px; line-height: 1.55; letter-spacing: .04em; color: var(--bone); opacity: 0; transform: translate(-50%, 140%); transition: transform .6s var(--ease-out), opacity .4s; pointer-events: none; }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Text-Bausteine ---------- */
.lead--more { margin-top: 18px; }
.flow { display: grid; gap: 8px; margin-top: 20px; }
.flow li { position: relative; padding-left: 30px; line-height: 1.5; }
.flow li::before { content: ''; position: absolute; left: 0; top: .78em; width: 18px; height: 1.5px; background: var(--red); }
.flow--big { gap: 12px; margin-top: 30px; }
.flow--big li { padding-left: 42px; font-family: var(--f-voice); font-size: clamp(23px, 2.1vw, 34px); line-height: 1.15; }
.flow--big li::before { top: .6em; width: 28px; height: 2px; }
.perks { display: grid; margin-top: 30px; border-top: 1px solid var(--line-dark); }
.perks li { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.perks li::before { content: ''; grid-row: span 2; width: 8px; height: 8px; margin-top: .6em; background: var(--red); transform: rotate(9deg); }
.perks strong { font-weight: 600; line-height: 1.4; }
.perks span { font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
@media (min-width: 1280px) { .perks { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pills li { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(13, 12, 11, .6); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Showreel ---------- */
.reel-scene { gap: clamp(30px, 5vh, 56px); }
.reel__head { max-width: 900px; }
.reel { width: 100%; max-width: 1320px; align-self: center; }
.reel__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(10px, 1.4vw, 20px); background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(238, 231, 218, .14); }
.reel__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__big { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 14px; min-height: 62px; padding: 0 30px 0 24px; border-radius: 999px; background: var(--red); color: var(--ink); font-size: 16px; font-weight: 600; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out), background-color .3s; }
.reel__big::before { content: ''; width: 0; height: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.reel__big:hover { background: var(--bone); transform: translate(-50%, -50%) scale(1.05); }
.reel__big[hidden] { display: none; }
.ready:not(.calm) .reel__big::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--red); animation: halo 2.2s var(--ease-out) infinite; pointer-events: none; }
@keyframes halo { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.35, 1.7); } }
.reel__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.reel__bar[hidden] { display: none; }
.reel__bar button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 999px; transition: border-color .3s; }
.reel__bar button:hover { border-color: var(--bone); }
.reel__progress { flex: 1 1 120px; height: 2px; overflow: hidden; background: rgba(238, 231, 218, .2); }
.reel__progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.reel__cap { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
@supports (animation-timeline: view()) {
  .ready:not(.calm) .reel__screen { animation: reel-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes reel-tilt { from { transform: perspective(1600px) rotateX(16deg) scale(.9); } to { transform: none; } }
}

/* ---------- Live-Baukasten ---------- */
.lab-scene { justify-content: center; }
.lab__head { max-width: 780px; }
.lab__nojs { margin-top: 20px; color: var(--bone-dim); }
.js .lab__nojs { display: none; }
.lab { display: grid; gap: 18px; margin-top: clamp(30px, 6vh, 60px); }
.lab[hidden] { display: none; }
.lab__controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; }
.lab__label { flex-basis: 100%; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.lab__input { flex: 1 1 240px; max-width: 440px; padding: 10px 0; border: 0; border-bottom: 2px solid var(--bone); border-radius: 0; background: transparent; color: var(--bone); font-family: var(--f-voice); font-size: clamp(26px, 2.4vw, 38px); outline: none; -webkit-appearance: none; appearance: none; }
.lab__input::placeholder { color: #7d756a; }
.lab__input:focus-visible { border-bottom-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.lab__styles { display: flex; gap: 6px; }
.lab__styles button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s, color .3s, border-color .3s; }
.lab__styles button:hover { border-color: var(--bone); }
.lab__styles button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.lab__stage { display: grid; gap: 14px; }
@media (min-width: 900px) { .lab__stage { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.lab__code { min-height: 290px; margin: 0; padding: 20px 22px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(10, 9, 8, .9); font-family: var(--f-mono); font-size: 13px; line-height: 1.75; color: var(--bone); white-space: pre-wrap; word-break: break-word; }
.c-tag { color: #ff7a63; }
.c-attr { color: #d8c08a; }
.c-str { color: #9fd8b5; }
.c-com { color: var(--bone-dim); font-style: italic; }
.lab__typing::after, .lab__caret { content: ''; display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--red); }
.ready:not(.calm) .lab__caret { animation: blink 1s steps(1) infinite; }
.lab__view { --akzent: #e0402c; --bg: #141210; --fg: #eee7da; --dim: #a29a8c; display: flex; flex-direction: column; min-height: 290px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--bg); color: var(--fg); transition: background-color .7s, color .7s; }
.lab__view.is-styled[data-style="neon"] { --akzent: #7cf5c4; --bg: #07110f; --fg: #e8fff7; --dim: #7fa89b; }
.lab__view.is-styled[data-style="papier"] { --akzent: #bf2e1c; --bg: #eee7da; --fg: #141210; --dim: #5e574d; }
.lab__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.lab__bar i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 25%, transparent); }
.lab__bar i:first-child { background: var(--akzent); }
.lab__bar span { min-width: 0; margin-left: 10px; padding: 3px 12px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--fg) 8%, transparent); text-overflow: ellipsis; white-space: nowrap; }
.lab__page { flex: 1; display: grid; align-content: start; gap: 12px; padding: 18px 22px 22px; }
[data-lab-part] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
[data-lab-part].is-on { opacity: 1; transform: none; }
.calm [data-lab-part] { transition: none; }
.lab__nav { display: flex; align-items: baseline; gap: 14px; font-size: 12px; color: var(--dim); }
.lab__nav b { min-width: 0; margin-right: auto; overflow: hidden; font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; color: var(--fg); }
@media (max-width: 479px) { .lab__nav span { display: none; } }
.lab__h { margin-top: 14px; font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 5vw, 78px); line-height: .86; text-transform: uppercase; overflow-wrap: anywhere; }
.lab__sub { font-family: var(--f-voice); font-style: italic; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.2; color: var(--dim); }
.lab__cta span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--akzent); color: var(--bg); font-size: 14px; font-weight: 600; }
.lab__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.lab__cards span { height: 58px; border: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--akzent) 12%, transparent); }

/* ---------- Referenzen ---------- */
.refs { position: relative; z-index: 1; }
.refs__pin { padding: clamp(104px, 14vh, 160px) 0 clamp(72px, 10vh, 120px); }
.refs__head { max-width: 920px; padding: 0 var(--gutter); }
.refs__rail { margin-top: clamp(30px, 5vh, 52px); padding: 12px 0 26px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.refs__rail::-webkit-scrollbar { display: none; }
.refs__track { display: flex; gap: clamp(16px, 2.2vw, 36px); width: max-content; padding: 0 var(--gutter); }
.ref { flex: none; width: min(80vw, 560px); scroll-snap-align: center; }
.ref__link { display: block; color: inherit; text-decoration: none; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) skewX(var(--skew, 0deg)); transition: transform .7s var(--ease-out); }
.ref__link.is-tilt { transition: transform .12s linear; }
.ref__shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--ink-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(238, 231, 218, .14); }
.ref__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); transition: transform 1.2s var(--ease-out), filter .6s; }
.ref__link:hover .ref__shot img, .ref__link:focus-visible .ref__shot img { transform: scale(1.05); filter: none; }
.ref__shot::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 246, 230, .22), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ref__link.is-tilt .ref__shot::after { opacity: 1; }
.ref__shot--self { display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #24201c, var(--ink) 70%); }
.ref__shot--self svg { width: 34%; height: auto; color: var(--seal); transform: rotate(-6deg); }
.ref__shot--type { display: grid; place-content: center; gap: 10px; text-align: center; background: radial-gradient(circle at 30% 20%, rgba(224, 64, 44, .35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(238, 231, 218, .12), transparent 50%), var(--ink); }
.ref__shot--type b { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 5vw, 86px); line-height: .9; text-transform: uppercase; color: var(--bone); }
.ref__shot--type small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.ref__meta { display: grid; gap: 5px; padding: 18px 4px 0; }
.ref__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.ref__name { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.3vw, 58px); line-height: .9; text-transform: uppercase; }
.ref__url { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--bone-dim); }
.ref__txt { max-width: 34em; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
.refs.is-pinned .refs__pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; height: 100svh; padding-top: clamp(84px, 11vh, 124px); padding-bottom: clamp(32px, 5vh, 64px); overflow: hidden; }
.refs.is-pinned .refs__rail { overflow: visible; scroll-snap-type: none; }
.refs.is-pinned .refs__track { will-change: transform; }
.refs.is-pinned .ref { width: min(36vw, (100svh - 380px) * 1.6, 620px); }
@media (max-height: 820px) { .refs.is-pinned .ref__txt { display: none; } .refs.is-pinned .refs__head .lead { display: none; } }

/* ---------- Match-Check ---------- */
@media (min-width: 900px) {
  .match-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); column-gap: 6vw; align-content: center; align-items: center; }
  .match-scene .scene__copy { width: auto; }
}
.match { display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 430px; margin: 48px auto 0; }
.match[hidden] { display: none; }
@media (min-width: 900px) { .match { margin-top: 0; } }
.match__count { min-height: 1.5em; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.match__deck { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 470px; border-radius: 22px; }
.match__deck:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.match__card { position: absolute; inset: 0; display: grid; align-content: center; padding: 34px 30px 80px; border-radius: 22px; background: var(--bone); color: var(--paper-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px) scale(.93) rotate(-2.5deg); transition: transform .45s var(--ease-out), opacity .35s; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.match__card.is-top { z-index: 2; opacity: 1; transform: none; }
.match__card.is-next { z-index: 1; opacity: .5; }
.match__card.is-drag { transition: none; cursor: grabbing; }
.match__card.is-yes { opacity: 0; transform: translateX(130%) rotate(18deg) !important; }
.match__card.is-no { opacity: 0; transform: translateX(-130%) rotate(-18deg) !important; }
.match__card::before { content: '?'; position: absolute; right: 26px; bottom: 4px; font-family: var(--f-brush); font-size: 132px; line-height: 1; color: var(--seal); }
.match__card::after { position: absolute; left: 24px; top: 24px; padding: 6px 12px; border: 3px solid currentColor; border-radius: 8px; font-family: var(--f-display); font-weight: 900; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-10deg); }
.match__card.lean-yes::after { content: 'Ja'; color: var(--red-deep); }
.match__card.lean-no::after { content: 'Eher nicht'; color: var(--paper-mute); }
.match__q { font-family: var(--f-voice); font-size: clamp(28px, 2.5vw, 40px); line-height: 1.12; }
.match__result { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 30px; border: 1px solid var(--red); border-radius: 22px; background: var(--ink-2); }
.match__result[hidden] { display: none; }
.match__result:focus { outline: none; }
.match__seal { width: 84px; height: auto; color: var(--seal); transform: rotate(-9deg); }
.ready:not(.calm) .match__result.is-in .match__seal { animation: stamp .62s cubic-bezier(.3, 1.5, .5, 1) .1s backwards; }
.match__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 3.3vw, 54px); line-height: .9; text-transform: uppercase; }
.match__text { color: var(--bone-dim); }
.match__result .actions { margin-top: 10px; }
.match__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.match__btns[hidden] { display: none; }
.match__fine { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }

/* ---------- Röntgenblick ---------- */
.ftr__xray { min-height: 44px; padding: 0 2px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--bone-dim); }
.ftr__xray:hover, .ftr__xray[aria-pressed="true"] { color: var(--red); }
.ftr__xray[hidden] { display: none; }
.xray main *, .xray .ftr * { outline: 1px dashed rgba(224, 64, 44, .6) !important; outline-offset: -1px; }
.xray .ink { opacity: .2 !important; }
.xray [data-reveal] { opacity: 1 !important; transform: none !important; }

/* KI-Kennzeichnung auf der Startseite (wie sub.css): rundes Zeichen „KI“ direkt im
   Bild, „Illustrative KI-Darstellung“ für Screenreader und ausgeschrieben im Fuß.
   Betrifft das Bildschirmfoto von steiglechner.cc (Praxisfoto mit KI bearbeitet). */
.ai-note { position: absolute; right: var(--ai-r, 12px); bottom: var(--ai-b, 12px); z-index: 2; margin: 0; line-height: 0; opacity: .72; }
.ai-mark { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 50%; background: color-mix(in srgb, var(--paper) 82%, transparent); color: var(--ink); font-family: var(--f-mono); font-size: 9px; font-weight: 600; line-height: 1; letter-spacing: .04em; text-indent: .04em; text-transform: uppercase; }
.ftr__ai { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.ftr__ai .ai-mark { width: 24px; height: 24px; font-size: 9px; --paper: #0d0c0b; --ink: #eee7da; }
.ftr__ai a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .3em; }

/* KI-Start: wie ich mit KI baue (echter Ablauf, deshalb nummeriert) */
.kiway { max-width: 620px; margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(13, 12, 11, .55); backdrop-filter: blur(6px); }
.kiway__title { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.kiway .steps { margin-top: 14px; }
.kiway__note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--bone-dim); }

/* ---------- Kapitel „Anywhere“ (englische Startseite) ----------
   Drei Beispielorte mit ihrer Ortszeit und Salzburg als Gegenstück. Die Uhren
   rechnet der Browser; ohne JavaScript bleibt der Text stehen. */
.world__grid { display: grid; gap: 14px; margin-top: clamp(34px, 6vh, 60px); }
@media (min-width: 900px) { .world__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.world__card { position: relative; display: grid; align-content: start; gap: 10px; min-height: 250px; padding: 26px 24px 24px; border: 1px solid var(--line-dark); border-radius: 18px; background: linear-gradient(160deg, rgba(238, 231, 218, .05), rgba(238, 231, 218, 0) 60%); overflow: hidden; transition: border-color .4s, transform .6s var(--ease-out); }
.world__card:hover { border-color: rgba(224, 64, 44, .6); transform: translateY(-4px); }
.world__place { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.world__time { font-family: var(--f-display); font-weight: 900; font-size: clamp(54px, 6vw, 92px); line-height: .9; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.world__who { font-family: var(--f-voice); font-size: clamp(23px, 2vw, 30px); line-height: 1.15; }
.world__txt { font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
.world__home { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 24px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.world__home b { color: var(--bone); font-weight: 500; }

/* ---------- Termin-Band: KI-Schulung 17. 12. 2026 (unter dem Hero) ---------- */
.event { min-height: auto; padding-block: clamp(72px, 11vh, 132px); }
.event__inner { max-width: 62rem; }
.event .lead { max-width: 46rem; margin-top: 1.2rem; }
.event__facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); }
.event__facts li::before { content: "● "; color: var(--red); }
.event__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__event { margin: 1.1rem 0 0; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__event a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.hero__event a:hover { color: var(--red); }
