/* ==========================================================================
   Voxynor Designsystem (main.css)
   --------------------------------------------------------------------------
   01 Schriften   02 Tokens   03 Basis   04 Layout   05 Typografie
   06 Komponenten   07 Kopfbereich   08 Finale und Fußbereich
   09 Startseite   10 Unterseiten   11 Cookie-Banner
   12 Platzhalter   13 Bewegung   14 Druck
   --------------------------------------------------------------------------
   Formregel: Buttons, Chips, Icon-Kreise = Pille/Kreis · Karten = 20px ·
   große Flächen = 32px · Eingabefelder = 12px
   Ebenen (z-index): Mobile-Menü 40 · Kopfbereich 50 · Cookie-Banner 80 ·
   Sprunglink 100
   ========================================================================== */


/* 01 SCHRIFTEN ============================================================= */
/* Geist, SIL Open Font License 1.1, lokal eingebunden (siehe fonts/OFL.txt) */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}


/* 02 TOKENS ================================================================ */

:root {
  color-scheme: light;

  /* Markenfarbe: hier zentral anpassen */
  --accent: #4bc0f4;          /* Logo-Blau */
  --accent-hover: #74cff7;
  --on-accent: #0b1822;

  /* Helles Farbschema */
  --bg: #f3f5f7;
  --bg-2: #e8edf1;
  --surface: #fbfcfd;
  --surface-2: #e1e7ec;
  --line: rgb(15 26 35 / 0.12);
  --line-strong: rgb(15 26 35 / 0.26);
  --text: #0f1a23;
  --muted: #53616d;
  --accent-ink: #0a6f9f;      /* Akzent als Text auf hellem Grund */
  --success: #1d7a4a;
  --error: #c4291a;
  --shadow: 0 30px 60px -30px rgb(15 26 35 / 0.35);

  /* Bühne: immer dunkel (Finale und Fußbereich) */
  --stage-bg: #1b2935;          /* Logo-Navy */
  --stage-text: #f3f5f7;
  --stage-muted: #9aa8b4;
  --stage-line: rgb(243 245 247 / 0.14);

  /* Typografie */
  --font: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(2.25rem, 1.1rem + 3.9vw, 5rem);
  --fs-display: clamp(3rem, 1rem + 6.6vw, 7.5rem);
  --fs-hero: clamp(3.25rem, 0.6rem + 10.4vw, 11.5rem);

  /* Maße */
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --container: 90rem;
  --section-y: clamp(5rem, 3rem + 7vw, 10rem);
  --header-h: 4.75rem;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1720;
    --bg-2: #121d27;
    --surface: #16232e;
    --surface-2: #1e2d39;
    --line: rgb(243 245 247 / 0.11);
    --line-strong: rgb(243 245 247 / 0.24);
    --text: #f3f5f7;
    --muted: #9aa8b4;
    --accent-ink: #7dd3f8;
    --success: #5fd197;
    --error: #ff8a7a;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1720;
  --bg-2: #121d27;
  --surface: #16232e;
  --surface-2: #1e2d39;
  --line: rgb(243 245 247 / 0.11);
  --line-strong: rgb(243 245 247 / 0.24);
  --text: #f3f5f7;
  --muted: #9aa8b4;
  --accent-ink: #7dd3f8;
  --success: #5fd197;
  --error: #ff8a7a;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}

/* Bereiche, die immer auf der dunklen Bühne stehen */
.on-stage {
  color-scheme: dark;
  --bg: var(--stage-bg);
  --surface: #16232e;
  --surface-2: #1e2d39;
  --text: var(--stage-text);
  --muted: var(--stage-muted);
  --line: var(--stage-line);
  --line-strong: rgb(243 245 247 / 0.28);
  --accent-ink: #7dd3f8;
  background: var(--bg);
  color: var(--text);
}


/* 03 BASIS ================================================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class], nav ul, nav ol { list-style: none; padding: 0; }

/* Fließtext-Links */
p a:not([class]), .prose a, .accordion__body a, .check label a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
p a:not([class]):hover, .prose a:hover, .accordion__body a:hover { color: var(--accent-ink); }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main { padding-top: var(--header-h); }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  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: 1rem; top: -5rem; z-index: 100;
  padding: 0.75rem 1.25rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }


/* 04 LAYOUT ================================================================ */

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-2); }
.section--flush-top { padding-top: 0; }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; } }


/* 05 TYPOGRAFIE ============================================================ */

h1, h2, h3, h4, .h3 { font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: var(--fs-display); letter-spacing: -0.06em; line-height: 0.94; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.055em; line-height: 0.98; }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.15; }
p { text-wrap: pretty; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* Kleine Rubrik über Überschriften (sparsam einsetzen) */
.kicker {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted);
}
.kicker::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 2px; }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
.section-head h2 { max-width: 16ch; }
.section-head .lead { max-width: 44ch; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--row > div { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; }
  .section-head--split .kicker { grid-column: 1 / -1; }
}

