/* Testseite (test.html): Startseite im ruhigen App-Stil – große, breite Überschriften, viel Luft, helle Karten.
   Hell und Dunkel: folgt dem System, der Umschalter merkt sich die Wahl (data-theme auf <html>).
   Nur schwarz-weiß, Marke ist das rote „e“. Alles flach, ohne Schatten. */

/* MARK: Farben und Maße */
:root {
  color-scheme: light;
  --bg: #f4f4f4; --card: #fff; --stage: #e8e8e9; --screen: #fbfbfb;
  --ink: #1d1d1f; --ink-2: rgba(29, 29, 31, .62); --ink-3: rgba(29, 29, 31, .4);
  --line: rgba(0, 0, 0, .08); --fill: rgba(0, 0, 0, .055); --fill-2: rgba(0, 0, 0, .1);
  --inv: #1d1d1f; --on-inv: #fff; --night: #0c0c0d;
  --glass: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .9);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --gutter: 24px; --max: 1120px; --section: 140px; --r: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.32, .72, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0b0c; --card: #18181a; --stage: #1d1d20; --screen: #111113;
    --ink: #f5f5f7; --ink-2: rgba(245, 245, 247, .62); --ink-3: rgba(245, 245, 247, .4);
    --line: rgba(255, 255, 255, .09); --fill: rgba(255, 255, 255, .075); --fill-2: rgba(255, 255, 255, .13);
    --inv: #f5f5f7; --on-inv: #0b0b0c; --night: #161618;
    --glass: rgba(24, 24, 26, .72); --glass-line: rgba(255, 255, 255, .08);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c; --card: #18181a; --stage: #1d1d20; --screen: #111113;
  --ink: #f5f5f7; --ink-2: rgba(245, 245, 247, .62); --ink-3: rgba(245, 245, 247, .4);
  --line: rgba(255, 255, 255, .09); --fill: rgba(255, 255, 255, .075); --fill-2: rgba(255, 255, 255, .13);
  --inv: #f5f5f7; --on-inv: #0b0b0c; --night: #161618;
  --glass: rgba(24, 24, 26, .72); --glass-line: rgba(255, 255, 255, .08);
}
@media (max-width: 767px) { :root { --gutter: 16px; --section: 96px; --r: 26px; } }

/* MARK: Grundlagen */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color .4s ease, color .4s ease; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.display { font-family: var(--display); font-stretch: 112%; font-weight: 760; letter-spacing: -.036em; line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
.eyebrow { font: 700 13px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lead { color: var(--ink-2); font-size: 18px; font-weight: 500; line-height: 1.55; }
.ic { display: block; flex: none; }
[data-size="0"] > .ic { width: 100%; height: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--inv); color: var(--on-inv); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Knöpfe: dunkel gefüllt und leise grau – im Dunkeln umgedreht */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: 18px; box-sizing: border-box;
  font: 600 17px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--inv); color: var(--on-inv); }
.btn-dark:hover { background: color-mix(in srgb, var(--inv) 86%, var(--bg)); }
.btn-soft { background: var(--fill-2); color: var(--ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }

/* MARK: Leiste oben – beim Scrollen eine schwebende Glas-Pille */
.tn { position: sticky; top: 0; z-index: 50; padding-top: 8px; }
.tn-frame { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; transition: padding .4s var(--ease); }
.tn-inner { display: flex; align-items: center; gap: 24px; height: 56px; padding-inline: 0; box-sizing: border-box; border: 1px solid transparent; border-radius: 999px;
  transition: padding .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease); }
