/* =====================================================================
   SM-ARTS — Designsystem "Studio" (Redesign 2026)
   Kräftige, eng gesetzte Grotesk (Archivo), ein kursives Serifen-Wort als
   Akzent (Instrument Serif), schmale Zahlen, Monospace nur für kurze Labels.
   Zwei Modi mit gleicher Struktur: Dunkel (kinematografisch, warmes Licht)
   und Hell (warm-hell). data-theme="dark|light" am <html> setzt ein kleines
   Inline-Script im <head> (Wahl im localStorage, Standard = System).
   Ohne JavaScript greift die Media-Query.
   Logo-Blau nur für Logo, aktiven Umschalter und Fokus.
   ===================================================================== */

/* ---------- Schriften (lokal, OFL) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../assets/fonts/archivo-latin-var.woff2') format('woff2-variations'), url('../assets/fonts/archivo-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../assets/fonts/archivo-latin-ext-var.woff2') format('woff2-variations'), url('../assets/fonts/archivo-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
}

/* ---------- Farben ----------
   DUNKEL gilt für :root, den Dunkelmodus und kontrastierende Abschnitte (.invert) im Hellmodus;
   HELL umgekehrt. So lässt sich ein Abschnitt "umdrehen", ohne Komponenten doppelt zu stylen. */
:root,
[data-theme="dark"],
[data-theme="light"] .invert {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-2: #111112;
  --surface: #161617;
  --surface-2: #1e1e20;
  --text: #f2ede4;
  --muted: #aaa59b;
  --line: #2a2826;
  --line-strong: #4a463f;
  --field-line: #7a756c;          /* Formularränder: mind. 3:1 zur Fläche */
  --accent: var(--kupfer-dunkel); /* Markenfarbe Kupfer (= Logo-Strich/-Punkt): Akzentwort, aktive Zustände, Fokus – 8,6:1 auf --bg */
  --on-accent: #0b0b0c;           /* Schrift auf Kupfer-Fläche */
  --glow: rgba(214, 162, 106, 0.09);
  --focus: var(--kupfer-dunkel);
  --logo-box: #232327;            /* Logo-Kästchen im Dunkeln leicht heller + feiner Rand, damit es nicht im Grund verschwindet */
  --logo-rand: rgba(255, 255, 255, 0.08);
  --btn-bg: #f2ede4;
  --btn-text: #0b0b0c;
  --btn-hover: #ffffff;
  --danger: #ff8f85;
  --success: #8fd6a4;
  --overlay: rgba(4, 4, 5, 0.78);
  --shadow: 0 30px 80px -36px rgba(0, 0, 0, 0.9);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ee;
  --bg-2: #efe9e0;
  --surface: #fffdf9;
  --surface-2: #f8f4ee;
  --text: #1a1917;
  --muted: #5b574f;
  --line: #e0d8cb;
  --line-strong: #c4b9a8;
  --field-line: #8a8378;
  --accent: var(--kupfer-hell);   /* 5,3:1 auf --bg */
  --on-accent: #ffffff;
  --glow: rgba(139, 90, 43, 0.07);
  --focus: var(--kupfer-hell);
  --logo-box: #16161a;
  --logo-rand: transparent;
  --btn-bg: #1a1917;
  --btn-text: #f6f3ee;
  --btn-hover: #000000;
  --danger: #b3261e;
  --success: #1f7a3d;
  --overlay: rgba(26, 25, 23, 0.55);
  --shadow: 0 30px 70px -36px rgba(60, 48, 30, 0.4);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f6f3ee; --bg-2: #efe9e0; --surface: #fffdf9; --surface-2: #f8f4ee; --text: #1a1917; --muted: #5b574f;
    --line: #e0d8cb; --line-strong: #c4b9a8; --field-line: #8a8378; --accent: var(--kupfer-hell); --on-accent: #ffffff; --glow: rgba(139, 90, 43, 0.07);
    --focus: var(--kupfer-hell); --logo-box: #16161a; --logo-rand: transparent; --btn-bg: #1a1917; --btn-text: #f6f3ee; --btn-hover: #000; --danger: #b3261e; --success: #1f7a3d;
    --overlay: rgba(26, 25, 23, 0.55); --shadow: 0 30px 70px -36px rgba(60, 48, 30, 0.4);
  }
}

/* ---------- Maße ---------- */
:root {
  /* Markenfarbe Kupfer (Markenwechsel 19.10.2026, ersetzt Logo-Blau #1a1aff): hell = Original-Logo, dunkel = heller Gold-/Kupferton */
  --kupfer-hell: #8b5a2b;
  --kupfer-dunkel: #d6a26a;
  --logo-sm: #f4f4f2;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --container: 1320px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 72px;
  --modes-h: 0px;                 /* Höhe der fixierten Umschalt-Leiste (setzt home.js) */
  --section: clamp(64px, 9vw, 120px);   /* 20.10.2026: vorher clamp(88px, 11vw, 168px) – Lücken bis ~1/3 Bildschirmhöhe */
  --fs-hero: clamp(52px, 7.5vw, 120px);
  --fs-h2: clamp(36px, 4.5vw, 72px);
  --fs-h3: clamp(1.45rem, 1.15rem + 0.9vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 1079px) { :root { --header-h: 64px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--modes-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;              /* 18 px */
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
.display, h1 {
  font-size: var(--fs-hero); font-weight: 460; line-height: 0.94; letter-spacing: -0.045em;
}
h2, .h2 { font-size: var(--fs-h2); font-weight: 460; line-height: 0.98; letter-spacing: -0.04em; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 520; line-height: 1.12; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; }
/* höchstens ein Wort pro Überschrift: kursive Serife im warmen Licht */
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); margin-right: -0.05em; }
/* kurze Labels: Monospace, mind. 12 px, ausreichender Kontrast */
.label {
  display: inline-block; margin: 0;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
/* große Zahlen: schmale Archivo */
.num { font-stretch: 62%; font-weight: 340; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; line-height: 0.82; }
.lead { font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.45rem); line-height: 1.5; color: var(--muted); max-width: 36em; letter-spacing: -0.005em; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
/* Software-Ansicht: nach dem Teaser-Kasten keine doppelte Leerfläche (der Website-Teaser #vorschau hat seit 18.10.2026 den vollen Abstand) */
#naechster-schritt { padding-bottom: calc(var(--section) / 2); }
.section-head { display: grid; gap: 22px 64px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .label { margin-bottom: -4px; }
.section-head h2, .section-head h1 { max-width: 15em; }
.section-head p { color: var(--muted); max-width: 34em; margin: 0; }
@media (min-width: 1000px) {
  .section-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .section-head--split .label { grid-column: 1 / -1; }
}

.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-link {
  position: fixed; left: 16px; top: -100px; z-index: 1001;
  background: var(--btn-bg); color: var(--btn-text); padding: 0.8rem 1.1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn, .sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 54px; padding: 0.75rem 1.5rem;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0;
  text-decoration: none; text-align: center; white-space: nowrap;
  background: transparent; color: var(--text);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary, .sx-btn--solid, .btn-light { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.btn--primary:hover, .sx-btn--solid:hover, .btn-light:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--secondary { border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--text); }
.btn--sm { min-height: 44px; padding: 0.5rem 1.05rem; font-size: 0.95rem; }
.btn .arrow, .sx-arrow { font-weight: 400; transition: transform 0.2s var(--ease); }
.btn:hover .arrow, .sx-btn:hover .sx-arrow { transform: translateX(3px); }
.btn:active, .sx-btn:active { transform: translateY(1px); }
.btn[disabled], .sx-btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* Textlinks: im Fließtext/Hinweis 16 px (1rem), allein am Abschnitts- oder Kartenende 18 px (erbt dort die Absatzgröße) */
.link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.link .arrow { display: inline-block; margin-left: 0.3em; transition: transform 0.2s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }
button.link { border: 0; background: none; padding: 0; min-height: 44px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid transparent; background: transparent; color: inherit;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-btn:hover { border-color: currentColor; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  background: var(--bg); color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
/* über dem Hero-Video: transparent mit hellem Text; sobald gescrollt wird, fester Hintergrund */
.has-hero .site-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; color: #f2ede4; }
.has-hero .site-header:not(.is-scrolled)::before {
  content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(5, 5, 6, 0.6), rgba(5, 5, 6, 0));
}
.menu-open .site-header { background: var(--bg) !important; color: var(--text) !important; border-bottom-color: var(--line) !important; }
.menu-open .site-header::before { display: none; }
body:not(.has-hero) main { padding-top: var(--header-h); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 100%; }
/* Logo: Inline-SVG aus partials/logo.svg (erzeugt von _tools/redesign/logo-bau.mjs), Farben nur über Tokens –
   Strich und Punkt = --accent, Schriftzug "arts" = Textfarbe, Kästchen hell #16161a / dunkel #232327 + Rand */
.brand {
  display: inline-flex; align-items: center; flex: none;
  text-decoration: none; color: inherit; line-height: 0;
}
.logo { display: block; height: 38px; width: auto; overflow: visible; }
.lg-box { fill: var(--logo-box); stroke: var(--logo-rand); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.lg-sm { fill: var(--logo-sm); }
.lg-acc { fill: var(--accent); }
.lg-txt { fill: currentColor; }
@media (max-width: 760px) { .site-header .logo { height: 32px; } }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 2px; }
.site-nav li > a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
  font-size: 0.98rem; font-weight: 500; text-decoration: none; color: inherit;
}
.site-nav li > a::after {
  content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav li > a:hover::after, .site-nav li > a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .btn { margin-left: 10px; }
.has-hero .site-header:not(.is-scrolled) .header-actions .btn--primary { background: #f2ede4; border-color: #f2ede4; color: #0b0b0c; }
.nav-toggle { display: none; }
.menu-extras { display: none; }

/* Modus-Schalter: Sonne im Dunkelmodus (= zu Hell wechseln), Mond im Hellmodus */
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
html:not(.js) .theme-toggle { display: none; }

@media (max-width: 1079px) {
  .header-inner { gap: 6px; }
  .header-actions { margin-left: auto; }
  .header-actions > .theme-toggle, .header-actions > .btn { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-toggle .icon-close { display: none; }
  .menu-open .nav-toggle .icon-open { display: none; }
  .menu-open .nav-toggle .icon-close { display: block; }
  /* Vollbild-Liste */
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    display: flex; flex-direction: column;
    margin: 0; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg); color: var(--text);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0;
    transition: opacity 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .js.menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity 0.2s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li > a { display: flex; justify-content: space-between; min-height: 72px; padding: 0; font-size: clamp(2rem, 8.5vw, 2.8rem); font-weight: 460; letter-spacing: -0.04em; }
  .site-nav li > a::after { content: '→'; position: static; height: auto; background: none; transform: none; font-size: 0.6em; font-weight: 400; color: var(--muted); }
  .menu-extras { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
  .menu-extras .btn { width: 100%; }
  .menu-theme { justify-content: flex-start; width: 100%; height: auto; min-height: 54px; padding: 0 1.1rem; gap: 0.75rem; border-color: var(--line-strong); }
  .menu-theme svg { width: 20px; height: 20px; }
  .menu-phone { margin: 8px 0 0; color: var(--muted); }
  .menu-phone a { color: var(--text); font-weight: 600; }
  .menu-open { overflow: hidden; }
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .site-nav { width: 100%; order: 3; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav li > a { font-size: 1.4rem; min-height: 52px; }
  html:not(.js) .site-nav li > a::after { display: none; }
}
@media (min-width: 1080px) { .menu-theme, .menu-phone { display: none; } }
@media (min-width: 1080px) and (max-width: 1239px) { .site-nav li > a { padding: 0 0.55rem; font-size: 0.94rem; } .site-nav li > a::after { left: 0.55rem; right: 0.55rem; } }

/* ---------- Konto (auth.js) ---------- */
.account-slot { display: inline-flex; }
.account-switch { position: relative; }
.account-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: var(--radius); border: 1px solid transparent; background: transparent; color: inherit;
}
.account-toggle:hover { border-color: currentColor; }
.account-toggle svg { width: 21px; height: 21px; }
.account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  min-width: 230px; padding: 8px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: none;
}
.account-switch.open .account-menu { display: block; }
.account-menu-label { padding: 8px 10px; font-size: 0.85rem; color: var(--muted); }
.account-option {
  display: block; width: 100%; text-align: left; padding: 10px; min-height: 44px;
  border: 0; border-radius: var(--radius); background: transparent; color: var(--text); text-decoration: none; font-size: 0.95rem;
}
.account-option:hover { background: var(--surface-2); }
.account-menu-divider { height: 1px; background: var(--line); margin: 6px 0; }

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(24px, 3.5vw, 44px);
  background: #08080a; color: #f2ede4;
}
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-media picture, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
/* das Video liegt über dem Standbild und wird erst sichtbar, wenn es wirklich läuft */
.hero-media video { opacity: 0; transition: opacity 0.6s var(--ease); }
.hero-media video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, rgba(8, 8, 10, 0) 26%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.97) 0%, rgba(8, 8, 10, 0.86) 30%, rgba(8, 8, 10, 0.35) 58%, rgba(8, 8, 10, 0) 76%);
}
@media (min-width: 900px) {
  .hero-shade { background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.4) 0%, rgba(8, 8, 10, 0) 22%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.7) 28%, rgba(8, 8, 10, 0) 62%),
    linear-gradient(90deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0) 55%); }
}
.hero-content { position: relative; }
.hero h1 { max-width: 11.5em; margin-bottom: clamp(18px, 2.2vw, 28px); }
.hero .accent { color: var(--kupfer-dunkel); }
.hero-sub { max-width: 30em; margin-bottom: clamp(24px, 3vw, 36px); font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); line-height: 1.45; color: rgba(242, 237, 228, 0.86); }
.hero .btn--primary { background: #f2ede4; border-color: #f2ede4; color: #0b0b0c; }
.hero .btn--primary:hover { background: #fff; border-color: #fff; }
.hero .btn--secondary { border-color: rgba(242, 237, 228, 0.55); color: #f2ede4; }
.hero .btn--secondary:hover { border-color: #f2ede4; background: rgba(242, 237, 228, 0.08); }
.hero-phone { margin: 16px 0 0; font-size: 0.98rem; color: rgba(242, 237, 228, 0.78); }
.hero-phone a { color: #f2ede4; font-weight: 600; }
.proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0;
  margin-top: clamp(28px, 4.5vw, 64px); padding-top: 18px;
  border-top: 1px solid rgba(242, 237, 228, 0.2);
}
.proof li {
  display: inline-flex; align-items: center; gap: 10px; padding-right: 26px; margin-right: 26px;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 237, 228, 0.92);
}
.proof li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kupfer-dunkel); box-shadow: 0 0 14px 2px rgba(214, 162, 106, 0.45); }
/* Hochformat: das Video steht oben frei (Gesicht und Logo sichtbar), der Text beginnt darunter */
@media (max-aspect-ratio: 4/5) {
  .hero { display: block; min-height: 0; padding-top: 0; padding-bottom: 32px; }
  .hero-media { bottom: auto; height: 72svh; min-height: 460px; }
  .hero-shade { bottom: auto; height: 72svh; min-height: 460px; background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.5) 0%, rgba(8, 8, 10, 0) 16%, rgba(8, 8, 10, 0) 46%, rgba(8, 8, 10, 0.88) 78%, #08080a 100%); }
  .hero-content { padding-top: max(380px, 47svh); }
  .media-toggle { top: calc(var(--header-h) + 12px); bottom: auto; }
}
@media (max-width: 599px) {
  .hero .btn-group .btn { flex: 1 1 100%; }
  .proof { gap: 10px 0; }
  .proof li { margin-right: 18px; padding-right: 0; font-size: 0.78rem; }
}
.media-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 3.5vw, 44px); z-index: 2;
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid rgba(242, 237, 228, 0.4);
  background: rgba(8, 8, 10, 0.5); color: #f2ede4;
}
.media-toggle svg { width: 15px; height: 15px; }
.media-toggle .icon-play { display: none; }
.media-toggle.is-paused .icon-play { display: block; }
.media-toggle.is-paused .icon-pause { display: none; }
html:not(.js) .media-toggle { display: none; }