.note { display: flex; gap: 0.625rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.note .icon { margin-top: 0.15em; width: 1.125rem; height: 1.125rem; color: var(--accent-ink); }
.note--center { justify-content: center; text-align: center; margin-bottom: 2.5rem; }
.fine-print { margin-top: 2rem; font-size: var(--fs-sm); color: var(--muted); text-align: center; }


/* 06 KOMPONENTEN =========================================================== */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 3.25rem; padding: 0.875rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.125rem; height: 1.125rem; transition: transform 0.35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--light { background: var(--stage-text); color: var(--stage-bg); }
.btn--light:hover { background: var(--accent); color: var(--on-accent); }
.btn--outline-light { border-color: rgb(243 245 247 / 0.3); color: var(--stage-text); }
.btn--outline-light:hover { background: var(--stage-text); color: var(--stage-bg); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 3.875rem; padding: 1rem 1.875rem; font-size: 1.0625rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.btn-group--center { justify-content: center; }
@media (max-width: 479px) { .btn-group > .btn { width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 0.15rem; }
.link-arrow .icon { width: 1.125rem; height: 1.125rem; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-button { text-decoration: underline; text-underline-offset: 0.2em; font-size: inherit; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.icon-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.icon-btn .icon { width: 1.25rem; height: 1.25rem; }

/* Pfeil-Kreis (Karten, Listen) */
.arrow-circle {
  display: grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.45s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.arrow-circle .icon { width: 1.25rem; height: 1.25rem; }

/* Badges und Chips */
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem; align-self: flex-start; justify-self: start;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--text);
}
.badge .icon { width: 0.95rem; height: 0.95rem; }
.badge--neutral { color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.5rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-size: var(--fs-sm); font-weight: 500;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
a.chip:hover, button.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip__count { font-size: 0.8125rem; opacity: 0.55; font-variant-numeric: tabular-nums; }
.chip--static { min-height: auto; padding: 0.4rem 0.9rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }

/* Karten */
.card { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.card > * + * { margin-top: 1rem; }
.card--tint { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.card--tint .btn--primary { background: var(--on-accent); color: var(--accent); }
.card__note { font-size: var(--fs-sm); color: var(--muted); }

.icon-box { display: inline-grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.icon-box .icon { width: 1.5rem; height: 1.5rem; }

/* Listen */
.check-list { display: grid; gap: 0.75rem; }
.check-list li { display: grid; grid-template-columns: 1.375rem 1fr; gap: 0.75rem; align-items: start; }
.check-list .icon { width: 1.375rem; height: 1.375rem; padding: 0.22rem; margin-top: 0.12em; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 2.75; }
.check-list--grid { gap: 1rem 2.5rem; }
@media (min-width: 640px) { .check-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.page-list { display: grid; gap: 0.625rem; }
.page-list li { display: flex; align-items: center; gap: 0.75rem; }
.page-list .icon { width: 1.125rem; height: 1.125rem; color: var(--accent-ink); }

/* Akkordeon */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__q { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; transition: color 0.2s; }
.accordion summary:hover .accordion__q { color: var(--accent-ink); }
.accordion__icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.4s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s; }
.accordion__icon .icon { width: 1.125rem; height: 1.125rem; }
.accordion details[open] .accordion__icon { transform: rotate(180deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.accordion__body { padding: 0 4.5rem 1.75rem 0; color: var(--muted); max-width: 72ch; }
.accordion__body p + p { margin-top: 0.75rem; }
@media (max-width: 639px) { .accordion__body { padding-right: 0; } }

/* Tabellen */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 1rem 1.375rem; text-align: left; vertical-align: top; }
.compare thead th { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.compare tbody th { font-weight: 500; width: 28%; }
.compare td { color: var(--muted); }
.compare tbody tr:not(.compare__group) + tr th, .compare tbody tr:not(.compare__group) + tr td { border-top: 1px solid var(--line); }
.compare__group th { padding-top: 1.75rem; padding-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.compare__price { display: block; margin-top: 0.25rem; font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.compare .is-featured { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--text); }
.compare__yes, .compare__no { display: inline-grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; }
.compare__yes { background: var(--accent); color: var(--on-accent); }
.compare__no { color: var(--muted); opacity: 0.55; }
.compare__yes .icon, .compare__no .icon { width: 1rem; height: 1rem; stroke-width: 2.75; }
.compare__yes-inline { display: inline-flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; color: var(--text); }
.compare__yes-inline .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.15em; color: var(--accent-ink); stroke-width: 2.75; }

/* Formulare */
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field__hint { font-size: 0.8125rem; color: var(--muted); margin-top: -0.25rem; }
.req { color: var(--accent-ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 3.375rem; padding: 0.875rem 1.125rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: var(--fs-sm); font-weight: 500; color: var(--error); }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--accent); cursor: pointer; }
.check label { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2rem; }
.form__required { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 479px) { .form__footer .btn { width: 100%; } }
.form-alert {
  display: flex; gap: 0.875rem; align-items: flex-start;
  padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--error) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--error) 40%, transparent);
  font-size: var(--fs-sm);
}
.form-alert > .icon { color: var(--error); margin-top: 0.1rem; }
.form-success { display: grid; justify-items: center; gap: 1rem; padding: 2.5rem 0 1rem; text-align: center; }
.form-success:focus { outline: none; }
.form-success p { color: var(--muted); max-width: 40ch; }
.form-success__icon, .status-page__icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.form-success__icon .icon, .status-page__icon .icon { width: 2.25rem; height: 2.25rem; stroke-width: 2.5; }

.switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 2.875rem; height: 1.625rem; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background-color 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); transition: transform 0.3s var(--ease); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(1.25rem); }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }


/* 07 KOPFBEREICH =========================================================== */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

/* Logo: Vektorgrafik aus src/lib/brand.mjs, Buchstaben in Textfarbe */
.logo { display: inline-flex; align-items: center; flex: none; color: var(--text); }
.logo svg { display: block; width: auto; height: 2.125rem; }
@media (min-width: 1024px) { .logo svg { height: 2.375rem; } }

.site-nav { display: none; margin-inline: auto; }
.site-nav ul {
  display: flex; gap: 0.125rem; padding: 0.3rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-nav a { display: block; padding: 0.55rem 1.05rem; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { background: var(--text); color: var(--bg); }

.site-header__actions { display: flex; align-items: center; gap: 0.625rem; margin-left: auto; }
.site-header__cta { display: none; }
.nav-toggle { width: auto; padding-inline: 1rem 0.875rem; gap: 0.5rem; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 600; font-size: var(--fs-sm); }

.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }

@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1120px) {
  .site-nav { display: block; }
  .site-header__actions { margin-left: 0; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 40;
  padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg);
}
.mobile-nav__list a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2.25rem, 1rem + 6vw, 3.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.15;
}
.mobile-nav__list a[aria-current="page"] { color: var(--accent-ink); }
.mobile-nav__cta { width: 100%; margin-top: 2rem; }
.mobile-nav__contact { display: grid; gap: 0.75rem; margin-top: 2rem; color: var(--muted); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 0.625rem; color: inherit; }
.nav-open { overflow: hidden; }


/* 08 FINALE UND FUSSBEREICH ================================================ */

.finale { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--section-y) clamp(3rem, 2rem + 3vw, 5rem); }
.finale::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -45%;
  width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(75 192 244 / 0.32), transparent);
}
.finale .kicker { color: var(--muted); }
.finale__title { margin-top: 1.75rem; font-size: clamp(3rem, 0.8rem + 7.6vw, 9rem); letter-spacing: -0.065em; line-height: 0.9; max-width: 13ch; }
.finale__title em { font-style: normal; color: var(--accent); }
.finale__row { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.finale__row p { color: var(--muted); font-size: var(--fs-lead); max-width: 44ch; }
.finale__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 1024px) { .finale__row { grid-template-columns: 1fr auto; align-items: center; } }
@media (max-width: 479px) { .finale__actions .btn { width: 100%; } }

