/* Werkbank – Verkaufsseite (Entwurf). Farben aus docs/product/DESIGN-DUNKEL-1.md / src/app/theme.css. */

@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/hubot-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Werkbank Ziffern";
  src: url("../fonts/werkbank-ziffern.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0030-0039;
}

/* ---------- Ebene 1: Marke ---------- */
:root {
  --tc-navy: #001e3e;
  --tc-navy-deep: #021632;
  --tc-yellow: #ffed00;
  --tc-sand: #c4b18a;
  --tc-mesh-core: #eaf043;
  --tc-mesh-core-2: #cad142;
  --tc-mesh-mid: #6e7e38;
  --tc-mesh-low: #253934;
  --tc-mesh-sand: #958961;
  --tc-sky: #8cc4ff;

  --font: "Werkbank Ziffern", "Hubot Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 68px;
  --wrap: 1240px;
}

/* ---------- Ebene 2: Rollen – Dunkel (Standard) ---------- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --page: #00152d;
  --page-2: #001024;
  --card: #062748;
  --card-2: #0a2d52;
  --raised: #0d335a;
  --line: rgb(242 245 249 / .1);
  --line-strong: rgb(242 245 249 / .18);
  --control-border: #6f87a8;
  --text: #f2f5f9;
  --text-2: #bcc8d8;
  --text-3: #93a5bd;
  --action: var(--tc-yellow);
  --action-hover: #fff35c;
  --on-action: var(--tc-navy);
  --accent: var(--tc-yellow);
  --accent-2: var(--tc-sand);
  --ok: #5fd39c;
  --danger: #ff8a7a;
  --focus: var(--tc-yellow);
  --glow-action: 0 0 0 1px rgb(255 237 0 / .35), 0 8px 28px rgb(255 237 0 / .25);
  --shadow-card: 0 1px 0 rgb(255 255 255 / .05) inset, 0 18px 50px rgb(0 0 0 / .35);
  --shadow-device: 0 40px 120px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .08);
  --header-bg: rgb(0 21 45 / .72);
  --mesh-opacity: .55;
  --ph-bg: rgb(255 162 77 / .12);
  --ph-ink: #ffc58f;
  --ph-line: #ffa24d;
}

/* ---------- Ebene 2: Rollen – Hell ---------- */
[data-theme="light"] {
  color-scheme: light;
  --page: #f4f6f9;
  --page-2: #e9eef5;
  --card: #ffffff;
  --card-2: #f7f9fc;
  --raised: #edf1f6;
  --line: rgb(0 30 62 / .1);
  --line-strong: rgb(0 30 62 / .18);
  --control-border: #7d8ba0;
  --text: #001e3e;
  --text-2: #33475f;
  --text-3: #4f6076;
  --action: var(--tc-navy);
  --action-hover: #0b2f58;
  --on-action: #ffffff;
  --accent: var(--tc-navy);
  --accent-2: #7a6640;
  --ok: #1d6b45;
  --danger: #b42318;
  --focus: var(--tc-navy);
  --glow-action: 0 8px 22px rgb(0 30 62 / .22);
  --shadow-card: 0 1px 2px rgb(0 30 62 / .06), 0 12px 32px rgb(0 30 62 / .08);
  --shadow-device: 0 40px 100px rgb(0 30 62 / .28), 0 0 0 1px rgb(0 30 62 / .1);
  --header-bg: rgb(244 246 249 / .8);
  --mesh-opacity: .3;
  --ph-bg: #fbeedd;
  --ph-ink: #7a3a00;
  --ph-line: #c25700;
  --ph-label-bg: #7a3a00;
  --ph-label-ink: #ffffff;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  /* wie die App: Hubot Sans leicht schmaler, Gewichte höchstens 600 – Hierarchie über Größe */
  font-stretch: 94%;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgb(255 237 0 / .35); color: inherit; }