.tn[data-scrolled] .tn-frame { padding-inline: 10px; }
.tn[data-scrolled] .tn-inner { padding-inline: 16px 7px; background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: saturate(1.8) blur(24px); backdrop-filter: saturate(1.8) blur(24px); }
.tn-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 800 20px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.emark { display: block; flex: none; }
.tn-links { display: none; gap: 30px; margin-inline: auto; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.tn-links a { text-decoration: none; transition: color .2s ease; }
.tn-links a:hover { color: var(--ink); }
/* Eyns Drop: hervorgehoben – rotes „e“ und rote Schrift */
.tn-links { align-items: center; }
.tn-links a.tn-drop { display: inline-flex; align-items: center; gap: 6px; color: #E2453D; font-weight: 700; }
.tn-links a.tn-drop:hover { color: #C0322B; }
.tn-drop svg { display: block; flex: none; }
.tn-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 960px) { .tn-links { display: flex; } .tn-actions { margin-left: 0; } }
.tn-theme { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
.tn-theme:hover { background: var(--fill); color: var(--ink); }
.tn-theme:active { transform: scale(.92); }
.tn-theme > span { grid-area: 1 / 1; transition: opacity .35s ease, rotate .5s var(--spring), scale .5s var(--spring); }
.tn-sun { opacity: 0; rotate: -90deg; scale: .5; }
.tn-theme.is-dark .tn-sun { opacity: 1; rotate: 0deg; scale: 1; }
.tn-theme.is-dark .tn-moon { opacity: 0; rotate: 90deg; scale: .5; }
.tn-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--fill-2); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s var(--ease); }
.tn-cta:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.tn-cta:active { transform: scale(.97); }
/* „Anmelden“: dunkler Knopf neben „Beta testen“ – führt in die Web-App (i.eyns.app). Am schmalen Handy nur „Anmelden“. */
.tn-login { background: var(--inv); color: var(--on-inv); }
.tn-login:hover { background: color-mix(in srgb, var(--inv) 84%, var(--bg)); }
@media (max-width: 480px) { .tn-cta:not(.tn-login) { display: none; } }

/* MARK: Einstieg (Bühne) – ohne Skript oder bei „Bewegung reduzieren“ steht alles ruhig untereinander */
.th-stage { --r: 1; --b: 1; --e: 0; --s: 1; position: relative; }
.th-copy { display: flex; flex-direction: column; align-items: center; padding: 64px var(--gutter) 0; text-align: center; }
.th-title { font-size: clamp(38px, 8.2vw, 86px); color: var(--ink); }
.th-line { display: block; }
.th-soft { color: var(--ink-3); }
.th-pill { display: inline-flex; margin: 0 .04em; rotate: -3deg; vertical-align: .04em; }
.th-pill-body { position: relative; display: inline-flex; align-items: center; gap: .14em; padding: .02em .26em .1em .18em; border-radius: .26em; background: #e2453d; color: #fff; }
/* „jetzt“ und „bald“ wechseln sich ab wie auf einer Abfahrtstafel (test-page.js): die Pille klappt nach hinten weg,
   tauscht Wort und Symbol und klappt mit Schwung zurück; die Breite passt sich dabei an. */
.th-pill-body { transform: perspective(4em) rotateX(var(--flip, 0deg)); transform-origin: 50% 55%; }
.th-now { display: inline-flex; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; transition: width .5s var(--spring); }
.th-now-in { display: inline-grid; justify-items: start; }
.th-now-w { grid-area: 1 / 1; visibility: hidden; }
.th-now-w.is-on { visibility: visible; }
.th-pill-body.is-bald .th-live * { animation: none; }
/* Symbol-Platz: bei „jetzt“ ein Live-Signal (Punkt mit Wellen), bei „bald“ ein Punkt mit Pfeil – „kommt als Nächstes“ */
.th-ico { display: inline-grid; place-items: center; flex: none; width: .5em; height: .5em; margin: 0 .06em 0 .02em; translate: 0 .04em; }
.th-ico > * { grid-area: 1 / 1; transition: opacity .25s ease, scale .35s var(--spring); }
.th-live, .th-soon { width: .6em; height: .6em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.th-dot { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; }
.th-wave-2 { opacity: .55; }
.th-soon { opacity: 0; scale: .4; }
.th-pill-body.is-bald .th-live { opacity: 0; scale: .4; }
.th-pill-body.is-bald .th-soon { opacity: 1; scale: 1; }
/* „bald“: der Pfeil schiebt sich beim Erscheinen nach rechts heraus */
.th-pill-body.is-bald .th-arrow { animation: t-go .7s var(--spring) .12s both; }
@keyframes t-go { from { opacity: 0; translate: -5px 0; } }
.th-facts { display: grid; margin-top: 30px; min-height: 2.4em; }
.th-fact { grid-area: 1 / 1; align-self: center; max-width: 18em; font: 650 20px/1.2 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.th-fact:not(:first-child) { visibility: hidden; }
.th-fact[data-state] { visibility: visible; }
.th-fact .wd { display: inline-block; white-space: nowrap; }
.th-fact .gl { display: inline-block; transition: opacity .32s ease-in-out, translate .4s ease-in-out, scale .4s ease-in-out, filter .32s ease-in-out; }
.th-fact[data-state="prev"] .gl { opacity: 0; filter: blur(6px); translate: 0 -.45em; scale: .9; }
.th-fact[data-state="next"] .gl { opacity: 0; filter: blur(6px); translate: 0 .45em; scale: .9; transition: none; }
.th-fact[data-state="active"] .gl { transition-delay: calc(.12s + min(var(--i), 40) * 9ms); }
.th-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 480px) { :is(.th-cta, .tq-cta) .btn { width: min(100%, 290px); } }

.th-frame { position: relative; height: min(78svh, 760px); margin-top: 40px; overflow: hidden; container-type: size; }
.th-scene { position: absolute; inset: 0; }
.th-device { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(64cqw, 300px, 42cqh); aspect-ratio: 9 / 19.5;
  transform: translate(-50%, calc(-50% + (1 - var(--r)) * 58cqh)) perspective(1400px) rotateX(calc(36deg * (1 - var(--r)))) scale(calc(.9 + .1 * var(--r))); transform-origin: 50% 0; }
.th-device .dev { width: 100%; height: 100%; }
@media (min-width: 768px) {
  .th-device { width: min(78cqw, 980px, 135cqh); aspect-ratio: 16 / 10; }
}
.th-haze { position: absolute; inset: auto 0 0; z-index: 3; height: 14%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* Schwebende Karten: tauchen nacheinander auf, wippen leicht, fliegen beim Weiterscrollen auseinander */
.bit { --bi: clamp(0, (var(--b) * 11 - var(--n)) / 3, 1); position: absolute; z-index: 2; left: calc(50% + var(--x) * var(--ux, 1) * 1cqw); top: calc(var(--y) * 1cqh);
  translate: calc(-50% + var(--x) * var(--e) * .6cqw) calc(-50% + (var(--y) - 50) * var(--e) * .4cqh); font-size: calc(14.5px * var(--z)); }
.bit-pop { display: block; opacity: var(--bi); scale: calc(.4 + .6 * var(--bi)); rotate: calc((1 - var(--bi)) * var(--tilt) * -3); }
.bit-bob { display: block; rotate: var(--tilt); animation: bit-bob calc((4.2s + var(--n) * .3s) / var(--z)) calc(var(--n) * -.9s) ease-in-out infinite alternate; }
@keyframes bit-bob { to { translate: 0 -12%; rotate: calc(var(--tilt) + 2deg); } }
.bit-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: .55em; row-gap: .15em; min-width: 12em; padding: .7em .9em .75em .7em; box-sizing: border-box;
  border-radius: 1.05em; background: color-mix(in srgb, var(--c, var(--ink)) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--c, var(--ink)) 22%, transparent); color: var(--ink); white-space: nowrap; }
/* Farben wie die Fächer in der App (--c je Karte in test.html) */
.bit-card i { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--c, var(--inv)); color: #fff; }
.bit-card i .ic { width: .8em; height: .8em; stroke-width: 2.4; }
.bit-card b { font-weight: 650; letter-spacing: -.01em; }
.bit-card em { justify-self: end; padding: .15em .45em; border-radius: .5em; background: color-mix(in srgb, var(--c, var(--ink)) 16%, transparent); color: color-mix(in srgb, var(--c, var(--ink)) 78%, var(--ink)); font: 600 .8em/1.2 var(--font); }
.bit-card small { grid-column: 2 / -1; color: var(--ink-3); font-size: .82em; font-weight: 500; }
@media (max-width: 767px) { .bit.is-desk { display: none; } .bit { --ux: .62; font-size: calc(11px * var(--z)); } }

.th-next { display: flex; justify-content: center; padding: 72px var(--gutter) 24px; }
.th-statement { max-width: 1080px; font-size: clamp(30px, 5.2vw, 60px); font-weight: 720; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
.th-statement .w { --l: clamp(0, (var(--s) * (var(--n) + 4) - var(--i)) / 4, 1); display: inline-block; opacity: var(--l); translate: 0 calc((1 - var(--l)) * .3em); filter: blur(calc((1 - var(--l)) * 10px)); }
.th-statement .w[data-mu] { color: var(--ink-3); }

/* Mit Bewegung: die Bühne bleibt beim Scrollen stehen (test-page.js setzt --r, --b, --e, --s) */
/* margin-bottom: der nächste Abschnitt rückt schon herauf, während der Satz noch steht – keine leere Seite dazwischen */
.fx .th { height: 400svh; margin-top: -64px; margin-bottom: -25svh; }
.fx .th + .ts { position: relative; padding-top: 56px; }
.fx .th-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fx .th-copy { position: absolute; inset: 0 0 auto; z-index: 4; padding-top: calc(72px + 7svh); opacity: clamp(0, 1 - var(--r) * 1.6, 1); translate: 0 calc(var(--r) * -10svh); }
.fx .th-copy a { pointer-events: auto; }
.fx .th-stage[data-copy-off] .th-copy { visibility: hidden; }
.fx .th-frame { position: absolute; inset: 0; height: auto; margin: 0; opacity: clamp(0, 1 - var(--e) * 1.5, 1); }
/* Abgang: Gerät rückt etwas zurück und nach oben, nur leicht unscharf – kein großer Nebel */
.fx .th-scene { scale: calc(1 - var(--e) * .08); translate: 0 calc(var(--e) * -8svh); filter: blur(calc(var(--e) * 6px)); }
.fx .th-next { position: absolute; inset: 0; align-items: center; padding: 0 var(--gutter); pointer-events: none; }
.fx .th-device { top: 54%; }

/* Erster Auftritt beim Laden */
.th-copy > * { animation: t-rise .9s var(--ease) both; }
.th-copy > :nth-child(2) { animation-delay: 1s; }
.th-copy > :nth-child(4) { animation-delay: 1.1s; }
/* Überschrift: Wort für Wort, dann springt die rote Pille herein, „jetzt“ rollt hoch, der Live-Punkt pulsiert */
.th-copy > .th-title { animation: none; }
.th-w { display: inline-block; animation: t-word .8s var(--ease) var(--wd, 0s) both; }
.th-pill { animation: t-pill 1.1s var(--spring) .22s both; }
.th-now-in { animation: t-now .7s var(--spring) .55s both; }
.th-live .th-dot { animation: t-dot 1.8s ease-in-out 1.2s infinite; }
.th-wave { animation: t-wave 1.8s ease-in-out 1.3s infinite; }
.th-wave-2 { animation-delay: 1.5s; }
@keyframes t-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes t-word { from { opacity: 0; translate: 0 .35em; filter: blur(6px); } }
@keyframes t-pill { 0% { opacity: 0; rotate: -18deg; scale: .4; } 60% { opacity: 1; } }
@keyframes t-now { from { translate: 0 110%; } }
@keyframes t-dot { 0%, 100% { scale: 1; } 20% { scale: .82; } 45% { scale: 1.06; } }
/* Wellen leuchten nacheinander auf – innen zuerst, dann außen */
@keyframes t-wave { 0%, 100% { opacity: .35; } 35% { opacity: 1; } }

/* MARK: Gerät – Rahmen und Bildschirm */
.dev { position: relative; box-sizing: border-box; padding: var(--dev-pad, 8px); border-radius: var(--dev-r, 38px); background: #0e0e10; outline: 1px solid rgba(255, 255, 255, .08); outline-offset: -1px; }
.dev-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--dev-r, 38px) - var(--dev-pad, 8px)); background: var(--screen); container-type: size; }
@media (min-width: 768px) { .th-device .dev { --dev-r: 22px; --dev-pad: 9px; } }

/* Bilder der App: füllen den Bildschirm, oben bündig. Hell/Dunkel folgt der Darstellung
   (versteckte Bilder laden dank loading="lazy" gar nicht erst). */
.shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot.is-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot.is-light { display: none; }
  :root:not([data-theme="light"]) .shot.is-dark { display: block; }
}
:root[data-theme="dark"] .shot.is-light { display: none; }
:root[data-theme="dark"] .shot.is-dark { display: block; }
/* Einstieg: am Handy das iPhone, ab Tablet-Breite der Mac */
@media (max-width: 767px) { .th-device .shot-mac { display: none !important; } }
@media (min-width: 768px) { .th-device .shot-phone { display: none; } }

