/* ==========================================================================
   Weisenbach Custom Solutions – Gestaltung der Webseite
   Zwei Farbwelten:
     Firma (Standard)  – Grafit und Grün aus dem Firmenlogo
     .theme-app        – Petrol, Gold und Creme aus den Mal-Apps
   Keine fremden Schriften, keine fremden Server: nur Systemschriften.
   ========================================================================== */

:root {
  --bg: #f3f4f2;
  --bg-2: #e9ece8;
  --surface: #ffffff;
  --ink: #1b2022;
  --ink-2: #363e42;
  --muted: #59646a;
  --line: rgba(27, 32, 34, 0.12);
  --line-strong: rgba(27, 32, 34, 0.22);
  --accent: #3b7a2b;
  --accent-soft: rgba(78, 154, 58, 0.12);
  --hl: #3b7a2b;
  --eyebrow: #3b7a2b;

  --dark: #1e2325;
  --dark-deep: #121618;
  --dark-mid: #2c3437;
  --dark-line: rgba(240, 243, 241, 0.12);
  --on-dark: #f0f3f1;
  --on-dark-muted: #a8b3af;
  --on-dark-accent: #7cc36a;
  --glow: 124, 195, 106;

  --btn-primary-bg: #7cc36a;
  --btn-primary-fg: #142014;
  --btn-primary-hover: #93d283;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 20, 22, 0.05), 0 18px 40px -22px rgba(15, 20, 22, 0.35);
  --shadow-soft: 0 1px 2px rgba(15, 20, 22, 0.04), 0 10px 24px -18px rgba(15, 20, 22, 0.3);

  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;

  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light dark;
}

.theme-app {
  --bg: #f6f1e7;
  --bg-2: #eee7d8;
  --surface: #fffcf6;
  --ink: #0f2629;
  --ink-2: #2a4346;
  --muted: #536a6c;
  --line: rgba(15, 38, 41, 0.12);
  --line-strong: rgba(15, 38, 41, 0.2);
  --accent: #1b6a6f;
  --accent-soft: rgba(27, 106, 111, 0.1);
  --hl: #7a5c0c;
  --eyebrow: #7a5c0c;
  --dark: #0b2a2e;
  --dark-deep: #061a1c;
  --dark-mid: #134549;
  --dark-line: rgba(237, 246, 243, 0.12);
  --on-dark: #edf6f3;
  --on-dark-muted: #a9c4c1;
  --on-dark-accent: #e8c766;
  --glow: 134, 211, 216;
  --btn-primary-bg: #e8c766;
  --btn-primary-fg: #10282b;
  --btn-primary-hover: #f0d47e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111416;
    --bg-2: #161a1c;
    --surface: #1b2023;
    --ink: #e9eeec;
    --ink-2: #c6cfcc;
    --muted: #97a3a0;
    --line: rgba(233, 238, 236, 0.1);
    --line-strong: rgba(233, 238, 236, 0.2);
    --accent: #8fd07c;
    --accent-soft: rgba(124, 195, 106, 0.13);
    --hl: #8fd07c;
    --eyebrow: #8fd07c;
    --dark: #1b2124;
    --dark-deep: #0c0f10;
    --dark-mid: #283034;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -24px rgba(0, 0, 0, 0.8);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.25), 0 12px 28px -20px rgba(0, 0, 0, 0.7);
  }
  .theme-app {
    --bg: #071b1e;
    --bg-2: #0a2427;
    --surface: #0d2a2e;
    --ink: #e8f1ee;
    --ink-2: #c9dad7;
    --muted: #9ab3b1;
    --line: rgba(232, 241, 238, 0.11);
    --line-strong: rgba(232, 241, 238, 0.2);
    --accent: #86d3d8;
    --accent-soft: rgba(134, 211, 216, 0.12);
    --hl: #e8c766;
    --eyebrow: #e8c766;
    --dark: #0c2f33;
    --dark-deep: #061719;
    --dark-mid: #14494e;
  }
}