[data-theme="light"] ::selection { background: #dbe4ef; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--action); color: var(--on-action); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* Typo */
.display {
  font-size: clamp(2.3rem, 1rem + 3.4vw, 3.85rem);
  line-height: 1.02;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.06; font-weight: 600; font-stretch: 100%; letter-spacing: -.02em; text-wrap: balance; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.hl { color: var(--accent); }
[data-theme="light"] .hl { color: var(--tc-navy); background: linear-gradient(transparent 62%, rgb(255 237 0 / .75) 62%, rgb(255 237 0 / .75) 92%, transparent 92%); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--text-2); max-width: 36em; margin-top: 22px; }
.kicker { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.sub { color: var(--text-2); font-size: 1.12rem; margin-top: 18px; max-width: 38em; }
.center { text-align: center; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn-primary { background: var(--action); color: var(--on-action); box-shadow: var(--glow-action); }
.btn-primary:hover { background: var(--action-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--control-border); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: .95rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--control-border); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link-arrow:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 600; font-size: 1.2rem; font-stretch: 100%; }
.brand-by { font-size: .8rem; color: var(--text-3); padding-left: 10px; border-left: 1px solid var(--line-strong); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .98rem; }
.main-nav a:hover { color: var(--text); background: var(--line); }
.main-nav .nav-theme { display: none; }
.nav-theme-btn { display: block; width: 100%; text-align: left; padding: 14px 12px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: inherit; font-size: 1.1rem; font-weight: 500; cursor: pointer; }
.nav-theme-btn:hover { color: var(--text); background: var(--line); }
.nav-theme-btn .t-dark { display: none; }
[data-theme="light"] .nav-theme-btn .t-dark { display: inline; }
[data-theme="light"] .nav-theme-btn .t-light { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.theme-toggle .i-sun { display: block; }
.theme-toggle .i-moon { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-moon { display: block; }

@media (max-width: 1020px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--page); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 14px 12px; font-size: 1.1rem; }
  .main-nav .nav-theme { display: block; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .brand-by { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 0 14px; font-size: .9rem; }
  .icon-btn { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .header-actions .theme-toggle { display: none; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 30px; height: 30px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(32px, 4.5vw, 64px) 0 40px; isolation: isolate; }
.hero-mesh {
  position: absolute; inset: -10% -20% 0 auto; width: 90vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 70% 35%, rgb(234 240 67 / .55) 0%, rgb(202 209 66 / .35) 18%, rgb(110 126 56 / .2) 40%, transparent 68%),
    radial-gradient(35% 50% at 100% 85%, rgb(196 177 138 / .45), transparent 65%),
    radial-gradient(30% 35% at 40% 10%, rgb(140 196 255 / .14), transparent 70%);
  opacity: var(--mesh-opacity);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; color: var(--text-2); margin-bottom: 22px; background: rgb(255 255 255 / .03); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgb(95 211 156 / .18); }

/* Signup */
.signup-box { margin-top: 28px; scroll-margin-top: 140px; }
.signup-row {
  display: flex; gap: 6px; padding: 6px;
  background: var(--card); border: 1px solid var(--control-border); border-radius: 999px;
  box-shadow: var(--shadow-card); max-width: 560px;
  transition: border-color .2s, box-shadow .2s;
}
.signup-row:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgb(255 237 0 / .18), var(--shadow-card); }
[data-theme="light"] .signup-row:focus-within { box-shadow: 0 0 0 3px rgb(0 30 62 / .15), var(--shadow-card); }
.signup input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px;
  border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.05rem;
  border-radius: 999px;
}
.signup input::placeholder { color: var(--text-3); }
.signup input:focus { outline: none; }
.signup input:focus-visible { outline: none; }
.signup-row .btn { --h: 52px; }
.signup.invalid .signup-row { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .95rem; margin: 10px 0 0 20px; font-weight: 500; }
.signup-hint { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0 4px; color: var(--text-2); font-size: .95rem; }
.signup-hint span { display: inline-flex; align-items: center; gap: 6px; }
.signup-hint svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-secondary { margin-top: 18px; color: var(--text-2); }

.signup-success {
  max-width: 560px; padding: 22px 24px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--ok); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
  animation: pop .5s var(--ease);
}
.signup-success .ss-icon { grid-row: span 4; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(95 211 156 / .16); color: var(--ok); }
.signup-success .ss-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signup-success h3 { font-size: 1.25rem; outline: none; }
.signup-success p { color: var(--text-2); font-size: .98rem; }
.signup-success .ss-draft { font-size: .85rem; color: var(--text-3); word-break: break-all; }
.signup-success .ss-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.signup-success button { background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Hero visual: 3D-Kippung, beim Scrollen flach */
.hero-visual { position: relative; perspective: 1600px; min-height: 380px; }
.device-desktop {
  margin: 0; border-radius: 16px; overflow: hidden; background: #021632;
  box-shadow: var(--shadow-device);
  transform-origin: 60% 50%;
  transform: rotateY(calc(-16deg * (1 - var(--hp, 0)))) rotateX(calc(8deg * (1 - var(--hp, 0)))) rotateZ(calc(1.5deg * (1 - var(--hp, 0))));
  will-change: transform;
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #00112a; border-bottom: 1px solid rgb(255 255 255 / .08); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.browser-bar span { margin-left: 12px; font-size: .72rem; color: #93a5bd; background: rgb(255 255 255 / .06); padding: 2px 12px; border-radius: 999px; }
.device-phone {
  position: absolute; margin: 0; width: clamp(130px, 17vw, 210px); right: -3%; bottom: -14%;
  border-radius: 28px; overflow: hidden; border: 6px solid #0a1a30; background: #00152d;
  box-shadow: var(--shadow-device);
  transform: translateY(calc(30px * (1 - var(--hp, 0)))) rotate(calc(4deg * (1 - var(--hp, 0))));
}
.device-phone img { aspect-ratio: 390 / 640; object-fit: cover; object-position: top; }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgb(6 39 72 / .82); color: #f2f5f9; border: 1px solid rgb(255 255 255 / .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgb(0 0 0 / .3);
  animation: floaty 6s ease-in-out infinite;
}
.chip-1 { left: -6%; top: 14%; }
.chip-2 { left: 8%; bottom: -6%; animation-delay: -3s; }
.chip-num { color: var(--tc-yellow); font-weight: 600; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: #5fd39c; flex: none; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Trust bar */
.trust-bar {
  margin-top: clamp(64px, 8vw, 110px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent);
  color: var(--text-2); font-size: .95rem;
}
.trust-bar li { display: inline-flex; align-items: center; gap: 10px; }
.trust-bar strong { color: var(--text); font-weight: 600; }
.trust-bar svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.trust-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.trust-maker img { height: 30px; width: auto; }
.logo-light { display: none; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark { display: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 20px 8px 30px; }
  .chip-1 { left: -2%; top: -6%; }
  .chip-2 { left: 4%; }
}
@media (max-width: 560px) {
  .signup-row { flex-direction: column; border-radius: 20px; padding: 6px; }
  .signup-row .btn { width: 100%; }
  .signup input { flex: none; height: 50px; min-height: 50px; padding: 0 14px; }
  .field-error { margin-left: 6px; }
  .hero-chip { font-size: .8rem; padding: 8px 12px; }
  .chip-1 { display: none; }
  .device-phone { right: -2%; bottom: -12%; border-width: 4px; border-radius: 20px; }
  .trust-bar { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* ---------- 3D-Scroll ---------- */
.scrolly { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 40px; }
.scrolly-stage {
  grid-column: 2; grid-row: 1; position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.scrolly-beats { grid-column: 1; grid-row: 1; padding-left: max(20px, (100vw - var(--wrap)) / 2); position: relative; z-index: 2; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 32px 40px 0; max-width: 460px; color: var(--text-3); transition: color .5s var(--ease), transform .6s var(--ease); transform: translateX(-6px); }
.beat p { color: var(--text-3) !important; transition: color .5s var(--ease); }
.beat.is-active { color: var(--text); transform: none; }
.beat.is-active p { color: var(--text-2) !important; }
.beat:not(.is-active) .beat-num { color: var(--text-3); }
.beat-num { font-size: .9rem; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.beat h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.05; font-weight: 600; font-stretch: 100%; letter-spacing: -.02em; }
.beat p { color: var(--text-2); font-size: 1.15rem; }
.beat .btn { align-self: flex-start; margin-top: 10px; }

.stage-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 45% at 55% 55%, rgb(234 240 67 / .22), rgb(110 126 56 / .1) 45%, transparent 70%),
              radial-gradient(60% 40% at 50% 100%, rgb(140 196 255 / .1), transparent 70%);
}
[data-theme="light"] .stage-glow { background: radial-gradient(45% 45% at 55% 55%, rgb(255 237 0 / .3), transparent 70%); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { position: absolute; inset: 10% 6%; width: 88%; height: 80%; object-fit: contain; border-radius: var(--radius); display: none; }
.scrolly.no-webgl .stage-fallback { display: block; }
.scrolly.no-webgl .stage-loading { display: none; }
.stage-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: .95rem; }
.stage-loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.scrolly.ready .stage-loading { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.ov {
  position: absolute; z-index: 3; pointer-events: none;
  background: rgb(6 39 72 / .86); color: #f2f5f9;
  border: 1px solid rgb(255 255 255 / .14); border-radius: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgb(0 0 0 / .35);
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ov.show { opacity: 1; transform: none; }
.ov-cad { left: 6%; bottom: 10%; padding: 14px 18px; display: grid; gap: 2px; }
.ov-kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #c4b18a; }
.ov-cad strong { font-size: 1.15rem; }
.ov-meta { font-size: .88rem; color: #bcc8d8; }
.ov-quote { right: 5%; top: 9%; width: min(360px, 52%); padding: 16px 18px; font-size: .86rem; }
.q-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.q-badge { font-size: .72rem; font-weight: 600; color: #001e3e; background: #ffed00; padding: 3px 9px; border-radius: 999px; }
.q-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgb(255 255 255 / .1); color: #bcc8d8; }
.q-row span:last-child { color: #f2f5f9; white-space: nowrap; }
.q-sum { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .25); font-weight: 600; }
.q-total { color: #ffed00; font-size: 1.15rem; }
.q-time { margin-top: 8px; font-size: .78rem; color: #93a5bd; }
.ov-link { left: 6%; bottom: 12%; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-size: .95rem; }
.ov-paid { left: 50%; bottom: 10%; translate: -50% 0; display: flex; gap: 8px; padding: 8px; border-radius: 999px; flex-wrap: wrap; justify-content: center; }
.pill { padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.pill small { font-weight: 500; opacity: .8; }
.pill.done { background: rgb(95 211 156 / .16); color: #8ee6bb; }
.pill.paid { background: #ffed00; color: #001e3e; box-shadow: 0 0 24px rgb(255 237 0 / .45); }
.stage-progress { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 3; }
.stage-progress li { width: 6px; height: 26px; border-radius: 6px; background: var(--line-strong); transition: background .3s, height .3s; }
.stage-progress li.on { background: var(--accent); height: 40px; }

@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly-stage { grid-column: 1; grid-row: 1; height: 54vh; height: 54svh; z-index: 1; background: var(--page); border-bottom: 1px solid var(--line); }
  .scrolly-beats { grid-column: 1; grid-row: 2; padding: 0 20px; z-index: 0; }
  .beat { min-height: 70vh; min-height: 70svh; justify-content: flex-start; padding: 28px 0 40px; max-width: none; }
  .beat:last-child { min-height: 46svh; }
  .beat h3 { font-size: 1.9rem; }
  .beat p { font-size: 1.05rem; }
  .ov-quote { width: auto; left: 4%; right: 4%; top: auto; bottom: 4%; font-size: .8rem; padding: 12px 14px; }
  .q-row, .q-time { display: none; }
  .q-head { margin-bottom: 6px; }
  .ov-cad { left: 4%; bottom: 4%; padding: 10px 14px; }
  .ov-link { left: 4%; right: 4%; bottom: 5%; font-size: .88rem; }
  .ov-paid { bottom: 5%; width: 92%; }
  .pill { font-size: .8rem; padding: 6px 10px; }
  .stage-progress { right: 10px; }
}

/* Reduzierte Bewegung: keine Klebebühne, alle Texte normal */
.scrolly.static .beat { opacity: 1; min-height: 0; padding: 36px 32px 36px 0; }
.scrolly.static .ov { display: none; }
.scrolly.static .scrolly-stage { position: sticky; }
@media (max-width: 900px) { .scrolly.static .scrolly-stage { position: relative; top: 0; } .scrolly.static .beat { padding: 24px 0; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* Leiste */
.leiste-section { background: linear-gradient(180deg, transparent, var(--page-2) 30%, var(--page-2) 70%, transparent); }
.leiste { border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-card); padding: clamp(20px, 3vw, 40px); }
.leiste-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.leiste-line { position: absolute; left: 10%; right: 10%; top: 26px; height: 3px; background: var(--line-strong); border-radius: 3px; }
.leiste-fill { display: block; height: 100%; width: calc(var(--lp, 0) * 100%); background: linear-gradient(90deg, var(--tc-mesh-mid), var(--tc-yellow)); border-radius: 3px; transition: width .7s var(--ease); }
[data-theme="light"] .leiste-fill { background: var(--tc-navy); }
.leiste-step { position: relative; display: grid; justify-items: center; gap: 10px; background: none; border: 0; color: var(--text-3); font: inherit; cursor: pointer; padding: 0 4px 6px; border-radius: 14px; min-height: 44px; }
.ls-dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; background: var(--card); border: 2px solid var(--line-strong); color: var(--text-2); transition: all .4s var(--ease); }
.ls-name { font-weight: 600; font-size: 1rem; }
.leiste-step.done .ls-dot { background: var(--ok); border-color: var(--ok); color: #00152d; }
.leiste-step.done .ls-dot { font-size: 0; }
.leiste-step.done .ls-dot::after { content: "✓"; font-size: 1.25rem; }
.leiste-step.current .ls-dot { background: var(--action); border-color: var(--action); color: var(--on-action); box-shadow: var(--glow-action); transform: scale(1.08); }
.leiste-step.current, .leiste-step.done { color: var(--text); }
.leiste-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 40px); margin-top: 36px; align-items: center; }
.leiste-panel { padding: 26px; border-radius: 20px; background: var(--raised); border: 1px solid var(--line); min-height: 250px; display: flex; flex-direction: column; gap: 10px; }
.lp-kicker { color: var(--text-3); font-weight: 600; }
.lp-title { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.lp-text { color: var(--text-2); }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 10px; }
.lp-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--action); color: var(--on-action); font-weight: 600; box-shadow: var(--glow-action); }
.lp-next { color: var(--text-3); font-size: .95rem; }
.leiste-panel.swap > * { animation: swapIn .45s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
.leiste-shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-device); }
.leiste-controls { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--text-3); font-size: .92rem; }
@media (max-width: 860px) {
  .leiste-body { grid-template-columns: 1fr; }
  .ls-dot { width: 42px; height: 42px; font-size: .95rem; }
  .leiste-line { top: 20px; }
  .ls-name { font-size: .8rem; }
  .leiste-step { padding: 0 0 4px; }
}
@media (max-width: 400px) { .ls-name { font-size: .72rem; } .ls-dot { width: 38px; height: 38px; } .leiste-line { top: 18px; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.feat { grid-column: span 3; display: flex; flex-direction: column; overflow: hidden; position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s; }
.feat:hover { border-color: var(--line-strong); }
.feat-wide { grid-column: span 6; flex-direction: row; align-items: center; }
.feat-wide .feat-copy { flex: 0 0 38%; }
.feat-wide .feat-shot { flex: 1; margin: 28px 28px 28px 0; }
.feat-phone { grid-column: span 3; flex-direction: row; align-items: flex-end; }
.feat-phone .feat-copy { flex: 1; align-self: center; }
.feat-copy { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.feat-tag { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-2); }
.feat h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.feat p { color: var(--text-2); }
.feat-shot { margin: auto 28px -2px; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -10px 40px rgb(0 0 0 / .2); max-height: 340px; }
.feat-wide .feat-shot { border-radius: 14px; border-bottom: 1px solid var(--line); max-height: none; }
.feat-shot img { width: 100%; object-fit: cover; object-position: top; }
.feat-phone .feat-shot.phone-shot { flex: 0 0 42%; max-width: 210px; margin: 28px 28px -2px 0; border-radius: 22px 22px 0 0; border: 5px solid #0a1a30; border-bottom: 0; max-height: 330px; }
.mini-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.mini { padding: 26px; display: grid; gap: 10px; align-content: start; }
.mini svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mini h3 { font-size: 1.15rem; font-weight: 600; }
.mini p { color: var(--text-2); font-size: .98rem; }
@media (max-width: 1000px) {
  .feat, .feat-phone { grid-column: span 6; }
  .mini-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .feat-wide { flex-direction: column; align-items: stretch; }
  .feat-wide .feat-shot { margin: 0 20px 20px; }
  .feat-shot { margin: auto 20px -2px; }
}
@media (max-width: 560px) {
  .feat-phone { flex-direction: column; align-items: stretch; }
  .feat-phone .feat-shot.phone-shot { margin: 0 auto -2px; width: 62%; flex: none; }
  .mini-feats { grid-template-columns: 1fr; }
}

/* Schritte */
.steps-section { background: radial-gradient(60% 60% at 50% 0%, rgb(255 237 0 / .06), transparent 70%); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { padding: 32px 28px; position: relative; display: grid; gap: 12px; align-content: start; overflow: hidden; }
.step-num { font-size: 5.5rem; line-height: .85; font-weight: 600; font-stretch: 100%; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); position: absolute; right: 18px; bottom: 8px; }
.step-time { justify-self: start; font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgb(255 237 0 / .12); color: var(--accent); }
[data-theme="light"] .step-time { background: #e6ecf4; }
.step h3 { font-size: 1.35rem; font-weight: 600; }
.step p { color: var(--text-2); max-width: 26ch; }
.steps-cta { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Social Proof / Platzhalter */
.proof-section { padding-top: 0; }
.proof-section .h3 { margin-bottom: 28px; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.proof { margin: 0; padding: 30px; position: relative; }
.proof blockquote { margin: 0; font-size: 1.3rem; font-weight: 600; }
.proof figcaption { margin-top: 12px; color: var(--text-2); font-size: .95rem; }
.placeholder { border: 2px dashed var(--ph-line); background: var(--ph-bg); box-shadow: none; }
.placeholder blockquote, .placeholder figcaption { color: var(--ph-ink); }
.ph-label { position: absolute; top: -12px; left: 22px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: var(--ph-label-bg, var(--ph-line)); color: var(--ph-label-ink, #1a0d00); }
.placeholder-inline { border: 2px dashed var(--ph-line); background: var(--ph-bg); color: var(--ph-ink); padding: 0 .25em; border-radius: 8px; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Preis */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.price-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) { .price-grid .section-head { position: static; } }
.price-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-color: var(--line-strong); isolation: isolate; }
.price-mesh { position: absolute; inset: -40% -30% auto auto; width: 80%; height: 90%; z-index: -1; background: radial-gradient(closest-side, rgb(234 240 67 / .28), rgb(110 126 56 / .12) 50%, transparent); opacity: var(--mesh-opacity); }
.price-name { font-weight: 600; color: var(--accent-2); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.price-amount { font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); font-weight: 600; font-stretch: 100%; line-height: 1.1; margin-top: 10px; }
.price-amount .per { font-size: 1.1rem; font-weight: 500; color: var(--text-2); }
.price-amount .placeholder-inline { font-size: .8em; }
.price-note { color: var(--text-3); font-size: .9rem; margin-top: 6px; }
.price-note .placeholder-inline { border-width: 1.5px; font-size: .85rem; }
.price-trial { margin-top: 18px; font-size: 1.05rem; }
.price-trial strong { color: var(--ok); }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 24px 0 28px; padding: 22px 0; border-block: 1px solid var(--line); }
.incl li { position: relative; padding-left: 28px; font-size: .97rem; color: var(--text-2); }
.incl li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgb(95 211 156 / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235fd39c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
[data-theme="light"] .incl li::before { background-color: #e3f3ea; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231d6b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.signup-compact .signup-row { max-width: none; }
.price-demo { margin-top: 16px; color: var(--text-2); font-size: .95rem; }
.price-demo a { font-weight: 600; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-grid .section-head .btn { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 1.15rem; font-weight: 600; position: relative; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--accent); }
[data-theme="light"] .faq summary:hover { text-decoration: underline; }
.faq details > div { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* Final CTA */
.final-cta { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; background: var(--tc-navy-deep); color: #f2f5f9; }
.final-mesh { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 30% 60%, rgb(234 240 67 / .5) 0%, rgb(202 209 66 / .32) 16%, rgb(110 126 56 / .22) 36%, rgb(37 57 52 / .2) 56%, transparent 75%), radial-gradient(45% 70% at 100% 110%, rgb(196 177 138 / .55), rgb(149 137 97 / .2) 30%, transparent 62%); }
.final-inner { display: grid; justify-items: center; text-align: center; }
.final-inner .sub { color: #bcc8d8; margin-inline: auto; }
.final-hobel { width: 88px; height: 88px; margin-bottom: 18px; animation: floaty 5s ease-in-out infinite; }
.final-cta .signup { width: min(100%, 560px); margin-top: 32px; text-align: left; }
.final-cta .signup-row { background: #062748; border-color: #6f87a8; }
.final-cta .signup input { color: #f2f5f9; }
.final-cta .signup input::placeholder { color: #93a5bd; }
.final-cta .btn-primary { background: #ffed00; color: #001e3e; box-shadow: 0 0 0 1px rgb(255 237 0 / .35), 0 8px 28px rgb(255 237 0 / .25); }
.final-cta .btn-primary:hover { background: #fff35c; }
.final-cta .hero-secondary { color: #bcc8d8; }
.final-cta .field-error { color: #ff8a7a; }
.final-cta :focus-visible { outline-color: #ffed00; }
.final-cta .signup-row:focus-within { border-color: #ffed00; }
.final-cta .signup-success { background: #062748; color: #f2f5f9; }
.final-cta .signup-success p { color: #bcc8d8; }
.final-cta .signup-success .ss-draft { color: #93a5bd; }
.final-cta .signup-success button { color: #f2f5f9; }

/* Footer */
.site-footer { padding: 64px 0 30px; border-top: 1px solid var(--line); background: var(--page-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { color: var(--text-2); margin-top: 14px; max-width: 34ch; font-size: .97rem; }
.footer-logo { display: block; margin-top: 18px; }
.footer-logo img { height: 34px; width: auto; }
.footer-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 600; }
.site-footer ul a { display: inline-block; padding: 6px 0; color: var(--text-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: var(--card); color: var(--text); border: 1px solid var(--line-strong); padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-card); font-size: .95rem; max-width: calc(100% - 32px); }

/* Einblenden beim Scrollen (nur mit JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .device-desktop, .device-phone { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .beat { transform: none; }
}
.scrolly.static .stage-progress { display: none; }

/* Rechtsseiten (Impressum, Datenschutz, AGB) */
.legal { padding: 96px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); hyphens: auto; overflow-wrap: anywhere; font-weight: 600; font-stretch: 100%; margin: 0 0 8px; }
.legal h2 { font-size: 1.3rem; font-weight: 600; margin: 40px 0 10px; }
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; }
.legal p, .legal li, .legal address { color: var(--text-2); line-height: 1.65; font-style: normal; }
.legal a { color: var(--text); }
.legal .legal-meta { color: var(--text-3); font-size: .9rem; }
.legal-note { margin: 24px 0; padding: 14px 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: 10px; background: var(--page-2); color: var(--text-2); }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; color: var(--text-2); text-decoration: none; }
.legal-back:hover { color: var(--text); text-decoration: underline; }

/* Echtes Projekt (Schrankwand Kammer) */
.projekt-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 48px; align-items: stretch; }
.projekt-shot { margin: 0; overflow: hidden; }
.projekt-shot img { display: block; width: 100%; height: auto; }
.projekt-shot figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--text-2); font-size: .95rem; }
.projekt-cad { grid-column: 1; grid-row: 1; }
.projekt-foto { grid-column: 2; grid-row: 1; height: 100%; display: flex; flex-direction: column; }
.projekt-foto img { flex: 1; min-height: 0; object-fit: cover; }
.projekt-doc { grid-column: 1 / -1; grid-row: 2; padding: 24px 26px; }
.projekt-step { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--page); font-weight: 600; font-size: .9rem; }
.projekt-doc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.projekt-doc-head div { display: grid; }
.projekt-doc-head span:not(.projekt-step) { color: var(--text-3); font-size: .9rem; }
.projekt-pos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 26px; }
.projekt-pos li { color: var(--text-2); font-size: .93rem; line-height: 1.55; padding-top: 12px; border-top: 1px solid var(--line); }
.projekt-pos li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.projekt-more { margin-top: 12px; }
.projekt-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--text); font-weight: 600; }
.projekt-more[open] summary { margin-bottom: 4px; }
.projekt-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.projekt-sum strong { color: var(--accent); font-size: 1.3rem; }
@media (max-width: 1100px) { .projekt-pos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .projekt-grid { grid-template-columns: 1fr; }
  .projekt-cad, .projekt-foto, .projekt-doc { grid-column: 1; grid-row: auto; }
  .projekt-pos { grid-template-columns: 1fr; }
}
.feat-wide .feat-shot.shot-crop { max-height: 460px; }
.feat-wide .feat-shot.shot-crop img { height: 460px; object-fit: cover; object-position: top left; }
@media (max-width: 900px) { .feat-wide .feat-shot.shot-crop, .feat-wide .feat-shot.shot-crop img { max-height: 380px; height: auto; } }
/* App-Typografie: kein synthetisches Fett über 600 */
strong, b, h1, h2, h3, h4, th { font-weight: 600; }

/* Mobil (PO 24.11.): schmale Handys, Positionen einklappen, Mindestschrift */
@media (max-width: 380px) {
  .header-row { gap: 8px; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 26px; height: 26px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-sm { padding: 0 10px; font-size: .82rem; }
}
@media (max-width: 340px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.projekt-toggle { display: none; }
@media (max-width: 900px) {
  .projekt-doc:not(.open) .projekt-pos li:nth-child(n+3) { display: none; }
  .projekt-toggle { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
}
@media (max-width: 600px) {
  .ov, .ov *, .stage small, .q-badge, .q-time { font-size: max(12px, 1em); }
}
.signup-success .ss-actions .btn { text-decoration: none; }
.signup-success .ss-alt { font-size: .9rem; }
.signup-success .ss-alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-block; min-height: 24px; }
/* Gate Website mobil: Touch-Ziele ≥ 44 px, E-Mail-Feld am Handy nicht zusammengedrückt */
@media (max-width: 900px) {
  .btn-sm { --h: 44px; }
  .brand { min-height: 44px; }
  .site-footer ul a { padding: 0; min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 560px) {
  .signup input { flex: none; }
}
/* Erfolgsbox: auch im Schluss-Aufruf linksbündig und nie breiter als der Bildschirm */
.signup-success { text-align: left; min-width: 0; }
.final-cta .signup-success { width: min(100%, 560px); margin-top: 32px; }
@media (max-width: 560px) {
  .signup-success { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .signup-success .ss-icon { grid-row: auto; }
  .signup-success .ss-actions .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Anmelden immer sichtbar (PO 24.11.): zwei feste Knöpfe in der klebenden Kopfzeile */
.login-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); text-decoration: none; }
.login-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.login-btn:hover { border-color: var(--text-2); }
.lbl-short { display: none; }
/* Gate Website-Login (GWL-2/3): Knöpfe der Kopfzeile nie stauchen, Kopfzeilen-Texte nie umbrechen */
.header-actions > * { flex-shrink: 0; }
.brand-by, .main-nav a { white-space: nowrap; }
/* Schmal (Handy, kleines Tablet hochkant): sichtbarer Text „Login“ statt Symbol (GWL-1), Name bleibt „Anmelden Login“ */
@media (max-width: 640px) {
  .header-actions .theme-toggle, .brand-by { display: none; }
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .login-btn svg { display: none; }
  .login-btn .lbl-long { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) { .brand-by { display: none; } }
/* Desktop mit Menüleiste, aber knapp: Menüpunkte enger statt umbrechen, „Starten“ kurz */
@media (min-width: 1021px) and (max-width: 1180px) {
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .login-btn .lbl-long { display: inline; } .login-btn .lbl-short { display: none; }
  .main-nav a { padding: 10px 10px; }
}
/* Touch-Tablets quer (≥ 901 px): Kopfzeilen-Ziele trotzdem 44 px */
@media (pointer: coarse) {
  .header-actions .btn-sm { --h: 44px; }
  .brand, .main-nav a { min-height: 44px; }
  .brand { display: inline-flex; }
  .main-nav a { display: flex; align-items: center; }
}