/* MARK: So hilft dir Eyns */
.ts { padding-block: var(--section) calc(var(--section) * .6); }
.ts-eyebrow { text-align: center; }
.ts-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; margin: 72px 0 0; padding: 0; list-style: none; }
.ts-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ts-icon { width: 48px; height: 48px; margin-bottom: 22px; color: var(--ink); }
.ts-icon .ic { stroke-width: 1.5; }
.ts-steps h3 { max-width: 11em; hyphens: manual; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }
@media (min-width: 768px) { .ts-icon { width: 56px; height: 56px; } .ts-steps h3 { font-size: 26px; } }
@media (min-width: 960px) { .ts-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 104px; } }

/* MARK: Funktionen – Bild links (iPhone/Mac umschaltbar), Text rechts */
.tf { padding-block: calc(var(--section) * .5); }
.tf-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .tf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.tf-text { display: flex; flex-direction: column; gap: 36px; }
@media (max-width: 959px) { .tf-text { order: -1; } }
/* Am großen Bildschirm wechseln Bild und Text die Seite – wie ein Zickzack */
@media (min-width: 960px) { .tf:nth-of-type(even) .tf-media { order: 2; } }
/* Schild je Abschnitt in seiner Farbe (--c in test.html): zarter Farbverlauf, feiner Rand, Symbol auf vollem Farbkreis */
.tf-eyebrow { --c: var(--ink); display: inline-flex; align-items: center; gap: .36em; margin-bottom: 22px; padding: .2em .56em .24em .24em; border-radius: .62em;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 17%, var(--bg)), color-mix(in srgb, var(--c) 6%, var(--bg)));
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); color: color-mix(in srgb, var(--c) 72%, var(--ink));
  font: 760 clamp(22px, 2.6vw, 28px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.tf-eyebrow > [data-icon] { display: grid; place-items: center; width: 1.24em; height: 1.24em; border-radius: .42em; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c)); color: #fff; }