@media (prefers-color-scheme: dark) {
  .hero-panel, .promise-panel, .contact-card, .tile--dark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
figure { margin: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(var(--glow), 0.35); color: inherit; }
:focus-visible { outline: 3px solid var(--on-dark-accent); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

/* ---------- Schrift ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.03em; line-height: 1.06; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 1.4rem + 5.1vw, 5.6rem); letter-spacing: -0.045em; line-height: 0.98; }
.h2 { font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.75rem); letter-spacing: -0.038em; line-height: 1.02; }
.h3 { font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.6rem); letter-spacing: -0.022em; line-height: 1.18; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.012em; }
h1 .serif, h2 .serif, .hl { color: var(--hl); }
.lead { font-size: clamp(1.1rem, 1rem + 0.38vw, 1.3rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em; margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Knöpfe ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s, background-color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--btn-primary-bg); --btn-fg: var(--btn-primary-fg); }
.btn--primary:hover { --btn-bg: var(--btn-primary-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); border-color: rgba(240, 243, 241, 0.28); }
.btn--ghost:hover { --btn-bg: rgba(240, 243, 241, 0.08); box-shadow: none; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { --btn-bg: var(--accent-soft); box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: inherit; }
.link-arrow::after { content: "→"; transition: transform 0.25s; }
.link-arrow:hover::after { transform: translateX(4px); }
.stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  border: 1px solid var(--line-strong); color: var(--ink-2); background: transparent; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.85; }
.badge--accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.badge--on-dark { color: var(--on-dark-accent); border-color: color-mix(in srgb, var(--on-dark-accent) 45%, transparent); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 5px 14px 5px 5px;
  border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(240, 243, 241, 0.05);
  color: var(--on-dark); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background-color 0.2s, border-color 0.2s;
}
.pill:hover { background: rgba(240, 243, 241, 0.1); border-color: rgba(240, 243, 241, 0.25); }
.pill-tag { padding: 3px 10px; border-radius: 999px; background: var(--on-dark-accent); color: var(--btn-primary-fg); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.pill::after { content: "→"; color: var(--on-dark-muted); transition: transform 0.25s; }
.pill:hover::after { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: auto; height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
}
.nav a:hover { background: var(--accent-soft); color: var(--ink); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.nav a.nav-cta { background: var(--ink); color: var(--bg); margin-left: 10px; padding: 9px 18px; }
.nav a.nav-cta:hover { background: var(--accent); color: var(--surface); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s, background-color 0.3s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px);
  display: grid; gap: 2px; padding: 10px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.menu-panel a { display: block; padding: 13px 16px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 550; }
.menu-panel a:hover, .menu-panel a.is-active, .menu-panel a[aria-current="page"] { background: var(--accent-soft); }
.menu-panel .menu-sub { padding-left: 30px; font-weight: 450; color: var(--ink-2); }
.menu-panel a.nav-cta { background: var(--ink); color: var(--bg); text-align: center; margin-top: 6px; }

@media (max-width: 900px) {
  .nav--desktop { display: none; }
  .menu { display: block; }
}
@media (max-width: 420px) {
  .brand img { height: 34px; }
}

/* ---------- Bühne (oben auf der Seite) ---------- */
.hero { padding: 8px 12px 0; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl);
  color: var(--on-dark);
  background:
    radial-gradient(60% 70% at 76% 48%, rgba(var(--glow), 0.15) 0%, rgba(var(--glow), 0) 70%),
    radial-gradient(120% 100% at 80% 40%, var(--dark-mid) 0%, var(--dark) 48%, var(--dark-deep) 100%);
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.45; pointer-events: none;
  background-image: url("img/raster.svg");
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 80% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 80% at 30% 40%, #000 0%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(32px, 4.4vw, 64px);
  min-height: min(860px, calc(100svh - var(--header-h) - 8px));
  padding-block: clamp(56px, 7vw, 96px);
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--on-dark-accent); }
.hero h1 .serif, .hero h1 .hl { color: var(--on-dark-accent); }
.hero .lead { color: var(--on-dark-muted); margin: 26px 0 34px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; font-size: 0.92rem; color: var(--on-dark-muted); }
.hero-note svg { width: 18px; height: 18px; color: var(--on-dark-accent); flex: none; }
.product-title { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.product-title .app-icon { width: 72px; height: 72px; border-radius: 18px; }

.sky span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--on-dark-accent); opacity: 0.55; z-index: -1;
  animation: funkeln 5s ease-in-out infinite;
}
.sky span:nth-child(1) { top: 12%; left: 46%; animation-delay: -1s; }
.sky span:nth-child(2) { top: 22%; left: 92%; width: 4px; height: 4px; animation-delay: -2.4s; }
.sky span:nth-child(3) { top: 78%; left: 52%; width: 6px; height: 6px; animation-delay: -0.6s; }
.sky span:nth-child(4) { top: 88%; left: 86%; animation-delay: -3.3s; }
.sky span:nth-child(5) { top: 8%; left: 70%; width: 3px; height: 3px; animation-delay: -1.8s; }
.sky span:nth-child(6) { top: 64%; left: 96%; width: 4px; height: 4px; animation-delay: -4.1s; }
.sky span:nth-child(7) { top: 92%; left: 8%; width: 4px; height: 4px; animation-delay: -2.9s; }
.sky span:nth-child(8) { top: 6%; left: 14%; width: 3px; height: 3px; animation-delay: -0.2s; }
@keyframes funkeln { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 0.8; transform: scale(1.15); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 40px; gap: 44px; }
  .hero-copy { max-width: 640px; }
}
@media (max-width: 560px) {
  .hero { padding: 6px 8px 0; }
  .hero-panel { border-radius: 26px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Firmen-Bühne: das Logo-Zeichen mit Leiterbahnen ---------- */
.hero-grid--studio { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.hero-grid--studio .hero-copy { max-width: 680px; }
.hero-grid--studio .display { font-size: clamp(2.6rem, 1.25rem + 4.1vw, 4.85rem); }
@media (max-width: 980px) { .hero-grid--studio { grid-template-columns: 1fr; } }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; left: 4%; top: 50%; width: 52%; aspect-ratio: 1; transform: translateY(-50%); z-index: -1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), 0.22), transparent); filter: blur(10px);
}
.hex-art { width: min(100%, 600px); margin-inline: auto; overflow: visible; }
.hex-art .trace { fill: none; stroke: rgba(124, 195, 106, 0.34); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hex-art .trace--faint { stroke: rgba(124, 195, 106, 0.15); }
.hex-art .pad { fill: rgba(124, 195, 106, 0.4); }
.hex-art .pad--faint { fill: rgba(124, 195, 106, 0.18); }
.hex-art .signal {
  fill: none; stroke: #c4f5b6; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 5 95; stroke-dashoffset: 100; opacity: 0;
}
.hex-art .mark-fill { fill: #ffffff; }
.hex-art .mark-line { fill: none; stroke: #ffffff; stroke-width: 6; stroke-linejoin: round; }
.hex-art .mark-w { fill: #33383a; }
.hex-art .mark-trace { fill: none; stroke: #7cc36a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hex-art .mark-dot { fill: #7cc36a; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hex-art .signal { opacity: 1; animation: signal 3.4s linear infinite; }
  .hex-art .signal:nth-of-type(2) { animation-duration: 2.7s; animation-delay: -1.1s; }
  .hex-art .signal:nth-of-type(3) { animation-duration: 3.9s; animation-delay: -2.3s; }
  .hex-art .signal:nth-of-type(4) { animation-duration: 4.6s; animation-delay: -0.5s; }
  .hex-art .signal:nth-of-type(5) { animation-duration: 5.2s; animation-delay: -3.1s; }
  .hex-art .mark-trace { stroke-dasharray: 100; stroke-dashoffset: 100; animation: zeichnen 1.1s cubic-bezier(.6,.1,.2,1) 0.35s forwards; }
  .hex-art .mark-dot { animation: aufpoppen 0.5s cubic-bezier(.3,1.6,.5,1) 1.25s both, pulsieren 2.8s ease-in-out 2s infinite; }
  .hex-art .mark-hex { animation: auftauchen 0.9s cubic-bezier(.2,.7,.2,1) both; transform-box: fill-box; transform-origin: center; }
}
@keyframes signal { to { stroke-dashoffset: 0; } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes aufpoppen { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pulsieren { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Zeichenfläche (Mandala Pro) ---------- */
.hero-stage { position: relative; }
.stage {
  position: relative; width: min(100%, 620px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  -webkit-user-select: none; user-select: none;
}
.stage::before {
  content: ""; position: absolute; inset: -2%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(134, 211, 216, 0.1) 0%, rgba(134, 211, 216, 0.03) 55%, transparent 70%);
}
.stage::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(232, 199, 102, 0.22); box-shadow: inset 0 0 80px rgba(134, 211, 216, 0.06);
}
.stage canvas, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { opacity: 0.9; transition: opacity 1.2s ease; }
.js .stage.is-live .stage-fallback { opacity: 0; }
.stage-canvas { cursor: crosshair; touch-action: none; }
.stage.is-touch .stage-canvas { touch-action: pan-y pinch-zoom; cursor: default; }
.stage.is-touch.is-drawing .stage-canvas { touch-action: none; }
.stage-hint {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  margin: 0; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 0.85rem; color: var(--on-dark-muted); background: rgba(6, 26, 28, 0.55);
  border: 1px solid var(--dark-line); transition: opacity 0.6s; pointer-events: none;
}
.stage.has-drawn .stage-hint { opacity: 0; }
.stage-start {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; white-space: nowrap;
  border-radius: 999px; border: 1px solid rgba(232, 199, 102, 0.5); cursor: pointer;
  background: rgba(6, 26, 28, 0.72); color: var(--on-dark); font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stage-start svg { width: 20px; height: 20px; color: var(--on-dark-accent); }
.stage.is-drawing .stage-start { display: none; }

.dock {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%; margin: 26px auto 0; padding: 7px;
  border-radius: 24px; background: rgba(237, 246, 243, 0.06); border: 1px solid var(--dark-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dock-group { display: flex; align-items: center; gap: 3px; }
.dock-label { font-size: 0.78rem; color: var(--on-dark-muted); padding: 0 4px 0 8px; letter-spacing: 0.02em; }
.dock-sep { width: 1px; height: 26px; background: var(--dark-line); margin: 0 4px; }
.dock-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; min-width: 38px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--on-dark); font-size: 0.9rem; font-weight: 550;
  transition: background-color 0.2s, color 0.2s;
}
.dock-btn:hover { background: rgba(237, 246, 243, 0.09); }
.dock-btn[aria-pressed="true"] { background: rgba(232, 199, 102, 0.2); color: #fff; }
.dock-btn svg { width: 18px; height: 18px; flex: none; }
.dock-btn--num { min-width: 34px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.swatch {
  width: 26px; height: 26px; min-width: 0; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); transition: transform 0.2s, box-shadow 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px rgba(237, 246, 243, 0.85); }
.swatch--gold { background: #f2cf6b; }
.swatch--aqua { background: #86d8de; }
.swatch--coral { background: #f4a184; }
.swatch--lilac { background: #c7b3ff; }
.swatch--cream { background: #fff2d2; }
.swatch--rainbow { background: conic-gradient(#f4a184, #f2cf6b, #9ee6c8, #86d8de, #c7b3ff, #f2b8e0, #f4a184); }
.dock-btn--done { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.dock-btn--done:hover { background: var(--btn-primary-hover); }

@media (max-width: 980px) { .stage { width: min(100%, 460px); } }
@media (max-width: 560px) {
  .dock { border-radius: 22px; padding: 8px; }
  .dock-sep { display: none; }
  .dock-group { flex-wrap: wrap; justify-content: center; }
  .dock-label { width: 100%; text-align: center; padding: 2px 0 0; }
}

/* ---------- Helle Produkt-Bühne (Ausmalen) ---------- */
.hero-panel--paper {
  color: var(--ink); border: 1px solid var(--line);
  background:
    radial-gradient(55% 70% at 74% 55%, rgba(232, 199, 102, 0.3) 0%, rgba(232, 199, 102, 0) 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(134, 211, 216, 0.18) 0%, rgba(134, 211, 216, 0) 70%),
    var(--surface);
}
.hero-panel--paper::before { display: none; }
.hero .hero-panel--paper .eyebrow { color: var(--eyebrow); }
.hero .hero-panel--paper h1 .serif { color: var(--hl); }
.hero .hero-panel--paper .lead, .hero-panel--paper .hero-note { color: var(--muted); }
.hero-panel--paper .hero-note svg { color: var(--hl); }
.hero-panel--paper .btn--ghost { --btn-fg: var(--ink); border-color: var(--line-strong); }
.hero-panel--paper .btn--ghost:hover { --btn-bg: var(--accent-soft); }
.phone-stack { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 8px 0 64px; }
.phone-stack .phone { width: min(47%, 280px); }
.phone-stack .phone:first-child { z-index: 1; transform: rotate(-5deg) translateY(6px); }
.phone-stack .phone:last-child { margin-left: -8%; transform: rotate(5deg) translateY(60px); }
@media (max-width: 980px) { .phone-stack .phone { width: min(46%, 250px); } }

/* ---------- Laufband ---------- */
.ticker { padding: 26px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: laufen 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; gap: 36px; padding-right: 36px; list-style: none; }
.ticker-list li {
  display: flex; align-items: center; gap: 36px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.55rem); color: var(--ink-2);
}
.ticker-list li::after { content: ""; width: 14px; height: 14px; flex: none; background: url("img/trenner-hex.svg") center / contain no-repeat; }
.theme-app .ticker-list li { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.theme-app .ticker-list li::after { background-image: url("img/stern.svg"); }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(80px, 10vw, 140px); }
.section--tight { padding-block: 0 clamp(64px, 8vw, 110px); }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 22px; max-width: 40em; }

/* ---------- Produktkarten ---------- */
.app-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 720px; padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px) 0;
  border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-card--night {
  color: #edf6f3; border-color: transparent;
  background:
    radial-gradient(80% 60% at 70% 100%, rgba(134, 211, 216, 0.18), transparent 70%),
    linear-gradient(160deg, #134549 0%, #0b2a2e 55%, #061a1c 100%);
}
.app-card--paper {
  color: #0f2629;
  background: radial-gradient(80% 60% at 30% 100%, rgba(232, 199, 102, 0.24), transparent 70%), #fffcf6;
}
@media (prefers-color-scheme: dark) {
  .app-card--paper { color: #e8f1ee; background: radial-gradient(80% 60% at 30% 100%, rgba(232, 199, 102, 0.16), transparent 70%), #13302f; border-color: transparent; }
  .app-card--paper .app-card-tag { color: #e8c766; }
  .app-card--paper p { color: #a9c4c1; }
  .app-card--paper .badge { color: #86d3d8; border-color: rgba(134, 211, 216, 0.4); }
}
.app-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.app-icon { width: 68px; height: 68px; border-radius: 17px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.app-card h3 { margin-bottom: 6px; }
.app-card-tag { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; margin: 0 0 14px; color: #7a5c0c; }
.app-card--night .app-card-tag { color: #e8c766; }
.app-card p { max-width: 30em; }
.app-card--night p { color: #a9c4c1; }
.app-card--paper p { color: #536a6c; }
.app-card--night .badge { color: #e8c766; border-color: rgba(232, 199, 102, 0.4); }
.app-card--paper .badge { color: #1b6a6f; border-color: rgba(27, 106, 111, 0.4); }
.app-card .link-arrow { margin-top: 4px; }
.app-card-device { margin: 40px auto 0; width: min(76%, 300px); transform: translateY(14%); transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.app-card:hover .app-card-device { transform: translateY(9%); }

.teaser {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px;
  margin-top: 20px; padding: 26px clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl); border: 1.5px dashed var(--line-strong); background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.teaser img { width: 54px; height: 54px; }
.teaser h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.teaser p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .app-cards { grid-template-columns: 1fr; }
  .app-card { min-height: 0; }
  .app-card-device { width: min(70%, 280px); }
}
@media (max-width: 640px) { .teaser { grid-template-columns: auto minmax(0, 1fr); } .teaser .badge { grid-column: 2; justify-self: start; } }

/* ---------- Geräte-Rahmen ---------- */
.phone {
  position: relative; padding: 9px; border-radius: 44px;
  background: linear-gradient(150deg, #2b3a3c 0%, #0d1516 40%, #1a2526 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 70px -30px rgba(3, 14, 15, 0.55), 0 18px 30px -18px rgba(3, 14, 15, 0.45);
}
.phone img { width: 100%; border-radius: 35px; }
.phone::after {
  content: ""; position: absolute; top: 19px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #070c0d; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.tablet {
  position: relative; padding: 12px; border-radius: 30px;
  background: linear-gradient(150deg, #2b3a3c 0%, #0d1516 40%, #1a2526 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -40px rgba(3, 14, 15, 0.6), 0 20px 36px -22px rgba(3, 14, 15, 0.5);
}
.tablet img { width: 100%; border-radius: 19px; }
.device-note { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------- Produkt im Detail ---------- */
.feature-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.feature-intro .lead { margin: 0; }
@media (max-width: 900px) { .feature-intro { grid-template-columns: 1fr; align-items: start; } }
.showcase-tablet { width: min(100%, 1060px); margin: 0 auto; }

/* ---------- Kacheln ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.bento--flush { margin-top: 0; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 236px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile--wide { grid-column: span 4; }
.tile h3 { font-size: 1.22rem; letter-spacing: -0.018em; line-height: 1.25; }
.tile p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; max-width: 36em; }
.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.tile-icon svg { width: 23px; height: 23px; }
.tile .tile-stat {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.055em; line-height: 0.9;
  font-size: clamp(3.2rem, 2.2rem + 3vw, 4.8rem); color: var(--accent); margin-bottom: 8px; max-width: none;
}
.tile-stat small { font-size: 0.45em; letter-spacing: -0.02em; margin-left: 0.08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 0.84rem; font-weight: 550; background: var(--accent-soft); color: var(--ink-2); }
.tile--dark { background: linear-gradient(155deg, var(--dark-mid), var(--dark) 60%, var(--dark-deep)); border-color: transparent; color: var(--on-dark); }
.tile--dark p { color: var(--on-dark-muted); }
.tile--dark .tile-icon { background: rgba(var(--glow), 0.14); color: var(--on-dark-accent); }
.tile--dark .chips li { background: rgba(237, 246, 243, 0.08); color: var(--on-dark); }
.tile-art { position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; opacity: 0.9; pointer-events: none; }
.tile-art--spin { animation: drehen 60s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.tile--with-art > :not(.tile-art) { position: relative; max-width: calc(100% - 150px); }
.tile .device-note { margin: 2px 0 0; text-align: left; font-size: 0.8rem; }
.strokes { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }
.strokes svg { width: 100%; height: 22px; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: span 1; }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide { grid-column: span 1; }
  .tile { min-height: 0; }
  .tile--with-art > :not(.tile-art) { max-width: none; }
  .tile-art { opacity: 0.25; }
}

/* ---------- Grundsätze / Versprechen ---------- */
.promise { padding: 0 12px; }
.promise-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); color: var(--on-dark);
  background: radial-gradient(120% 100% at 20% 0%, var(--dark-mid) 0%, var(--dark) 50%, var(--dark-deep) 100%);
  padding-block: clamp(80px, 10vw, 140px);
}
.promise-ornament {
  position: absolute; right: -22%; top: 50%; width: min(80vw, 860px); aspect-ratio: 1; transform: translateY(-50%);
  opacity: 0.1; z-index: -1; pointer-events: none;
}
.promise-ornament--hex { right: -8%; width: min(70vw, 640px); opacity: 0.05; }
.promise .eyebrow { color: var(--on-dark-accent); }
.promise h2 { max-width: 900px; }
.promise h2 .serif, .promise h2 .hl { color: var(--on-dark-accent); }
.promise-grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--dark-line);
}
.promise-grid li { padding: 32px 28px 8px 0; }
.promise-grid li + li { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.promise-no { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; color: var(--on-dark-accent); margin-bottom: 18px; }
.theme-app .promise-no { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1rem; letter-spacing: 0; }
.promise-grid h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.promise-grid p { color: var(--on-dark-muted); font-size: 0.98rem; margin: 0; }
.promise-note {
  display: flex; align-items: center; gap: 14px; margin: clamp(48px, 6vw, 72px) 0 0; padding: 18px 22px;
  border-radius: 18px; border: 1px solid var(--dark-line); background: rgba(237, 246, 243, 0.04);
  color: var(--on-dark-muted); max-width: 760px;
}
.promise-note svg { width: 26px; height: 26px; color: var(--on-dark-accent); flex: none; }
.promise-note strong { color: var(--on-dark); font-weight: 600; }
.promise-note a { color: var(--on-dark); }
@media (max-width: 980px) {
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise-grid li:nth-child(n + 3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 560px) {
  .promise { padding-inline: 8px; }
  .promise-panel { border-radius: 26px; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid li, .promise-grid li + li { padding: 26px 0 6px; border-left: 0; }
  .promise-grid li + li { border-top: 1px solid var(--dark-line); }
}

/* ---------- Studio & Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio p { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.studio h2 { margin-bottom: 26px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; }
.facts strong { font-family: var(--font-display); font-weight: 650; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: -0.045em; line-height: 1; }
.facts span { font-size: 0.9rem; color: var(--muted); }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(30px, 4vw, 44px); border-radius: var(--radius-xl); color: var(--on-dark);
  background: linear-gradient(155deg, var(--dark-mid) 0%, var(--dark) 55%, var(--dark-deep) 100%);
  box-shadow: var(--shadow);
}
.contact-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; z-index: -1; opacity: 0.08;
  background: url("img/zeichen-dunkel.svg") center / contain no-repeat;
}
.theme-app .contact-card::after { right: -90px; top: -90px; width: 260px; height: 260px; opacity: 0.22; background-image: url("img/mandala-linien.svg"); }
.contact-card h3 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.contact-card p { color: var(--on-dark-muted); }
.contact-actions { display: grid; gap: 10px; margin: 26px 0 22px; }
.contact-actions .btn { width: 100%; }
.contact-card .link-arrow { color: var(--on-dark); }
.copy-status { min-height: 1.4em; margin: -6px 0 10px; font-size: 0.9rem; color: var(--on-dark-accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Querverweis und Hinweise ---------- */
.xsell {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s;
}
.xsell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.xsell img { width: 76px; height: 76px; border-radius: 19px; }
.xsell h2 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); letter-spacing: -0.022em; line-height: 1.2; margin-bottom: 6px; }
.xsell p { margin: 0; color: var(--muted); }
.xsell .eyebrow { margin-bottom: 8px; }
@media (max-width: 720px) { .xsell { grid-template-columns: 1fr; } }
.note-strip {
  display: flex; align-items: flex-start; gap: 14px; margin: 20px 0 0; padding: 20px 24px;
  border-radius: 18px; background: var(--accent-soft); color: var(--ink-2);
}
.note-strip svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 1px; }
.note-strip p { margin: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { padding: clamp(56px, 7vw, 80px) 0 32px; background: #121618; color: #a8b3af; }
.theme-app .site-footer { background: #061a1c; color: #a9c4c1; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(240, 243, 241, 0.12); }
.footer-logo { display: inline-block; }
.footer-logo img { width: auto; height: 44px; }
.footer-claim { margin: 18px 0 0; max-width: 24em; font-size: 0.98rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-nav h2 { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: #7cc36a; margin-bottom: 14px; }
.theme-app .footer-nav h2 { color: #e8c766; }
.footer-nav a { display: block; padding: 5px 0; color: #f0f3f1; text-decoration: none; font-size: 0.97rem; }
.footer-nav a:hover { color: #7cc36a; }
.theme-app .footer-nav a:hover { color: #e8c766; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 26px; font-size: 0.88rem; }
.footer-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom svg { width: 16px; height: 16px; color: #7cc36a; }
.theme-app .footer-bottom svg { color: #e8c766; }
.site-footer :focus-visible { outline-color: #7cc36a; }
.site-footer a { color: #f0f3f1; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Unterseiten: Kopf ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); }
.page-head .lead { margin-top: 20px; }
.page-head h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); letter-spacing: -0.042em; }

/* ---------- Rechtstexte ---------- */
.legal-body { padding-bottom: clamp(64px, 8vw, 110px); }
.legal-body h2 { font-size: 1.45rem; letter-spacing: -0.022em; line-height: 1.25; margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.12rem; letter-spacing: -0.012em; margin: 30px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin: 0.35em 0; }
.legal-body address { font-style: normal; line-height: 1.75; }
.summary { margin: 0 0 48px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.summary h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 1.15rem; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.summary li { display: flex; gap: 12px; margin: 0; }
.summary li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; background: url("img/haken.svg") center / contain no-repeat; }
.toc { margin: 0 0 48px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.toc h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.stand { margin-top: 48px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Hilfe & FAQ ---------- */
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 14px; }
.faq-group > h2 img { width: 34px; height: 34px; border-radius: 9px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s, background-color 0.3s;
}
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq summary:hover { color: var(--accent); }
.faq-body { padding: 0 52px 22px 0; color: var(--ink-2); }
.faq-body p:last-child { margin-bottom: 0; }
.help-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.help-aside .contact-card h3 { font-size: 1.4rem; }
@media (max-width: 900px) { .help-grid { grid-template-columns: 1fr; } .help-aside { position: static; } }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 64px 0 96px; }
.notfound-art { width: min(40vw, 150px); margin: 0 auto 32px; }
.notfound .lead { margin: 18px auto 32px; max-width: 30em; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Sanftes Einblenden beim Scrollen (nur wo der Browser es kann) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: einblenden linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  }
}
@keyframes einblenden { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- Weniger Bewegung, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker-track { width: auto; animation: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
  .ticker-list { flex-wrap: wrap; justify-content: center; padding: 0 20px; gap: 12px 28px; }
  .ticker-list li { gap: 28px; }
}

/* ---------- Drucken ---------- */
@media print {
  .site-header, .site-footer, .hero-stage, .hero-visual, .ticker, .dock, .menu { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-panel, .promise-panel, .app-card--night, .contact-card, .tile--dark { background: #fff !important; color: #000 !important; }
}

/* ---------- Dunkelmodus: helle Produktkarte (muss nach den Grundregeln stehen) ---------- */
@media (prefers-color-scheme: dark) {
  .app-card--paper { color: #e8f1ee; border-color: transparent; background: radial-gradient(80% 60% at 30% 100%, rgba(232, 199, 102, 0.16), transparent 70%), #13302f; }
  .app-card--paper .app-card-tag { color: #e8c766; }
  .app-card--paper p { color: #a9c4c1; }
  .app-card--paper .badge { color: #86d3d8; border-color: rgba(134, 211, 216, 0.4); }
}

/* ---------- Hinweis unter der Zeichenfläche (nach Farbwechsel usw.) ---------- */
.stage.hint-on .stage-hint { opacity: 1; color: var(--on-dark); border-color: rgba(232, 199, 102, 0.45); }
@media (max-width: 560px) {
  .stage-hint { white-space: normal; width: max-content; max-width: 94%; text-align: center; line-height: 1.35; }
}