.site-footer { padding-top: clamp(3rem, 2rem + 3vw, 5rem); overflow: hidden; font-size: var(--fs-sm); color: var(--muted); }
.finale + .site-footer { padding-top: 0; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; } }
.site-footer__brand > * + * { margin-top: 1.25rem; }
.site-footer__brand p { max-width: 34ch; }
.footer-title { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 1rem; }
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a, .footer-legal a { transition: color 0.2s; }
.footer-links a:hover, .footer-legal a:hover, .site-footer .footer-contact a:hover { color: var(--text); }
.footer-contact { font-style: normal; }
.footer-contact p + p { margin-top: 0.875rem; }
.site-footer .footer-contact a { color: inherit; text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-legal .link-button { text-decoration: none; }
.footer-legal .link-button:hover { color: var(--text); }
.footer-wordmark {
  display: block; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); margin-bottom: -1px;
  color: var(--text); opacity: 0.95; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, rgb(0 0 0 / 0.25));
  mask-image: linear-gradient(180deg, #000 60%, rgb(0 0 0 / 0.25));
}
.footer-wordmark svg { display: block; width: 100%; height: auto; }


/* 09 STARTSEITE ============================================================ */

/* Hero */
.hero { padding-top: clamp(2.5rem, 1rem + 5vw, 6rem); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.068em; line-height: 0.9; margin-top: 1.75rem; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line > span { display: block; }
.rotator { position: relative; display: block; height: 1.02em; overflow: hidden; color: var(--accent); }
.rotator > span { position: absolute; left: 0; top: 0; line-height: 0.95; transform: translateY(105%); transition: transform 0.85s var(--ease); white-space: nowrap; }
.rotator > span.is-active { transform: translateY(0); }
.rotator > span.is-leaving { transform: translateY(-105%); }
.hero__bottom { display: grid; gap: 2rem; margin-top: clamp(2.25rem, 1rem + 3vw, 4rem); }
.hero__text { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 1024px) { .hero__bottom { grid-template-columns: 1fr auto; align-items: end; } }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

/* Bühne mit Vorlagen */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  aspect-ratio: 16 / 8.6; min-height: 22rem;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 20% 0%, #86d6f9 0%, var(--accent) 45%, #1d98d0 100%);
}
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.stage__screen {
  position: absolute; z-index: 1; left: 50%; top: 9%; width: 60%;
  transform: translateX(-50%);
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 90px -30px rgb(5 25 45 / 0.5);
}
.stage__bar { display: flex; align-items: center; justify-content: center; height: 1.75rem; background: #ededea; }
.stage__url { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 1.25rem; border-radius: 999px; background: #fff; color: #6a6a66; font-size: 0.6875rem; }
.stage__url .icon { width: 0.7rem; height: 0.7rem; }
.stage__phone {
  position: absolute; z-index: 2; width: 16.5%;
  padding: 0.35rem; border-radius: 1.6rem; background: #0f1a23;
  box-shadow: 0 40px 70px -25px rgb(5 25 45 / 0.6);
}
.stage__phone img { border-radius: 1.3rem; }
.stage__phone--l { left: 8%; top: 24%; rotate: -7deg; }
.stage__phone--r { right: 8%; top: 15%; rotate: 6deg; }
.stage__tag { position: absolute; z-index: 2; left: 1.75rem; bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; color: var(--on-accent); font-size: var(--fs-sm); font-weight: 600; }

@media (max-width: 767px) {
  .stage { aspect-ratio: 4 / 4.6; }
  .stage__screen { width: 88%; top: 6%; }
  .stage__phone { width: 34%; }
  .stage__phone--l { left: 6%; top: auto; bottom: 5%; }
  .stage__phone--r { right: 6%; top: auto; bottom: 9%; }
  .stage__tag { display: none; }
}

/* Laufband */
.marquee { overflow: hidden; padding-block: clamp(1.75rem, 1rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; }
.marquee__group {
  display: flex; align-items: center; flex: none;
  gap: clamp(1.25rem, 2.5vw, 2.5rem); padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  font-size: clamp(2.25rem, 0.8rem + 5vw, 6rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1.1; white-space: nowrap;
}
.marquee__group .icon { width: 0.55em; height: 0.55em; color: var(--accent); stroke-width: 2.5; }
.marquee__group .is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); letter-spacing: -0.01em; }

/* Statement */
.statement__text { font-size: clamp(1.75rem, 0.9rem + 3vw, 4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.045em; max-width: 22em; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-top: clamp(3.5rem, 2rem + 4vw, 7rem); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.stat__num { display: block; font-size: clamp(2.5rem, 1.3rem + 4vw, 5.5rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.95; }
.stat__num small { font-size: 0.42em; letter-spacing: -0.03em; color: var(--muted); }
.stat__label { margin-top: 0.875rem; color: var(--muted); max-width: 22ch; }

/* Ausgewählte Vorlagen */
.work { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .work { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work__item--a { grid-column: span 8; }
  .work__item--b { grid-column: span 4; }
  .work__item--c { grid-column: 1 / -1; }
}
.work__item {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1rem, 0.75rem + 1vw, 1.75rem);
  border-radius: var(--r-lg); background: var(--surface-2); overflow: hidden;
}
.work__item--b { background: var(--accent); color: var(--on-accent); }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.work__meta h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); letter-spacing: -0.045em; }
.work__meta h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.work__meta p { margin-top: 0.25rem; font-size: var(--fs-sm); opacity: 0.7; }
.work__shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.work__shot img { width: 100%; transition: transform 1s var(--ease); }
.work__item:hover .work__shot img { transform: scale(1.035); }
.work__item:hover .arrow-circle { transform: rotate(45deg); background: var(--text); color: var(--bg); border-color: var(--text); }
.work__item--b .arrow-circle { border-color: rgb(15 26 35 / 0.3); }
.work__item--b:hover .arrow-circle { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.work__phone { width: min(62%, 15rem); margin: auto auto 0; padding: 0.35rem; border-radius: 1.75rem; background: #0f1a23; box-shadow: 0 30px 60px -25px rgb(5 20 35 / 0.55); transition: transform 0.8s var(--ease); }
.work__phone img { border-radius: 1.4rem; }
.work__item--b:hover .work__phone { transform: translateY(-6px) rotate(-1.5deg); }
.work__item:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.work__item a:focus-visible { outline: none; }
.work__desc { margin-top: 1rem; color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) {
  .work__item--c { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 3rem; align-items: center; padding: clamp(1.75rem, 1rem + 2vw, 3rem); }
  .work__item--c .work__meta { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* Leistungs-Liste */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; isolation: isolate; display: grid; gap: 0.75rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0; border-bottom: 1px solid var(--line); transition: color 0.4s var(--ease); }
.svc::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gutter)); background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
.svc__num { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.svc__title { font-size: clamp(2rem, 1rem + 3.6vw, 4.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; }
.svc__title a::after { content: ""; position: absolute; inset: 0; }
.svc__text { color: var(--muted); max-width: 40ch; transition: color 0.4s; }
.svc .arrow-circle { display: none; }
.svc:hover { color: var(--on-accent); }
.svc:hover::before { transform: scaleY(1); }
.svc:hover .svc__num, .svc:hover .svc__text { color: var(--on-accent); }
.svc:hover .arrow-circle { transform: rotate(45deg); border-color: var(--on-accent); background: var(--on-accent); color: var(--accent); }
.svc:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.svc a:focus-visible { outline: none; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr) 3rem; align-items: center; gap: 2rem; }
  .svc .arrow-circle { display: grid; }
}

/* Ablauf als gestapelte Karten */
.stack { display: grid; gap: 1.25rem; }
.stack__card {
  position: sticky; top: calc(var(--header-h) + 1.25rem + var(--i, 0) * 1.25rem);
  display: grid; gap: 1.5rem; align-content: space-between;
  min-height: clamp(17rem, 14rem + 12vw, 26rem);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -24px 50px -34px rgb(0 0 0 / 0.35);
}
.stack__card:nth-child(2) { background: var(--surface-2); }
.stack__card:nth-child(3) { background: var(--text); color: var(--bg); border-color: var(--text); --muted: color-mix(in srgb, var(--bg) 65%, transparent); }
.stack__card:nth-child(4) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); --muted: rgb(15 26 35 / 0.72); }
.stack__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.stack__num { font-size: clamp(4.5rem, 2.5rem + 7vw, 10rem); font-weight: 600; letter-spacing: -0.075em; line-height: 0.8; }
.stack__card:not(:nth-child(4)) .stack__num { color: var(--accent); }
.stack__time { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid currentColor; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; }
.stack__time .icon { width: 1rem; height: 1rem; }
.stack__body h3 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.75rem); letter-spacing: -0.055em; line-height: 1; }
.stack__body p { margin-top: 1rem; color: var(--muted); max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; }
.stack__split { display: grid; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.stack__split dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.stack__split dd { margin: 0.25rem 0 0; }
@media (min-width: 640px) { .stack__split { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) {
  .stack__card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; }
  .stack__top { flex-direction: column; justify-content: space-between; }
  .stack__body { align-self: end; }
}

/* Kundenstimmen */
.quotes { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: clamp(1.75rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.quote-card:nth-child(2) { background: var(--surface-2); }
.quote-card .quote__mark { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.quote-card blockquote { margin-top: 1.5rem; font-size: clamp(1.25rem, 1rem + 0.75vw, 1.625rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; }
.quote-card figcaption { display: flex; align-items: center; gap: 0.875rem; font-size: var(--fs-sm); color: var(--muted); }
.quote-card figcaption strong { color: var(--text); font-weight: 600; }
.quote__avatar { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px dashed var(--line-strong); color: var(--muted); }
.quote__avatar .icon { width: 1.25rem; height: 1.25rem; }

/* Preis-Teaser */
.teaser { display: grid; gap: 2.5rem; padding: clamp(1.75rem, 1rem + 3vw, 4rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 1024px) { .teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 5rem; } }
.teaser__big { display: block; margin-top: 1.25rem; font-size: clamp(4.5rem, 2rem + 9vw, 11rem); font-weight: 600; letter-spacing: -0.075em; line-height: 0.82; }
.teaser__big small { font-size: 0.28em; letter-spacing: -0.03em; color: var(--muted); font-weight: 500; margin-right: 0.15em; }
.teaser__text { margin-top: 1.5rem; color: var(--muted); max-width: 38ch; }
.teaser__list { border-top: 1px solid var(--line); }
.teaser__list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.5rem; padding: 1.375rem 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); }
.teaser__list a:hover { padding-left: 0.75rem; }
.teaser__list strong { display: block; font-size: 1.5rem; letter-spacing: -0.04em; font-weight: 600; }
.teaser__list span { font-size: var(--fs-sm); color: var(--muted); }
.teaser__price { font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.teaser__list a:hover .arrow-circle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }


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

.page-hero { padding-block: clamp(3rem, 1.5rem + 5vw, 7.5rem) clamp(3rem, 2rem + 3vw, 5.5rem); }
.page-hero h1 { margin-top: 1.75rem; max-width: 15ch; }
.page-hero__row { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .page-hero__row { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; align-items: end; } }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.45; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }

/* Leistungen (Detail) */
.services { border-top: 1px solid var(--line); }
.service { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.service__head { display: flex; align-items: center; gap: 1.25rem; }
.service__head h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem); }
.service__body > p { font-size: var(--fs-lead); color: var(--muted); line-height: 1.5; }
.service__body .check-list { margin-top: 1.75rem; }
.service__benefit { align-self: start; padding: 1.5rem 1.75rem; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); }
.service__benefit p:last-child { margin-top: 0.5rem; font-size: 1.0625rem; line-height: 1.5; }
.service__benefit-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; }
.service__benefit-label .icon { width: 1.125rem; height: 1.125rem; }
@media (min-width: 1024px) {
  .service { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 3.5rem; }
  .service__head { flex-direction: column; align-items: flex-start; }
}