.tf-eyebrow > [data-icon] .ic { width: .72em; height: .72em; stroke-width: 2.2; }
.tf-title { font-size: clamp(36px, 6.2vw, 60px); }
.tf-body { max-width: 34em; margin-top: 20px; }
.tf-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.4; }
.tf-points li { display: flex; flex-direction: column; gap: 10px; }
.tf-points [data-icon] { color: var(--ink); }
.tf-card { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--stage); overflow: hidden; }
.dev-morph { position: absolute; left: 50%; top: 50%; width: 54%; height: 88%; translate: -50% -50%; transition: left .7s var(--spring), width .7s var(--spring), height .7s var(--spring), border-radius .7s var(--spring); }
/* Mac: größer, links bündig, rechts läuft das Fenster aus der Karte (16:10) */
.tfs[data-plat="mac"] .dev-morph { --dev-r: 16px; --dev-pad: 7px; left: 78%; width: 140%; height: 70%; }
/* iPhone- und Mac-Bild blenden beim Umschalten weich ineinander */
.dev-morph .shot { transition: opacity .5s ease; }
.tfs:not([data-plat="mac"]) .dev-morph .shot-mac, .tfs[data-plat="mac"] .dev-morph .shot-phone { opacity: 0; }
.tfs[data-plat="mac"] .dev-morph .dev-screen { transition: border-radius .7s var(--spring); }
.tf-switch-wrap { position: sticky; bottom: 20px; z-index: 6; display: flex; justify-content: center; padding: 28px 0 8px; pointer-events: none; }
.tf-switch { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); pointer-events: auto; }
.tf-switch { transition: opacity .35s var(--ease), translate .45s var(--spring); }
/* Versteckt nur fürs Auge: mit der Tastatur bleibt er erreichbar und taucht beim Fokus auf */
.tf-switch-wrap[data-hide]:not(:focus-within) .tf-switch { opacity: 0; translate: 0 14px; pointer-events: none; transition: opacity .25s var(--ease), translate .3s var(--ease); }
.tf-switch button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.tf-switch button[aria-pressed="true"] { background: var(--inv); color: var(--on-inv); }

/* MARK: Geräte – dunkle Insel, in beiden Darstellungen dunkel */
.tg { --ink: #f5f5f7; --ink-2: rgba(255, 255, 255, .62); --ink-3: rgba(255, 255, 255, .4); --line: rgba(255, 255, 255, .1); --fill: rgba(255, 255, 255, .07); --fill-2: rgba(255, 255, 255, .14);
  --inv: #f5f5f7; --on-inv: #0b0b0c; --screen: #111113; --card: #1c1c1e;
  margin: calc(var(--section) * .5) 12px 0; padding-block: var(--section); border-radius: var(--r); background: var(--night); color: var(--ink); }