/* ---------- 1b · Hero mit Figur (Startseite, ersetzt das Video) ----------
   Ruhiger Hintergrund im jeweiligen Modus, Text links, rechts Simon mit Laptop (9 Posen, js/hero-figur.js).
   Die Figur ist so bemessen, dass über den Haaren immer mind. 56 px Luft unter dem Header bleiben –
   auch bei Neigung und Verschiebung nach oben (höchstens 8 px). */
.has-hero--figur .site-header:not(.is-scrolled) { color: var(--text); }
.has-hero--figur .site-header:not(.is-scrolled)::before { display: none; }
.has-hero--figur .site-header:not(.is-scrolled) .header-actions .btn--primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.hero--figur {
  --figur-ratio: 1.4862;          /* 1400 × 942 */
  --figur-luft: 56px;             /* Abstand Header → Bildoberkante */
  --figur-spot: rgba(242, 237, 228, 0.055);
  background: var(--bg); color: var(--text);
  align-items: center; padding-bottom: clamp(40px, 5vw, 72px);
}
[data-theme="light"] .hero--figur { --figur-spot: rgba(139, 90, 43, 0.065); }
/* Feinschliff 20.10.2026 (Desktop/Tablet ab 768 px; der Handy-Hero bleibt): Hellmodus ruhiger – Sand statt fast Weiß,
   Text #1d1b19, Aura warm kupfer und schwächer (kein heller Schleier). Kontraste auf #ece6dc: Text 15,2:1, --muted 5,7:1,
   Kupfer #8b5a2b 4,7:1, Rand des Zweitbuttons (#8a8378) 3,1:1. Dunkelmodus: Aura kräftiger. Der Auslauf unten ist im Canvas
   durchsichtig (destination-out) und der Lichtfleck rechnet mit der Hero-Farbe → beide enden exakt im Hintergrund. */