/* Vorlagen-Galerie */
.filter { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.filter__label { font-size: var(--fs-sm); font-weight: 600; }
.filter__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter__status { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 639px) {
  .filter__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter); scrollbar-width: none; }
  .filter__chips::-webkit-scrollbar { display: none; }
  .filter__chips .chip { flex: none; }
}
.template-grid { display: grid; gap: clamp(1rem, 0.5rem + 1vw, 1.5rem); }
@media (min-width: 700px) { .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tcard { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: 0.75rem 0.75rem 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.5s var(--ease), border-color 0.3s; }
.tcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tcard:has(.tcard__title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.tcard__media { aspect-ratio: 16 / 10; border-radius: calc(var(--r-lg) - 0.75rem); overflow: hidden; background: var(--surface-2); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.tcard__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.625rem 1rem; padding-inline: 0.75rem; flex: 1; align-content: start; }
.tcard__body > :not(.tcard__more) { grid-column: 1; }
.tcard__title { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); letter-spacing: -0.045em; }
.tcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tcard__title a:focus-visible { outline: none; }
.tcard__text { font-size: var(--fs-sm); color: var(--muted); }
.tcard__more { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.tcard:hover .arrow-circle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.empty-state { display: grid; justify-items: center; gap: 1rem; padding: 4rem 1.5rem; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty-state > .icon { width: 2.5rem; height: 2.5rem; color: var(--muted); }
.empty-state h2 { font-size: var(--fs-h3); }
.empty-state p { color: var(--muted); max-width: 46ch; }

.feature-tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-tiles li { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.feature-tiles li:first-child { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.feature-tiles .icon { width: 1.75rem; height: 1.75rem; }
.feature-tiles span { font-size: var(--fs-sm); }
.feature-tiles strong { display: block; font-size: 1.375rem; letter-spacing: -0.035em; font-weight: 600; margin-bottom: 0.25rem; }

/* Vorlagen-Detail */
.detail-hero__row { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .detail-hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4rem; } }
.detail-hero__row .btn-group { margin-top: 0; }
.detail-hero__meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--muted); }
.detail-hero__meta .icon { width: 1.125rem; height: 1.125rem; color: var(--accent-ink); }
.detail-stage { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding: clamp(1.25rem, 0.5rem + 3vw, 4rem); padding-right: clamp(5.5rem, 2rem + 15vw, 17rem); border-radius: var(--r-lg); background: radial-gradient(110% 90% at 15% 0%, #86d6f9 0%, var(--accent) 50%, #1d98d0 100%); }
.detail-stage__screen { border-radius: 12px; overflow: hidden; box-shadow: 0 50px 90px -30px rgb(5 25 45 / 0.5); background: #fff; }
.detail-stage__phone { position: absolute; right: clamp(1rem, 0.5rem + 2.5vw, 4rem); bottom: clamp(1rem, 0.5rem + 2.5vw, 4rem); width: clamp(7rem, 3rem + 14vw, 16rem); padding: 0.35rem; border-radius: 1.75rem; background: #0f1a23; box-shadow: 0 40px 70px -25px rgb(5 25 45 / 0.6); rotate: 4deg; }
.detail-stage__phone img { border-radius: 1.4rem; }

.detail-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.detail-grid__main h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.detail-grid__main > .lead { margin-top: 1.5rem; max-width: 52ch; }
.detail-grid__main > .lead + .lead { margin-top: 1rem; }
.detail-sub { margin: 3.5rem 0 1.5rem; }
.detail-grid__aside { display: grid; gap: 1rem; }
.detail-grid__aside .btn { margin-top: 1.5rem; }

/* Preise */
.pricing { display: grid; gap: 1rem; align-items: stretch; }
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1.75rem; padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan--featured { background: var(--text); color: var(--bg); border-color: var(--text); --muted: color-mix(in srgb, var(--bg) 62%, transparent); --line: color-mix(in srgb, var(--bg) 16%, transparent); }
.plan__badge { position: absolute; top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); right: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 600; }
.plan__name { font-size: 2rem; letter-spacing: -0.05em; }
.plan__desc { margin-top: 0.625rem; color: var(--muted); font-size: var(--fs-sm); max-width: 32ch; }
.plan__price { padding-block: 1.5rem; border-block: 1px solid var(--line); }
.plan__from, .plan__unit { color: var(--muted); font-size: var(--fs-sm); }
.plan__amount { font-size: clamp(3rem, 2.4rem + 1.8vw, 4rem); font-weight: 600; letter-spacing: -0.065em; line-height: 1; }
.plan__monthly { margin-top: 0.5rem; color: var(--muted); font-size: var(--fs-sm); }
.plan .btn { width: 100%; }
.plan__features { display: grid; gap: 0.75rem; font-size: var(--fs-sm); }
.plan__features li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; }
.plan__features .icon { width: 1.25rem; height: 1.25rem; color: var(--accent); stroke-width: 2.5; }
.plan__features-intro { display: block !important; font-weight: 600; }
.plan__duration { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; }
.plan__duration .icon { width: 1.125rem; height: 1.125rem; color: var(--accent); }

.addons { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; } }
.addon { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.addon h3 { font-size: 1.25rem; letter-spacing: -0.03em; }
.addon p { margin-top: 0.375rem; font-size: var(--fs-sm); color: var(--muted); }
.addon .addon__price { flex: none; margin-top: 0; font-size: 1.125rem; font-weight: 600; color: var(--text); white-space: nowrap; }

.faq-short { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-short { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; } }
.faq-short__head > * + * { margin-top: 1.25rem; }
.faq-short__head .link-arrow { margin-top: 2rem; }
.faq-short__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }

/* Über uns */
.story { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 6rem; } }
.story__text > * + * { margin-top: 1.25rem; }
.story__text h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.story__text p:not(.lead) { color: var(--muted); }
.mission { max-width: 72rem; }
.mission__text { margin-top: 2rem; font-size: clamp(2.25rem, 1rem + 4.4vw, 6rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.06em; text-wrap: balance; }
.mission__text em { font-style: normal; color: var(--accent); }
.values { display: grid; gap: 1rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.value { display: grid; align-content: space-between; gap: 3rem; min-height: 18rem; padding: 2rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.value:nth-child(2) { background: var(--surface-2); }
.value:nth-child(3) { background: var(--text); color: var(--bg); --muted: color-mix(in srgb, var(--bg) 62%, transparent); }
.value:nth-child(4) { background: var(--accent); color: var(--on-accent); --muted: rgb(15 26 35 / 0.72); }
.value:nth-child(4) .icon-box { background: var(--on-accent); color: var(--accent); }
.value h3 { font-size: 2rem; letter-spacing: -0.05em; }
.value p { margin-top: 0.75rem; color: var(--muted); }
.story__brand { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 12%; border-radius: var(--r-lg); background: radial-gradient(90% 70% at 50% 30%, #23384a 0%, var(--stage-bg) 70%); color: #fff; }
.story__brand svg { width: 100%; height: auto; }

/* Kontakt */
.contact-layout { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-card > h2 { margin-bottom: 1.75rem; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.form-card > * + * { margin-top: 0; }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside .card { border-radius: var(--r-lg); }
.contact-list { display: grid; gap: 1.25rem; }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: center; }
.contact-list li > .icon { width: 2.75rem; height: 2.75rem; padding: 0.7rem; border-radius: 50%; border: 1px solid var(--line-strong); }
.contact-list__label { display: block; font-size: 0.8125rem; color: var(--muted); }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--accent-ink); }
.contact-list address { font-style: normal; }
.booking > p { color: var(--muted); font-size: var(--fs-sm); }
.embed { border-radius: var(--r-sm); overflow: hidden; }
.embed iframe { display: block; width: 100%; min-height: 34rem; border: 0; }
.embed__consent { display: grid; justify-items: start; gap: 1rem; padding: 1.25rem; border-radius: var(--r-sm); border: 1.5px dashed var(--line-strong); font-size: var(--fs-sm); color: var(--muted); }
.embed__consent > .icon { width: 1.75rem; height: 1.75rem; color: var(--accent-ink); }
.embed__demo { display: flex; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: var(--r-sm); border: 1.5px dashed var(--accent); font-size: var(--fs-sm); }
.embed__demo .icon { color: var(--accent-ink); margin-top: 0.1rem; }
.next-steps { display: grid; gap: 1rem; font-size: var(--fs-sm); }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.875rem; align-items: start; }
.next-steps span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--on-accent); color: var(--accent); font-weight: 700; font-size: 0.8125rem; }

/* FAQ */
.faq-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; align-items: start; } }
.faq-nav__title { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.75rem; }
.faq-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.faq-nav a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: background-color 0.2s, color 0.2s; }
.faq-nav a:hover { background: var(--text); color: var(--bg); }
.faq-nav a span { font-size: 0.8125rem; opacity: 0.55; }
@media (min-width: 1024px) {
  .faq-nav { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq-nav ul { flex-direction: column; flex-wrap: nowrap; }
}
.faq-group { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-group + .faq-group { margin-top: clamp(4rem, 3rem + 3vw, 6rem); }
.faq-group h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); }
.faq-group__intro { margin: 0.75rem 0 1.75rem; color: var(--muted); }