.tg a { color: var(--ink); }
.tg-intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.tg-title { max-width: 900px; font-size: clamp(34px, 6.6vw, 64px); }
.tg-body { max-width: 560px; color: var(--ink-2); font-size: 18px; font-weight: 500; }
/* Maße in cqw (1 % der Breite von .tg-duo): Ecken, Rand und Rahmen wachsen mit – sonst schneiden die Ecken am Handy den Inhalt ab */
.tg-duo { position: relative; max-width: 1000px; margin: 80px auto 0; padding-right: 9%; container-type: inline-size; }
.dev-mac { --dev-r: clamp(9px, 1.9cqw, 18px); --dev-pad: clamp(4px, .85cqw, 8px); aspect-ratio: 16 / 10; }
.dev-phone { position: absolute; right: 0; bottom: -8%; width: 23%; aspect-ratio: 9 / 19.5; --dev-pad: .5cqw; --dev-r: 3.6cqw; outline: clamp(2px, .6cqw, 6px) solid var(--night); outline-offset: 0; }
.tg-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; max-width: 1080px; margin: 96px auto 0; padding: 0; list-style: none; }
@media (min-width: 960px) { .tg-points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tg-points li { display: flex; flex-direction: column; }
.tg-points [data-icon] { width: 28px; height: 28px; margin-bottom: 16px; color: var(--ink); }
.tg-points [data-icon] .ic { stroke-width: 1.6; }
.tg-points b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tg-points span:last-child { max-width: 30ch; margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 767px) { .tg { margin-inline: 8px; } .tg-duo { margin-top: 56px; } }

/* MARK: Eltern */
.te { padding-block: var(--section) calc(var(--section) * .5); }
.te-intro { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; margin-inline: auto; text-align: center; }
.te-title { font-size: clamp(36px, 7vw, 60px); }
.te-steps { display: grid; gap: 12px; margin: 56px 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .te-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.te-steps li { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r); background: var(--card); }
.te-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--inv); color: var(--on-inv); font: 760 19px/1 var(--display); }
.te-steps b { font: 760 24px/1.1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.te-steps span:last-child { color: var(--ink-2); font-size: 16px; }
.te-note { margin-top: 24px; color: var(--ink-2); font-size: 15px; text-align: center; }

/* MARK: Datenschutz-Raster */
.tp { padding-block: calc(var(--section) * .5); }
.tp-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .tp-lead { grid-column: span 2; } }
@media (min-width: 1100px) { .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; } .tp-lead { grid-area: 1 / 3 / span 2 / span 2; } }
.tp-lead { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 360px; padding: 32px; box-sizing: border-box; border-radius: var(--r); background: var(--inv); color: var(--on-inv); }
@media (min-width: 768px) { .tp-lead { min-height: 460px; padding: 44px; } }
.tp-lead-icon { width: 44px; height: 44px; }
.tp-lead .eyebrow { margin-bottom: 14px; color: color-mix(in srgb, var(--on-inv) 50%, transparent); }
.tp-title { font-size: clamp(36px, 5.6vw, 60px); }
.tp-body { max-width: 460px; margin-top: 16px; color: color-mix(in srgb, var(--on-inv) 66%, transparent); font-size: 18px; font-weight: 500; }
.tp-card { display: flex; flex-direction: column; gap: 32px; min-height: 200px; padding: 28px; box-sizing: border-box; border-radius: var(--r); background: var(--card); }
.tp-card > [data-icon] { width: 30px; height: 30px; color: var(--ink); }
.tp-card > [data-icon] .ic { stroke-width: 1.6; }
.tp-card h3 { font: 760 24px/1.1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.tp-card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* MARK: Preise */
.tq { padding-block: var(--section); }
.tq-intro { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 48px; text-align: center; }
.tq-title { max-width: 820px; font-size: clamp(36px, 7vw, 60px); }
.tq-plans { display: grid; gap: 12px; max-width: 980px; margin-inline: auto; align-items: stretch; }
@media (min-width: 860px) { .tq-plans { grid-template-columns: 1fr auto 1fr; gap: 16px; } }
.tq-plan { display: flex; flex-direction: column; gap: 28px; padding: 32px; border-radius: var(--r); background: var(--card); }
.tq-head { display: flex; flex-direction: column; gap: 6px; }
.tq-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 15px; }
.tq-icon-pro { background: var(--inv); color: var(--on-inv); }
.tq-icon-pro .ic { fill: currentColor; }
.tq-name { font-size: 22px; letter-spacing: -.02em; }
.tq-price { font-size: 44px; }
.tq-once { font: 500 17px/1.3 var(--font); letter-spacing: 0; color: var(--ink-3); }
.tq-note { color: var(--ink-2); font-size: 14px; }
.tq-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 16px; font-weight: 500; }
.tq-list li { display: flex; align-items: baseline; gap: 12px; }
.tq-list li::before { content: ""; flex: none; width: 5px; height: 10px; margin-left: 3px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.tq-trial { margin-top: auto; color: var(--ink-2); font-size: 14px; }
/* Premium: roter Schimmer-Pass mit Stundenplan-Muster (runde Stunden-Blöcke) (assets/img/test/premium-muster.svg), leicht schräg und schwebend.
   Der Schimmer wandert langsam; bei „Bewegung reduzieren“ steht alles still. */
.tq-plan.is-pro { position: relative; isolation: isolate; overflow: hidden; color: #fff; rotate: -1.6deg;
  background:
    radial-gradient(70% 55% at 85% 8%, rgba(255, 176, 150, .75), transparent 70%),
    radial-gradient(60% 50% at 6% 92%, rgba(255, 92, 128, .55), transparent 70%),
    radial-gradient(55% 45% at 95% 96%, rgba(255, 190, 120, .45), transparent 70%),
    linear-gradient(155deg, #f0574c 0%, #df4138 34%, #b11d1c 70%, #7d0f13 100%);
  animation: tq-float 7s ease-in-out infinite; }
.tq-plan.is-pro::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: url("../img/test/premium-muster.svg") 0 0 / 230px; opacity: .12; rotate: -12deg; }
.tq-plan.is-pro::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, rgba(255, 214, 200, .12) 52%, transparent 66%) 100% 0 / 260% 100%;
  animation: tq-shine 9s ease-in-out infinite; }
