/* KOStBAR – Design-System
   Richtung: hell, ruhig, großzügig (Apple-Klarheit) + verspielter Fotostreifen.
   Alles Farbige, Bewegte und Maßliche läuft über Tokens. */

:root {
  color-scheme: light dark;

  /* Farben – Licht */
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f0f2f6;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #5b6a80;
  --line: rgb(15 23 42 / 0.1);
  --line-strong: rgb(15 23 42 / 0.22);
  --ctl-border: #7b8494; /* Rand von Eingabefeldern/Ghost-Buttons: >= 3:1 (WCAG 1.4.11) auf #fff, --bg und --surface-2 */
  --link: #0058db;
  --focus: #0058db;
  --btn-bg: #0067ff;
  --btn-bg-hover: #0052d4;
  /* Markenverlauf für weißen Text: hellster Punkt #0a5ee8 = 5,6:1 (vorher #1d78ff = 4,05:1) */
  --grad-brand: linear-gradient(160deg, #0a5ee8, #0050d0);
  --brand: #0067ff;
  --brand-tint: #e8f0ff;
  --flash: #ffc83d;
  --flash-ink: #2b1f00;
  --ok: #15803d;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --shadow-1: 0 1px 2px rgb(15 23 42 / 0.06), 0 4px 16px -6px rgb(15 23 42 / 0.1);
  --shadow-2: 0 2px 4px rgb(15 23 42 / 0.05), 0 24px 48px -20px rgb(15 23 42 / 0.22);

  /* Bewegung */
  --dur-instant: 80ms;
  --dur-fast: 180ms;
  --dur-normal: 350ms;
  --dur-slow: 600ms;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);
  --dist-sm: 8px;
  --dist-md: 16px;

  /* Maße */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 30px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 10vw, 120px);
  --max: 1180px;

  --font: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1e;
    --surface: #111a2e;
    --surface-2: #17223a;
    --ink: #eef2f8;
    --ink-2: #b1bccd;
    --ink-3: #8f9db2;
    --line: rgb(255 255 255 / 0.1);
    --line-strong: rgb(255 255 255 / 0.24);
    --ctl-border: #64748b;
    --link: #7db2ff;
    --focus: #9cc4ff;
    --brand-tint: #14264a;
    --ok: #4ade80;
    --danger: #ff9b90;
    --danger-bg: #3a1512;
    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 16px -6px rgb(0 0 0 / 0.5);
    --shadow-2: 0 2px 4px rgb(0 0 0 / 0.4), 0 24px 48px -20px rgb(0 0 0 / 0.7);
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word; /* Reflow 320 px: lange Wörter dürfen umbrechen */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; } /* .btn/.form-* setzen display und würden das hidden-Attribut sonst überschreiben */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; hyphens: auto; }
h1 { font-size: clamp(2.35rem, 1.2rem + 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 1.1rem + 3.4vw, 3.2rem); font-weight: 780; }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); font-weight: 720; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--flash); color: var(--flash-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.75rem 1.1rem; border-radius: var(--radius-s); font-weight: 650; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); color: var(--ink-2); line-height: 1.55; max-width: 40rem; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }
.num { font-variant-numeric: tabular-nums; }

/* Eyebrow mit Fotostreifen-Motiv */
.eyebrow { display: inline-flex; align-items: center; gap: 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 13px; border-radius: 2.5px; background: var(--flash); box-shadow: 12px 0 0 var(--brand), 24px 0 0 var(--ink); margin-right: 42px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition-property: transform, background-color, border-color, box-shadow, color;
  transition-duration: var(--dur-fast); transition-timing-function: var(--ease-smooth);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 1px 2px rgb(0 40 120 / 0.3), 0 10px 22px -10px rgb(0 103 255 / 0.7); }
.btn--flash { background: var(--flash); color: var(--flash-ink); box-shadow: 0 1px 2px rgb(120 80 0 / 0.25), 0 10px 22px -12px rgb(255 200 61 / 0.9); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ctl-border); }
.btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.95rem; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--btn-bg-hover); }
  .btn--flash:hover { filter: brightness(1.06); }
  .btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 850; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: inline-grid; line-height: 1; }
