/* ==========================================================================
   KINET-DIGITAL Designsystem
   Schriften: Archivo (Überschriften), Inter (Text) – SIL Open Font License, lokal eingebunden
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Farben */
  --ink: #0F1720;          /* Primär dunkel: Text, dunkle Flächen */
  --ink-2: #1A2530;        /* dunkle Fläche, abgesetzt */
  --paper: #F7F6F2;        /* Hintergrund warm */
  --surface: #FFFFFF;      /* Karten, Formulare */
  --line: #E3E1DA;         /* Trennlinien auf hell */
  --line-dark: #2A3642;    /* Trennlinien auf dunkel */
  --text: var(--ink);
  --text-muted: #525C67;   /* 6,3:1 auf paper */
  --text-inv: var(--paper);
  --text-inv-muted: #A9B4C0; /* 8,6:1 auf ink */
  --accent: #1D4ED8;       /* Kräftiges Blau, 6,7:1 mit Weiß */
  --accent-hover: #1E40AF;
  --accent-light: #8FA8FF; /* Akzent auf dunklem Grund, 7,9:1 */
  --accent-soft: #E6ECFD;  /* Hinterlegung */
  --field-border: #8A8F96; /* 3,3:1 auf Weiß */
  --error: #B42318;
  --success: #15803D;
  --warn-bg: #FFF4D6;      /* Platzhalter-Markierung */
  --warn-line: #D9A300;

  /* Schrift */
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);   /* 40 → 80 px */
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);       /* 32 → 52 px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);     /* 20 → 24 px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); /* 18 → 21 px */
  --fs-body: 1.0625rem;  /* 17 px */
  --fs-small: 0.875rem;  /* 14 px */
  --fs-label: 0.8125rem; /* 13 px */

  /* Abstände (8er-Raster) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem); /* 72 → 128 px */
  --container: 76rem;   /* 1216 px */
  --container-narrow: 46rem; /* 736 px, Fließtext */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgb(15 23 32 / .06), 0 8px 24px rgb(15 23 32 / .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--accent-light); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--s-3); text-wrap: balance; }
h1, .display { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: var(--s-1); }
p { margin: 0 0 var(--s-2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); max-width: 38em; }
.dark .lead { color: var(--text-inv-muted); }
.small { font-size: var(--fs-small); }
.muted { color: var(--text-muted); }

/* Label über Abschnittsüberschriften: „01 — Leistungen“ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--font-text); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--accent-light); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-2); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: var(--s-2); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .55); }
.dark { background: var(--ink); color: var(--text-inv); }
.dark a:not(.btn) { color: var(--accent-light); }
.surface { background: var(--surface); }
.section-head { max-width: 44rem; margin-bottom: var(--s-6); }

.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85rem 1.6rem;
  font: 600 1rem/1.2 var(--font-text); text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.dark .btn--secondary, .on-image .btn--secondary { color: var(--paper); border-color: rgb(247 246 242 / .7); }
.dark .btn--secondary:hover, .on-image .btn--secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--small { min-height: 44px; padding: .6rem 1.1rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.btn-note { font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--s-2); }
.dark .btn-note, .on-image .btn-note { color: var(--text-inv-muted); }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---------- 5. Header und Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--paper);
  transition: color .3s var(--ease);
}
/* Hintergrund als Pseudo-Element: backdrop-filter direkt am Header würde das fixierte Mobilmenü einsperren */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgb(247 246 242 / .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line);
  transition: opacity .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-solid { color: var(--ink); }
.site-header.is-scrolled::before, .site-header.is-solid::before { opacity: 1; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.site-header:not(.is-scrolled):not(.is-solid) .wordmark span { color: var(--accent-light); }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav ul { display: flex; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: .9375rem; padding-block: .5rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="true"] { background-size: 100% 2px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -12px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .25s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--paper); color: var(--ink);
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    padding: var(--s-4) var(--gutter); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; padding-block: .75rem; border-bottom: 1px solid var(--line); background: none; }
  .site-header.menu-open { background: var(--paper); color: var(--ink); }
}