/* Maus: Karte kippt leicht zum Zeiger (test-page.js setzt --tx und --ty) */
.tq-plans .tq-plan.is-pro { transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .6s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.tq-plans .tq-plan.is-pro.is-tilt { transition: transform .12s linear, opacity .9s var(--ease); }
@keyframes tq-float { 0%, 100% { translate: 0 0; rotate: -1.6deg; } 50% { translate: 0 -10px; rotate: -.8deg; } }
@keyframes tq-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.tq-plan.is-pro .tq-icon-pro { background: #fff; color: #e2453d; outline: 1px solid rgba(255, 255, 255, .6); outline-offset: 3px; }
.tq-plan.is-pro :is(.tq-once, .tq-note, .tq-trial) { color: rgba(255, 255, 255, .78); }
.tq-plan.is-pro .tq-list li { align-items: center; }
.tq-plan.is-pro .tq-list li::before { width: 22px; height: 22px; margin: 0; border: 0; rotate: none; translate: none; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.4l2.8 2.8L15.2 8.6' fill='none' stroke='%23c8241f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.tq-plus { display: grid; place-items: center; place-self: center; width: 44px; height: 44px; border-radius: 50%; box-sizing: border-box; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.tq-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 56px; }

/* MARK: Häufige Fragen */
.tx { padding-block: var(--section); border-top: 1px solid var(--line); }
.tx-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .tx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; } }
.tx-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tx-title { font-size: clamp(36px, 7vw, 56px); }
.tx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-2); font-weight: 600; text-decoration: none; transition: color .2s ease, gap .3s var(--ease); }
.tx-more:hover { color: var(--ink); gap: 10px; }
.tx-list { border-top: 1px solid var(--line); }
.tx-item { border-bottom: 1px solid var(--line); }
.tx-q { margin: 0; font: inherit; }
.tx-q button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
  font: 650 19px/1.3 var(--display); letter-spacing: -.02em; -webkit-tap-highlight-color: transparent; }
.tx-q button:focus-visible { outline-offset: 4px; border-radius: 6px; }
.tx-q [data-icon] { flex: none; color: var(--ink-3); transition: rotate .4s var(--spring), color .2s ease; }
.tx-item.is-open .tx-q [data-icon] { color: var(--ink); rotate: 45deg; }
.tx-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--spring); }
.tx-item.is-open .tx-a { grid-template-rows: 1fr; transition-duration: .45s; }
.tx-a > div { min-height: 0; overflow: hidden; }
.tx-a p { max-width: 640px; padding-bottom: 24px; color: var(--ink-2); opacity: 0; translate: 0 -6px; transition: opacity .18s ease-out, translate .25s ease-out; }
.tx-item.is-open .tx-a p { opacity: 1; translate: 0; transition: opacity .3s ease-out 80ms, translate .45s var(--spring) 50ms; }
.tx-a a { color: var(--ink); text-decoration-color: var(--ink-3); text-underline-offset: 3px; }

/* MARK: Schluss und Fußzeile */
.tz { padding-block: calc(var(--section) * .8) var(--section); }
.tz-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.tz-mark { margin-bottom: 8px; }
.tz-title { font-size: clamp(40px, 7.4vw, 76px); }
.tz .lead { max-width: 34em; }
.tz .th-cta { margin-top: 16px; }