/* Rechtliches */
.legal-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: 5rem; align-items: start; } .legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); max-height: calc(100dvh - var(--header-h) - 4rem); overflow-y: auto; } }
.legal-toc { padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); }
.legal-toc__title { font-weight: 600; margin-bottom: 0.75rem; }
.legal-toc ol { list-style: decimal; padding-left: 1.25rem; color: var(--muted); }
.legal-toc li + li { margin-top: 0.375rem; }
.legal-toc a:hover { color: var(--text); }
.prose { max-width: 72ch; }
.prose section { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); letter-spacing: -0.035em; margin: 2.75rem 0 1rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.375rem; }
.legal-notice { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1.25rem 1.5rem; margin-bottom: 1rem; border-radius: var(--r-md); border: 1.5px dashed var(--accent); font-size: var(--fs-sm); }
.legal-notice .icon { margin-top: 0.1rem; color: var(--accent-ink); }
.legal-notice p { margin: 0; color: var(--text); }

/* Status-Seiten */
.status-page { min-height: calc(80dvh - var(--header-h)); display: grid; align-items: center; }
.status-page__inner { display: grid; justify-items: start; }
.status-page__inner h1 { margin-top: 1.5rem; max-width: 14ch; }
.status-page__inner .lead { margin-top: 1.75rem; }
.status-page__code { font-size: clamp(7rem, 3rem + 18vw, 20rem); font-weight: 700; letter-spacing: -0.08em; line-height: 0.78; color: var(--accent); }
.status-page__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.status-page__links a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: background-color 0.2s, color 0.2s; }
.status-page__links a:hover { background: var(--text); color: var(--bg); }
.status-page__links .icon { width: 1.125rem; height: 1.125rem; }