.brand-name span { font-size: 0.78em; }
.brand-tagline { margin-top: 0.3rem; padding-top: 0.3rem; border-top: 1px solid currentColor; font-family: var(--font); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; color: var(--ink-2); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.97rem; transition: color var(--dur-fast), background-color var(--dur-fast); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--surface-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--brand); }
@media (hover: hover) { .site-nav ul a:hover { color: var(--ink); background: var(--surface-2); } }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before { position: absolute; left: 14px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-fast) var(--ease-smooth); }
.nav-toggle-bars { top: 22px; transform: translateY(-3.5px); }
.nav-toggle-bars::before { content: ""; left: 0; transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(-90deg); }

@media (max-width: 1040px) { /* muss zu matchMedia("(min-width: 1041px)") in main.js passen */
  .js .nav-toggle { display: inline-block; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 1rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav ul a { min-height: 52px; font-size: 1.1rem; padding: 0 1rem; }
  .js .site-nav .btn { margin-top: 0.5rem; }
  .header-inner { position: relative; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) var(--section-y); overflow: clip; }
.hero-grid { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-copy h1 em { font-style: normal; color: var(--brand); }
@media (prefers-color-scheme: dark) { .hero-copy h1 em { color: #6aa8ff; } }
.h1-loc { display: block; margin-top: 0.6rem; font-size: 0.36em; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink-2); }
.motto { margin: 0; max-width: 40rem; }
.motto p { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; color: rgb(255 255 255 / 0.92); }
.trust { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.5rem; color: var(--ink-2); font-weight: 560; font-size: 0.98rem; }
.trust li, .checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.trust li::before, .checklist li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2em; background: var(--brand); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm4.06 6.27a.75.75 0 0 0-1.12-1l-3.7 4.13-1.8-1.8a.75.75 0 1 0-1.06 1.06l2.36 2.36a.75.75 0 0 0 1.1-.04l4.22-4.71Z'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { .trust li::before, .checklist li::before { background: #6aa8ff; } }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-art::before { content: ""; position: absolute; inset: 6% -10% 4% -10%; border-radius: 50%; background: radial-gradient(closest-side, var(--brand-tint), transparent 72%); z-index: -1; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 40px rgb(0 40 120 / 0.18)); }

/* Unterseiten-Kopf */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px); overflow: clip; }
.page-hero .hero-grid { align-items: center; }
.page-hero .hero-art { width: min(100%, 340px); }
.breadcrumb { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 0.25rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-right: 0.4rem; opacity: 0.6; } /* Alt-Text "" = Trenner wird nicht vorgelesen */
.breadcrumb a { color: var(--ink-2); }

/* ---------- Bento / Karten ---------- */
.bento { display: grid; gap: 1rem; }
@media (min-width: 820px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .tile--lg { grid-column: span 6; display: grid; grid-template-columns: 1fr minmax(200px, 300px); align-items: center; } .bento .tile--md { grid-column: span 3; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: clamp(24px, 3.2vw, 40px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate; transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal) var(--ease-smooth); }
.tile-copy { display: grid; gap: 0.75rem; align-content: start; max-width: 30rem; }
.tile-kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tile-price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.tile-price .from, .tile-price .per { font-family: var(--font); font-weight: 560; font-size: 0.9rem; color: var(--ink-3); letter-spacing: 0; }
.tile-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.tile--blue .tile-art::before { content: ""; position: absolute; inset: 4% 0 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / 0.38), rgb(255 255 255 / 0)); }
.tile-art img { position: relative; }
.tile-art img { width: min(60%, 220px); max-height: 300px; object-fit: contain; }
.tile--lg .tile-art img { width: 100%; max-height: 300px; }
.tile a.tile-link { color: inherit; text-decoration: none; }
.tile a.tile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile:focus-within { box-shadow: 0 0 0 3px var(--focus), var(--shadow-1); }
.tile a.tile-link:focus-visible { outline: none; }
@media (hover: hover) { .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); } }
.tile--blue { background: var(--grad-brand); color: #fff; }
.tile--blue .tile-kicker, .tile--blue .tile-price .from { color: rgb(255 255 255 / 0.92); }
.tile--ink { background: #0f172a; color: #fff; }
.tile--ink .tile-kicker, .tile--ink .tile-price .per { color: rgb(255 255 255 / 0.75); }
.tile--yellow { background: var(--flash); color: var(--flash-ink); }
.tile--yellow .tile-kicker, .tile--yellow .tile-price .per { color: rgb(43 31 0 / 0.78); }
@media (prefers-color-scheme: dark) { .tile--ink { background: #17223a; } }

.card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 0.9rem; align-content: start; }
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-2 { display: grid; gap: 1rem; }

.checklist { list-style: none; display: grid; gap: 0.6rem; }
.checklist li { color: var(--ink-2); font-size: 0.99rem; }
.checklist strong { color: var(--ink); font-weight: 650; }

/* Preis-Karten */
.tier { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); border: 1.5px solid transparent; }
.tier--featured { border-color: var(--brand); box-shadow: var(--shadow-2); }
.tier h3 { font-size: 1.4rem; }
.tier-badge { justify-self: start; display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--brand-tint); color: var(--link); font-size: 0.8rem; font-weight: 700; }
.price { font-family: var(--font-display); font-weight: 820; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 0.3rem; font-variant-numeric: tabular-nums; }
.price .amount { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); }
.price .unit { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.tier .checklist { flex: 1; }
.was { color: var(--ink-3); font-size: 0.95rem; }
.was s { text-decoration-thickness: 0.1em; }
.save { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--flash); color: var(--flash-ink); font-weight: 750; font-size: 0.88rem; }