.tfoot { overflow: hidden; color: var(--ink-2); font-size: 14px; }
/* Punktefeld (foot-dots.js): liegt hinter dem Fuß, das „eyns“ entsteht aus Punkten – das flache Wort bleibt nur als Platzhalter */
.tfoot.has-dots { position: relative; touch-action: pan-y; }
.tfoot-dots { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.tfoot.has-dots .tfoot-inner { position: relative; z-index: 1; }
.tfoot.has-dots .tfoot-word { visibility: hidden; }
/* Oben eine schlanke Zeile: Linie, © und Links */
.tfoot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-block: 26px 0; }
.tfoot-inner::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: 16px; background: var(--line); }
.tfoot-copy { margin: 0; color: var(--ink-3); }
.tfoot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tfoot-links a { text-decoration: none; font-weight: 500; }
.tfoot-links a:hover, .tfoot-links a[aria-current] { color: var(--ink); }
/* Darunter riesig „eyns“ – zart grau, unten angeschnitten, aber so tief, dass das „y“ erkennbar bleibt (nur Schmuck, für Screenreader versteckt) */
.tfoot-mark { --tf-ink: color-mix(in srgb, var(--ink) 9%, var(--bg)); --tf-size: clamp(112px, 38vw, 500px); display: flex; align-items: flex-start;
  max-width: calc(var(--max) + var(--gutter) * 2); height: calc(var(--tf-size) * .74); margin: clamp(24px, 4vw, 56px) auto 0; padding-inline: var(--gutter);
  box-sizing: border-box; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.tfoot-word { color: var(--tf-ink); font: 900 var(--tf-size)/1 var(--display); letter-spacing: -.07em; white-space: nowrap; margin: -.3em 0 0 -.05em; }
.tfoot-logo { width: .6em; height: .6em; margin: 0 .02em -.015em 0; vertical-align: baseline; }
.tfoot-logo circle { fill: var(--tf-ink); }
.tfoot-logo path { fill: none; stroke: var(--bg); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.tfoot-c { position: relative; top: 1.75em; margin-left: .12em; font-size: .17em; font-weight: 700; letter-spacing: 0; vertical-align: top; }

/* MARK: Rechtliches (Impressum, Datenschutz, Nutzungsbedingungen) – gleiche Leiste und Schrift wie die Startseite */
.legal { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 120px; box-sizing: content-box; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.legal h1 { margin: 0 0 14px; color: var(--ink); font: 760 clamp(36px, 7vw, 68px)/1.02 var(--display); hyphens: auto; overflow-wrap: break-word; font-stretch: 112%; letter-spacing: -.045em; }
.legal-meta { display: inline-flex; margin: 0 0 56px; padding: .35em .75em; border-radius: .8em; background: var(--fill); color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.3; }
.legal h2 { margin: 56px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink); font: 720 clamp(22px, 2.6vw, 26px)/1.2 var(--display); letter-spacing: -.025em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin: 32px 0 8px; color: var(--ink); font: 700 19px/1.3 var(--display); letter-spacing: -.015em; }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--ink-3); }
.legal strong { color: var(--ink); font-weight: 650; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.legal a:hover { text-decoration-color: var(--ink); }
.legal table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 15px; }
.legal :is(th, td) { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { color: var(--ink); font-weight: 650; }
/* Versteckter Oktopus (okto-spot.js): unauffällig, bis man ihn findet */
.okto-hidden { display: inline-block; width: .8em; height: .86em; vertical-align: -.05em; fill: currentColor; opacity: .35; cursor: default; }
.okto-hidden:hover { opacity: .6; }

/* MARK: Hilfe (hilfe.html) – Suche, Themen links, Antworten rechts, darunter das Formular (help-page.js, help-form.js) */
button.btn { border: 0; cursor: pointer; }
.btn-filled { background: var(--inv); color: var(--on-inv); }
.btn-filled:hover { background: color-mix(in srgb, var(--inv) 86%, var(--bg)); }
.btn-quiet { background: var(--fill-2); color: var(--ink); }
.btn-quiet:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.hx { padding-bottom: 40px; }
.hx-hero { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 72px var(--gutter) 48px; text-align: center; }
.hx-hero h1 { font-size: clamp(44px, 8vw, 84px); color: var(--ink); }
.hx-hero h1 span, .hx-contact h2 span { color: var(--ink-3); }
.hx-search { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 620px); height: 64px; margin-top: 14px; padding: 0 16px 0 20px; box-sizing: border-box;
  border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-3); transition: border-color .2s ease; }
