/* =========================================================
   BOLD SIGNAL – Design-System
   Monochrom, Raster, Glow. Be Bold. Own The Feed.
   ========================================================= */

/* Logo-Schrift: Open Sans (variabel 300–800), selbst gehostet (DSGVO, keine Google-Verbindung).
   Lizenz: SIL Open Font License, siehe assets/fonts/OFL-LICENSE.txt */
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-style: normal; font-display: swap;
  src: url("../fonts/open-sans-variable.woff2") format("woff2"); }

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --dim: #6e6e6e;
  --white: #fff;
  --ok: #6ee7a0;
  --warn: #f5d76e;
  --bad: #f78b8b;
  --info: #9cc6f7;
  --glow: 0 0 6px rgba(255, 255, 255, .55), 0 0 22px rgba(255, 255, 255, .28), 0 0 60px rgba(255, 255, 255, .14);
  --glow-box: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 30px rgba(255, 255, 255, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Open Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --header-h: 76px;
  --mx: 50vw;
  --my: 40vh;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(ellipse 90% 70% at 50% 30%, #262626 0%, #141414 45%, #070707 100%) fixed, var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Testbetrieb-Banner ---------- */
.test-banner {
  position: fixed; inset: 0 0 auto; z-index: 950;
  display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; align-items: center;
  padding: 9px 16px; background: #c81e1e; color: #fff; font-size: .85rem; line-height: 1.35; text-align: center;
  box-shadow: 0 0 28px rgba(220, 38, 38, .55);
}
.test-banner strong { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; }
body.has-test-banner { --banner-h: 40px; padding-top: var(--banner-h); }
body.has-test-banner .site-header { top: var(--banner-h); }
body.has-test-banner .mobile-menu { top: var(--banner-h); }

/* ---------- Hintergrund: Raster + Spotlight ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 30%, transparent 100%);
}
.bg-grid-hot {
  background-image:
    linear-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .28) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 70%);
          mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
body.has-pointer .bg-grid-hot { opacity: 1; }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  body[data-cursor] .cursor, body[data-cursor] .cursor-ring {
    display: block; position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; border-radius: 50%;
    opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background .3s;
  }
  body.has-pointer .cursor, body.has-pointer .cursor-ring { opacity: 1; }
  .cursor { width: 6px; height: 6px; background: #fff; margin: -3px 0 0 -3px; box-shadow: 0 0 10px #fff; }
  .cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(255, 255, 255, .5); }
  body.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .08); border-color: #fff; }
  body.cursor-down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}

/* ---------- Page Loader / Übergänge ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 900; display: grid; place-items: center;
  background: var(--bg); transition: opacity .45s var(--ease), visibility .45s;
}
.page-loader .signal-arcs { width: 90px; }
body.is-loaded .page-loader { opacity: 0; visibility: hidden; }
body.is-leaving .page-loader { opacity: 1; visibility: visible; transition-duration: .25s; }

/* ---------- Signalbögen ---------- */
.signal-arcs { overflow: visible; }
.wm-arcs, .hero-arcs { max-width: none; }
.signal-arcs .arc { fill: none; stroke: currentColor; stroke-width: 4.5; }
.signal-arcs .arc-dot { fill: currentColor; }
.loader-arcs { color: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .7)); }
.loader-arcs .arc, .pulse-arcs .arc { animation: arc-pulse 1.4s var(--ease) infinite; }
.loader-arcs .arc-2, .pulse-arcs .arc-2 { animation-delay: .15s; }
.loader-arcs .arc-3, .pulse-arcs .arc-3 { animation-delay: .3s; }
.loader-arcs .arc-4, .pulse-arcs .arc-4 { animation-delay: .45s; }
@keyframes arc-pulse { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }

/* ---------- Wortmarke ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: .28em; font-size: 1.35rem; letter-spacing: .01em; line-height: 1; white-space: nowrap; text-shadow: var(--glow); }
.wm-bold { font-weight: 800; }
.wm-signal { font-weight: 400; }
.wm-i { position: relative; display: inline-block; }
.wm-arcs { position: absolute; left: 50%; bottom: 88%; width: .8em; transform: translateX(-50%); color: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }
.brand:hover .wm-arcs .arc { animation: arc-pulse 1s var(--ease) infinite; }
.brand:hover .wm-arcs .arc-2 { animation-delay: .1s; }
.brand:hover .wm-arcs .arc-3 { animation-delay: .2s; }
.brand:hover .wm-arcs .arc-4 { animation-delay: .3s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, backdrop-filter .35s, border-color .35s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; padding-top: 6px; }
.brand { flex: none; padding-top: 8px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; padding: 8px 12px; font-size: .92rem; color: var(--muted); border-radius: 999px; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: #fff; box-shadow: 0 0 10px #fff; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) 24px 32px;
  background: rgba(8, 8, 8, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; line-height: 1.25; opacity: 0; transform: translateX(-30px); animation: slide-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 50ms); }
.mobile-menu nav a.is-active, .mobile-menu nav a:hover { text-shadow: var(--glow); }
.mobile-menu .mobile-login { font-weight: 400; color: var(--muted); }
.mobile-menu-slogan { letter-spacing: .4em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
@keyframes slide-in { to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --mx-off: 0px; --my-off: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 999px; border: 1px solid #fff;
  background: #fff; color: #000; font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx-off), var(--my-off));
  transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s;
}
.btn:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 0 40px rgba(255, 255, 255, .45); }
.btn:active { transform: translate(var(--mx-off), var(--my-off)) scale(.96); }
.btn .icon { transition: transform .35s var(--bounce); }
.btn:hover .icon-arrow, .btn:hover .icon:last-child:not(:first-child) { transform: translateX(4px); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-glow { animation: btn-breathe 3s ease-in-out infinite; }
@keyframes btn-breathe { 0%, 100% { box-shadow: 0 0 12px rgba(255, 255, 255, .25); } 50% { box-shadow: 0 0 30px rgba(255, 255, 255, .5); } }
.btn-sm { padding: .62em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1.1em 2em; font-size: 1.08rem; }
.btn-danger { background: transparent; border-color: rgba(247, 139, 139, .5); color: var(--bad); }
.btn-danger:hover { background: rgba(247, 139, 139, .1); box-shadow: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: .8em; border-color: #fff; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .8em; text-transform: uppercase; letter-spacing: .45em; font-size: .78rem; color: var(--muted); margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: #fff; box-shadow: 0 0 8px #fff; }
.display { font-size: clamp(2.4rem, 6.5vw, 5.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.display .thin { font-weight: 300; }
.glow-text { text-shadow: var(--glow); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.tagline { text-transform: uppercase; letter-spacing: .55em; font-weight: 300; }
.tagline b { font-weight: 800; }
.glow-line { height: 3px; border-radius: 3px; background: #fff; box-shadow: 0 0 8px #fff, 0 0 30px rgba(255, 255, 255, .5); }
.divider { width: min(var(--wrap), 100% - 32px); margin: 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 130px)) 0 clamp(40px, 6vw, 80px); position: relative; }
.page-hero .display { max-width: 15ch; }
.page-hero .lead { margin-top: 1.4rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 70ms + var(--d, 0s)); }
.split-words.is-visible .w > span { transform: none; }

/* ---------- Hero (Startseite) ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; position: relative; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.hero-logo { position: relative; z-index: 2; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
.hero-word { display: flex; justify-content: center; align-items: baseline; gap: .26em; font-size: clamp(3rem, 11.5vw, 10rem); line-height: 1; letter-spacing: .005em; white-space: nowrap; }
/* Endzustand ist immer sichtbar. Die Intro-Animationen spielen nur VON unsichtbar (fill-mode: both),
   damit Logo, Strich & Slogan auch dann erscheinen, wenn ein Browser Animationen auslässt. */