@media (min-width: 768px) {
  .hero--figur { --figur-spot: rgba(242, 237, 228, 0.085); }
  [data-theme="light"] .hero--figur { --bg: #ece6dc; --text: #1d1b19; --figur-spot: rgba(139, 90, 43, 0.045); }
  .hero--figur .hero-content .btn--secondary { border-color: var(--field-line); }   /* Rand ≥ 3:1 in beiden Modi (dunkel vorher 2,1:1) */
  /* Schlagschatten (nur hell) läuft unten mit aus wie die Figur – sonst endete der Auslauf in Schattenfarbe statt im Sand */
  [data-theme="light"] .hero-figur--v6 .hv-tilt {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
  }
  /* drei Vertrauenspunkte in einer Zeile, Abstand zur Telefonzeile halbiert */
  /* Zeile darf breiter als die Textspalte sein (max-content): figurLage in hero-v6.js zählt sie als rechte Textkante mit */
  .hero--figur .hero-content > .proof { flex-wrap: nowrap; width: max-content; max-width: none; gap: 0 clamp(14px, 1.5vw, 22px); margin-top: clamp(14px, 2.25vw, 32px); }
  .hero--figur .proof li { margin-right: 0; padding-right: 0; white-space: nowrap; font-size: 0.75rem; letter-spacing: 0.04em; gap: 8px; }
}
.hero--figur .accent { color: var(--accent); }
.hero--figur .btn--primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.hero--figur .btn--primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.hero--figur .btn--secondary { border-color: var(--line-strong); color: var(--text); }
.hero--figur .btn--secondary:hover { border-color: var(--text); background: transparent; }
.hero--figur .hero-sub { color: var(--muted); }
.hero--figur .hero-phone { color: var(--muted); }
.hero--figur .hero-phone a { color: var(--text); }
.hero--figur .proof { border-top-color: var(--line); }
.hero--figur .proof li { color: var(--text); }
.hero--figur .proof li::before { background: var(--accent); box-shadow: none; }
.hero-figur { position: relative; z-index: 0; pointer-events: none; }
/* ruhiger, weicher Lichtfleck hinter der Figur */
.hero-figur::before {
  content: ''; position: absolute; inset: 6% 4% 0; z-index: -1;
  background: radial-gradient(closest-side, var(--figur-spot), transparent);
}
/* Hero v6: derselbe Lichtfleck, aber von js/hero-v6.js mit Dithering in ein <canvas> gezeichnet (.hv-spot) – der
   CSS-Verlauf hat auf dem Grund nur ~12 Farbstufen und zeigte Ringe. Der CSS-Fleck bleibt als Rückfall (ohne JS,
   bis das Canvas fertig ist). Lage und Größe exakt wie ::before. */
.hv-spot { position: absolute; left: 4%; top: 6%; width: 92%; height: 94%; z-index: -1; pointer-events: none; }
.hero-figur.is-spot::before { display: none; }
.hero-figur:not(.is-spot) .hv-spot { visibility: hidden; }
.hero-figur-tilt { transform-origin: 50% 62%; will-change: transform; }
.hero-figur-stack {
  position: relative; aspect-ratio: 1400 / 942;
  /* weicher Auslauf unten (untere ~14 % der Figur), endet genau an der Hero-Unterkante */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}
/* Schatten im Hellmodus auf der äußeren Ebene: so entsteht er erst NACH der Maske und wird nicht an der Bildkante abgeschnitten */
[data-theme="light"] .hero-figur-tilt { filter: drop-shadow(0 22px 34px rgba(60, 48, 30, 0.16)); }
.hero-figur-posen { position: absolute; inset: 0; }
.hero-figur-stack img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; user-select: none; -webkit-user-drag: none; }
/* Überblenden ohne "durchsichtigen" Moment: die neue Pose blendet über der alten ein, erst danach geht die alte */
.hero-figur-stack img.is-active { opacity: 1; z-index: 2; transition: opacity 0.2s ease-out; }
.hero-figur-stack img.is-prev { opacity: 0; z-index: 1; transition: opacity 0.16s ease-in 0.2s; }
@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  /* Text links (Breite --text-b), die Figur nimmt den Rest bis zum rechten Containerrand – nie überlappend,
     denn die Laptops der Seitenposen reichen bis an den Bildrand. Höhe begrenzt durch Header + Luft. */
  .hero--figur {
    --text-b: min(35rem, 39vw);
    --rand-l: max(var(--gutter), calc((100vw - var(--container)) / 2));
    --rand-r: max(0px, calc((100vw - var(--container)) / 2 - var(--gutter)));
  }
  .hero--figur .hero-figur {
    position: absolute; bottom: 0; z-index: 0; right: var(--rand-r);
    width: min(calc(100vw - var(--rand-l) - var(--text-b) - var(--rand-r) - 24px), calc((100svh - var(--header-h) - var(--figur-luft)) * var(--figur-ratio)), 1060px);
  }
  .hero--figur .hero-content { position: relative; z-index: 1; pointer-events: none; }   /* Container ist volle Breite: nur der Text fängt Klicks */
  .hero--figur .hero-content > * { pointer-events: auto; }
  .hero--figur .hero-content > * { max-width: var(--text-b); }
  .hero--figur h1 { font-size: clamp(46px, 5vw, 84px); }
}
@media (max-width: 899px), (max-aspect-ratio: 4/5) {
  .hero--figur .hero-content { padding-top: 0; }
  .hero--figur { display: flex; flex-direction: column; min-height: 0; padding-top: calc(var(--header-h) + 32px); padding-bottom: 0; }
  .hero--figur .hero-content { order: 1; }
  .hero--figur .hero-figur { order: 2; align-self: center; width: min(100%, calc(60svh * var(--figur-ratio)), 640px); margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hero-figur-stack img { transition: none !important; } }

/* ---------- 1c · Hero "Laptop-Sequenz" (js/hero-video.js) ----------
   Gleiche Anordnung wie 1b (.hero-figur); die Figur ist eine Bildfolge, auf dem Laptop-Bildschirm liegen echte
   Beispielseiten (.hv-screen, per matrix3d auf die Bildschirmfläche des aktuellen Frames gelegt). */
.hero-figur--video { pointer-events: none; }
.hv-tilt { transform-origin: 50% 60%; will-change: transform; }
[data-theme="light"] .hv-tilt { filter: drop-shadow(0 22px 34px rgba(60, 48, 30, 0.16)); }
.hv-stage {
  position: relative; aspect-ratio: var(--figur-ratio);
  /* weicher Auslauf unten (untere 12 % der Figur) – gilt auch für den Bildschirm-Inhalt */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}
.hv-figur { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.hv-screen {
  position: absolute; left: 0; top: 0; width: 640px; height: 400px; transform-origin: 0 0;
  overflow: hidden; background: #1a1b1e; pointer-events: auto; visibility: hidden;
}
.hv-screen.is-bereit { visibility: visible; }
html:not(.js) .hv-screen { display: none; }
.hv-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.45s ease; }
.hv-shot.is-an { opacity: 1; }
/* ganzseitige Beispielseite, scrollt per transform (js/hero-v6.js, Web Animations); Höhe setzt das Skript */
.hv-shot.is-lang { bottom: auto; object-fit: fill; will-change: transform; }
/* leicht abgedunkelt + sehr dezente Spiegelung, damit es wie ein echter Bildschirm wirkt */
.hv-glanz {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.035) 34%, rgba(255, 255, 255, 0) 34.5%),
    rgba(10, 10, 12, 0.12);
}
.hv-open {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0;
  border: 0; background: transparent; cursor: pointer;
}
.hv-open:focus-visible { outline: 8px solid var(--focus); outline-offset: -8px; border-radius: 0; }
.hv-pfeil {
  position: absolute; top: 50%; width: 76px; height: 76px; margin-top: -38px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(12, 12, 14, 0.72); color: #fff;
  font-size: 44px; line-height: 76px; text-align: center; cursor: pointer;
  opacity: 0; transition: opacity 0.2s ease;
}
.hv-prev { left: 18px; } .hv-next { right: 18px; }
.hv-pfeil:hover { background: rgba(12, 12, 14, 0.9); }
.hv-pfeil:focus-visible { outline: 6px solid var(--focus); outline-offset: 2px; opacity: 1; }
.hv-dots { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; justify-content: center; gap: 12px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.hv-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25); }
.hv-dots i.is-an { background: #fff; }
.hv-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  padding: 8px 18px; border-radius: 999px; background: rgba(12, 12, 14, 0.78); color: #fff;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em; opacity: 0; transition: opacity 0.2s ease;
}
.hv-label span { opacity: 0.75; font-weight: 500; }
/* Bedienelemente: sichtbar, wenn die Figur steht (Maus/Fokus auf dem Bildschirm), bei Touch Punkte + Label immer,
   bei reduzierter Bewegung alles immer */
.is-aktiv .hv-pfeil, .is-aktiv .hv-dots, .is-aktiv .hv-label,
.is-statisch .hv-pfeil, .is-statisch .hv-dots, .is-statisch .hv-label,
.is-touch .hv-dots, .is-touch .hv-label, .hv-screen:focus-within .hv-dots, .hv-screen:focus-within .hv-label { opacity: 1; }
.is-touch .hv-pfeil { display: none; }

/* ---------- 1d · Hero v6 "ein Video, ein Zeitstrahl" (js/hero-v6.js) ----------
   Gleicher Aufbau wie 1c; die Figur wird in ein <canvas> gezeichnet. Bis alle Frames bereit sind, steht das <img>
   mit dem Mitte-Frame (LCP). Der Bildschirm-Inhalt wird an der Figur-Unterkante abgeschnitten. */
.hero-figur--v6 .hv-stage { overflow: hidden; }
.hv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.is-canvas .hv-canvas { visibility: visible; }
.is-canvas .hv-figur { visibility: hidden; }
.is-tippbar .hv-stage { pointer-events: auto; cursor: pointer; touch-action: pan-y; }   /* Touch: ganze Figur tippbar */

/* Groß: Hero = volle Fensterhöhe; Figur ~90 % davon (Kopf ~10 % unter der Oberkante), Mittelachse der Person bei
   67 % der Breite (Person steht im Ausschnitt bei 47,5 %), rechts darf sie angeschnitten werden. Größe hat Vorrang
   vor dem Abstand zur Textspalte: der Laptop darf hinter den Text wandern, der Text liegt darüber auf einem weichen
   Verlauf in Hintergrundfarbe. Unten weicher Auslauf (untere 15 %). */
.hero:has(.hero-figur--v6) { --hero-h: max(100svh, 640px); min-height: var(--hero-h); }
.hero-figur--v6 .hv-stage {
  /* nur die letzten 4 % für alles (auch den Laptop); den Auslauf der Figur (15 %) zeichnet js/hero-v6.js im Canvas,
     dort ist der Laptop ausgespart */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
}
@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  /* Höhe in % der tatsächlichen Hero-Höhe (der Hero kann durch den Text höher als das Fenster werden) */
  /* Größe/Lage rechnet js/hero-v6.js (figurLage, 20.10.2026): so groß wie bisher (90 % Höhe, Achse 67 %), aber höchstens so,
     dass der Laptop auch in der äußersten Pose ≥ 16 px vor dem rechten Fensterrand bleibt und der Körper ≥ 24 px rechts
     der Textspalte steht. Ohne JS gelten die Rückfallwerte. */
  /* Startwerte = dieselbe Formel in CSS (kein Sprung beim ersten Zeichnen, CLS): --voll = 90 % der Hero-Höhe, --passt =
     Größe, bei der die äußerste Laptop-Kante (94,05 % der Bühne) 16 px vor dem Rand bleibt und der Körper (27,55 %) 24 px
     rechts der Textspalte (breiteste Zeile: Vertrauenspunkte ≈ 35,6rem) – davon die Hälfte (Mittelweg). JS greift nur ein,
     wenn seine Messung um mehr als 6 px abweicht (z. B. Text höher als das Fenster). */
  .hero--figur { container-type: inline-size; }
  .hero--figur .hero-figur.hero-figur--v6 {
    --textr: calc(max(var(--gutter), (100cqw - var(--container)) / 2) + max(var(--text-b), 35.6rem));
    --voll: calc(0.9 * var(--hero-h) * 1.69690);
    --passt: calc((100cqw - 16px - var(--textr) - 24px) / 0.665);
    --sw: min(var(--voll), calc(0.5 * var(--voll) + 0.5 * var(--passt)));
    position: absolute; bottom: 0; right: auto; top: auto;
    height: var(--fig-h, calc(var(--sw) / 1.69690)); width: auto; aspect-ratio: 2357 / 1389;
    left: var(--fig-x, max(calc(var(--textr) + 24px + 0.2005 * var(--sw)), min(67cqw, calc(100cqw - 16px - 0.4645 * var(--sw)))));
    transform: translateX(-47.6%);
  }
  .hero--figur .hero-figur--v6 .hv-tilt, .hero--figur .hero-figur--v6 .hv-stage { height: 100%; }
  /* Kein Verlauf hinter dem Text (entfernt 11.10.2026: zeigte senkrechte Streifen). Er ist nicht nötig: Der Laptop
     bleibt nie hinter dem Text stehen (Textblock-Sperre in js/hero-v6.js), und auch in der am weitesten linken
     gültigen Pose (Frame 101) überdeckt die Figur keinen Text. Hintergrund dort exakt einfarbig. */
}
@media (max-width: 899px), (max-aspect-ratio: 4/5) {
  .hero:has(.hero-figur--v6) { min-height: 0; }
  /* Mobil: volle Breite, Höhe ~65svh; die Bühne behält ihr Seitenverhältnis und wird um die Person zentriert */
  .hero--figur .hero-figur.hero-figur--v6 {
    position: relative; width: auto; align-self: stretch; height: 65svh; min-height: 360px;
    margin: 20px calc(-1 * var(--gutter)) 0; overflow: hidden;
  }
  .hero-figur--v6 .hv-tilt { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 2357 / 1389; transform: translateX(-47.6%); }
  .hero-figur--v6 .hv-stage { height: 100%; }
}