/* 11 COOKIE-BANNER ========================================================= */

.consent {
  position: fixed; z-index: 80; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  max-height: calc(100dvh - 1.5rem); overflow-y: auto;
  padding: 1.5rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.45);
  font-size: var(--fs-sm);
}
@media (min-width: 640px) { .consent { left: 1.5rem; right: auto; bottom: 1.5rem; width: 26.5rem; } }
.consent__title { font-size: 1.25rem; letter-spacing: -0.03em; }
.consent > p { margin-top: 0.625rem; color: var(--muted); }
.consent__settings { margin-top: 1rem; }
.consent__option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.875rem; border-top: 1px solid var(--line); }
.consent__label { font-weight: 600; }
.consent__desc { font-size: 0.8125rem; color: var(--muted); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-top: 1.25rem; }
.consent__actions .btn { width: 100%; padding-inline: 0.5rem; }
.consent__more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.875rem; color: var(--muted); }


/* 12 PLATZHALTER =========================================================== */
/* Markiert Angaben, die vor dem Livegang ersetzt werden müssen.
   Nach dem Ersetzen: Klasse "ph" entfernen oder diesen Block löschen. */

.ph {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-bottom: 1.5px dashed var(--accent);
  border-radius: 3px 3px 0 0;
  padding-inline: 0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.stat__num .ph, .teaser__big .ph, .plan__amount .ph { background: none; border-bottom-width: 3px; border-radius: 0; }
.ph-image {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 0.625rem;
  aspect-ratio: var(--ratio, 4 / 3); padding: 1.5rem;
  border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface);
  color: var(--muted); text-align: center; font-size: var(--fs-sm);
}
.ph-image > .icon { width: 2rem; height: 2rem; color: var(--accent-ink); }
.ph-image__label { padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.75rem; font-weight: 600; }
.ph-image__desc small { font-size: 0.8125rem; opacity: 0.85; }