/* Schritte */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 0.6rem; align-content: start; }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.5rem; }
.step:nth-child(2)::before { background: var(--flash); color: var(--flash-ink); }
.step:nth-child(3)::before { background: var(--ink); color: var(--bg); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* Kennzahlen / LED */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { padding: 1.5rem; border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 0.25rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { color: var(--ink-2); font-size: 0.95rem; }

/* Spezifikation */
.spec { display: grid; margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.spec div { display: grid; gap: 0.15rem; padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
.spec div:first-child { border-top: 0; }
.spec dt { font-weight: 650; color: var(--ink-2); font-size: 0.92rem; }
.spec dd { margin: 0; font-weight: 560; }
@media (min-width: 640px) { .spec div { grid-template-columns: 220px 1fr; align-items: baseline; gap: 1.5rem; } }

/* Chips / Gebiet */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li { padding: 0.5rem 1rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.97rem; }
.area { display: grid; gap: 1.25rem; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
@media (min-width: 860px) { .area { grid-template-columns: 1fr 1fr; align-items: center; } }

/* CTA-Band */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 1.25rem; padding: clamp(40px, 6vw, 80px) var(--gutter); border-radius: var(--radius-l); background: var(--grad-brand); color: #fff; }
.cta-band .lede { color: rgb(255 255 255 / 0.92); }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: rgb(255 255 255 / 0.85); }
@media (hover: hover) { .cta-band .btn--ghost:hover { background: rgb(255 255 255 / 0.14); border-color: #fff; } }
.cta-band :focus-visible { outline-color: #fff; }
.cta-band a:not(.btn) { color: #fff; text-decoration-thickness: 0.1em; }

/* ---------- Foto-Galerie (echte Event-Fotos) ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(4, 1fr); } }
.photo-strip figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 4 / 5; background: var(--surface-2); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }
@media (prefers-color-scheme: dark) { .photo-strip img { outline-color: rgb(255 255 255 / 0.1); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; margin-inline: auto; }
.faq details { background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1rem 1.4rem; font-weight: 650; font-size: 1.05rem; border-radius: var(--radius-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--brand); -webkit-mask: var(--plus) center / contain no-repeat; mask: var(--plus) center / contain no-repeat; transition: transform var(--dur-fast) var(--ease-smooth); }
:root { --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { .faq summary::after { background: #6aa8ff; } }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.4rem; color: var(--ink-2); display: grid; gap: 0.75rem; }
.faq-body p { max-width: 62ch; }

/* ---------- Konfigurator & Formulare ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.75rem; }
.config { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .config { grid-template-columns: 1.3fr 0.9fr; align-items: start; } }
.config-options { display: grid; gap: 1.75rem; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
.choices { display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .choices--2 { grid-template-columns: repeat(2, 1fr); } }
.choice, .check { position: relative; display: flex; align-items: center; gap: 0.85rem; min-height: 56px; padding: 0.7rem 1rem; border-radius: var(--radius-s); border: 1.5px solid var(--line-strong); background: var(--bg); cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast); }
.choice input, .check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--btn-bg); cursor: pointer; }
.choice:has(input:checked), .check:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 1px var(--brand); }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-text { display: grid; line-height: 1.3; flex: 1; }
.choice-text small { color: var(--ink-3); font-size: 0.86rem; }
.choice-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary { position: relative; display: grid; gap: 1rem; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: #0f172a; color: #fff; box-shadow: var(--shadow-2); }
@media (min-width: 900px) { .summary { position: sticky; top: 96px; } }
.summary h3 { color: #fff; }
.summary dl { margin: 0; display: grid; gap: 0.5rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; color: rgb(255 255 255 / 0.85); }
.summary dt, .summary dd { margin: 0; }
.summary dd { font-variant-numeric: tabular-nums; font-weight: 650; }
.summary .total { font-family: var(--font-display); font-weight: 820; font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.summary .note { color: rgb(255 255 255 / 0.85); font-size: 0.95rem; }
.summary .note strong { color: var(--flash); }
.summary .btn--ghost { color: #fff; border-color: rgb(255 255 255 / 0.5); }
.summary :focus-visible { outline-color: #fff; }

.form { display: grid; gap: 1.25rem; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 650; font-size: 0.97rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0.75rem 1rem; border-radius: var(--radius-s); border: 1.5px solid var(--ctl-border); background: var(--bg); color: var(--ink); font: inherit; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.hint { color: var(--ink-3); font-size: 0.88rem; }
.error { color: var(--danger); font-weight: 600; font-size: 0.92rem; display: flex; gap: 0.4rem; }
.error::before { content: "!"; content: "!" / ""; flex: none; display: grid; place-items: center; width: 1.2em; height: 1.2em; margin-top: 0.1em; border-radius: 50%; background: var(--danger); color: var(--bg); font-size: 0.8em; font-weight: 800; }
.form-summary { padding: 1rem 1.25rem; border-radius: var(--radius-s); background: var(--danger-bg); border: 1.5px solid var(--danger); color: var(--ink); }
.form-summary ul { margin: 0.5rem 0 0 1.2rem; }
.form-summary a { color: var(--danger); font-weight: 650; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius-s); background: var(--brand-tint); border: 1.5px solid var(--brand); }
.form-status[data-result="error"] { background: var(--danger-bg); border-color: var(--danger); }
.form-status[data-result="ok"] [data-state="error"], .form-status[data-result="error"] [data-state="ok"] { display: none; }
/* Spamschutz-Fangfeld: für Menschen unsichtbar, für Bots ein normales Feld */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checks { display: grid; gap: 0.6rem; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, 1fr); } }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: grid; gap: 0.15rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-1); }
.contact-card .label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contact-card a, .contact-card address { font-style: normal; font-weight: 650; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) { .contact-card a:hover { color: var(--link); text-decoration: underline; } }
.layout-2 { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .layout-2 { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 46rem; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; } }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-2); margin-top: 0.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
/* Rechtstexte (src/legal) beginnen mal mit Text, mal mit Zwischenüberschrift: einheitlicher Abstand unter der H1 */
.prose > h1 + div { margin-top: 2.5rem; }
/* Copyright-/Stand-Zeile unter den Rechtstexten der IT-Recht Kanzlei (deren Inline-Abstände überschreiben) */
.prose #itkanzlei_txt_copyright { margin-top: 3rem !important; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.85rem !important; }
.prose strong { color: var(--ink); }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius-s); background: var(--brand-tint); border-left: 5px solid var(--brand); margin-bottom: 1.5rem; }

/* ---------- Partner-Badges ---------- */
.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.5rem 2rem; max-width: 40rem; margin-inline: auto; }
.badge-tile { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; min-width: 44px; min-height: 44px; text-decoration: none; }
.badge-tile-frame { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast); }
.badge-tile img { width: 52px; height: 52px; object-fit: contain; }
.badge-rating { flex-direction: column; gap: 0.2rem; color: #0f172a; }
.badge-rating b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1; }
.badge-stars { font-size: 0.66rem; letter-spacing: 0.04em; line-height: 1; color: #e09a00; }
.badge-tile-label { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); text-align: center; }
@media (hover: hover) { .badge-tile:hover .badge-tile-frame { transform: translateY(-3px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); } }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #cbd5e1; padding-block: clamp(48px, 7vw, 88px) 32px; }
.site-footer a { color: #e2e8f0; text-decoration-color: rgb(226 232 240 / 0.35); }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--font); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; font-weight: 700; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 22rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-tagline { color: #cbd5e1; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: #94a3b8; }

/* ---------- Link-Button (Footer: sieht wie ein Link aus, ist ein <button>) ---------- */
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgb(226 232 240 / 0.35); text-underline-offset: 0.18em; }
@media (hover: hover) { .link-btn:hover { text-decoration-color: currentColor; } }