/* ---------- 1e · Mobil-Hero "Handy" (nur < 768 px, js/hero-mobil.js, Hero-Variante v6-handy) ----------
   Reihenfolge: Headline (kompakt) → Figur mit Handy → Untertitel → Buttons → Telefon → Vertrauenspunkte
   (.hero-content wird dafür aufgelöst: display: contents).
   Runde 2 (15.10.): näher herangezoomt, Kopf bis Hüfte. Bühne = Video-Ausschnitt 1350 × 1648 (×2-Pixel; Anteile der
   Bühnenbreite W: Gehäuse ab 9 %, je Bild ~24,8 % breit, rechtes Ohr bei 76 %; Gehäuse unten bei ~0,91 W unter der Bühnenoberkante).
   - Figurbereich 65svh, Bühne 8 px nach oben (Haar bleibt sichtbar), rechts/unten angeschnitten.
   - W = min((100vw − 18 px) / 0,67 → Gehäuse 14 px vom linken Rand, rechtes Ohr 4 px vor dem rechten Rand – so ist das Handy
     ~35,5 % der Breite (mehr geht nur, wenn das Ohr angeschnitten wird); (0,92 × 65svh + 8 px) × 1,085 → Handy endet über
     dem Auslauf (letzte 8 %)). */
.hero-handy { display: none; }
@media (max-width: 767.98px) {
  .hero--figur:has(.hero-handy) { align-items: stretch; padding-top: calc(var(--header-h) + 10px); }
  .hero--figur:has(.hero-handy) .hero-figur--v6 { display: none; }
  .hero--figur:has(.hero-handy) .hero-content { display: contents; }
  .hero--figur:has(.hero-handy) .hero-content > * { padding-inline: var(--gutter); max-width: none; }
  .hero--figur:has(.hero-handy) .hero-content > h1 { order: 1; margin-bottom: 0; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.04; }
  .hero--figur:has(.hero-handy) .hero-sub { order: 3; margin-bottom: 22px; font-size: 1.05rem; }
  .hero--figur:has(.hero-handy) .btn-group { order: 4; }
  .hero--figur:has(.hero-handy) .hero-phone { order: 5; }
  .hero--figur:has(.hero-handy) .proof { order: 6; margin-inline: var(--gutter); padding-inline: 0; margin-top: 26px; }
  .hero-handy {
    --hh-hc: 65svh;
    --hh-w: min(calc((100vw - 18px) / 0.67), calc((0.92 * var(--hh-hc) + 8px) * 1.085));
    order: 2; display: block; position: relative; height: var(--hh-hc); margin: 4px 0 12px; overflow: hidden;
    /* weicher Auslauf unten (letzte 8 %), hell und dunkel – das Handy endet darüber (auch wenn es sich mit der Hand bewegt) */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
  }
  .hh-buehne { position: absolute; top: -8px; width: var(--hh-w); aspect-ratio: 1350 / 1648; left: calc(14px - 0.09 * var(--hh-w)); }
  /* Aura hinter der Figur: dunkel kräftiger Kupfer-Glow hinter Kopf/Schulter und hinter dem Handy, hell dezent wie bisher */
  .hh-buehne::before {
    /* Verläufe enden innerhalb des Figurbereichs (overflow: hidden) – sonst harte Kante oben */
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(ellipse 60% 27% at 62% 30%, rgba(200, 124, 58, 0.42), rgba(200, 124, 58, 0.15) 50%, rgba(200, 124, 58, 0) 100%),
      radial-gradient(ellipse 34% 25% at 22% 50%, rgba(208, 130, 62, 0.38), rgba(208, 130, 62, 0.13) 50%, rgba(208, 130, 62, 0) 100%);
  }
  [data-theme="light"] .hh-buehne::before { background: radial-gradient(ellipse 50% 40% at 50% 38%, var(--figur-spot), transparent); }
  .hh-buehne picture { display: contents; }
  .hh-standbild, .hh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
  .hh-canvas { visibility: hidden; }
  .is-video .hh-canvas { visibility: visible; }
  .is-video .hh-standbild { visibility: hidden; }
  .hh-video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
  .hh-schirm { position: absolute; left: 0; top: 0; width: 300px; height: 650px; transform-origin: 0 0; overflow: hidden; background: #101012; visibility: hidden; }
  .hh-schirm.is-bereit { visibility: visible; }
  .hh-shot { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity 0.45s ease; will-change: transform; }
  .hh-shot.is-an { opacity: 1; }
  .hh-shot.is-oben { height: 100%; object-fit: cover; object-position: 50% 0; }
  .hh-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .hh-open:focus-visible { outline: 10px solid var(--focus); outline-offset: -10px; }
  /* Pille unten IM Bildschirm (wie beim Laptop): Name der Beispielseite + "Beispiel ansehen". Maße in Bildschirm-Pixeln
     (300 breit, per matrix3d auf ~0,45 verkleinert → Name ~12,5 px, zweite Zeile ~10 px) */
  .hh-label {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: 284px; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 10px 16px 11px; border-radius: 24px; background: rgba(12, 12, 14, 0.82); color: #fff; text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }
  .hh-label b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 252px; overflow: hidden; font-size: 28px; font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
  .hh-label span { display: block; font-size: 22px; font-weight: 500; line-height: 1.15; opacity: 0.82; white-space: nowrap; }
}

/* Layout-Variante "mitte" (Vergleich, nur mit ?layout=mitte → <html class="layout-mitte">, Standard bleibt oben).
   Gemeinsam: die Headline liegt HINTER der Figur (Laptop darf davor vorbeifahren), unten rechts Vertrauenspunkte +
   Telefon. Im DOM bleibt EIN <h1> in Lesereihenfolge; .nur-std/.nur-mitte tauschen die Wörter je Layout
   (display:none = auch für Screenreader weg). Ebenen im Hero: Lichtfleck (-1, von js/hero-v6.js aus der Figur in den
   Hero verlegt) → Headline (0) → Figur (1) → übrige Blöcke (2). Mobil unverändert.
   a) Block (Standard der Variante): Headline als ein Block links in 4 Zeilen, darunter Untertitel + Buttons, vertikal
      etwas oberhalb der Mitte. Figur leicht rechts (--fig-x/--fig-h aus js/hero-v6.js: Achse möglichst 57 %, Höhe 90 %;
      wo der Platz zwischen linkem Block und Vertrauenspunkten dafür nicht reicht – z. B. 1280 × 800 –, rückt die Figur
      in die Lücke und wird so weit kleiner, dass sie beide mit 24 px Abstand freilässt). Laptop-Posen, die rechts über
      das Fenster ragen würden, sind in js/hero-v6.js keine Ziele. Schriftgröße (--h1-gr) setzt js/hero-v6.js: der größte Wert, bei dem jede Zeile in der
      Mitte-Pose mind. 24 px Abstand zum Umriss der Figur (Kopf, Schultern) hat.
   b) Geteilt (?layout=mitte&headline=geteilt → html.headline-geteilt): Figur mittig, Headline um den Kopf herum
      geteilt (je Zeile linker Teil rechtsbündig an der Lücke, rechter Teil linksbündig ab der Lücke, Lücke = Kopfbreite
      + Luft; --kopf-x, --luecke, --h1-top, --zeilen-abstand aus js/hero-v6.js). Unten links Untertitel + Buttons auf
      derselben Grundlinie wie das Telefon unten rechts. */
.nur-mitte { display: none; }
@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .layout-mitte .nur-mitte { display: inline; }
  .layout-mitte .nur-std { display: none; }
  .layout-mitte .hero--figur .hero-figur.hero-figur--v6 { left: var(--fig-x, 57%); height: var(--fig-h, 90%); z-index: 1; }
  .layout-mitte .hero--figur .hero-figur::before { display: none; }
  /* Blöcke an den Fensterrändern (nur Seitenabstand, nicht die Containerbreite) */
  .layout-mitte .hero--figur .hero-content {
    position: static; z-index: auto; align-self: stretch; max-width: none;
    display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto auto auto 1.1fr auto;
  }
  .layout-mitte .hero--figur .hero-content > * { max-width: none; position: relative; z-index: 2; }
  .layout-mitte .hero--figur .hero-content > h1 {
    grid-column: 1; grid-row: 2; z-index: 0; margin: 0 0 clamp(28px, 3vw, 44px);
    font-size: var(--h1-gr, clamp(44px, 5.4vw, 110px)); line-height: 1.02; white-space: nowrap; text-wrap: nowrap;
  }
  .layout-mitte .hero--figur .h1-teil { display: block; }
  .layout-mitte .hero--figur .hero-sub { grid-column: 1; grid-row: 3; max-width: 20em; margin-bottom: 24px; font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem); }
  .layout-mitte .hero--figur .btn-group { grid-column: 1; grid-row: 4; flex-wrap: nowrap; justify-self: start; }   /* Box = Buttons (Sperrzone), nicht Spaltenbreite */
  /* bis 1400 px etwas kompakter, sonst reicht "Erstgespräch vereinbaren" in der Mitte-Pose an den Ärmel */
  @media (max-width: 1399px) { .layout-mitte .hero--figur .btn-group .btn { padding-inline: 1.1rem; font-size: 0.95rem; } }
  .layout-mitte .hero--figur .proof {
    grid-column: 3; grid-row: 1 / 6; align-self: end;   /* über alle Zeilen neben dem linken Block: kostet keine Höhe */
    flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 20px; padding: 0; border-top: 0;
  }
  .layout-mitte .hero--figur .proof li { margin-right: 0; padding-right: 0; }
  .layout-mitte .hero--figur .hero-phone { grid-column: 3; grid-row: 6; margin: 0; }
  /* Der Laptop bleibt nie auf den Blöcken stehen, der Arm darf aber dahinter vorbeigehen (sonst bliebe dem Laptop bei
     1280–1440 px kaum Bewegung): Schein in Hintergrundfarbe um die Schrift, zweiter Button mit festem Grund – so
     bleibt alles auch vor dem dunklen Ärmel im Hellmodus lesbar. */
  .layout-mitte .hero--figur .hero-sub, .layout-mitte .hero--figur .proof li, .layout-mitte .hero--figur .hero-phone {
    text-shadow: 0 0 2px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg), 0 0 18px var(--bg);
  }
  .layout-mitte .hero--figur .btn--secondary { background: var(--bg); }

  /* b) geteilt */
  .layout-mitte.headline-geteilt .hero--figur .hero-figur.hero-figur--v6 { left: 50%; }
  .layout-mitte.headline-geteilt .hero--figur .hero-content { grid-template-rows: 1fr auto auto; }
  .layout-mitte.headline-geteilt .hero--figur .h1-teil { display: inline; }
  /* Schriftgröße: der längste Teil ("Betrieb passen." ≈ 5,6 em, mit Reserve 5,9) muss zwischen Lücke und Fensterrand passen */
  .layout-mitte.headline-geteilt .hero--figur .hero-content > h1 {
    position: absolute; z-index: 0; margin: 0; left: var(--gutter); right: var(--gutter);
    top: var(--h1-top, calc(var(--header-h) + 40px));
    display: grid; grid-template-columns: calc(var(--kopf-x, 50%) - var(--luecke, 16vw) / 2) var(--luecke, 16vw) 1fr;
    row-gap: var(--zeilen-abstand, 0.5em);
    font-size: clamp(40px, min(7.6vw, (50vw - var(--luecke, 16vw) / 2 - var(--gutter) - 12px) / 5.9), 150px);
    line-height: 1; white-space: nowrap; text-wrap: nowrap;
  }
  .layout-mitte.headline-geteilt .hero--figur .h1-l { grid-column: 1; text-align: right; }
  .layout-mitte.headline-geteilt .hero--figur .h1-r { grid-column: 3; text-align: left; }
  /* unten links: Untertitel (höchstens 2 Zeilen) + Buttons nebeneinander; unten rechts Telefon auf derselben Grundlinie */
  .layout-mitte.headline-geteilt .hero--figur .hero-sub { grid-row: 2; align-self: end; margin-bottom: 20px; }
  .layout-mitte.headline-geteilt .hero--figur .btn-group { grid-row: 3; align-self: last baseline; }
  .layout-mitte.headline-geteilt .hero--figur .proof { grid-row: 2; }
  .layout-mitte.headline-geteilt .hero--figur .hero-phone { grid-row: 3; align-self: last baseline; }
}