/* 13 BEWEGUNG ============================================================== */
/* Alle Animationen nur ohne Einstellung "Bewegung reduzieren". */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes word-lit { to { opacity: 1; } }
@keyframes drift-l { from { transform: translate(0, 14%); } to { transform: translate(-8%, -10%); } }
@keyframes drift-r { from { transform: translate(0, 16%); } to { transform: translate(8%, -8%); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  html.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
  html.js [data-reveal].is-visible { opacity: 1; transform: none; }

  .hero__line > span:not(.rotator) { animation: line-up 1.1s var(--ease) both; }
  .hero .rotator { animation: line-up 1.1s var(--ease) 0.1s both; }
  .hero__bottom, .hero .kicker { animation: rise 1s var(--ease) 0.35s both; }
  .stage { animation: rise 1.2s var(--ease) 0.45s both; }

  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }

  .mobile-nav:not([hidden]) { animation: fade 0.3s ease both; }
  .mobile-nav:not([hidden]) .mobile-nav__list li { animation: rise 0.7s var(--ease) both; }
  .mobile-nav:not([hidden]) .mobile-nav__list li:nth-child(2) { animation-delay: 0.04s; }
  .mobile-nav:not([hidden]) .mobile-nav__list li:nth-child(3) { animation-delay: 0.08s; }
  .mobile-nav:not([hidden]) .mobile-nav__list li:nth-child(4) { animation-delay: 0.12s; }
  .mobile-nav:not([hidden]) .mobile-nav__list li:nth-child(5) { animation-delay: 0.16s; }
  .mobile-nav:not([hidden]) .mobile-nav__list li:nth-child(6) { animation-delay: 0.2s; }
  .consent:not([hidden]) { animation: rise 0.7s var(--ease) 0.6s both; }
  .form-success:not([hidden]) { animation: rise 0.7s var(--ease) both; }

  /* Scroll-gesteuerte Effekte (moderne Browser, sonst statisch) */
  @supports (animation-timeline: view()) {
    .statement__text .w { opacity: 0.16; animation: word-lit linear both; animation-timeline: view(); animation-range: cover calc(12% + var(--p) * 0.28%) cover calc(22% + var(--p) * 0.28%); }
    .stage__phone--l { animation: drift-l linear both; animation-timeline: view(); animation-range: entry 0% exit 80%; }
    .stage__phone--r { animation: drift-r linear both; animation-timeline: view(); animation-range: entry 0% exit 80%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee { overflow-x: auto; }
}


/* 14 DRUCK ================================================================= */

@media print {
  .site-header, .mobile-nav, .consent, .finale, .footer-wordmark { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0; }
}