/* Feste CTA-Leiste auf dem Smartphone */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr auto auto; gap: .5rem;
    position: fixed; inset: auto 0 0; z-index: 40;
    padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
    background: rgb(247 246 242 / .96); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 48px; }
  .mobile-cta .btn--icon { width: 48px; padding: 0; }
  body { padding-bottom: 76px; }
}

/* ---------- 6. Hero mit Bild über die volle Breite ---------- */
.hero {
  position: relative; min-height: min(100svh, 56rem); display: flex; align-items: flex-end;
  color: var(--paper); background: var(--ink); isolation: isolate; overflow: hidden;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { /* Verlauf für Lesbarkeit */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(15 23 32 / .88) 0%, rgb(15 23 32 / .62) 45%, rgb(15 23 32 / .12) 80%),
    linear-gradient(0deg, rgb(15 23 32 / .7) 0%, rgb(15 23 32 / 0) 45%);
}
.hero__content { padding-block: calc(var(--header-h) + var(--s-6)) var(--s-7); max-width: 48rem; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .eyebrow { color: var(--accent-light); }
.hero .lead { color: rgb(247 246 242 / .85); margin-bottom: var(--s-5); }
@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero::before { background: linear-gradient(0deg, rgb(15 23 32 / .92) 0%, rgb(15 23 32 / .7) 55%, rgb(15 23 32 / .35) 100%); }
  .hero__content { padding-bottom: var(--s-5); }
}

/* ---------- 7. Bilder ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .media--wide { aspect-ratio: 4 / 3; } }
a:hover .media img, .card:hover .media img { transform: scale(1.03); }
.media-caption { font-size: var(--fs-label); color: var(--text-muted); margin-top: var(--s-1); }

/* ---------- 8. Karten ---------- */
.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .media { border-radius: 0; }
.card__body { padding: var(--s-4); display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-label); color: var(--accent); letter-spacing: .08em; margin-bottom: var(--s-2); }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card__list { list-style: none; padding: 0; margin: var(--s-3) 0 0; font-size: var(--fs-small); }
.card__list li { padding: .4rem 0 .4rem 1.5rem; border-top: 1px solid var(--line); position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7rem; height: 2px; background: var(--accent); }