/* ---------- 2 · Umschalter Website | Software ---------- */
.modes { position: relative; }
.modes-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.modes-bar-inner { display: flex; align-items: center; gap: 16px 28px; padding-block: 14px; }
.modes-bar .label { flex: none; }
.segment {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
}
.segment button {
  position: relative; z-index: 1;
  min-height: 48px; min-width: 9.5rem; padding: 0 1.4rem;
  border: 0; border-radius: 999px; background: transparent; color: var(--text);
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.segment button[aria-selected="true"] { color: var(--on-accent); }
.segment-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.segment[data-active="software"] .segment-thumb { transform: translateX(100%); }
.segment button:focus-visible { outline-offset: -4px; outline-color: var(--on-accent); }
.modes-hint { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 699px) {
  .modes-bar-inner { padding-block: 10px; }
  .modes-bar .label, .modes-hint { display: none; }
  .segment { width: 100%; }
  .segment button { min-width: 0; min-height: 46px; }
}
html:not(.js) .modes-bar { display: none; }
.js .mode-panel[hidden] { display: none !important; }
.mode-panel > .section:first-child { padding-top: clamp(64px, 8vw, 120px); }
.mode-panel .section + .section { border-top: 1px solid var(--line); }

/* ---------- 3a · Pakete & Preise ---------- */
/* Karte (19.10.2026, kompakt): Kopf · Preis · Lieferzeit · 4 Leistungen · Aktionen. Ab 1000 px teilen sich die drei Karten
   die Zeilen über Subgrid → alle gleich hoch, Preise, Listen und Buttons stehen auf einer Linie. Ziel: ganze Karte bei 1440×900 sichtbar. */
.pkg-grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); column-gap: 20px; row-gap: 0; } }
.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.2vw, 30px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1000px) { .pkg { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; } }
}
.pkg--featured { border-color: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong), 0 40px 90px -50px var(--glow); }
.pkg-kopf { display: grid; gap: 6px; }
/* Etikett sitzt auf der oberen Kartenkante – der Titel behält die volle Breite (bleibt einzeilig) */
.pkg-kopf .badge { position: absolute; top: -13px; right: clamp(18px, 2vw, 26px); background: var(--surface); }
.pkg-ideal { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 0.65rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.pkg h3 { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); }
.pkg-preis { margin-top: 20px; }
.price { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; }
.price-from { font-size: 1rem; color: var(--muted); padding-bottom: 0.55rem; }
.price .num { font-size: clamp(4rem, 2.8rem + 3.4vw, 6.25rem); }
.price-cur { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); font-stretch: 62%; font-weight: 340; line-height: 1; padding-bottom: 0.2rem; }
.price-intro { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.price-intro:empty { display: none; }
.price--text .num { font-size: clamp(3.6rem, 2.6rem + 3vw, 5.4rem); }
.pkg-time { margin: 16px 0 0; }
.badge--zeit { text-transform: none; letter-spacing: 0.02em; color: var(--muted); }
/* 4 Leistungen, je eine Zeile, Häkchen in Akzentfarbe */
.pkg-list { list-style: none; display: grid; gap: 8px; align-content: start; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.pkg-list li { position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.45; }
.pkg-list li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.1 3.1L13 4.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.1 3.1L13 4.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 1000px) { .pkg-list li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  transition: border-color 0.2s var(--ease), transform 0.3s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.thumb:hover { border-color: var(--text); transform: translateY(-2px); }
.pkg-actions { display: grid; gap: 4px; align-self: stretch; margin-top: auto; padding-top: 22px; }
@supports (grid-template-rows: subgrid) { @media (min-width: 1000px) { .pkg-actions { align-self: end; } } }
.pkg-actions .btn { width: 100%; }
.pkg-actions .pkg-details { justify-self: center; min-height: 44px; font-size: 1rem; }

.extras { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 1000px) { .extras { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } }
.fold { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.fold > summary {
  display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 24px;
  list-style: none; cursor: pointer;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold-title { font-size: 1.3rem; font-weight: 560; letter-spacing: -0.02em; }
.fold-meta { margin-left: auto; color: var(--muted); font-size: 0.98rem; }
.plus { position: relative; flex: none; width: 18px; height: 18px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform 0.3s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.fold-body { padding: 0 24px 22px; }
.fold-body > p { margin-bottom: 12px; color: var(--muted); font-size: 1rem; }
.rate-list { list-style: none; }
.rate {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 18px; width: 100%;
  min-height: 60px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); text-align: left;
}
.rate-name { font-weight: 600; }
.rate-note { display: block; margin-top: 2px; font-weight: 400; font-size: 0.93rem; color: var(--muted); }
.rate-price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.rate-go { color: var(--muted); transition: transform 0.2s var(--ease), color 0.2s; }
.rate:hover .rate-go { transform: translateX(3px); color: var(--text); }
.price-hint { margin-top: 24px; color: var(--muted); font-size: 1rem; max-width: 52em; }
/* Etikett "Am häufigsten gewählt": dezent, Akzentfarbe nur als Linie und Schrift (kein Logo-Blau als Fläche) */
.badge--etikett { border-color: var(--accent); color: var(--accent); }
/* Unter den Karten (sync-shell.mjs aus data/pakete.json): Inklusiv-Zeile, Wartung, Steuerhinweis */
.pkg-unter { display: grid; gap: 10px; margin-top: 20px; padding: 20px clamp(20px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pkg-inklusive { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; font-size: 1.02rem; }
.pkg-inklusive .label { flex: none; }
.pkg-hinweise { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin: 0; color: var(--muted); font-size: 0.98rem; }
.pkg-hinweise .link { color: var(--text); }
/* Gesperrter Bereich (features.software = false): Schloss, ausgegraut, nicht klickbar, Hinweis "Bald verfügbar" */
.icon-lock { width: 0.95em; height: 0.95em; flex: none; margin-left: 0.4em; vertical-align: -0.1em; }
.locked-tip { font-size: 0.78rem; font-weight: 500; letter-spacing: 0; }
.nav-locked, .segment button.is-locked { position: relative; color: var(--muted); cursor: not-allowed; }
.nav-locked { display: inline-flex; align-items: center; opacity: 0.75; }
/* Header (Desktop) und Umschalter: Hinweis als Tooltip bei Hover/Fokus/Tippen */
.site-nav .nav-locked .locked-tip, .segment .is-locked .locked-tip {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translate(-50%, -4px);   /* unterhalb: oben läge der feste Header */
  padding: 5px 9px; border-radius: var(--radius); background: var(--text); color: var(--bg); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s var(--ease), transform 0.15s var(--ease); z-index: 5;
}
.site-nav .nav-locked .locked-tip { top: calc(100% - 2px); }
.site-nav .nav-locked:hover .locked-tip, .segment .is-locked:hover .locked-tip, .segment .is-locked:focus-visible .locked-tip, .segment .is-locked.is-tip .locked-tip { opacity: 1; transform: translate(-50%, 0); }
.site-nav li > .nav-locked { min-height: 44px; padding: 0 0.75rem; font-size: 0.98rem; font-weight: 500; }
.segment button.is-locked { display: inline-flex; align-items: center; justify-content: center; }
.segment button.is-locked:hover { color: var(--muted); }
/* Mobil-Menü und Footer: Hinweis als Text daneben (kein Hover auf Touch) */
@media (max-width: 1079px) {
  .site-nav li > .nav-locked { display: flex; justify-content: flex-start; align-items: center; width: 100%; min-height: 72px; padding: 0; font-size: clamp(2rem, 8.5vw, 2.8rem); font-weight: 460; letter-spacing: -0.04em; }
  .site-nav .nav-locked .locked-tip { position: static; transform: none; opacity: 1; margin-left: auto; padding: 4px 10px; background: none; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.85rem; letter-spacing: 0; }
  .site-nav .nav-locked .icon-lock { width: 0.6em; height: 0.6em; }
}
.footer-col .nav-locked { min-height: 40px; gap: 0; }
.footer-col .nav-locked .locked-tip { margin-left: 0.6em; color: var(--muted); }
/* Kontaktformular: Hinweis an der Option "Individualsoftware" */
.h-chip-hint { display: block; margin-left: 0.6em; font-size: 0.8rem; font-weight: 500; color: var(--muted); }

/* ---------- Beispiele nach Branche ---------- */
.band-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text);
  font-weight: 600; font-size: 0.98rem;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-count { margin-left: 6px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; opacity: 0.75; }
.band-nav { display: flex; gap: 8px; }
.band-nav .icon-btn { border-color: var(--line-strong); border-radius: 999px; width: 48px; height: 48px; }
.band-nav .icon-btn:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 699px) { .band-nav { display: none; } }
.band {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 84%); gap: 16px;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  list-style: none;
}
@media (min-width: 700px) { .band { grid-auto-columns: calc((100% - 2 * var(--gutter) - 16px) / 2.2); } }
@media (min-width: 1100px) { .band { grid-auto-columns: calc((min(100vw, var(--container) + 2 * var(--gutter)) - 2 * var(--gutter) - 48px) / 3.3); gap: 24px; } }
.band > li { scroll-snap-align: start; }
/* links nichts außerhalb des Inhaltsrands zeigen (das Band reicht eine Gutter-Breite darüber hinaus); rechts darf die nächste Karte angeschnitten bleiben */
.band { clip-path: inset(0 0 0 var(--gutter)); }
.ex {
  display: block; width: 100%; padding: 0; text-align: left;
  border: 0; background: none; color: var(--text);
}
.ex-shot {
  position: relative; display: block; overflow: hidden; container-type: inline-size;
  aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2);
  transition: border-color 0.25s var(--ease);
}
.ex-shot img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Hover (Desktop): die ganze Beispielseite läuft langsam durch */
.ex-shot img.ex-full { height: auto; object-fit: initial; opacity: 0; transform: translateY(0); transition: opacity 0.3s var(--ease); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ex:hover .ex-shot img.ex-full.is-ready, .ex:focus-visible .ex-shot img.ex-full.is-ready {
    opacity: 1; transform: translateY(calc(-100% + 62.5cqw));
    transition: opacity 0.3s var(--ease), transform var(--run, 9s) linear 0.25s;
  }
}
.ex:hover .ex-shot { border-color: var(--text); }
.ex-open {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 0.85rem;
  border-radius: 999px; background: rgba(11, 11, 12, 0.82); color: #f2ede4;
  font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.ex:hover .ex-open, .ex:focus-visible .ex-open { opacity: 1; transform: none; }
@media (hover: none) { .ex-open { opacity: 1; transform: none; } }
.ex-meta { display: block; margin-top: 14px; }
.ex-meta .label { display: block; margin-bottom: 4px; }
.ex-name { display: block; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ex-firm { display: block; margin-top: 2px; color: var(--muted); font-size: 0.85rem; }   /* Stil, klein unter dem Betriebsnamen */
.band-foot { margin-top: 12px; }

/* ---------- Zeitleiste (So läuft's) ---------- */
.timeline { list-style: none; display: grid; gap: 0; counter-reset: step; }
.timeline > li { position: relative; padding: 0 0 32px 44px; }
.timeline > li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--accent); background: var(--bg); box-shadow: 0 0 0 5px var(--bg);
}
.timeline > li::after { content: ''; position: absolute; left: 7px; top: 24px; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline > li:last-child::after { display: none; }
.timeline > li:last-child { padding-bottom: 0; }
.step-no { display: block; margin-bottom: 8px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0; }
.timeline .step-time { display: inline-block; margin-top: 10px; color: var(--text); font-weight: 600; font-size: 0.95rem; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 28px; }
  .timeline > li { padding: 44px 0 0; }
  .timeline > li::before { top: 0; }
  .timeline > li::after { left: 24px; right: -28px; top: 7px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Kostenlose Vorschau ---------- */
.teaser {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px 64px; align-items: end;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.teaser::before {
  content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; height: 180%;
  background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none;
}
@media (min-width: 900px) { .teaser { grid-template-columns: 1.3fr 1fr; } }
.teaser h2 { margin: 14px 0 18px; }
.teaser p { color: var(--muted); max-width: 32em; }
.teaser .btn-group { justify-content: flex-start; }
@media (min-width: 900px) { .teaser .btn-group { justify-content: flex-end; } }

/* ---------- 3b · Software ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 36px); background: var(--bg); margin: 0; }
.stat dt { font-size: clamp(5rem, 3.4rem + 5vw, 9rem); color: var(--text); }
.stat dd { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.ref-text { display: grid; gap: 20px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 1000px) { .ref-text { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.ref-text p { color: var(--muted); margin: 0; }
.cards4 { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .cards4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.card {
  display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.card .label { margin-bottom: 18px; text-transform: none; }
.card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.card ul { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.card li { position: relative; padding-left: 22px; font-size: 1rem; }
.card li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 10px; height: 1px; background: var(--accent); }
.cards-foot { margin-top: 28px; }
.next-step { display: grid; gap: 24px 64px; align-items: center; }
@media (min-width: 900px) { .next-step { grid-template-columns: 1.4fr 1fr; } .next-step .btn-group { justify-content: flex-end; } }
.next-step p { color: var(--muted); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); margin: 18px 0 0; max-width: 30em; }

/* ---------- 4 · Echte Projekte ---------- */
.projects { display: grid; gap: clamp(64px, 9vw, 128px); }
.project { display: grid; gap: 28px 64px; align-items: center; }
@media (min-width: 1000px) {
  .project { grid-template-columns: 1.55fr 1fr; }
  .project:nth-child(even) { grid-template-columns: 1fr 1.55fr; }
  .project:nth-child(even) .browser { order: 2; }
}
.browser {
  display: block; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.browser:hover { transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  flex: 1; max-width: 360px; margin: 0 auto; padding: 4px 12px; border-radius: 999px; background: var(--bg);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-body .label { margin-bottom: 14px; }
.project-body h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); letter-spacing: -0.035em; line-height: 1; margin-bottom: 18px; }
.project-body > p { color: var(--muted); max-width: 30em; }
.project-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.status--progress::before { background: var(--accent); }
/* Platz für ein echtes Kundenzitat: nur lokal sichtbar, solange kein Zitat eingetragen ist */
.quote-placeholder { margin: 24px 0 0; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 0.95rem; color: var(--muted); }
.quote-placeholder strong { color: var(--text); }
.project-quote { margin: 24px 0 0; padding-left: 18px; border-left: 2px solid var(--accent); }
.project-quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.3; }
.project-quote figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }

/* ---------- 5 · Über mich ---------- */
.about { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 1000px) { .about { grid-template-columns: 1.15fr 1fr; } }
.about-quote { margin: 0 0 clamp(28px, 3.5vw, 44px); font-size: clamp(52px, 6.4vw, 104px); font-weight: 460; line-height: 0.94; letter-spacing: -0.045em; }
.about-text .lead { color: var(--text); margin-bottom: 18px; }
.about-text > p { color: var(--muted); max-width: 34em; }
.how { margin-top: clamp(32px, 4vw, 48px); }
.how .label { margin-bottom: 16px; }
.how ul { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .how ul { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.how li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.how li .label { margin: 0; padding-top: 3px; color: var(--accent); }
.about-actions { margin-top: 36px; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; border-radius: var(--radius-lg); background: var(--surface-2); }
/* Porträt-Video (Boomerang): liegt deckungsgleich über dem Standbild, blendet ein, sobald es läuft */
.portrait-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.portrait-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease); }
.portrait-media video.is-playing { opacity: 1; }
.portrait-media .media-toggle { right: 12px; bottom: 12px; }
.portrait figcaption { margin-top: 12px; }
@media (max-width: 999px) { .portrait { order: -1; max-width: 520px; } }

/* ---------- 6 · FAQ ---------- */
.faq { display: grid; gap: 32px 64px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 1fr 1.6fr; } .faq-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-side h2 { margin: 14px 0 24px; }
.faq-side .link { display: block; width: fit-content; margin-top: 22px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; }
.tabs button { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: none; font-weight: 600; color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa > summary { display: flex; align-items: center; gap: 20px; min-height: 80px; padding: 18px 0; list-style: none; cursor: pointer; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); font-weight: 520; letter-spacing: -0.015em; line-height: 1.3; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary .plus { margin-left: auto; }
.qa > div { padding: 0 48px 26px 0; color: var(--muted); }
.js .faq-panel[hidden] { display: none !important; }
html:not(.js) .tabs { display: none; }
html:not(.js) .faq-panel + .faq-panel { margin-top: 32px; }

/* ---------- 7 · Kontakt (kontrastierender Abschnitt) ----------
   Hellmodus: dunkler Abschnitt. Dunkelmodus (18.10.2026): bleibt dunkel, nur leicht abgesetzt (vorher hell). */
.invert { background: var(--bg); color: var(--text); }
[data-theme="dark"] .invert {
  --bg: #141416; --surface: #1b1b1e; --surface-2: #232327; --line: #302e2b;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.contact { display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: 0.85fr 1.15fr; } .contact-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-intro h2 { margin: 14px 0 20px; }
.contact-intro > p { color: var(--muted); }
.contact-lines { list-style: none; display: grid; gap: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.contact-lines li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); }
.contact-lines a { font-weight: 600; }
.form-card { padding: clamp(22px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------- Formular (js/experience/contact.js, Markup unverändert) ---------- */
.h-form { display: grid; gap: 32px; }
.h-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.h-fs-legend { display: flex; align-items: baseline; gap: 0.8rem; padding: 0; margin-bottom: 1rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.h-fs-legend .sx-meta { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.h-fs-hint { margin: 1rem 0 0.6rem; font-size: 0.95rem; color: var(--muted); }
.h-fs-hint:first-child { margin-top: 0; }
.h-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.h-chip { position: relative; display: inline-flex; }
.h-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.h-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem;
  border: 1px solid var(--field-line); border-radius: 999px;
  font-size: 0.97rem; line-height: 1.3; background: var(--surface);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.h-chip--lg span { min-height: 52px; padding: 0.7rem 1.35rem; font-weight: 600; font-size: 1.02rem; }
.h-chip input:hover + span { border-color: var(--text); }
.h-chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.h-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.h-details {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 14px; padding: 0.4rem 0; min-height: 44px;
  border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--line-strong);
}
.h-extras { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); display: grid; gap: 10px; }
.h-extras > .sx-meta { margin: 0 0 4px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.h-extras-sub { display: grid; gap: 8px; padding-left: 30px; }
.h-consent { position: relative; display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.97rem; line-height: 1.5; }
.h-consent input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; margin: 0; cursor: pointer; }
.h-consent-box { flex: none; position: relative; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--field-line); border-radius: 4px; background: var(--surface); }
.h-consent input:checked + .h-consent-box { background: var(--text); border-color: var(--text); }
.h-consent input:checked + .h-consent-box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.h-consent input:focus-visible + .h-consent-box { outline: 2px solid var(--focus); outline-offset: 3px; }
.h-consent.is-invalid .h-consent-box { border-color: var(--danger); border-width: 2px; }
.h-consent a { font-weight: 600; }
.h-fields { display: grid; gap: 12px; }
@media (min-width: 560px) { .h-fields { grid-template-columns: 1fr 1fr; } .h-field--full { grid-column: 1 / -1; } }
.h-field { position: relative; }
.h-field input, .h-field textarea {
  width: 100%; min-height: 60px; padding: 1.5rem 1rem 0.5rem;
  border: 1px solid var(--field-line); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font-size: 1.02rem; line-height: 1.4;
  transition: border-color 0.15s;
}
.h-field textarea { min-height: 150px; resize: vertical; }
.h-field input:hover, .h-field textarea:hover { border-color: var(--text); }
.h-field input:focus-visible, .h-field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.h-field label { position: absolute; left: 1rem; top: 1.1rem; pointer-events: none; color: var(--muted); font-size: 1rem; line-height: 1.2; transition: top 0.15s var(--ease), font-size 0.15s var(--ease); }
.h-field input:focus + label, .h-field input:not(:placeholder-shown) + label,
.h-field textarea:focus + label, .h-field textarea:not(:placeholder-shown) + label { top: 0.5rem; font-size: 0.8rem; }
.h-field.is-invalid input, .h-field.is-invalid textarea { border-color: var(--danger); border-width: 2px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.h-form-foot { display: grid; gap: 18px; padding-top: 4px; }
.h-submit { justify-self: start; min-width: 240px; }
@media (max-width: 559px) { .h-submit { width: 100%; justify-self: stretch; } }
.h-form-status { margin: 0; font-size: 0.97rem; min-height: 1.4em; }
.h-form-status.is-error { color: var(--danger); font-weight: 600; }
.h-sent { padding: 8px 0; }
.h-sent > .sx-meta { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.h-sent-title { font-size: var(--fs-h2); margin: 0.3rem 0 0.8rem; }

/* ---------- Modals (Anfrage-Popup, Paketdetails, Login) ---------- */
body.modal-open { overflow: hidden; }
.vorschau-modal, .package-modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; color: var(--text); }
.package-modal-overlay { z-index: 130; background: var(--overlay); }
.vorschau-modal.open, .package-modal-overlay.open { display: flex; }
.vorschau-modal-backdrop { position: absolute; inset: 0; background: var(--overlay); }
.vorschau-modal-panel, .package-modal-box {
  position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  --modal-pad: clamp(22px, 4vw, 44px);
  padding: var(--modal-pad);
}
.package-modal-box.is-wide { max-width: 980px; }
/* Schließen-X bleibt beim Scrollen oben rechts sichtbar (19.10.2026): klebt am oberen Rand des scrollenden Panels,
   nimmt im Inhalt keinen Platz ein (negativer Abstand nach unten), 12 px vom Rand wie zuvor. Esc schließt ebenfalls. */
.vorschau-modal-close, .package-modal-close {
  position: sticky; top: calc(12px - var(--modal-pad)); z-index: 5;   /* Chrome misst den Sticky-Abstand ab der Inhaltskante (Padding abgezogen) */
  display: grid; place-items: center; width: 44px; height: 44px;
  margin: calc(12px - var(--modal-pad)) calc(12px - var(--modal-pad)) -44px auto;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
}
.vorschau-modal-close svg, .package-modal-close svg { width: 18px; height: 18px; }
/* Paket-Details: Beispiel-Vorschaubilder (seit 19.10.2026 hier statt auf der Karte) */
.package-modal-beispiele { margin: 4px 0 22px; padding-top: 4px; }
.package-modal-beispiele h4 { margin-bottom: 0.7rem; }
.package-modal-beispiele .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 1rem; }
.vorschau-steps-head { padding-right: 52px; margin-bottom: 28px; }
.vorschau-steps-head h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: 0.6rem; }
.vorschau-steps-head p { color: var(--muted); }
.package-modal-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding-right: 52px; margin-bottom: 10px; }
.package-modal-head h3 { font-size: 2rem; }
.package-modal-price { font-weight: 700; }
.package-modal-subtitle { color: var(--muted); }
.package-modal-columns { display: grid; gap: 22px; margin: 22px 0; }
@media (min-width: 640px) { .package-modal-columns { grid-template-columns: 1fr 1fr; } }
.package-modal-columns h4 { margin-bottom: 0.6rem; }
.package-modal-columns ul { list-style: none; display: grid; gap: 0.45rem; }
.package-modal-columns li { padding-left: 1.2rem; position: relative; font-size: 0.98rem; }
.package-modal-columns li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.package-modal-meta { display: grid; gap: 4px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 0.98rem; }
.package-modal-meta p { margin: 0; }
.package-modal-hint { margin: 16px 0 20px; font-size: 0.95rem; color: var(--muted); }
.vorschau-steps-grid { display: grid; gap: 16px; margin-bottom: 18px; }
@media (min-width: 760px) { .vorschau-steps-grid { grid-template-columns: repeat(3, 1fr); } }
.vorschau-step { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vorschau-step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 700; }
.vorschau-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.vorschau-step p { font-size: 0.97rem; color: var(--muted); }

/* Login / Konto (auth.js) */
.auth-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.auth-tab { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; color: var(--muted); }
.auth-tab.active { background: var(--text); color: var(--bg); }
.kontakt-form { display: grid; gap: 12px; margin-bottom: 8px; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field input { width: 100%; min-height: 54px; padding: 0.7rem 1rem; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.form-field input::placeholder { color: var(--muted); opacity: 1; }
.form-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.form-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--text); }
.auth-section-label { margin: 18px 0 2px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field-hint { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.3em; }
.form-status.error { color: var(--danger); font-weight: 600; }
.form-status.success { color: var(--success); font-weight: 600; }
.btn-large { width: 100%; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.account-info-grid { margin-bottom: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.account-info-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-info-label { color: var(--muted); }
.account-danger-zone { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-danger-text, .account-danger-lead { font-size: 0.95rem; color: var(--muted); }
.account-confirm-list { padding-left: 1.2rem; margin-bottom: 1rem; color: var(--muted); }
.account-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.preise-footer-row { display: flex; justify-content: flex-end; }
.preise-cta { min-height: 50px; padding: 0 1.3rem; border: 0; border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-text); font-weight: 600; }

/* ---------- Beispiel-Vorschaufenster (js/beispiel-viewer.js) ---------- */
.viewer { position: fixed; inset: 0; z-index: 120; display: none; color: #f2ede4; }
.viewer.is-open { display: block; }
.viewer-backdrop { position: absolute; inset: 0; background: #050506; }   /* deckend: sonst schimmern Kopfzeile (grauer Balken über dem Fenster) und Karten durch */
.viewer-panel {
  position: absolute; inset: clamp(0px, 2vw, 24px);
  display: grid; grid-template-rows: auto 1fr auto;
  background: #0f0f10; border: 1px solid #2a2826; border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 699px) { .viewer-panel { inset: 0; border-radius: 0; border: 0; } }
.viewer-top, .viewer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px clamp(12px, 2vw, 22px); }
.viewer-top { border-bottom: 1px solid #2a2826; }
.viewer-bottom { border-top: 1px solid #2a2826; }
.viewer-title { min-width: 0; flex: 1 1 260px; }
.viewer-title h2 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.15; }
.viewer-title .label { color: #aaa59b; }
.viewer-stil { margin: 2px 0 0; font-size: 0.85rem; color: #aaa59b; }
.viewer-stil:empty { display: none; }
.viewer-device { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid #4a463f; border-radius: 999px; }
.viewer-device button { min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: none; color: #f2ede4; font-weight: 600; font-size: 0.95rem; }
.viewer-device button[aria-pressed="true"] { background: var(--kupfer-dunkel); color: #0b0b0c; }   /* Viewer ist immer dunkel */
.viewer-close { width: 44px; height: 44px; border: 1px solid #4a463f; border-radius: 999px; background: none; color: #f2ede4; display: inline-grid; place-items: center; }
.viewer-close svg { width: 18px; height: 18px; }
.viewer-stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(10px, 2vw, 28px); background: radial-gradient(60% 60% at 50% 40%, rgba(214, 162, 106, 0.06), transparent), #0b0b0c; }
.viewer-device-frame { position: relative; background: #fff; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.viewer-device-frame.is-laptop { border: 10px solid #1d1d20; border-radius: 12px; }
.viewer-device-frame.is-phone { border: 10px solid #1d1d20; border-radius: 36px; }
.viewer-device-frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #666; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
/* Zwei-Klick-Lösung: fremde Websites laden erst nach Klick */
.viewer-consent { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 12, 0.92); }
.viewer-consent[hidden] { display: none; }
.viewer-consent-box { max-width: 30rem; text-align: center; color: #f2ede4; }
.viewer-consent-box p { margin: 0 0 20px; line-height: 1.55; }
.viewer-consent-box .muted { color: #aaa59b; font-size: 0.95rem; }
.viewer-consent-box a { color: #f2ede4; }
.viewer-consent-box .btn--primary { background: #f2ede4; border-color: #f2ede4; color: #0b0b0c; }
.viewer-pager { display: flex; align-items: center; gap: 8px; }
.viewer-pager button { width: 48px; height: 48px; border: 1px solid #4a463f; border-radius: 999px; background: none; color: #f2ede4; font-size: 1.1rem; }
.viewer-pager button:hover, .viewer-close:hover { border-color: #f2ede4; }
.viewer-count { min-width: 4.5em; text-align: center; font-family: var(--font-mono); font-size: 0.85rem; color: #aaa59b; }
.viewer-bottom .btn--primary { margin-left: auto; background: #f2ede4; border-color: #f2ede4; color: #0b0b0c; }
.viewer-bottom .link { color: #f2ede4; text-decoration-color: #4a463f; font-size: 0.95rem; }
.viewer :focus-visible { outline-color: var(--kupfer-dunkel); }
@media (max-width: 699px) {
  .viewer-title { flex-basis: calc(100% - 64px); order: 0; }
  .viewer-close { order: 1; margin-left: auto; }
  .viewer-device { order: 2; }
  .viewer-bottom .btn--primary { flex: 1 1 100%; order: 3; margin-left: 0; }
  .viewer-bottom .link { display: none; }
}

/* =====================================================================
   UNTERSEITEN
   ===================================================================== */

/* ---------- Seitenkopf (eine Aussage) ---------- */
.page-hero { position: relative; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(64px, 8.4vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -30%; width: 90vw; height: 120%; transform: translateX(-30%);
  background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none;
}
.page-hero .label { margin-bottom: 22px; }
.page-hero h1 { max-width: 12.5em; }
.page-hero .lead { margin-top: clamp(22px, 2.6vw, 32px); }
.page-hero .btn-group { margin-top: clamp(28px, 3.4vw, 40px); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 18px; color: var(--muted); font-weight: 600; text-decoration: none; }
.back:hover { color: var(--text); }
.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.jump a { min-height: 40px; display: inline-flex; align-items: center; color: var(--muted); font-weight: 600; text-decoration: none; }
.jump a:hover { color: var(--text); }
.page-media { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #08080a; aspect-ratio: 21 / 9; }
@media (max-width: 699px) { .page-media { aspect-ratio: 4 / 3; } }
.page-media img, .page-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-media video { opacity: 0; transition: opacity 0.6s var(--ease); }
.page-media video.is-playing { opacity: 1; }
.page-media .media-toggle { right: 16px; bottom: 16px; top: auto; }
.page-media figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #f2ede4; }
.page-media figcaption.label { color: rgba(242, 237, 228, 0.9); }
.page-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 10, 0.55), transparent 45%); pointer-events: none; }

/* ---------- Vergleich ---------- */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { padding-top: 0; padding-bottom: 14px; border-bottom-color: var(--line-strong); }
.compare th + th, .compare td + td { padding-left: clamp(16px, 3vw, 48px); }
.compare td { width: 50%; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.35; letter-spacing: -0.01em; }
.compare td:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; }
.compare td:last-child { font-weight: 560; }
.compare td:last-child::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--accent); vertical-align: 0.15em; }
.compare thead th:last-child .label { color: var(--accent); }
.compare-foot { margin-top: 28px; color: var(--muted); max-width: 40em; }

/* ---------- Beispiele als Raster mit Filtern ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-bottom: 32px; }
.filters .label { display: block; margin-bottom: 10px; }
.bx-fuss { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); padding-block: 24px 40px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.95rem; color: var(--muted); }   /* Fußzeile der Seite /beispiele/ */
.bx-fuss a { color: inherit; }
.ex-grid { list-style: none; display: grid; gap: 40px 24px; }
@media (min-width: 640px) { .ex-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ex-grid { grid-template-columns: repeat(3, 1fr); } }
.ex-empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }
.pkg-ex-link { display: inline-block; margin-top: 12px; font-size: 1rem; }

/* ---------- Leistungskatalog ---------- */
.catalog { display: grid; gap: 12px; }
.cat > summary { display: flex; align-items: center; gap: 18px; min-height: 88px; padding: 18px clamp(18px, 2.4vw, 32px); list-style: none; cursor: pointer; }
.cat > summary::-webkit-details-marker { display: none; }
.cat-key { flex: none; width: 2.2rem; text-transform: none; }
.cat-title { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.cat-count { margin-left: auto; text-align: right; }
@media (max-width: 599px) { .cat-count { display: none; } .cat .plus { margin-left: auto; } }
.cat-list { list-style: none; padding: 0 clamp(18px, 2.4vw, 32px) 8px; }
.cat-item { display: grid; gap: 10px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .cat-item { grid-template-columns: 0.75fr 1.3fr 1fr; } }
.cat-item h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.cat-item p { margin: 6px 0 0; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.cat-item .cat-ref p { color: var(--text); }
.cat-item .cat-ref .label { color: var(--accent); }

/* ---------- Grundsätze / Formen der Zusammenarbeit ---------- */
.principles { list-style: none; display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.principles .label { color: var(--accent); }
.principles h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.principles p { margin: 0; color: var(--muted); font-size: 1rem; }
.forms-wrap { display: grid; gap: 24px 48px; }
@media (min-width: 1100px) { .forms-wrap { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.forms-grid { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .forms-grid { grid-template-columns: 1fr 1fr; } }
.forms-grid li { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.forms-grid h3 { font-size: 1.25rem; margin-bottom: 6px; }
.forms-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
.note { padding: clamp(22px, 2.6vw, 34px); border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.note .label { color: var(--accent); margin-bottom: 12px; display: block; }
.note p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.stack-note { margin-top: 20px; }

/* ---------- FAQ-Seite ---------- */
.faq-page .faq-panel + .faq-panel { margin-top: 0; }
.faq-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.faq-cta p { margin: 0; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.015em; }

/* ---------- Vorschau-Seite: eine Website baut sich auf (ohne Text, ohne Bilder) ---------- */
.vx-grid { display: grid; gap: 48px 64px; align-items: center; }
@media (min-width: 1000px) { .vx-grid { grid-template-columns: 1.1fr 1fr; } }
.vx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vx-chip-wrap { display: inline-flex; align-items: center; gap: 2px; }
.vx-chip-wrap .link { font-size: 1rem; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.mock { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.mock-site { position: relative; padding: 18px; display: grid; gap: 14px; aspect-ratio: 4 / 3.1; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav i { height: 8px; border-radius: 4px; background: var(--line-strong); }
.mock-nav i:first-child { width: 22%; height: 12px; background: var(--text); opacity: 0.85; }
.mock-nav i:nth-child(2) { width: 10%; margin-left: auto; } .mock-nav i:nth-child(3) { width: 10%; } .mock-nav i:nth-child(4) { width: 14%; height: 18px; border-radius: 9px; background: var(--accent); }
.mock-hero { display: grid; gap: 10px; align-content: center; padding: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); min-height: 42%; }
.mock-hero i { height: 14px; border-radius: 7px; background: var(--text); opacity: 0.8; }
.mock-hero i:nth-child(1) { width: 70%; height: 20px; } .mock-hero i:nth-child(2) { width: 50%; opacity: 0.45; } .mock-hero i:nth-child(3) { width: 24%; height: 26px; border-radius: 13px; background: var(--accent); opacity: 1; margin-top: 8px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i { aspect-ratio: 4 / 3; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .mock-nav i, .mock-hero, .mock-hero i, .mock-cards i { animation: build 9s var(--ease) infinite both; }
  .mock-nav i:nth-child(1) { animation-delay: 0.1s; } .mock-nav i:nth-child(2) { animation-delay: 0.3s; } .mock-nav i:nth-child(3) { animation-delay: 0.4s; } .mock-nav i:nth-child(4) { animation-delay: 0.6s; }
  .mock-hero { animation-delay: 0.9s; } .mock-hero i:nth-child(1) { animation-delay: 1.3s; } .mock-hero i:nth-child(2) { animation-delay: 1.6s; } .mock-hero i:nth-child(3) { animation-delay: 1.9s; }
  .mock-cards i:nth-child(1) { animation-delay: 2.3s; } .mock-cards i:nth-child(2) { animation-delay: 2.5s; } .mock-cards i:nth-child(3) { animation-delay: 2.7s; }
}
@keyframes build { 0% { opacity: 0; transform: translateY(10px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.pair { display: grid; gap: 16px; }
@media (min-width: 800px) { .pair { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pair > div { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pair .label { display: block; margin-bottom: 14px; }
.pair > div:first-child .label { color: var(--accent); }
.pair p { margin: 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.45; }
.closing { text-align: center; }
.closing h2 { max-width: 14em; margin: 0 auto 32px; }
.closing .btn-group { justify-content: center; }
.closing .label { margin-top: 18px; }

/* ---------- Projekt-Detailseite ---------- */
.p-data { display: grid; gap: 0 40px; margin: clamp(32px, 4vw, 48px) 0 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .p-data { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .p-data { grid-template-columns: repeat(4, 1fr); } }
.p-data > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.p-data dt { margin-bottom: 6px; }
.p-data dd { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.p-data .p-wide { grid-column: 1 / -1; }
.p-data .p-wide dd { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); letter-spacing: -0.01em; max-width: 36em; }
.p-media-wrap { margin-top: clamp(40px, 5vw, 64px); }
.p-media-wrap .browser:hover { transform: none; }
.p-media-wrap .browser-view video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.p-logo { display: inline-grid; place-items: center; margin: 0; padding: 22px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.p-logo img { max-height: 64px; width: auto; }
.p-next { display: grid; gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 0.25s var(--ease); }
@media (min-width: 800px) { .p-next { grid-template-columns: 1fr 1.6fr auto; } }
.p-next:hover { border-color: var(--text); }
.p-next img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); }
.p-next h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3rem); margin-top: 10px; }
.p-next-go { font-size: 2rem; }
.p-missing { padding: clamp(32px, 4vw, 56px); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { display: grid; gap: 0 64px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 15rem minmax(0, 46rem); } .legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.legal-toc ol { list-style: none; display: grid; gap: 2px; margin-top: 12px; }
.legal-toc a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.legal-toc a:hover { color: var(--text); }
@media (max-width: 999px) { .legal-toc { display: none; } }
.legal-block { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.legal-block:first-child { border-top: 0; padding-top: 0; }
.legal-block h2 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.legal-block h2 .label { display: block; margin-bottom: 8px; }
.legal-block p, .legal-block li { font-size: 1.02rem; line-height: 1.65; color: var(--muted); }
.legal-block p strong, .legal-block address { color: var(--text); }
.legal-block address { font-style: normal; font-size: 1.1rem; line-height: 1.55; margin-bottom: 12px; }
.legal-block ul { list-style: none; display: grid; gap: 6px; margin: 4px 0 14px; }
.legal-block li { position: relative; padding-left: 22px; }
.legal-block li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--accent); }
.legal-block a { color: var(--text); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-content: center; }
.notfound .num { font-size: clamp(7rem, 4rem + 14vw, 16rem); color: var(--accent); }
.notfound h1 { font-size: var(--fs-h2); margin: 20px 0 18px; }
.notfound p { color: var(--muted); max-width: 32em; }

/* ---------- 8 · Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 104px) 32px; }
.footer-grid { display: grid; gap: 44px 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 0.9fr; } }
.footer-brand .logo { height: 42px; }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 18em; font-size: 1.15rem; line-height: 1.45; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; line-height: 1.4; }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col p { margin: 6px 0; color: var(--muted); }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; }
.social a:hover { border-color: var(--text); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Anrufen (mobil, fest unten, dezent) ---------- */
.call-fab { display: none; }
@media (max-width: 1079px) {
  .call-fab {
    position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 48px; padding: 0 1.1rem;
    border-radius: 999px; border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--text); box-shadow: var(--shadow);
    font-weight: 600; font-size: 0.97rem; text-decoration: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .call-fab svg { width: 17px; height: 17px; }
  .call-fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .menu-open .call-fab, .modal-open .call-fab { display: none; }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Passwortschutz (Vorab-Phase) ---------- */
#gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: var(--bg); color: var(--text); }
#gate-box { width: 100%; max-width: 420px; padding: 40px 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
#gate-box .brand { display: flex; justify-content: center; margin: 0 0 1.4rem; }
#gate-box .logo { height: 52px; }
.gate-message { color: var(--muted); margin-bottom: 1.4rem; }
#gate-form { display: grid; gap: 10px; }
#gate-form input { min-height: 54px; padding: 0 1rem; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--bg); color: var(--text); text-align: center; }
#gate-form button { min-height: 54px; border: 0; border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-text); font-weight: 600; }
#gate-error { margin: 4px 0 0; color: var(--danger); font-weight: 600; }
#gate-error.hidden { display: none; }

/* ---------- Einblenden beim Scrollen (kurz, einmalig) ----------
   Regeln: nie unter 60 % Deckkraft, höchstens 16 px Weg, höchstens 400 ms. Ohne JS (.js fehlt) und bei
   reduzierter Bewegung ist alles sofort sichtbar. Pakete & Preise auf der Startseite haben bewusst kein data-reveal. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0.6; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero-content > * { animation: rise 0.4s var(--ease) both; }
  .js .hero-content > :nth-child(2) { animation-delay: 0.05s; }
  .js .hero-content > :nth-child(3) { animation-delay: 0.1s; }
  .js .hero-content > :nth-child(4) { animation-delay: 0.15s; }
  .js .hero-content > :nth-child(5) { animation-delay: 0.2s; }
}
@keyframes rise { from { opacity: 0.6; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