.hero-word .h-bold { font-weight: 800; text-shadow: var(--glow); display: inline-block; }
.hero-word .h-signal { font-weight: 400; text-shadow: var(--glow); display: inline-flex; }
.hero-word .h-signal > span { display: inline-block; }
.hero-word .h-i { position: relative; }
.hero-arcs { position: absolute; left: 50%; bottom: 88%; width: .78em; transform: translateX(-50%); color: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); cursor: pointer; pointer-events: auto; }
.hero-line { margin: clamp(10px, 1.5vw, 22px) 0 clamp(14px, 2vw, 26px); transform-origin: left; }
.hero-tagline { display: flex; justify-content: space-between; font-size: clamp(.72rem, 2.3vw, 1.9rem); letter-spacing: 0; text-transform: uppercase; font-weight: 300; }
.hero-tagline span { display: inline-block; }
.hero-tagline b { font-weight: 800; }
.hero-tagline .sp { width: .15em; }
.hero-est { text-align: right; font-size: clamp(.65rem, 1.2vw, 1rem); letter-spacing: .5em; color: #d9d9d9; margin-top: .4em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 60px); }

body.is-loaded .hero-word .h-bold { animation: slam .7s .2s var(--bounce) both; }
body.is-loaded .hero-word .h-signal > span { animation: appear .01s both; animation-delay: calc(.75s + var(--li) * 110ms); }
body.is-loaded .hero-arcs .arc-dot { animation: appear .3s 1.4s both; }
body.is-loaded .hero-arcs .arc-1 { animation: arc-on .4s 1.5s both, arc-pulse 2.4s 3.2s infinite; }
body.is-loaded .hero-arcs .arc-2 { animation: arc-on .4s 1.62s both, arc-pulse 2.4s 3.35s infinite; }
body.is-loaded .hero-arcs .arc-3 { animation: arc-on .4s 1.74s both, arc-pulse 2.4s 3.5s infinite; }
body.is-loaded .hero-arcs .arc-4 { animation: arc-on .4s 1.86s both, arc-pulse 2.4s 3.65s infinite; }
body.is-loaded .hero-line { animation: draw-line 1s 1.9s var(--ease) both; }
body.is-loaded .hero-tagline span { animation: rise .6s var(--ease) both; animation-delay: calc(2.2s + var(--ti) * 40ms); }
body.is-loaded .hero-est { animation: appear .8s 3.1s both; }
body.is-loaded .hero-actions { animation: rise .8s 2.9s var(--ease) both; }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes arc-on { 0% { opacity: 0; } 50% { opacity: 1; filter: drop-shadow(0 0 10px #fff); } 100% { opacity: 1; } }
@keyframes slam { 0% { opacity: 0; transform: scale(2.4); filter: blur(12px); } 60% { opacity: 1; transform: scale(.94); filter: blur(0); } 80% { transform: scale(1.03) rotate(-1deg); } 100% { opacity: 1; transform: none; } }
@keyframes draw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.burst-ring { position: absolute; left: 50%; top: 100%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 2px solid #fff; border-radius: 50%; pointer-events: none; box-shadow: 0 0 20px #fff; animation: burst 1.1s var(--ease) forwards; }
@keyframes burst { from { opacity: 1; transform: scale(.2); } to { opacity: 0; transform: scale(14); } }

.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; transition: transform .6s var(--ease); }
.floater .icon { width: 26px; height: 26px; }
.floater-inner { display: grid; place-items: center; animation: bob 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
body.is-loaded .floater { animation: appear 1s both; animation-delay: calc(2.2s + var(--fd, 0s)); }
.floater.pill { width: auto; height: auto; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.floater.pill .floater-inner { display: flex; gap: 8px; align-items: center; }
.floater .heart { color: #fff; fill: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(4deg); } }
.like-pop { animation: like-pop .5s var(--bounce); }
@keyframes like-pop { 40% { transform: scale(1.35); } }

.notify-stack { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 36px; z-index: 3; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.notify { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-strong); font-size: .85rem; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); animation: notify-in .6s var(--bounce) both; max-width: 300px; }
.notify.out { animation: notify-out .5s var(--ease) forwards; }
.notify .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #fff, #555); flex: none; display: grid; place-items: center; color: #000; font-weight: 800; font-size: .75rem; }
@keyframes notify-in { from { opacity: 0; transform: translateX(-40px) scale(.9); } }
@keyframes notify-out { to { opacity: 0; transform: translateY(10px) scale(.9); } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; z-index: 2; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: rgba(0, 0, 0, .35); }
.marquee + .marquee { border-top: 0; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 32s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.marquee-track .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Karten ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  --cx: 50%; --cy: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .4s;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--cx) var(--cy), rgba(255, 255, 255, .1), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 255, 255, .06); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.45rem; font-weight: 800; }
.card p { color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; border: 1px solid var(--line-strong); margin-bottom: 22px; background: rgba(255, 255, 255, .04); transition: transform .5s var(--bounce), background .3s, color .3s; }
.card-icon .icon { width: 26px; height: 26px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); background: #fff; color: #000; box-shadow: 0 0 30px rgba(255, 255, 255, .5); }
.card-num { position: absolute; right: 22px; top: 14px; font-size: 4.5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .15); transition: -webkit-text-stroke-color .4s; }
.card:hover .card-num { -webkit-text-stroke-color: rgba(255, 255, 255, .5); }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; align-content: start; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.check-list li .icon { margin-top: .3em; }

/* ---------- Feature-Zeile ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Statistiken ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { padding: 22px; border-left: 1px solid var(--line-strong); }
.stat-num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; text-shadow: var(--glow); }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---------- Ablauf / Timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(28px, 5vw, 60px); padding-left: 64px; }
.timeline::before, .timeline-fill { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline-fill { background: #fff; box-shadow: 0 0 12px #fff; transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { position: relative; }
.step-dot { position: absolute; left: -64px; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-strong); font-weight: 800; transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.step.is-active .step-dot { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, .7); }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; padding-top: 6px; }
.step p { color: var(--muted); max-width: 60ch; }
.step .tag { display: inline-block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: .4em; }

/* ---------- Preise ---------- */
.price-toggle { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-strong); position: relative; margin-bottom: 40px; }
.price-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--muted); transition: color .3s; }
.price-toggle button.is-active { color: #000; }
.price-toggle .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, .5); transition: transform .45s var(--bounce), width .45s var(--bounce); }
.save-chip { font-size: .7rem; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; margin-left: 6px; }
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: #fff; box-shadow: var(--glow-box); background: rgba(255, 255, 255, .06); }
.price-card .badge-top { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; background: #fff; color: #000; padding: 4px 12px; border-radius: 999px; font-weight: 800; }
.price { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-num { display: inline-block; transition: transform .35s var(--bounce), opacity .2s; }
.price-num.flip { transform: translateY(-12px); opacity: 0; }
.price-card .check-list { flex: 1; margin-bottom: 26px; }
.pkg-signal { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pkg-arcs { width: 46px; flex: none; color: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .5)); }
.pkg-arcs .arc { transition: opacity .4s; }
.strength-1 .arc-2, .strength-1 .arc-3, .strength-1 .arc-4,
.strength-2 .arc-3, .strength-2 .arc-4,
.strength-3 .arc-4 { opacity: .15; }
.price-card:hover .pkg-arcs .arc { animation: arc-pulse 1.2s var(--ease) infinite; }
.price-card:hover .pkg-arcs .arc-2 { animation-delay: .12s; }
.price-card:hover .pkg-arcs .arc-3 { animation-delay: .24s; }
.price-card:hover .pkg-arcs .arc-4 { animation-delay: .36s; }
.strength-2 .arc-3, .strength-2 .arc-4, .strength-3 .arc-4 { animation: none !important; }
.pkg-tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.founder-line { font-size: .85rem; color: var(--muted); margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px dashed var(--line-strong); animation: fade-up .5s var(--ease) both; }
.founder-line b { color: #fff; }
.founder-line[hidden] { display: none; }

/* ---------- Neugründer-Phasen ---------- */
.founder-card { padding-top: 40px; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); align-items: end; height: 300px; }
.phase { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; height: 100%; }
.phase-tag { font-weight: 800; font-size: clamp(.95rem, 2vw, 1.3rem); text-shadow: var(--glow); white-space: nowrap; }
.phase-bar { width: 100%; height: var(--h); max-height: calc(100% - 70px); border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .25)); box-shadow: 0 0 30px rgba(255, 255, 255, .25); display: flex; justify-content: center; padding-top: 12px; color: #000; font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1rem); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--bounce); transition-delay: calc(.3s + var(--i) * .18s); }
.phase:last-child .phase-bar { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .08)); color: #fff; box-shadow: none; }
.founder-card.is-visible .phase-bar { transform: none; }
.phase-label { font-size: .8rem; color: var(--muted); text-align: center; white-space: nowrap; }
.founder-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(26px, 4vw, 48px); border-color: rgba(255, 255, 255, .35); background: linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); }
.founder-teaser .big { font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 800; line-height: .9; text-shadow: var(--glow); letter-spacing: -.03em; }
.founder-teaser h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: .3em; }
.founder-teaser p { margin: 0; }
@media (max-width: 860px) { .founder-teaser { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { border: 1px solid var(--line-strong); background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; transition: all .3s var(--ease); }
.chip:hover { color: #fff; border-color: #fff; }
.chip.is-active { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, .35); }
.case { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease), opacity .4s, border-color .4s; }
.case.is-hidden { display: none; }
.case-cat { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dim); }
.case-metric { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; line-height: 1; text-shadow: var(--glow); }
.case-metric-label { color: var(--muted); font-size: .9rem; }
.case h3 { margin-top: 18px; }