/* ---------- 9. Vertrauenselemente ---------- */
.trust-bar { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; }
.trust-item { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.trust-item svg { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: none; }
.dark .trust-item svg { color: var(--accent-light); }

/* ---------- 10. Prozessschritte ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.steps li { counter-increment: step; padding-top: var(--s-3); border-top: 2px solid var(--line-dark); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--accent-light); margin-bottom: var(--s-3); }
.steps:not(.dark *) li { border-top-color: var(--line); }
.steps:not(.dark *) li::before { color: var(--accent); }
.steps p { color: var(--text-inv-muted); margin: 0; }
.steps:not(.dark *) p { color: var(--text-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 11. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  padding: var(--s-3) 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq .faq__answer { padding: 0 0 var(--s-3); color: var(--text-muted); max-width: 42em; }

/* ---------- 12. Formular ---------- */
.form { display: grid; gap: var(--s-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .optional { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--field-border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(29 78 216 / .2); }
.field .hint { font-size: var(--fs-small); color: var(--text-muted); }
.field .error-msg { display: none; font-size: var(--fs-small); color: var(--error); font-weight: 500; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field.has-error .error-msg { display: block; }
.field.is-valid input, .field.is-valid textarea { border-color: var(--success); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-small); color: var(--text-muted); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.check.has-error { color: var(--error); font-weight: 500; }
.form-status { padding: var(--s-2) var(--s-3); border-radius: var(--radius); font-weight: 500; border-left: 4px solid; }
.form-status--success { background: #E8F5EC; border-color: var(--success); color: #0F5A2B; }
.form-status--error { background: #FDECEA; border-color: var(--error); color: #8A1C12; }
.form-status--demo { background: var(--warn-bg); border-color: var(--warn-line); color: #5C4400; }

/* ---------- 13. Platzhalter und Demo-Kennzeichnung ---------- */
.placeholder {
  background: var(--warn-bg); border: 2px dashed var(--warn-line); border-radius: var(--radius-lg);
  padding: var(--s-4); color: #5C4400;
}
.placeholder strong { display: block; font-family: var(--font-head); margin-bottom: .25rem; }
mark.todo { background: var(--warn-bg); color: #5C4400; padding: 0 .3em; border-radius: 3px; outline: 1px dashed var(--warn-line); }
.demo-banner { background: var(--warn-line); color: var(--ink); text-align: center; font-size: var(--fs-small); font-weight: 600; padding: .4rem var(--gutter); position: relative; z-index: 60; }
.ki-hint { font-size: var(--fs-label); color: var(--text-muted); }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inv-muted); padding-block: var(--s-6) var(--s-4); font-size: var(--fs-small); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--paper); }
.site-footer .wordmark { color: var(--paper); font-size: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-dark); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid h4 { font-family: var(--font-text); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-muted); font-weight: 600; margin-bottom: var(--s-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- 15. Seitenbausteine ---------- */
.brand { display: flex; align-items: center; min-width: 0; }
/* Logo (Inline-SVG): KI + Zeichen in Akzentblau, NET in Textfarbe */
.wordmark .logo { display: block; height: 34px; width: auto; }
.logo .logo-icon { color: var(--accent); }
.logo .logo-ki { fill: var(--accent); }
.logo .logo-net { fill: currentColor; }
.logo .logo-digital { fill: var(--text-muted); }
.site-header:not(.is-scrolled):not(.is-solid):not(.menu-open) .logo .logo-icon { color: var(--accent-light); }
.site-header:not(.is-scrolled):not(.is-solid):not(.menu-open) .logo .logo-ki { fill: var(--accent-light); }
.site-footer .logo { height: 56px; width: auto; display: block; }
.site-footer .logo .logo-icon { color: var(--accent-light); }
.site-footer .logo .logo-ki { fill: var(--accent-light); }
.site-footer .logo .logo-net { fill: var(--paper); }
.site-footer .logo .logo-digital { fill: var(--text-inv-muted); }
@media (max-width: 400px) { .wordmark .logo { height: 30px; } }
.draft-badge { display: inline-block; margin-left: .6rem; padding: .15rem .5rem; font: 600 .6875rem/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--warn-line); border-radius: 3px; vertical-align: middle; }
/* Vertrauensband unter dem Hero: 4 gleich breite Spalten, Icon + Titel + Unterzeile */
.trust-band { background: #172540; color: var(--text-inv); padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.trust-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-band li { display: flex; align-items: center; justify-content: center; gap: .9rem; padding-inline: clamp(.75rem, 2vw, 2rem); border-left: 1px solid rgb(143 168 255 / .18); }
.trust-band li:first-child { border-left: 0; }
.trust-band .trust-icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; color: var(--accent-light); border: 1.5px solid rgb(143 168 255 / .45); background: rgb(143 168 255 / .08); }
.trust-band .trust-icon svg { width: 1.3rem; height: 1.3rem; }
.trust-band strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: var(--paper); }
.trust-band span.sub { display: block; font-size: var(--fs-small); line-height: 1.4; color: var(--text-inv-muted); margin-top: .15rem; }
@media (max-width: 1024px) {
  .trust-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) 0; }
  .trust-band li { justify-content: flex-start; }
  .trust-band li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .trust-band ul { gap: var(--s-3) var(--s-2); }
  .trust-band li { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 0; border-left: 0; }
  .trust-band .trust-icon { width: 2.5rem; height: 2.5rem; }
  .trust-band strong { font-size: 1rem; }
}
.card--wide { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s-4); }
.card--wide .media { aspect-ratio: auto; min-height: 100%; }
.card--wide .card__body { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
@media (max-width: 760px) { .card--wide { grid-template-columns: 1fr; } .card--wide .media { aspect-ratio: 4 / 3; } }
.def-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.def-list li { padding: var(--s-2) 0; border-top: 1px solid var(--line); color: var(--text-muted); }
.def-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.0625rem; margin-bottom: .15rem; }
.feature-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-3); }
.feature-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-2); }
.feature-list .icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature-list .icon svg { width: 1.25rem; height: 1.25rem; }
.feature-list h3 { font-size: 1.125rem; margin-bottom: .2rem; }
.feature-list p { margin: 0; color: var(--text-muted); }
.section-foot { margin-top: var(--s-5); }
.contact-list { list-style: none; padding: 0; margin: var(--s-4) 0; display: grid; gap: var(--s-2); }
.contact-list a, .contact-list .todo-line { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.contact-list a:hover { border-color: var(--accent); color: var(--ink); transform: translateX(3px); }
.contact-list svg { width: 1.375rem; height: 1.375rem; color: var(--accent); flex: none; }
.contact-list small { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-small); }
.contact-list .todo-line { font-weight: 400; border-style: dashed; border-color: var(--warn-line); background: var(--warn-bg); color: #5C4400; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.legal { padding-top: calc(var(--header-h) + var(--s-6)); }
.legal h1 { font-size: var(--fs-h2); }
.legal h2 { font-size: 1.375rem; margin-top: var(--s-5); margin-bottom: var(--s-2); }

/* ---------- 16. Animationen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; } .reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Preise ---------- */
.price-group + .price-group { margin-top: var(--s-6); }
.price-group > h3 { margin-bottom: var(--s-3); }
.price-card .card__body { padding: var(--s-4); }
.price-card--featured { border: 2px solid var(--accent); }
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.7rem + 1.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: var(--s-1) 0 var(--s-2); }
.price small { font-family: var(--font-text); font-weight: 500; font-size: var(--fs-small); color: var(--text-muted); letter-spacing: 0; }
.price-meta { font-size: var(--fs-small); color: var(--accent); font-weight: 600; margin-top: auto; padding-top: var(--s-3); }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: var(--fs-body); }
.price-table th, .price-table td { text-align: left; padding: var(--s-2) var(--s-3); border-top: 1px solid var(--line); vertical-align: top; }
.price-table thead th { border-top: 0; font-family: var(--font-head); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); background: var(--paper); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table tbody th { font-weight: 400; }
.price-note { font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--s-3); max-width: 60em; }
@media (max-width: 560px) { .price-table th, .price-table td { padding: var(--s-2); } }
.price-card h4 { font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; margin: 0; }