/* ---------- Cookie-Consent-Banner ---------- */
.consent-banner { position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 1.1rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom)); }
.consent-inner { width: min(100% - 0px, var(--max)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.consent-text { max-width: 46rem; display: grid; gap: 0.25rem; }
.consent-title { font-weight: 750; font-size: 1.05rem; }
.consent-text p:not(.consent-title) { color: var(--ink-2); font-size: 0.95rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; flex: none; }
.js .consent-banner { transform: translateY(12px); opacity: 0; transition: transform var(--dur-normal) var(--ease-smooth), opacity var(--dur-normal) var(--ease-smooth); }
.js .consent-banner.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .consent-banner { transform: none; transition: opacity var(--dur-fast) linear; } }

/* ---------- Bewegung: Reveal (nur mit JS, Inhalt bleibt sonst sichtbar) ---------- */
.js .reveal { opacity: 0; transform: translateY(var(--dist-md)); transition: opacity var(--dur-slow) var(--ease-smooth), transform var(--dur-slow) var(--ease-smooth); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Sicherheitsnetz: lädt oder läuft das Skript nicht, wird Inhalt nach 4 s trotzdem sichtbar */
.js .reveal:not(.is-in) { animation: reveal-fallback 0.01s 4s forwards; }
@keyframes reveal-fallback { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal { transform: none; transition: opacity var(--dur-fast) linear; transition-delay: 0s; }
  .btn:active, .tile:hover { transform: none; }
  .tile { transition: box-shadow var(--dur-fast); }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .choice:has(input:checked), .check:has(input:checked) { outline: 3px solid Highlight; }
  /* box-shadow wird im Kontrastmodus entfernt: Fokus der Stretched-Link-Kachel (outline:none am Link) braucht eine Outline */
  .tile:focus-within { outline: 3px solid Highlight; outline-offset: 2px; }
  /* Maskierte/Hintergrund-Icons würden auf Canvas gezwungen und verschwinden */
  .nav-toggle-bars, .nav-toggle-bars::before,
  .trust li::before, .checklist li::before, .faq summary::after { forced-color-adjust: none; background: CanvasText; }
}
@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}