.hx-search:focus-within { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.hx-search svg { flex: none; width: 22px; height: 22px; }
.hx-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font: 500 18px/1 var(--font); outline: none; }
.hx-search input::placeholder { color: var(--ink-3); }
.hx-search input::-webkit-search-cancel-button { display: none; }
.hx-search kbd { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; background: var(--fill); color: var(--ink-2); font: 600 13px/1 var(--font); }
@media (hover: none) { .hx-search kbd { display: none; } }
.hx-status { min-height: 1.3em; margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.hx-noscript { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.hx-body { display: grid; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
@media (min-width: 900px) { .hx-body { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; } }
.hx-topics { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.hx-topics::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .hx-topics { position: sticky; top: 96px; flex-direction: column; gap: 4px; overflow: visible; margin: 0; padding: 8px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); } }
.hx-topic { display: flex; flex: none; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px 6px 6px; border: 0; border-radius: 16px; background: var(--card); color: var(--ink); font: 600 15px/1.2 var(--font); text-align: left; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
@media (max-width: 899px) { .hx-topic { border: 1px solid var(--line); } .hx-tchev { display: none; } }
.hx-topic:hover { background: var(--fill); }
.hx-topic:active { transform: scale(.98); }
.hx-topic b { flex: 1; font-weight: 600; white-space: nowrap; }
.hx-ticon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--fill); color: var(--ink); }
.hx-ticon .ic { width: 18px; height: 18px; }
.hx-tcount { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: 12px; font-weight: 700; text-align: center; box-sizing: border-box; }
.hx-tchev { display: grid; color: var(--ink-3); }
.hx-topic[aria-pressed="true"] { background: var(--inv); color: var(--on-inv); }
.hx-topic[aria-pressed="true"] :is(.hx-ticon, .hx-tcount) { background: color-mix(in srgb, var(--on-inv) 16%, transparent); color: var(--on-inv); }
.hx-topic[aria-pressed="true"] .hx-tchev { color: var(--on-inv); }
.hx-topics.is-searching .hx-topic { opacity: .5; }

.hx-panel { padding: 28px 28px 12px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
@media (max-width: 599px) { .hx-panel { padding: 22px 20px 6px; border-radius: 24px; } }
.hx-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.hx-panel-head .hx-ticon { width: 48px; height: 48px; border-radius: 15px; background: var(--inv); color: var(--on-inv); }
.hx-panel-head h2 { margin: 0; color: var(--ink); font: 720 26px/1.15 var(--display); letter-spacing: -.03em; }
.hx-panel-head small { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.hq-item { border-top: 1px solid var(--line); }
.hq-list .hq-item:first-child { border-top: 0; }
.hq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.hq-item summary::-webkit-details-marker { display: none; }
.hq-item summary span { flex: 1; }
.hq-item summary small { display: block; flex-basis: 100%; margin-bottom: -10px; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hq-item summary:has(small) { flex-wrap: wrap; }
.hq-item summary .ic { flex: none; color: var(--ink-3); transition: rotate .4s var(--spring), color .2s ease; }
.hq-item[open] summary .ic { rotate: 45deg; color: var(--ink); }
.hq-item summary:focus-visible { outline-offset: 4px; border-radius: 6px; }
.hq-answer { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.hq-answer p { margin: 0; max-width: 680px; }
.hq-answer a { color: var(--ink); text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
.hx-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; text-align: center; }
.hx-empty h2 { margin: 6px 0 0; color: var(--ink); font: 720 24px/1.2 var(--display); letter-spacing: -.03em; }
.hx-empty p { margin: 0 0 10px; color: var(--ink-2); }

/* Kontakt: links Text und Wege, rechts das Formular wie eine Mail */
.hx-contact { display: grid; gap: 32px; max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0; box-sizing: content-box; scroll-margin-top: 40px; }
@media (min-width: 960px) { .hx-contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }
.hx-contact h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(36px, 6vw, 56px); }
.hx-contact-side > p { margin: 0 0 24px; color: var(--ink-2); font-size: 17px; }
.hx-ways { display: grid; gap: 10px; }
.hx-way { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), border-color .2s ease; }
.hx-way:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.hx-way:active { transform: scale(.98); }
.hx-way b { font-weight: 650; }
.hx-way small { grid-column: 1; color: var(--ink-2); font-size: 14px; }
.hx-way svg { grid-row: 1 / 3; grid-column: 2; width: 20px; height: 20px; color: var(--ink-3); }
.gm, .guest-done { border-radius: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.gm-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.gm-row[hidden] { display: none; }
.gm-label { flex: none; width: 56px; color: var(--ink-3); font-size: 15px; font-weight: 500; }
.gm-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink); }
.gm-who b { font-weight: 650; }
.gm-who small { color: var(--ink-3); font-size: 13px; }
.gm-mark svg { display: block; width: 26px; height: 26px; }
.gm-input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; color: var(--ink); font: 500 16px/1 var(--font); outline: none; }
.gm-input::placeholder, .gm-body::placeholder { color: var(--ink-3); }
.gm-name { flex: 0 1 140px; }
.gm-sep { width: 1px; height: 22px; background: var(--line); }
@media (max-width: 599px) { .gm-from { flex-wrap: wrap; } .gm-sep { display: none; } .gm-name { flex-basis: 100%; padding-left: 68px; } }
.gm-subject { flex-wrap: wrap; padding-block: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); font: 600 14px/1 var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
.chip:hover { background: var(--fill); color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.is-on { border-color: transparent; background: var(--inv); color: var(--on-inv); }
.gm-body { display: block; width: 100%; min-height: 220px; padding: 20px 22px; box-sizing: border-box; border: 0; background: none; color: var(--ink); font: 400 17px/1.6 var(--font); resize: vertical; outline: none; }
.gf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 22px; border-top: 1px solid var(--line); }
.gm-foot-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-status { color: var(--ink); font-size: 14px; font-weight: 600; }
.gf-status:empty { display: none; }
.gf-status.is-bad { color: #e5484d; }
.gf-note { margin: 0; color: var(--ink-3); font-size: 13px; }
.gf-note a { color: var(--ink-2); }
.gm-foot .btn { height: 48px; padding: 0 26px; border-radius: 16px; font-size: 16px; }
.guest-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 28px; text-align: center; }
.guest-done[hidden] { display: none; }
.gd-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--inv); color: var(--on-inv); font-size: 24px; font-weight: 700; }
.guest-done h3 { margin: 6px 0 0; color: var(--ink); font: 720 26px/1.2 var(--display); letter-spacing: -.03em; }
.guest-done p { margin: 0 0 10px; color: var(--ink-2); }

/* MARK: Auftauchen beim Hereinscrollen (nur mit Skript und Bewegung) */
.fx [data-rise] { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s); }
.fx [data-rise].is-in { opacity: 1; translate: 0 0; }

/* MARK: Bewegung reduzieren – alles steht ruhig da, nichts wippt oder blendet */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bit-bob, .th-copy > *, .th-pill, .th-w, .th-now-in, .th-live *, .th-soon * { animation: none !important; }
  .tq-plan.is-pro, .tq-plan.is-pro::after { animation: none; }
  .th-fact .gl, .tn-theme > span, .dev-morph, .dev-morph .shot, .tf-switch, .tx-a, .tx-a p, .tf-switch button, body { transition: none; }
}