/* ---------- Referenzen ---------- */
#referenzen .card__num { color: var(--text-muted); }
.ref-link { margin-top: auto; padding-top: var(--s-2); }
.ref-link a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.ref-link a:hover { text-decoration: underline; }
#referenzen .media img { object-position: top; }

/* ---------- Buchungsstrecke (nutzt ausschließlich die vorhandenen Designwerte) ---------- */
.booking fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--s-3); }
.booking fieldset[hidden], .booking [hidden] { display: none; }
.booking legend { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); padding: 0; margin-bottom: var(--s-2); }
.booking legend:focus { outline: none; }
.booking-progress { list-style: none; display: flex; gap: var(--s-2); padding: 0; margin: 0 0 var(--s-3); font-size: var(--fs-label); font-weight: 600; color: var(--text-muted); }
.booking-progress li { flex: 1; display: flex; align-items: center; gap: .5rem; padding-top: .75rem; border-top: 3px solid var(--line); }
.booking-progress li span { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--line); color: var(--ink); font-size: var(--fs-label); }
.booking-progress li.is-active, .booking-progress li.is-done { border-top-color: var(--accent); color: var(--ink); }
.booking-progress li.is-active span, .booking-progress li.is-done span { background: var(--accent); color: #fff; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.tile { position: relative; display: grid; gap: .25rem; align-content: start; padding: var(--s-3); background: var(--surface); border: 1.5px solid var(--field-border); border-radius: var(--radius); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.tile:hover { border-color: var(--ink); }
.tile.is-checked { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgb(29 78 216 / .2); }
.tile:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.tile__text { font-size: var(--fs-small); color: var(--text-muted); }
.booking .error-msg { display: none; font-size: var(--fs-small); color: var(--error); font-weight: 500; }
.booking .error-msg.is-visible { display: block; }
.booking .field.has-error .error-msg { display: block; }
.booking-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.booking-appointment { display: grid; gap: var(--s-3); }
.booking .hint { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 40rem) { .tile-grid { grid-template-columns: 1fr; } }