/* ---------- Phone-Mockup ---------- */
.phone { width: min(320px, 80vw); aspect-ratio: 9 / 18.5; margin-inline: auto; border-radius: 44px; border: 2px solid rgba(255, 255, 255, .35); padding: 14px; background: #050505; box-shadow: 0 0 0 8px rgba(255, 255, 255, .03), 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 0 0 14px 14px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 32px; overflow: hidden; position: relative; background: #0d0d0d; }
.feed { display: flex; flex-direction: column; gap: 14px; padding: 40px 12px 12px; animation: feed-scroll 22s linear infinite; }
.phone:hover .feed { animation-play-state: paused; }
.feed-post { border-radius: 16px; background: #161616; padding: 10px; }
.feed-head { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; margin-bottom: 8px; }
.feed-head i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #fff, #444); }
.feed-media { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, #2b2b2b, #111); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; text-align: center; padding: 12px; letter-spacing: .02em; }
.feed-media.alt { background: linear-gradient(160deg, #fff, #9a9a9a); color: #000; }
.feed-media.tall { aspect-ratio: 4 / 5; }
.feed-bar { display: flex; gap: 10px; align-items: center; font-size: .72rem; margin-top: 8px; color: var(--muted); }
.feed-bar .icon { width: 16px; height: 16px; }
@keyframes feed-scroll { to { transform: translateY(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 400; font-size: 1.3rem; transition: transform .4s var(--bounce), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: #fff; color: #000; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.post-card .meta { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); }
.post-card h3 { font-size: 1.5rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.article { max-width: 760px; margin-inline: auto; }
.article-body { font-size: 1.12rem; }
.article-body h2 { font-size: 1.8rem; margin-top: 1.8em; }
.article-body h3 { font-size: 1.35rem; margin-top: 1.5em; }
.article-body p, .article-body li { color: #d4d4d4; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .4em; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: #fff; box-shadow: 0 0 12px #fff; transform-origin: left; transform: scaleX(var(--read, 0)); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .35); color: var(--text); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #111; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 0 24px rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .55); }
.field .hint { font-size: .8rem; color: var(--dim); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: #fff; flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.founder-box { display: grid; gap: 14px; padding: 16px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, .04); }
.founder-box .field[hidden] { display: none; }
.field input[type="month"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.form-error { color: var(--bad); font-size: .9rem; }

/* ---------- Flash-Meldungen ---------- */
.flashes { display: grid; gap: 10px; margin-bottom: 20px; }
.flash { overflow-wrap: anywhere; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface-2); animation: notify-in .5s var(--bounce); }
.flash-success { border-color: rgba(110, 231, 160, .5); }
.flash-error { border-color: rgba(247, 139, 139, .6); }
.flash-info { border-color: rgba(156, 198, 247, .5); }
.flash-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; border: 1px solid currentColor; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge-ok { color: var(--ok); } .badge-warn { color: var(--warn); } .badge-bad { color: var(--bad); } .badge-info { color: var(--info); }

/* ---------- Auth-Seiten ---------- */
.auth { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 30px) 16px 60px; }
.auth-card { width: min(460px, 100%); padding: clamp(28px, 5vw, 44px); }
.auth-card h1 { font-size: 2rem; font-weight: 800; }
.auth-card .signal-arcs { width: 64px; color: #fff; margin-bottom: 18px; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6)); }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.cta-band .display { margin-inline: auto; max-width: 14ch; }
.cta-band .signal-arcs { width: clamp(90px, 12vw, 150px); margin: 0 auto 30px; color: #fff; filter: drop-shadow(0 0 12px rgba(255, 255, 255, .7)); }
.success-burst { text-align: center; padding: 30px 0; }
.success-burst .signal-arcs { width: 120px; margin: 0 auto 20px; color: #fff; filter: drop-shadow(0 0 12px #fff); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: #cfcfcf; }
.placeholder { background: rgba(245, 215, 110, .12); color: var(--warn); padding: 0 6px; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: .92em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(0, 0, 0, .4); }
.footer-marquee { overflow: hidden; padding: 30px 0; border-bottom: 1px solid var(--line); }
.footer-marquee .marquee-track { animation-duration: 40s; gap: 60px; }
.footer-marquee .marquee-track span { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 300; text-transform: uppercase; gap: 60px; }
.footer-marquee .marquee-track span b { font-weight: 800; text-shadow: var(--glow); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 60px 0 40px; }
.footer-grid h3 { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 20px; }
.footer-brand .est { letter-spacing: .5em; font-size: .8rem; color: var(--dim); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 32px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--dim); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hide-sm { display: none !important; }
  /* Handy: keine Icons rund ums Logo – nur der Like-Zähler, mittig über dem Logo */
  .floater { display: none; }
  .floater.pill { display: grid; left: 50% !important; right: auto !important; top: calc(var(--header-h) + 16px) !important; bottom: auto !important; transform: translateX(-50%) !important; font-size: .85rem; padding: 8px 14px; }
  .scroll-hint { display: none; }
  .hero { padding-bottom: 48px; }
  .hero-word { font-size: clamp(2.4rem, 11vw, 4.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 300px); margin-inline: auto; }
  .notify-stack { display: none; }
  .timeline { padding-left: 52px; }
  .timeline::before, .timeline-fill { left: 17px; }
  .step-dot { left: -52px; width: 36px; height: 36px; font-size: .85rem; }
  .card-num { font-size: 3.2rem; }
  .price-toggle button { padding: 10px 13px; font-size: .88rem; }
  .price-toggle .save-chip { display: none; }
  .phases { height: 250px; }
  .header-actions .btn-ghost { padding: .55em .9em; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.1rem; }
  .header-actions .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  [data-reveal], .split-words .w > span { opacity: 1; transform: none; }
  .marquee-track, .feed { animation: none !important; }
}
