/* =========================================================================
   AMIGO Aufbereitung – Stylesheet
   Aufbau: 1 Fonts · 2 Tokens (hell/dunkel) · 3 Basis · 4 Layout · 5 Komponenten
           6 Sektionen · 7 Karte · 8 Formular · 9 Footer · 10 Motion
   Alle Farben laufen über CSS-Variablen -> Dunkelmodus automatisch per
   prefers-color-scheme. Markenfarben: #000 · #FFF · #CC0000 · #C9CDD2
   Farbwelt (hell, fest): 60 % Weiß/Hellgrau · 30 % Anthrazit · 10 % Rot – siehe Block „Farbwelt“ am Ende
   ========================================================================= */

/* 1 · Fonts (lokal, DSGVO) ------------------------------------------------ */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* 2 · Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light dark;
  --brand-black: #000;
  --brand-white: #fff;
  --brand-red: #CC0000;
  --brand-grey: #C9CDD2;

  --bg: #FFFFFF;
  --bg-alt: #F1F4F7;          /* kühles Hellgrau: Flächen-Abschnitte (Leistungen, Einzugsgebiet, Bewertungen) */
  --surface: #FFFFFF;
  --surface-2: #F4F6F8;
  --text: #14181D;            /* Anthrazit statt Schwarz */
  --text-2: #4A525B;          /* 7.2:1 auf #F1F4F7 */
  --text-3: #5B646E;          /* 5.8:1 auf #FFF */
  --line: #E1E6EB;
  --line-strong: #C9CDD2;
  --accent: #CC0000;          /* Rot als Text: 5.9:1 auf Weiß */
  --btn: #CC0000;
  --btn-hover: #A80000;
  --on-btn: #FFFFFF;
  --ghost-hover: rgba(0, 0, 0, .05);
  --ph-a: #ECEEF0;
  --ph-b: #DADDE1;
  --ph-text: #4A4F55;
  --focus: #CC0000;
  --success: #1F7A4D;
  --error: #B00000;

  /* Karte */
  --map-bg: var(--surface);   /* wie die übrigen Kacheln – fügt sich in Hell und Dunkel ein */
  --map-ring: #CC0000;
  --map-river: #85B7EB;
  --map-river-text: #2A6BAE;
  --map-text: #111111;
  --map-text-2: #5F5E5A;
  --map-ring30-fill: rgba(204, 0, 0, .08);

  /* Akzent-Sektionen (Zukunft, Wartungsvertrag, Footer): hell im Hellmodus, schwarz im Dunkelmodus */
  --dark-bg: #161A1F;          /* Anthrazit: Footer und Akzent-Block */
  --dark-offer: #1D2228;
  --dark-surface: #1D2228;
  --dark-line: #2C333B;
  --dark-text: #FFFFFF;
  --dark-text-2: #C9CFD6;      /* 10:1 auf #161A1F */
  --dark-text-3: #9AA3AD;      /* 6.6:1 auf #161A1F */
  --dark-accent: #FF6B6B;      /* Rot auf Anthrazit: 5.6:1 */
  --dark-btn: #FFFFFF;
  --dark-btn-text: #14181D;
  --dark-btn-hover: #E8ECEF;
  --dark-ghost-hover: rgba(255, 255, 255, .1);

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 20px;
  --maxw: 1120px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #1A1B1E;          /* Abschnitts-Grau: als Fläche neben Schwarz erkennbar */
    --surface: #161718;
    --surface-2: #1D1E20;
    --text: #F5F5F7;
    --text-2: #C9CDD2;
    --text-3: #A8ADB4;
    --line: #26282B;
    --line-strong: #3A3D42;
    --accent: #FF5A5A;        /* aufgehellt: 6.9:1 auf Schwarz */
    --btn: #CC0000;           /* weiße Schrift auf #CC0000: 5.9:1 */
    --btn-hover: #E01515;
    --ghost-hover: rgba(255, 255, 255, .08);
    --ph-a: #17181A;
    --ph-b: #24262A;
    --ph-text: #C9CDD2;
    --focus: #FF5A5A;
    --success: #4ADE80;
    --error: #FF6B6B;

    --map-bg: var(--surface);
    --map-ring: #FF4D4D;
    --map-river: #4E86B8;
    --map-river-text: #8EC5E8;
    --map-text: #F5F5F7;
    --map-text-2: #C9CDD2;
    --map-ring30-fill: rgba(255, 77, 77, .10);

    --dark-bg: #000000;
    --dark-offer: #0E0F10;
    --dark-surface: #161718;
    --dark-line: #2A2C30;
    --dark-text: #FFFFFF;
    --dark-text-2: #C9CDD2;
    --dark-text-3: #A8ADB4;
    --dark-accent: #FF5A5A;
    --dark-btn: #FFFFFF;
    --dark-btn-text: #000000;
    --dark-btn-hover: #E8E8EA;
    --dark-ghost-hover: rgba(255, 255, 255, .1);
  }
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* 3 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-red); color: #FFF; }
input, textarea { caret-color: var(--brand-red); }
[hidden] { display: none !important; }
.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: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.todo { background: #FFF3BF; color: #5C4400; padding: 0 .3em; border-radius: 4px; font-size: .8em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { .todo { background: #3D3300; color: #FFE58A; } }

/* 4 · Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h1 { font-size: clamp(40px, 8.2vw, 84px); letter-spacing: -.04em; line-height: 1.02; }
.h2 { font-size: clamp(32px, 5.4vw, 56px); letter-spacing: -.035em; line-height: 1.06; }
.h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.02em; line-height: 1.2; font-weight: 650; }

/* Typo-Rollen in Artikeln (Karten, Kacheln, Angebote):
   Fließtext 16px/1.6 · Liste 16px/1.5 · Label 12px Versalien · Meta 14px.
   Deutsche Komposita brechen in schmalen Spalten per Silbentrennung statt auszufransen. */
:root { --fs-article: 16px; --lh-article: 1.6; --fs-label: 12px; --fs-meta: 14px; }
:where(.card, .audience, .step, .special, .future-card, .offer, .review, .pricing-note, .addon) :where(p, dd, li) {
  font-size: var(--fs-article); line-height: var(--lh-article);
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4;
  max-width: 62ch;
}
/* helle Schrift auf dunkler Fläche: etwas mehr Zeilenabstand und Laufweite */
:where(.future-card, .offer--dark) :where(p, li) { line-height: 1.65; letter-spacing: .006em; }
.lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--text-2); margin-top: 20px; }
.muted { color: var(--text-2); }
.accent { color: var(--accent); }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 5 · Komponenten ---------------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--btn); color: var(--on-btn); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--secondary { border-color: var(--text); color: var(--text); background: transparent; }
.btn--secondary:hover { background: var(--ghost-hover); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { opacity: .88; }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

/* Logo */
.logo { display: block; }
.logo img { width: 168px; height: auto; aspect-ratio: 744 / 160; }
.footer .logo img { width: 200px; }

/* Bild-Platzhalter ("Foto folgt") */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, var(--ph-a), var(--ph-b));
  border-radius: var(--radius); color: var(--ph-text); aspect-ratio: 4 / 3;
}
.ph::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em; opacity: .9;
}
.ph .icon { width: 34px; height: 34px; opacity: .45; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--portrait { aspect-ratio: 4 / 5; }
@media (max-width: 639px) { .ph--wide { aspect-ratio: 4 / 3; } }

/* Badges */
/* Statische Zusatzinfo: schlichter Sekundärtext, keine Pille */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.nav { display: none; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 8px 2px; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.lang { font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 8px; border-radius: 8px; }
.lang:hover { color: var(--text); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--text); }
.menu-btn:hover { background: var(--ghost-hover); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
/* Menü = Popover: Einblenden 200 ms (Deckkraft + leichte Skalierung), Ausblenden 140 ms. Fixiert -> kein Verschieben der Seite. */
.mobile-nav { transform-origin: top center; transition: opacity .2s var(--ease), transform .2s var(--ease), display .2s allow-discrete; }
@starting-style { .mobile-nav { opacity: 0; transform: scale(.98); } }
.mobile-nav[hidden] { display: none; opacity: 0; transform: scale(.98); transition-duration: .14s; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 20px; width: 100%; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 26px; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (max-width: 420px) { .header .btn--sm { display: none; } }

/* Schwebender WhatsApp-Button */
.wa-float {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07); transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 639px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* 6 · Sektionen ------------------------------------------------------------ */
/* Hero */
.hero { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.hero .kicker { color: var(--accent); }
.hero .h1 { font-size: clamp(36px, 6.6vw, 72px); max-width: 19ch; margin-inline: auto; }
.hero .h1 .accent-line { display: block; color: var(--text-3); }
.hero .lead { max-width: 640px; margin-inline: auto; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.hero__media { margin-top: clamp(48px, 7vw, 80px); }
.hero__media .ph { aspect-ratio: 21 / 9; border-radius: 28px; }
@media (max-width: 639px) { .hero__media .ph { aspect-ratio: 4 / 3; } .hero .btn { width: 100%; } }

/* Vertrauensleiste */
.trust { border-block: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.trust li .icon { color: var(--accent); width: 22px; height: 22px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } .trust li { justify-content: center; } }

/* Leistungskarten */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section--alt .card { border-color: transparent; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card .ph { border-radius: 0; }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__head .h3 { margin: 0; }
.card__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.section--alt .card__icon { background: var(--bg-alt); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:last-child { padding-bottom: 0; }
.facts dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; color: var(--text-2); }
.facts dd strong { color: var(--text); font-weight: 600; }

/* Zielgruppen */
.audience { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.audience .num { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .08em; }
.audience p { color: var(--text-2); }
.checklist { display: grid; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; gap: 10px; line-height: 1.5; color: var(--text-2); }
.checklist .icon { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; stroke-width: 2; }
.audience .link-arrow { margin-top: auto; padding-top: 8px; }
/* „Für wen“-Kacheln: Text in schmalen Spalten normal umbrechen (pretty erzeugt hier
   unnötig kurze Zeilen), Link-Pfeil fließt am Textende mit, Link sitzt immer unten. */
.audience :where(p, li) { text-wrap: wrap; }
.audience .link-arrow { display: block; font-size: 15px; line-height: 1.4; text-wrap: balance; }
.audience .link-arrow .icon { display: inline-block; vertical-align: -3px; margin-left: 4px; }
/* Zeilen aller Kacheln einer Reihe aneinander ausrichten (Icon, Titel, Text, Liste, Link) */
@supports (grid-template-rows: subgrid) {
  .grid--4:has(> .audience) { row-gap: 20px; }
  .grid--4 > .audience { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
  .grid--4 > .audience .link-arrow { margin-top: 0; align-self: end; }
}

/* Ablauf */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__num { font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; color: var(--accent); }
.step p { color: var(--text-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pricing-note { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--surface-2); }
.section--alt .pricing-note { background: var(--surface); }
.pricing-note .icon { flex: none; color: var(--accent); margin-top: 2px; }
.pricing-note p { flex: 1; max-width: none; color: var(--text-2); }

/* Angebote: Wartungsvertrag & Empfehlung */
.offers { display: grid; gap: 20px; }
@media (min-width: 900px) { .offers { grid-template-columns: 1.15fr 1fr; } }
.offer { border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.offer--dark { background: var(--dark-offer); color: var(--dark-text); border: 1px solid var(--dark-line); }
.offer--dark p, .offer--dark .checklist li { color: var(--dark-text-2); }
.offer--dark .checklist .icon { color: var(--dark-accent); }
.offer--light { background: var(--surface); border: 1px solid var(--line); }
.offer .big { font-size: clamp(44px, 7vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: 1; hyphens: manual; max-width: none; }
.offer--dark .big .accent { color: var(--dark-accent); }
.offer .btn { align-self: flex-start; margin-top: auto; }
.offer--dark .btn--secondary { border-color: var(--dark-text); color: var(--dark-text); }
.offer--dark .btn--secondary:hover { background: var(--dark-ghost-hover); }
.fineprint { font-size: 13px !important; color: var(--text-3) !important; }
.offer--dark .fineprint { color: var(--dark-text-3) !important; }

/* Sonderleistungen */
.special-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 800px) { .special-list { grid-template-columns: repeat(2, 1fr); } }
.special { background: var(--surface); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.special__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.special p { color: var(--text-2); }
.special .badge { align-self: flex-start; }
.special--ask { background: var(--surface-2); justify-content: center; }
.addon { margin-top: 16px; display: flex; gap: 6px 12px; align-items: baseline; flex-wrap: wrap; font-size: var(--fs-article); line-height: var(--lh-article); color: var(--text-2); padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.addon strong { color: var(--text); font-weight: 600; }
.special-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; text-align: center; }
.special-cta p { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }

/* Zukunft (immer dunkel, DJI-Look) */
.future { background: var(--dark-bg); color: var(--dark-text); }
.future .kicker, .offer--dark .kicker { color: var(--dark-accent); }
.future .lead { color: var(--dark-text-2); }
.future-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .future-grid { grid-template-columns: repeat(3, 1fr); } }
.future-card { border-radius: var(--radius); background: var(--dark-surface); border: 1px solid var(--dark-line); overflow: hidden; display: flex; flex-direction: column; }
.future-card .ph { display: none; }   /* Markup bleibt für spätere Fotos; derzeit ausgeblendet */
.future-card__body { flex: 1; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.future-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.future-card__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--dark-accent) 10%, transparent); color: var(--dark-accent); }
.future-card__icon .icon { width: 22px; height: 22px; }
.future-card .h3 { margin: 0; }
.future-card .link-arrow { margin-top: auto; padding-top: 8px; color: var(--dark-accent); }
.future-card p { color: var(--dark-text-2); }
.future .badge { color: var(--dark-text-2); align-self: flex-start; }
.future .badge { align-items: flex-start; line-height: 1.5; }
.future .badge::before { flex: none; margin-top: .55em; content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dark-accent); }
.future-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--dark-line); }
.future-cta p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.future .btn--light { background: var(--dark-btn); color: var(--dark-btn-text); }
.future .btn--light:hover { background: var(--dark-btn-hover); }

/* Vorher-Nachher */
.ba-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 2fr 1fr; } .ba-grid .ba-item:first-child { grid-row: span 2; } }
.ba-item figcaption { margin-top: 12px; font-size: 15px; color: var(--text-2); }
.ba { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
.ba-grid .ba-item:first-child .ba { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .ba-grid .ba-item:first-child .ba { aspect-ratio: auto; height: calc(100% - 36px); min-height: 420px; } }
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ba__layer--before .ph { --ph-a: #B9BDC2; --ph-b: #8E949B; --ph-text: #111; }
@media (prefers-color-scheme: dark) { .ba__layer--before .ph { --ph-a: #2E3034; --ph-b: #3B3E43; --ph-text: #E5E7EA; } }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag { position: absolute; top: 14px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .66); color: #fff; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: rgba(255, 255, 255, .9); color: #000; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 12px rgba(0, 0, 0, .07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 22px; background-repeat: no-repeat; background-position: center; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; pointer-events: none; }
.ba:has(input:focus-visible) .ba__handle::after { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Über mich */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: 72px; } }
.about__text p:not(.kicker) { color: var(--text-2); font-size: 18px; margin-top: 18px; }
.about__text .h2 + p { margin-top: 24px; }
.about__sign { margin-top: 28px; font-weight: 600; color: var(--text); }
.about__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }

/* Bewertungen */
.reviews-empty { text-align: center; max-width: 640px; margin-inline: auto; padding: clamp(36px, 5vw, 56px) 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.stars { display: inline-flex; gap: 4px; color: var(--accent); }
.stars .icon { width: 22px; height: 22px; }
.stars--outline .icon { fill: none; stroke: currentColor; }
.reviews-empty h3 { margin-top: 18px; }
.reviews-empty p { color: var(--text-2); margin-top: 10px; }
.reviews-empty .btn { margin-top: 24px; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.reviews-summary .score { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.review { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 600; }
.review__name { font-weight: 600; line-height: 1.3; }
.review__date { font-size: 13px; color: var(--text-3); }
.review p { color: var(--text-2); }
.review .stars .icon { width: 16px; height: 16px; }
.reviews-source { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.consent-box { text-align: center; padding: 32px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--surface); max-width: 640px; margin: 24px auto 0; }
.consent-box p { font-size: 14px; color: var(--text-2); margin-bottom: 16px; }

/* 7 · Karte / Einzugsgebiet ------------------------------------------------ */
.area { display: grid; gap: 32px; align-items: start; }
.area > * { min-width: 0; }
@media (min-width: 960px) { .area { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .area__panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.area-map { margin: 0; }
.area-map__svg { width: 100%; height: auto; border-radius: var(--radius); }
/* Karte: 1:1 nach karte-referenz.html – nur Farben (Variablen) & Schrift angepasst */
.m-bg { fill: var(--map-bg); }
.m-ring30-fill { fill: var(--map-ring); fill-opacity: .08; }
.m-ring30 { stroke: var(--map-ring); }
.m-ring50 { stroke: var(--map-ring); }
.m-river { stroke: var(--map-river); }
.m-riverlabel { fill: var(--map-river-text); }
.m-ringlabel { fill: var(--map-ring); }
.m-leader { stroke: var(--map-text-2); }
.m-city { fill: var(--map-text); }
.m-city--s { fill: var(--map-text-2); }
.area-map__svg text { font-family: inherit; }
.m-home { fill: var(--map-ring); }
.m-home-ring { stroke: var(--map-ring); }
.m-home-label { fill: var(--map-ring); }
.m-search-line { stroke: var(--map-text); }
.m-search-dot { fill: var(--map-text); }
.m-search-ring { stroke: var(--map-text); }
#map-line, #map-pin { transition: opacity .3s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { display: inline-block; width: 28px; height: 14px; border-radius: 4px; }
.legend .l30 { background: var(--map-ring30-fill); border: 2px solid var(--map-ring); }
.legend .l50 { border: 2px dashed var(--map-ring); }
.map-credit { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.plz { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.section--alt .plz { border-color: transparent; }
.plz h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.03em; font-weight: 700; }
.plz > p { color: var(--text-2); margin-top: 8px; font-size: 16px; }
.plz form { display: flex; gap: 10px; margin-top: 20px; }
.plz input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; font-size: 18px; letter-spacing: .08em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--bg); }
.plz input:focus { outline: none; border-color: var(--text); }
.plz input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.plz-result { margin-top: 18px; min-height: 1px; }
.plz-result__box { padding: 18px 18px; border-radius: var(--radius-sm); background: var(--surface-2); display: grid; gap: 8px; }
.section--alt .plz-result__box { background: var(--bg-alt); }
.plz-result__title { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; font-size: 17px; line-height: 1.4; }
.plz-result__title .icon { width: 22px; height: 22px; margin-top: 1px; }
.plz-result--yes .plz-result__title .icon { color: var(--success); }
.plz-result--out .plz-result__title .icon { color: var(--text-3); }
.plz-result__meta { font-size: 14px; color: var(--text-3); }
.plz input[aria-invalid="true"] { border-color: var(--error); }
.plz-error { color: var(--error); font-size: 15px; font-weight: 500; }
.area__extra { margin-top: 24px; display: grid; gap: 14px; }
.area__extra p { color: var(--text-2); font-size: 16px; }

/* 8 · Kontakt & Formular --------------------------------------------------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 7fr; gap: 64px; } }
.quick { display: grid; gap: 12px; margin-top: 32px; }
.quick a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease); }
.quick a:hover { border-color: var(--text); }
.quick .q-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.quick a.q-primary .q-icon { background: var(--btn); color: #fff; }
.quick strong { display: block; font-size: 16px; font-weight: 600; }
.quick small { display: block; font-size: 14px; color: var(--text-2); }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.section--alt .form { border-color: transparent; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend, .field .label { font-size: 14px; font-weight: 600; color: var(--text); padding: 0; }
.field .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: var(--bg); font-size: 16px; transition: border-color .15s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E636A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--ghost-hover); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { font-size: 14px; color: var(--error); font-weight: 500; min-height: 0; }
.field .hint { font-size: 14px; color: var(--text-3); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); user-select: none; }
.chip span:hover { border-color: var(--text-3); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand-red); flex: none; }
.check input:focus:not(:focus-visible) { outline: none; }
.check input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; } /* Fokus-Ring dezent und abgesetzt, nicht Rot auf Rot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-subhead { font-size: 15px; font-weight: 650; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-subhead span { display: block; font-weight: 400; color: var(--text-3); font-size: 14px; margin-top: 2px; }
.form-status { margin-top: 16px; font-size: 15px; font-weight: 500; }
.form-status--ok { color: var(--success); }
.form-status--err { color: var(--error); }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* 9 · Footer --------------------------------------------------------------- */
.footer { background: var(--dark-bg); color: var(--dark-text-2); padding: 72px 0 36px; font-size: 15px; }
.footer { border-top: 1px solid var(--dark-line); }
.footer a { color: var(--dark-text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 800px) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; } .footer__grid > :first-child { grid-column: auto; } }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-text-3); margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer__claim { margin-top: 18px; max-width: 30ch; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--dark-text-3); }
.footer__bottom a { color: var(--dark-text-2); }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--dark-line); }
.social a:hover { border-color: var(--dark-text); text-decoration: none; }
.footer--slim { padding: 36px 0; }
.footer--slim .footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* Rechtstexte */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal .container { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-size: clamp(32px, 6vw, 56px); letter-spacing: -.035em; margin-bottom: 32px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text-2); margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--accent); }
.legal .note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 15px; }

/* 10 · Motion ------------------------------------------------------------- *
   Nur transform & opacity (GPU), Feder-Easing per linear(), alles abschaltbar
   über prefers-reduced-motion. Ablauf: .reveal -> .is-visible -> (JS) settled */
:root {
  /* ruhige Ausklang-Kurve ohne Überschwingen (seriöser als eine Feder) */
  --spring: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .25s; --t-med: .4s; --t-slow: .8s;
}

/* Scroll-Einblendung: leichtes Aufsteigen, kein Skalieren */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform var(--t-slow) var(--spring); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero-Auftakt beim Laden */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .hero .reveal { opacity: 0; transform: none; transition: none; animation: rise var(--t-slow) var(--spring) both; }
.js .hero .kicker.reveal { animation-delay: .05s; }
.js .hero .h1.reveal { animation-delay: .15s; }
.js .hero .lead.reveal { animation-delay: .3s; }
.js .hero .btn-row.reveal { animation-delay: .42s; }
/* Fokus-Moment „Der saubere Zug“: Das Hero-Bild wird wie mit einem Abzieher
   von links nach rechts freigelegt, eine helle Kante läuft mit und verlischt. */
.hero__media { --glint: rgba(255, 255, 255, .75); --sweep: cubic-bezier(.16, 1, .3, 1); }
.js .hero .hero__media.reveal { opacity: 1; animation: sweep-clip .95s var(--sweep) .55s both; }
.js .hero .hero__media .ph::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent calc(100% - 120px), var(--glint) calc(100% - 3px), transparent);
  animation: sweep-edge .95s var(--sweep) .55s both, sweep-fade .35s var(--ease) 1.4s forwards;
}
@keyframes sweep-clip { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweep-edge { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes sweep-fade { to { opacity: 0; } }
@media (prefers-color-scheme: dark) { .hero__media { --glint: rgba(255, 255, 255, .22); } }

/* Header reagiert aufs Scrollen */
.header { transition: border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease); }
.js .header:not(.is-scrolled) { border-bottom-color: transparent; }

/* Abheben von Karten (Schatten über Pseudo-Element -> nur opacity animiert) */
.card, .audience, .future-card, .review, .quick a { position: relative; transition: transform var(--t-med) var(--spring), border-color var(--t-fast) var(--ease); }
.card::after, .audience::after, .review::after, .quick a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 4px 28px rgba(0, 0, 0, .07); opacity: 0; transition: opacity var(--t-med) var(--ease);
}
@media (hover: hover) {
  /* Erst Rand vertiefen, dann weicher Schatten */
  .card:hover, .audience:hover, .future-card:hover, .review:hover, .quick a:hover { border-color: var(--line-strong); }
  .card:hover, .future-card:hover, .review:hover { transform: scale(1.02); }
  .audience:hover { transform: scale(1.03); }
  .quick a:hover { transform: scale(1.03); }
  .card:hover::after, .audience:hover::after, .review:hover::after, .quick a:hover::after { opacity: 1; }
  /* Icons bleiben ruhig – nur Fotos/Platzhalter zoomen minimal im Rahmen */
  .card .ph .icon, .future-card .ph .icon { transition: opacity .4s var(--ease); }
}
@media (prefers-color-scheme: dark) {
  /* Dunkel: feines Kantenlicht, kein schwerer Schatten */
  .card, .audience, .step, .future-card, .review, .offer, .quick a, .special { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
  .card::after, .audience::after, .review::after, .quick a::after { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 20px rgba(0, 0, 0, .28); }
}

/* Buttons: Farbwechsel beim Überfahren, kurzes Eindrücken beim Klick */
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.98); transition-duration: .1s; }
.chip span { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.link-arrow .icon { transition: transform var(--t-med) var(--spring); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Vertrauensleiste: Icons blenden ruhig ein */
.js .trust li .icon { opacity: 0; transition: opacity .5s var(--ease); }
.js .trust.is-visible li .icon { transform: none; opacity: 1; }
.js .trust.is-visible li:nth-child(2) .icon { transition-delay: .03s; }
.js .trust.is-visible li:nth-child(3) .icon { transition-delay: .06s; }
.js .trust.is-visible li:nth-child(4) .icon { transition-delay: .09s; }

/* WhatsApp-Button: im Intro unsichtbar, blendet per Unschärfe ein, sobald der erste Abschnitt (Hero) sichtbar ist (main.js setzt .is-in) */
.wa-float { transition: transform var(--t-med) var(--spring), opacity .6s var(--ease), filter .6s var(--ease), visibility 0s; }
.js .wa-float:not(.is-in) { opacity: 0; filter: blur(12px); transform: scale(.94); visibility: hidden; pointer-events: none; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease), visibility 0s .6s; }
/* Vorher/Nachher */
.ba.is-peeking { transition: none; }
.ba.is-peeking .ba__layer--after { transition: clip-path .9s var(--ease); }
.ba.is-peeking .ba__handle { transition: left .9s var(--ease); }

/* Karte: Marker ploppt auf, Linie zeichnet sich */
#map-pin-c1, #map-pin-c2 { transform-box: fill-box; transform-origin: center; }
.pin-pop #map-pin-c1 { animation: pin-pop .7s var(--spring); }
.pin-pop #map-pin-c2 { animation: pin-ring 1.2s var(--ease); }
@keyframes pin-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes pin-ring { 0% { transform: scale(.3); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.plz-result__box { animation: rise .6s var(--spring) both; }

/* 11 · Scroll-Effekte -------------------------------------------------------
   An die Scrollposition gekoppelt (CSS Scroll-Driven Animations), kein JS.
   Browser ohne Unterstützung zeigen die Seite einfach statisch.
   Bei „Bewegung reduzieren“ komplett aus. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Lesefortschritt: siehe Abschnitt „Fortschrittslinie“ (per JS, läuft auch auf dem Handy flüssig) */

    /* Hero-Text tritt beim Weiterscrollen sanft zurück */
    .hero__copy { animation: hero-recede linear both; animation-timeline: view(); animation-range: exit 55% exit 100%; }
    @keyframes hero-recede { to { opacity: 0; transform: translateY(-40px) scale(.97); } }

    /* Hero-Bild öffnet sich beim Hineinscrollen auf volle Breite */
    .hero__media .ph { animation: media-open linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @keyframes media-open { from { transform: scale(.9); border-radius: 44px; } to { transform: none; border-radius: 28px; } }

    /* Vorher/Nachher-Bilder gleiten aus leichter Verkleinerung heran */
    .ba { animation: ba-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes ba-in { from { transform: scale(.94); } to { transform: none; } }
  }
}

/* 11b · Unschärfe am unteren Bildschirmrand ------------------------------
   Progressiver Blur: 8 Ebenen, jede doppelt so stark wie die vorige, jeweils per Maske auf
   ein Band begrenzt – Inhalte verschwimmen sanft, je näher sie am unteren Rand sind.
   Markup steht in allen 6 Seiten vor </body> (rein dekorativ). */
.edge-blur { position: fixed; left: 0; right: 0; bottom: 0; height: 200px; z-index: 30; pointer-events: none; }
.edge-blur i { position: absolute; inset: 0; }
.edge-blur i:nth-child(1) { backdrop-filter: blur(.055px); -webkit-backdrop-filter: blur(.055px); mask: linear-gradient(transparent 0%, #000 12.5%, #000 25%, transparent 37.5%); }
.edge-blur i:nth-child(2) { backdrop-filter: blur(.11px);  -webkit-backdrop-filter: blur(.11px);  mask: linear-gradient(transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); }
.edge-blur i:nth-child(3) { backdrop-filter: blur(.22px);  -webkit-backdrop-filter: blur(.22px);  mask: linear-gradient(transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); }
.edge-blur i:nth-child(4) { backdrop-filter: blur(.44px);  -webkit-backdrop-filter: blur(.44px);  mask: linear-gradient(transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); }
.edge-blur i:nth-child(5) { backdrop-filter: blur(.875px); -webkit-backdrop-filter: blur(.875px); mask: linear-gradient(transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); }
.edge-blur i:nth-child(6) { backdrop-filter: blur(1.75px); -webkit-backdrop-filter: blur(1.75px); mask: linear-gradient(transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); }
.edge-blur i:nth-child(7) { backdrop-filter: blur(3.5px);  -webkit-backdrop-filter: blur(3.5px);  mask: linear-gradient(transparent 75%, #000 87.5%, #000 100%); }
.edge-blur i:nth-child(8) { backdrop-filter: blur(7px);    -webkit-backdrop-filter: blur(7px);    mask: linear-gradient(transparent 87.5%, #000 100%); }
@media (max-width: 639px) {
  .edge-blur { height: 110px; }
  /* Handy: die 4 schwächsten Ebenen (unter 0,5 px, kaum sichtbar) weglassen – spart Rechenleistung */
  .edge-blur i:nth-child(-n+4) { display: none; }
}
@media print { .edge-blur { display: none; } }
/* Sobald der Footer ins Bild kommt, blendet die Unschärfe aus (per JS: .is-end) – Footer bleibt klar lesbar. */
.edge-blur { transition: opacity .4s var(--ease); }
.edge-blur.is-end { opacity: 0; }

/* 12 · Logo-Intro (Dynamic Scroll) ------------------------------------------
   Vollbild-Bühne über der Seite. Das komplette Logo steht beim Laden da.
   Die erste Scroll-Geste (Mausrad, Wischen, Pfeil-/Leertaste oder Klick auf „Scrollen“)
   startet die Sequenz; sie läuft dann von selbst ab (ca. 2,6 s), die Seite scrollt so lange nicht:
   Phase 1  Schrift und Unterzeile blenden aus
   Phase 2  das „O“ (Emblem) rollt in die Bildschirmmitte
   Phase 3  der Ring blendet aus, das SVG-Haus wächst von der Mitte aus und verblasst –
            erst danach blendet die Bühne aus, Header und Hero stehen direkt oben.
   Ohne JavaScript steht das Logo als ruhiges Titelbild vor der Seite.
   Ausbauen: README → „Logo-Intro“. */
.intro { position: relative; height: 100vh; height: 100svh; background: var(--bg); }
.js .intro { position: fixed; inset: 0; z-index: 200; }
.intro.is-done { display: none; }
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro__stage { position: relative; height: 100%; display: grid; place-items: center; overflow: clip; }
.intro__logo { position: relative; width: min(84vw, 760px); aspect-ratio: 3392 / 988; animation: intro-in 1.8s cubic-bezier(.22, 1, .36, 1) .15s both; }
/* Logo erscheint langsam aus der Unschärfe */
@keyframes intro-in {
  from { opacity: 0; filter: blur(24px); transform: scale(.97); }
  60%  { opacity: 1; }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
.intro__logo > * { position: absolute; }
.intro__logo img { display: block; width: 100%; height: auto; }
.intro__word { left: 1.2087%; top: 1.3158%; width: 74.8821%; }
.intro__sub  { left: 1.2087%; top: 74.5951%; width: 97.6415%; }
.intro__emb  { left: 77.6533%; top: 1.3158%; width: 21.1969%; aspect-ratio: 719 / 703; }
.intro__emb > picture, .intro__emb > picture img, .intro__haus { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__haus { overflow: visible; transform-origin: 50% 45.5%; }
.intro__hint {
  position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.intro__hint svg { width: 20px; height: 20px; }
.intro__hint:hover { color: var(--accent); opacity: .75; }

@media (prefers-reduced-motion: no-preference) {
  /* Hinweis „Scrollen“ wippt leicht */
  .intro__hint svg { animation: intro-nudge 1.6s var(--ease) infinite; }
  @keyframes intro-nudge { 50% { transform: translateY(4px); } }
  @keyframes intro-fade { to { opacity: 0; } }
  @keyframes intro-fade-left { to { opacity: 0; transform: translateX(-4%); } }
  .intro.is-playing .intro__hint { animation: intro-fade .25s var(--ease) both; }
  /* Phase 1 – Schrift und Unterzeile blenden aus */
  .intro.is-playing .intro__word { animation: intro-fade-left .55s var(--ease) both; }
  .intro.is-playing .intro__sub  { animation: intro-fade .55s var(--ease) both; }
  /* Phase 2 – das „O“ rollt in die Bildschirmmitte: eine volle Umdrehung nach links.
     Emblem-Mitte liegt bei 88,25 % / 36,9 % des Logos → Versatz −180,4 % der Emblem-Breite; die Höhe bleibt unverändert (rollt waagerecht). */
  .intro.is-playing .intro__emb { animation: intro-roll 1.1s cubic-bezier(.45, 0, .25, 1) .1s both; }
  @keyframes intro-roll {
    from { transform: translate(0, 0) rotate(0deg); }
    to   { transform: translate(-180.4%, 0) rotate(-360deg); }
  }
  /* Phase 3 – der Ring verschwindet, nur das SVG-Haus wächst von dort aus (Vektor, bleibt scharf) */
  .intro.is-playing .intro__emb > picture { animation: intro-fade .4s linear 1.2s both; }
  /* Größe und Deckkraft laufen getrennt: das Haus wächst beschleunigt und wird dabei
     von Anfang an gleichmäßig durchsichtiger – kein plötzliches Verschwinden am Ende */
  .intro.is-playing .intro__haus {
    animation: intro-grow 1.2s cubic-bezier(.55, 0, .8, .2) 1.2s both, intro-haus-fade 1.25s linear 1.2s both;
  }
  @keyframes intro-grow {
    from { transform: none; }
    to   { transform: scale(12); }
  }
  @keyframes intro-haus-fade {
    0%   { opacity: 1; }
    35%  { opacity: .82; }
    70%  { opacity: .45; }
    100% { opacity: 0; }
  }
  /* Zum Schluss: weicher Blur-Übergang – die Bühne wird durchsichtig, die Seite darunter
     erscheint zuerst unscharf und wird dann scharf (backdrop-filter läuft von 28px auf 0) */
  .intro.is-playing { animation: intro-blur-out 1.1s cubic-bezier(.4, 0, .2, 1) 2.2s both; }
  @keyframes intro-blur-out {
    0%   { background-color: var(--bg); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
    45%  { background-color: transparent; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
    100% { background-color: transparent; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .intro.is-playing { animation: intro-fade .5s var(--ease) 2.3s both; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .js .trust li .icon, .js .wa-float { opacity: 1; transform: none; animation: none; }
  .js .hero .hero__media.reveal { animation: none; clip-path: none; }
  .js .hero .hero__media .ph::before { display: none; }
  .m-home-ring, .wa-float::before { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .header, .wa-float, .mobile-nav { display: none !important; } }

/* Leistungen: Rhythmus wie von Hand gesetzt statt gleichförmigem Raster.
   Kompakte Karten: Icon + Titel und „Zur Leistung“ (Details stehen auf den Unterseiten).
   „Zur Leistung“ sitzt unten (margin-top: auto), dadurch in jeder Reihe auf einer Linie. */
#leistungen .section-head { margin-bottom: clamp(36px, 5vw, 60px); }
#leistungen .section-head .lead { margin-top: 18px; }
#leistungen .grid--3 { column-gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(24px, 3.6vw, 44px); align-items: stretch; }
#leistungen .card .ph { aspect-ratio: 16 / 10; }
#leistungen .card__head { gap: 12px; padding: 22px 26px 0; align-items: flex-start; }
#leistungen .card__head .h3 { padding-top: 8px; }
#leistungen .card__actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 16px 26px 22px; }
#leistungen .card__actions .link-arrow { font-size: 15px; }

/* Sonderleistungen: Zusatzhinweis (Badge) immer unten im Kasten, auf einer Linie */
.special .badge { margin-top: auto; }
.special > p { margin-bottom: 4px; }
/* „Sonderanfrage stellen“: färbt sich beim Überfahren ganz langsam rot */
.special-cta .btn--dark { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.special-cta .btn--dark:hover, .special-cta .btn--dark:focus-visible { background: var(--brand-red); border-color: var(--brand-red); color: #FFF; }

/* Navigation: Leistungen-Dropdown ---------------------------------------- */
.nav { align-items: center; }
.nav__drop { position: relative; }
.nav__drop-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2);
}
.nav__drop-btn:hover, .nav__drop-btn[aria-expanded="true"] { color: var(--text); }
.nav__drop-btn .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__drop-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -18px; z-index: 60; min-width: 300px; padding: 8px;
  display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* Hover-Brücke */
.nav__drop-btn[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) {
  .nav__drop:hover .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.nav .nav__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text); }
.nav .nav__menu a:hover, .nav .nav__menu a:focus-visible { background: var(--ghost-hover); }
.nav .nav__menu a[aria-current="page"] { color: var(--accent); }
.nav__menu a .icon { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.nav .nav__menu .nav__menu-all { color: var(--text-2); font-size: 13px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
@media (prefers-color-scheme: dark) { .nav__menu { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 32px rgba(0, 0, 0, .4); } }
/* mobil: Leistungen als aufklappbare Gruppe */
.mobile-nav__group { border-bottom: 1px solid var(--line); }
.mobile-nav__group summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 600; letter-spacing: -.02em;
}
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group summary .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.mobile-nav__group[open] summary .icon { transform: rotate(180deg); }
.mobile-nav .mobile-nav__group a:not(.btn) { padding: 10px 0 10px 14px; font-size: 16px; font-weight: 500; border-bottom: 0; color: var(--text-2); }
.mobile-nav .mobile-nav__group a[aria-current="page"] { color: var(--accent); }
.mobile-nav__group a:last-child { margin-bottom: 10px; }

/* Leistungs-Unterseiten ---------------------------------------------------- */
.svc-hero { text-align: left; padding-bottom: clamp(32px, 5vw, 56px); }
.svc-hero .h1 { margin-inline: 0; max-width: 18ch; font-size: clamp(36px, 6vw, 64px); }
.svc-hero .lead { margin-inline: 0; margin-top: 18px; }
.svc-hero .btn-row { justify-content: flex-start; margin-top: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); font-size: var(--fs-meta); color: var(--text-3); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); }
.svc-hero__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--surface-2); color: var(--accent); }
.svc-hero__icon .icon { width: 26px; height: 26px; }
.svc-glance { padding-top: 0; }
.svc-glance .ph { border-radius: var(--radius); }
.svc-facts { display: grid; gap: 28px 40px; margin: clamp(36px, 5vw, 56px) 0 0; }
.svc-facts div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-facts dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.svc-facts dd { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.svc-facts dd strong { color: var(--text); font-weight: 600; }
.svc-facts .svc-facts__win { border-color: var(--accent); }
.svc-facts .svc-facts__win dt { color: var(--accent); }
@media (min-width: 900px) { .svc-facts { grid-template-columns: repeat(3, 1fr); } }
.svc-links { display: grid; gap: 12px; }
@media (min-width: 640px) { .svc-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-links { grid-template-columns: repeat(3, 1fr); } }
.svc-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none;
  transition: transform var(--t-med) var(--spring), border-color var(--t-fast) var(--ease);
}
.svc-link > span:nth-child(2) { flex: 1; }
.svc-link > .icon { width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease), color .25s var(--ease); }
@media (hover: hover) {
  .svc-link:hover { transform: scale(1.02); border-color: var(--line-strong); }
  .svc-link:hover > .icon { transform: translateX(3px); color: var(--accent); }
}
.svc-cta .btn-row { justify-content: center; }
.svc-cta__area { max-width: 620px; margin: 32px auto 0; text-align: center; color: var(--text-2); font-size: var(--fs-meta); }
.svc-cta__area .link-arrow { margin-left: 4px; }
.svc-glance .ph--wide { aspect-ratio: 21 / 9; }
/* Dropdown: Eintrag färbt sich beim Überfahren rot (alle Punkte, inkl. „Alle Leistungen“) */
.nav .nav__menu a { transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav .nav__menu a:hover, .nav .nav__menu a:focus-visible,
.nav .nav__menu .nav__menu-all:hover, .nav .nav__menu .nav__menu-all:focus-visible { background: var(--brand-red); color: #FFF; }
.nav .nav__menu a:hover .icon, .nav .nav__menu a:focus-visible .icon { color: #FFF; }
/* Navigationsleiste: roter Kasten beim Überfahren – wie im Leistungen-Menü */
@media (min-width: 1000px) {
  .nav { gap: 4px; }
  .nav > a, .nav__drop-btn { padding: 8px 12px; border-radius: 10px; transition: background-color .25s var(--ease), color .25s var(--ease); }
  .nav > a:hover, .nav > a:focus-visible,
  .nav__drop-btn:hover, .nav__drop-btn:focus-visible, .nav__drop:hover .nav__drop-btn { background: var(--brand-red); color: #FFF; }
  .nav__menu { left: 0; }
}
/* Unterseiten: Icon direkt neben dem Titel */
.svc-hero__title { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); }
.svc-hero__title .svc-hero__icon { flex: none; margin-bottom: 0; width: clamp(48px, 6vw, 64px); height: clamp(48px, 6vw, 64px); border-radius: 16px; }
.svc-hero__title .svc-hero__icon .icon { width: 50%; height: 50%; }
.svc-hero__title .h1 { margin: 0; }
/* Intro → Seite: Hero-Text und Vertrauensleiste sind während des Intros unsichtbar
   und blenden über die Deckkraft ein, sobald das Haus verschwindet (Klasse aus main.js). */
html.intro-lock .hero > .container, html.intro-lock .trust { opacity: 0; }
.js .hero > .container, .js .trust { transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1); }
html.intro-lock.intro-reveal .hero > .container, html.intro-lock.intro-reveal .trust { opacity: 1; }
/* Leistungen (Startseite): Foto-Platzhalter vorerst ausgeblendet.
   Das Markup (<div class="ph" …>) bleibt in index.html / en/index.html stehen –
   für echte Fotos später diese Regel löschen und die Platzhalter durch <img> ersetzen. */
#leistungen .card .ph { display: none; }
#leistungen .card__head { padding-top: 26px; }

/* Vorher / Nachher auf den Leistungsseiten: ein großer Vergleich je Leistung */
.svc-ba .ba { aspect-ratio: 16 / 9; }
@media (max-width: 639px) { .svc-ba .ba { aspect-ratio: 4 / 3; } }

/* Kontaktformular: roter Rahmen */
#kontakt .form { border: 2px solid var(--brand-red); }

/* Footer: rote Unterstreichung, Instagram-Feld wird beim Hovern rot */
.footer a { text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .25s; }
.footer a:hover, .footer a:focus-visible { text-decoration-line: underline; text-decoration-color: var(--brand-red); }
.footer .logo, .footer .social a { text-decoration: none !important; }
.social a { transition: background-color .25s, border-color .25s, color .25s; }
.social a:hover, .social a:focus-visible { background: var(--brand-red); border-color: var(--brand-red); color: #FFF; }

/* Kontakt: alle Icon-Felder in Rot wie WhatsApp */
.quick .q-icon, .quick a.q-primary .q-icon { background: var(--brand-red); color: #FFF; }

/* Footer: Unterstreichung kommt beim Hovern sanft von unten hoch */
.footer a:not(.logo):not(.social a) {
  text-decoration: none !important;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--brand-red), var(--brand-red));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 calc(100% + 4px);
  transition: background-position .35s cubic-bezier(.22, 1, .36, 1);
}
.footer a:not(.logo):not(.social a):hover,
.footer a:not(.logo):not(.social a):focus-visible { background-position: 0 100%; }
@media (prefers-reduced-motion: reduce) { .footer a:not(.logo):not(.social a) { transition: none; } }
/* Footer-Links: etwas größere Trefferfläche (≥ 24 px) für Touch */
.footer li a { display: inline-block; padding-top: 2px; padding-bottom: 4px; }
/* Footer: Spaltenüberschriften in Rot */
.footer h2 { color: var(--dark-accent); }
/* Zukunft: Link umschließt nur seinen Text, Pfeil bleibt am Wort */
.future-card .link-arrow { display: block; }
.future-card .link-arrow .icon { display: inline-block; vertical-align: -4px; margin-left: 6px; }
.nowrap { white-space: nowrap; }

/* =========================================================================
   Seitenübergang zwischen allen Seiten: vertikaler Vorhang („Wipe“)
   Native „View Transitions“ (Chrome/Edge, Safari 18.2+): Die neue Seite
   wird von oben nach unten über der alten aufgedeckt (0,7 s, ease-in-out).
   Nur clip-path, die alte Seite bleibt darunter stehen. Andere Browser
   wechseln sofort. Bei „weniger Bewegung“ aus.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: pt-wipe .7s ease-in-out both; }
  /* Header bewusst ohne eigenen Übergang: er ist auf allen Seiten gleich und steht an
     derselben Stelle, so wischt der Vorhang ihn unsichtbar mit (kein Springen). */
}
@keyframes pt-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* =========================================================================
   404-Seite
   ========================================================================= */
.notfound { padding-block: clamp(56px, 10vw, 120px); }
.notfound .container { max-width: calc(760px + 2 * var(--gutter)); }
.notfound__code { font-size: clamp(96px, 20vw, 200px); font-weight: 800; line-height: .85; letter-spacing: -.06em; color: var(--brand-red); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.notfound .h1 { margin-top: 10px; text-wrap: balance; }
.notfound .lead { margin-top: 18px; max-width: 54ch; color: var(--text-2); }
.notfound .btn-row { margin-top: 32px; }
.notfound__links { margin-top: clamp(48px, 8vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.notfound__links h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.notfound__links ul { display: grid; gap: 4px 28px; }
@media (min-width: 640px) { .notfound__links ul { grid-template-columns: 1fr 1fr; } }
.notfound__links a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; font-weight: 500;
  background: linear-gradient(var(--brand-red), var(--brand-red)) no-repeat 0 calc(100% + 4px) / 100% 2px; transition: background-position .35s cubic-bezier(.22, 1, .36, 1); }
.notfound__links a:hover, .notfound__links a:focus-visible { background-position: 0 100%; }
.notfound__en { margin-top: 36px; font-size: 15px; color: var(--text-3); }
.notfound__en a { color: var(--accent); }


/* Intro nur beim ersten Seitenaufruf eines Besuchs (Klasse wird im <head> gesetzt, main.js beendet es dann sofort) */
html.intro-skip .intro { display: none !important; }

/* =========================================================================
   Texte nutzen die volle Inhaltsbreite: keine schmalen Textspalten,
   kein vorgezogenes Umbrechen (balance/pretty) – Zeilen laufen bis zum Rand.
   ========================================================================= */
.section-head, .hero .h1, .hero .lead, .svc-hero .h1, .svc-cta__area,
.notfound .lead, .footer__claim, .reviews-empty, .consent-box,
:where(.card, .audience, .step, .special, .future-card, .offer, .review, .pricing-note, .addon) :where(p, dd, li) { max-width: none; }
.notfound .container { max-width: calc(var(--maxw) + 2 * var(--gutter)); }
h1, h2, h3, h4, p, .lead, .audience .link-arrow, .notfound .h1 { text-wrap: wrap; }
.hero .h1 .accent-line { display: inline; }
.legal .container { max-width: calc(var(--maxw) + 2 * var(--gutter)); }

/* ---------- Hero: Punktmuster (nach DotPattern, ohne React) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.dot-pattern {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  fill: color-mix(in srgb, var(--text-3) 45%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 45%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 70% at 50% 45%, #000 0%, transparent 100%);
}
@media (max-width: 639px) {
  .dot-pattern { -webkit-mask-image: radial-gradient(ellipse 95% 60% at 50% 40%, #000 0%, transparent 100%);
                         mask-image: radial-gradient(ellipse 95% 60% at 50% 40%, #000 0%, transparent 100%); }
}

/* ---------- Hero: ein Glanzpunkt – rotes Licht von oben, läuft nach unten in den Seitenhintergrund aus ---------- */
.hero {
  --hero-glow: color-mix(in srgb, var(--brand-red) 16%, var(--bg));
  background: radial-gradient(85% 75% at 50% 0%, var(--hero-glow) 0%, color-mix(in srgb, var(--hero-glow) 35%, var(--bg)) 38%, var(--bg) 72%);
}
/* nur auf der Startseite – Unterseiten (Leistungen, Über mich) bleiben ohne Verlauf */
.svc-hero { background: none; }
@media (prefers-color-scheme: dark) {
  .hero { --hero-glow: color-mix(in srgb, var(--brand-red) 30%, var(--bg)); }
}

/* ---------- Leistungs-Kacheln: Titel immer einzeilig ----------
   Icon über dem Titel, damit der Titel die volle Kachelbreite hat; die Schriftgröße
   richtet sich nach der Kachelbreite und dem längsten Titel (DE 15,7 em, EN 13,3 em). */
#leistungen .card { container-type: inline-size; --title-em: 16.2; }
html[lang="en"] #leistungen .card { --title-em: 13.8; }
#leistungen .card__head { flex-direction: column; align-items: flex-start; gap: 16px; }
#leistungen .card__head .h3 { padding-top: 0; white-space: nowrap; font-size: min(24px, calc((100cqi - 52px) / var(--title-em))); }
@media (min-width: 1000px) and (max-width: 1199px) { #leistungen .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Fortschrittslinie unter der Navigation (ersetzt die Scrollleiste) ----------
   Eigenes, fest positioniertes Element statt ::after im klebenden Header: Auf dem Handy
   ruckelte die an die Scrollposition gekoppelte CSS-Animation, wenn die Adressleiste ein-
   und ausfährt, und verschwand teils. main.js führt die Linie pro Bild per transform nach
   (läuft auf der GPU) und setzt html.has-progress – nur dann wird die normale Leiste versteckt. */
.scroll-progress {
  position: fixed; left: 0; right: 0; top: var(--header-h); height: 2px; z-index: 51;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none; will-change: transform; contain: strict;
}
html.has-progress { scrollbar-width: none; }
html.has-progress::-webkit-scrollbar { display: none; }
html.intro-lock .scroll-progress { opacity: 0; }
@media print { .scroll-progress { display: none; } }

/* ---------- Kopfzeile auf Tablet und Handy: Logo mit Trennstrich und Slogan ----------
   Gleiche Grenze wie das Burger-Menü (999 px). Die <picture>-Quellen tauschen die Datei,
   hier nur Seitenverhältnis und Größe (540 × 157 px Quelle, angezeigt 44 px hoch). */
@media (max-width: 999px) {
  .header .logo img { width: auto; height: 44px; aspect-ratio: 540 / 157; }
}
@media (max-width: 359px) {
  .header .logo img { height: 38px; }
}

/* ---------- Seite „Über mich“ ---------- */
.about-hero .about { margin-top: 8px; }
.about-hero .about__text .h2 { font-size: clamp(30px, 4.4vw, 48px); }
.values .card__body { gap: 12px; padding: 28px; }
.values .card__icon { color: var(--accent); margin-bottom: 4px; }
.values .h3 { margin: 0; }
.values p { color: var(--text-2); }

/* ---------- Hero-Überschrift: zweite Zeile in Schwarz, ab Tablet genau zwei Zeilen ----------
   Schriftgröße aus der Spaltenbreite: Gesamtlänge der Überschrift DE ≈ 44,4 em, EN ≈ 36,3 em;
   halbiert plus Reserve für Wortumbrüche → Teiler 23,8 (DE) bzw. 19,6 (EN). Auf dem Handy
   (unter 700 px) wäre das zu klein – dort bleibt die normale Größe. */
.hero .h1 .accent-line { color: var(--text); }
@media (min-width: 700px) {
  .hero__copy { container-type: inline-size; }
  .hero__copy .h1 { --h1-em: 23.8; font-size: min(72px, calc(100cqi / var(--h1-em))); text-wrap: balance; }
  html[lang="en"] .hero__copy .h1 { --h1-em: 19.6; }
}

/* ---------- Kontaktformular kompakter ----------
   Schmalere Spalte, engere Abstände, niedrigere Felder (min. 44 px = gute Touch-Fläche,
   Schrift in Feldern bleibt 16 px, sonst zoomt iOS beim Antippen). */
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
#kontakt .form { padding: clamp(20px, 3vw, 28px); border-radius: 24px; }
#kontakt .form-grid { gap: 12px 14px; }
#kontakt .field { gap: 4px; }
#kontakt .field label, #kontakt .field legend { font-size: 14px; }
#kontakt .field input, #kontakt .field select, #kontakt .field textarea { min-height: 44px; padding: 9px 12px; }
#kontakt .field textarea { min-height: 92px; }
#kontakt .chips { gap: 6px; }
#kontakt .chip span { min-height: 34px; padding: 0 12px; font-size: 14px; }
#kontakt .form-subhead { padding-top: 8px; margin-top: 2px; font-size: 14px; }
#kontakt .check { font-size: 14px; }

/* ---------- Kontakt + Ablauf in einer Section ----------
   Formular noch kürzer (Felder paarweise, kleines Nachrichtenfeld), darunter der Ablauf
   als drei kompakte Kacheln. */
#kontakt .field textarea { min-height: 76px; }
#kontakt .form-grid { gap: 10px 14px; }
#kontakt .field input, #kontakt .field select { min-height: 44px; padding-block: 8px; }
#kontakt .chip span { min-height: 32px; padding: 0 11px; font-size: 14px; }
#kontakt .form .btn--block { min-height: 48px; }
#kontakt .contact-steps { margin-top: clamp(40px, 5vw, 64px); }
.contact-steps__head { margin-bottom: 18px; }
.contact-steps__head .kicker { margin-bottom: 6px; }
#kontakt .steps { gap: 14px; }
#kontakt .step { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
#kontakt .step__num { font-size: 34px; margin: 0; grid-row: span 2; }
#kontakt .step h3 { font-size: 18px; margin-bottom: 4px; }
#kontakt .step p { font-size: 15px; }
#kontakt .pricing-note { margin-top: 14px; padding: 16px 20px; }
#kontakt .pricing-note p { font-size: 15px; }

/* ---------- Graue Abschnitte: deutlich erkennbare Fläche mit kurzem, weichem Übergang ----------
   Nur dort, wo ein nicht-grauer Nachbar anschließt, läuft das Grau auf kurzer Strecke in die
   Grundfarbe aus; zwei graue Abschnitte hintereinander bilden eine durchgehende Fläche. */
.section--alt {
  --fade: clamp(32px, 4vw, 56px);
  --fade-top: var(--bg-alt); --fade-bottom: var(--bg-alt);
  background: linear-gradient(to bottom, var(--fade-top) 0, var(--bg-alt) var(--fade), var(--bg-alt) calc(100% - var(--fade)), var(--fade-bottom) 100%);
}
:is(.section:not(.section--alt):not(.future), .hero, .trust) + .section--alt { --fade-top: var(--bg); }
.section--alt:has(+ .section:not(.section--alt):not(.future)),
main > .section--alt:last-child { --fade-bottom: var(--bg); }

/* ---------- Ablauf: Kacheln kommen nacheinander hoch (wie eine Aufzählung) ----------
   Verzögerung je Kachel steht im HTML (--d: 0 / .22 / .44 s, Preis-Hinweis .66 s);
   hier nur ein deutlicherer Weg nach oben. Bei „Bewegung reduzieren“ greift die
   allgemeine Regel weiter oben (alles sofort sichtbar). */
.js .steps .step.reveal { transform: translateY(40px); transition-duration: .8s, .9s; }
.js .steps .step.reveal.is-visible { transform: none; }

/* Kontaktwege stehen wieder direkt unter dem Einleitungstext (nicht mehr bündig mit dem Formularende) */

/* ---------- Formular: Fehlermeldungen verschieben nichts ----------
   Felder werden nicht mehr auf die Höhe der Nachbarspalte gestreckt (sonst wurde z. B.
   „Ort / PLZ“ hoch, wenn daneben eine Fehlermeldung stand). Meldungen kompakt. */
.form-grid { align-items: start; }
.field { align-content: start; }
.field .err:empty { display: none; }
.field .err { font-size: 13px; line-height: 1.35; margin-top: 2px; }

/* ---------- Startseiten-Hero: höher, Inhalt vertikal mittig ---------- */
.hero:not(.svc-hero) {
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(560px, calc(100svh - var(--header-h, 72px)), 980px);
}
@media (max-width: 639px) {
  .hero:not(.svc-hero) { min-height: clamp(520px, calc(88svh - var(--header-h, 64px)), 760px); }
}

/* ---------- Ablauf: angehefteter Block, Kacheln per Scrollweg ---------- */
#kontakt .pin-track { position: relative; margin-top: clamp(40px, 5vw, 64px); }
#kontakt .pin-track > .contact-steps { margin-top: 0; }
#kontakt .contact-steps.is-pinned {
  position: sticky; top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 8px;
}
@media (max-width: 639px) {
  /* etwas kompakter, damit der Ablauf auch auf dem Handy angeheftet ins Fenster passt */
  #kontakt .steps { gap: 10px; }
  #kontakt .step { padding: 14px 18px; }
  #kontakt .contact-steps__head { margin-bottom: 16px; }
  #kontakt .pricing-note { margin-top: 12px; }
}
@media (max-width: 639px) { #kontakt .contact-steps.is-pinned { padding-block: 0; } }

/* ---------- Kontakt: Ablauf über dem Formular, Bereich kompakter ---------- */
#kontakt { padding-block: clamp(56px, 8vw, 104px); }
#kontakt .contact-steps { margin-top: 0; margin-bottom: clamp(32px, 4vw, 56px); }
#kontakt .pin-track { margin-top: 0; margin-bottom: clamp(32px, 4vw, 56px); }
#kontakt .pin-track > .contact-steps { margin-bottom: 0; }
#kontakt .contact-steps__head { margin-bottom: 14px; }
#kontakt .contact-steps__head .h3 { font-size: clamp(18px, 2vw, 22px); }
#kontakt .steps { gap: 12px; }
#kontakt .step { padding: 16px 18px; column-gap: 14px; }
#kontakt .step__num { font-size: 28px; }
#kontakt .step h3 { font-size: 17px; margin-bottom: 2px; }
#kontakt .step p { font-size: 14px; line-height: 1.5; }
#kontakt .pricing-note { margin-top: 12px; padding: 14px 18px; }
#kontakt .pricing-note p { font-size: 14px; }
@media (max-width: 639px) {
  #kontakt .steps { gap: 10px; }
  #kontakt .step { padding: 14px 16px; }
}
/* angeheftet: nur so hoch wie der Inhalt (Position „top“ setzt main.js mittig) */
#kontakt .contact-steps.is-pinned { min-height: 0; padding-block: 0; display: block; }

/* ---------- Sonderleistungen: kompakter als „Leistungen“ ---------- */
#sonderleistungen { padding-block: clamp(48px, 6.5vw, 96px); }
#sonderleistungen .section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
#sonderleistungen .special { padding: 22px 22px; gap: 10px; }
#sonderleistungen .addon { margin-top: 12px; padding: 16px 22px; }
#sonderleistungen .special-cta { margin-top: 28px; }
/* Hinweis (Badge) rechts neben dem Titel statt in eigener Zeile */
@media (min-width: 1100px) {
  #sonderleistungen .special { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 8px; align-content: start; }
  #sonderleistungen .special__top { grid-column: 1; grid-row: 1; }
  #sonderleistungen .special .badge { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  #sonderleistungen .special > p { grid-column: 1 / -1; margin: 0; }
}
#sonderleistungen .special .h3 { font-size: clamp(18px, 1.6vw, 20px); }

/* ---------- Startseite: Kurzhinweis „Vorteile“ (Details auf vorteile.html) ---------- */
#vertraege { padding-block: clamp(40px, 5vw, 64px); }
.benefits-teaser { display: grid; gap: 18px 40px; align-items: center; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.benefits-teaser__head .kicker { margin-bottom: 6px; }
.benefits-teaser__head .h3 { margin: 0; }
.benefits-teaser__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefits-teaser__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.benefits-teaser__list li strong { color: var(--text); font-weight: 600; }
.benefits-teaser__list .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand-red); }
.benefits-teaser .btn { justify-self: start; }
@media (min-width: 960px) {
  .benefits-teaser { grid-template-columns: auto 1fr auto; }
  .benefits-teaser .btn { justify-self: end; }
}

/* ---------- Cookie-Einwilligung: Banner und Einstellungen ---------- */
.consent-banner {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  padding: 18px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) calc(18px + env(safe-area-inset-bottom));
  background: var(--surface); color: var(--text);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .08);
  display: grid; grid-template-columns: 1fr; column-gap: 40px; align-items: center;
  opacity: 0; transform: translateY(100%); transition: opacity .25s var(--ease), transform .3s var(--ease);
}
@media (min-width: 960px) {
  .consent-banner { grid-template-columns: 1fr auto; }
  .consent-banner__title, .consent-banner__text { grid-column: 1; }
  .consent-banner__actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
}
.consent-banner.is-open { opacity: 1; transform: none; }
.consent-banner__title { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 6px; }
.consent-banner__text { font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 0; }
.consent-banner__text a { color: var(--text); }
.consent-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.consent-banner__actions .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
.consent-banner__link { background: none; border: 0; padding: 6px 2px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html.has-consent-banner .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 639px) {
  .consent-banner { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); }
}
@media (prefers-color-scheme: dark) { .consent-banner { box-shadow: 0 -8px 32px rgba(0, 0, 0, .5); } }

.consent-dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
}
.consent-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.consent-dialog__inner { padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.consent-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-dialog__head .h3 { margin: 0; }
.consent-dialog__x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--text); border-radius: 10px; cursor: pointer; }
.consent-dialog__x:hover { background: var(--surface-2); }
.consent-dialog__text { font-size: 15px; color: var(--text-2); margin: 0; }
.consent-opt { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px); }
.consent-opt h3 { font-size: 16px; font-weight: 650; margin: 0 0 4px; }
.consent-opt p { font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 0; }
.consent-opt__always { flex: none; font-size: 13px; font-weight: 600; color: var(--text-2); padding-top: 2px; }
.consent-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.consent-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.consent-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--text-3); transition: background-color .2s var(--ease); }
.consent-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFF; transition: transform .2s var(--ease); }
.consent-switch input:checked + span { background: var(--brand-red); }
.consent-switch input:checked + span::after { transform: translateX(20px); }
.consent-switch input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.consent-dialog__actions .btn { flex: 1 1 160px; justify-content: center; }
.consent-settings-btn { margin-top: 8px; }
@media print { .consent-banner, .consent-dialog { display: none !important; } }
/* Cookie-Banner flacher: Titel im Text, kleinere Schrift und Buttons, alles in einer Zeile ab 960 px */
.consent-banner { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); row-gap: 10px; }
.consent-banner__title { font-size: inherit; font-weight: 650; color: var(--text); margin: 0; }
.consent-banner__text { font-size: 13px; line-height: 1.45; }
.consent-banner__actions { margin-top: 0; gap: 8px; }
.consent-banner__actions .btn { min-height: 36px; padding-block: 0; padding-inline: 14px; font-size: 13px; }
.consent-banner__link { font-size: 13px; padding: 4px 2px; }
@media (min-width: 960px) {
  .consent-banner__actions { grid-row: 1; }
}
@media (max-width: 639px) {
  .consent-banner { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .consent-banner__actions { flex-wrap: nowrap; }
  .consent-banner__actions .btn { padding-inline: 10px; }
}

/* ---------- Zielgruppen: kompakter (niedriger als „Leistungen“) ---------- */
#fuer-wen { padding-block: clamp(48px, 6.5vw, 96px); }
#fuer-wen .section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
#fuer-wen .grid--4 { column-gap: 16px; }
#fuer-wen .audience { padding: 22px 20px; }
#fuer-wen .grid--4 > .audience { row-gap: 10px; }
#fuer-wen .audience .h3 { font-size: clamp(18px, 1.5vw, 20px); }
#fuer-wen .audience p { font-size: 14px; line-height: 1.5; }
#fuer-wen .audience .checklist { gap: 6px; }
#fuer-wen .audience .checklist li { font-size: 14px; line-height: 1.45; }
#fuer-wen .audience .link-arrow { font-size: 14px; padding-top: 20px; }

/* ---------- Handy: Leistungen und Zielgruppen zweispaltig (kürzere Seite) ---------- */
@media (max-width: 639px) {
  #leistungen .grid--3, #fuer-wen .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 10px; }

  /* Leistungen: Icon, Titel (darf umbrechen), Link */
  #leistungen .card__head { padding: 16px 14px 0; gap: 10px; }
  #leistungen .card__icon { width: 38px; height: 38px; border-radius: 10px; }
  #leistungen .card__icon .icon { width: 20px; height: 20px; }
  #leistungen .card__head .h3 { white-space: normal; font-size: 16px; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
  #leistungen .card__actions { padding: 10px 14px 14px; }
  #leistungen .card__actions .link-arrow { font-size: 14px; }

  /* Zielgruppen: kleinere Schrift, schmalere Innenabstände */
  #fuer-wen .audience { padding: 14px 12px; row-gap: 8px; }
  #fuer-wen .audience > .icon { width: 20px; height: 20px; }
  #fuer-wen .audience .h3 { font-size: 16px; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
  #fuer-wen .audience p { font-size: 14px; line-height: 1.45; hyphens: auto; }
  #fuer-wen .audience .checklist { gap: 5px; }
  #fuer-wen .audience .checklist li { font-size: 14px; line-height: 1.4; gap: 6px; hyphens: auto; }
  #fuer-wen .audience .checklist .icon { width: 14px; height: 14px; margin-top: 2px; }
  #fuer-wen .audience .link-arrow { font-size: 14px; }
}
@media (max-width: 639px) {
  /* lange Wörter (z. B. „Fotodokumentation“) dürfen die schmale Kachel nicht sprengen */
  #fuer-wen .audience, #fuer-wen .audience > *, #fuer-wen .audience .checklist li > :not(.icon) { min-width: 0; }
  #fuer-wen .audience :where(h3, p, li, a) { overflow-wrap: break-word; }
}
@media (max-width: 639px) {
  #fuer-wen .audience .checklist { grid-template-columns: minmax(0, 1fr); }
  #fuer-wen .audience .checklist li { overflow-wrap: anywhere; }
}
/* sehr schmale Handys (< 360 px): wieder einspaltig, sonst brechen Wörter mitten im Wort */
@media (max-width: 359px) {
  #leistungen .grid--3, #fuer-wen .grid--4 { grid-template-columns: minmax(0, 1fr); }
}
/* Zielgruppen mobil: Checkliste auf den ersten Punkt kürzen (Rest bleibt im HTML, ab 640 px sichtbar) */
@media (max-width: 639px) {
  #fuer-wen .audience .checklist li:nth-child(n+2) { display: none; }
}

/* Kontakt: Formularrand im selben Rot wie der Kicker „Kontakt" (folgt --accent, auch im Dunkelmodus) */
#kontakt .form { border-color: var(--accent); }

/* Rote CTA-Buttons: Farbverlauf von oben nach unten um das Markenrot #CC0000. Hover schiebt den Verlauf ins Dunklere.
   Hellster Punkt #D61A1A – weiße Schrift bleibt über 4.5:1. */
.btn--primary {
  background-color: var(--btn);
  background-image: linear-gradient(180deg, #D61A1A 0%, #BE0000 32%, #A20000 62%, #820000 100%);
  background-size: 100% 200%;
  background-position: 50% 0%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background-position .45s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary:hover, .btn--primary:focus-visible { background-color: var(--btn-hover); background-position: 50% 100%; }
.btn--primary:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .btn--primary { transition: none; } }

/* Vorteile-Teaser: Listenpunkte einzeilig (ab Tablet), Button färbt sich beim Hover rot */
@media (min-width: 800px) {
  .benefits-teaser { grid-template-columns: 1fr auto; grid-template-areas: "head btn" "list btn"; column-gap: 40px; row-gap: 14px; }
  .benefits-teaser__head { grid-area: head; }
  .benefits-teaser__list { grid-area: list; }
  .benefits-teaser .btn { grid-area: btn; justify-self: end; }
  .benefits-teaser__list li > span { white-space: nowrap; }
}
.benefits-teaser .btn--secondary:hover,
.benefits-teaser .btn--secondary:focus-visible { background: var(--btn); border-color: var(--btn); color: #FFF; }

.benefits-teaser .btn { white-space: nowrap; }
/* Vorteile-Teaser ab Desktop in einer Reihe: Überschrift | Wartungsvertrag & Empfehlung | Button */
@media (min-width: 960px) {
  .benefits-teaser { grid-template-columns: auto 1fr auto; grid-template-areas: "head list btn"; column-gap: 40px; }
  .benefits-teaser__list li > span { white-space: normal; }
}
@media (min-width: 1200px) {
  .benefits-teaser { column-gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto; }
}
/* EN-Texte sind länger: Überschrift darf umbrechen */
@media (min-width: 1200px) {
  html[lang="en"] .benefits-teaser__head .h3 { white-space: normal; }
}

/* Vorteile-Seite: Abstand zwischen Überschrift und Angeboten verkleinern */
.svc-hero + #vorteile { padding-top: clamp(32px, 4vw, 56px); }

/* Leistungsseiten aufgeräumt: kompaktere Abschnitte, Eckdaten als ruhige Kacheln, dunklerer Fließtext */
.svc-hero:has(+ .svc-glance) { padding-bottom: clamp(24px, 3.5vw, 40px); }
.svc-glance ~ .section { padding-block: clamp(56px, 7vw, 96px); }
.svc-glance ~ .section .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.svc-facts { margin-top: 0; gap: 16px; }
.svc-facts div { gap: 10px; padding: 22px 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.svc-facts .svc-facts__win { border-color: var(--accent); }
.svc-facts dt { color: var(--text-2); }
.svc-facts dd { font-size: 17px; line-height: 1.6; color: var(--text); }
.svc-glance ~ .section .step p, .svc-glance ~ .section .pricing-note p { color: var(--text); line-height: 1.6; }
.svc-ba .ba { max-height: min(70vh, 560px); width: 100%; }
/* Leistungsseiten: Vorher/Nachher ohne Scroll-Effekt */
.js .svc-ba .reveal { opacity: 1; transform: none; transition: none; }
.svc-ba .ba { animation: none; }
.svc-glance { padding-bottom: clamp(48px, 6vw, 80px); }

/* Leistungsseiten: Ablauf als statischer Hinweis unter den Kontakt-Buttons */
#kontakt .contact-steps--static { margin: clamp(40px, 5vw, 64px) auto 0; }
.js #kontakt .contact-steps--static .reveal,
.js #kontakt .contact-steps--static .step.reveal { opacity: 1; transform: none; transition: none; animation: none; }

/* Leistungsseiten: Ablauf ohne eigene Überschrift direkt unter den Kontakt-Buttons */
#kontakt .contact-steps--static { margin-top: clamp(28px, 3.5vw, 40px); }
/* Vorher/Nachher näher an die Eckdaten */
.svc-glance { padding-bottom: clamp(24px, 3vw, 40px); }
.svc-glance + .svc-ba { padding-top: clamp(40px, 5vw, 64px); }

/* Leistungsseiten: Kontaktbereich kompakter – Kopf, Ablauf-Kacheln, darunter die Buttons */
.svc-cta#kontakt { padding-block: clamp(48px, 6vw, 80px); }
.svc-cta#kontakt .section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.svc-cta#kontakt .section-head .lead { margin-top: 12px; }
#kontakt .contact-steps--static { margin: 0; }
.svc-cta#kontakt .btn-row { margin-top: clamp(20px, 2.5vw, 28px); }
.svc-cta#kontakt .svc-cta__area { margin-top: 14px; }

/* Leistungsseiten: Einzugsgebiet-Hinweis genau so breit wie die beiden Buttons */
.svc-cta__actions { display: grid; width: fit-content; max-width: 100%; margin-inline: auto; }
.svc-cta__actions .svc-cta__area { width: 0; min-width: 100%; max-width: none; }
@media (max-width: 639px) { .svc-cta__actions { width: 100%; } .svc-cta__actions .btn-row .btn { width: 100%; } }

/* Vorteile-Teaser rückt näher an die Zielgruppen (gemeinsamer Abstand statt zweier Section-Paddings) */
#fuer-wen { padding-bottom: clamp(24px, 3vw, 40px); }
#fuer-wen + #vertraege { padding-top: 0; }

/* KI-Kennzeichnung (EU AI Act Art. 50): Label erscheint nur, wenn im Bildplatz ein echtes Bild steckt (img/picture statt .ph) */
.card, .future-card { position: relative; }
.ai-label { display: none; position: absolute; z-index: 3; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #FFF; font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; pointer-events: none; }
.card:has(> img, > picture) > .ai-label,
.future-card:has(> img, > picture) > .ai-label { display: block; }
.ba .ai-label { top: auto; left: 14px; bottom: 14px; }
.ba:has(.ba__layer img, .ba__layer picture) .ai-label { display: block; }

/* ---------- Handy/Tablet: Sonderleistungen zweispaltig (wie Leistungen und Zielgruppen) ---------- */
@media (min-width: 360px) and (max-width: 799px) {
  .special-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  #sonderleistungen .special { padding: 14px 12px; gap: 8px; min-width: 0; }
  #sonderleistungen .special__top { gap: 8px; flex-wrap: nowrap; align-items: flex-start; }
  #sonderleistungen .special__top .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; }
  #sonderleistungen .special .h3 { font-size: 16px; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; min-width: 0; }
  #sonderleistungen .special > p { font-size: 13px; line-height: 1.45; hyphens: auto; overflow-wrap: break-word; }
  #sonderleistungen .special .badge { font-size: 12px; letter-spacing: .04em; line-height: 1.3; }
}

/* Handy: Räumungs-Hinweis an die Sonderleistungs-Kacheln angleichen (gleiche Schrift und Innenabstände) */
@media (max-width: 639px) {
  #sonderleistungen .addon { margin-top: 10px; padding: 14px 12px; gap: 4px; font-size: 13px; line-height: 1.45; }
  #sonderleistungen .addon strong { font-size: 16px; line-height: 1.25; hyphens: auto; }
}

/* ---------- Startseite Kontakt: Formular mittig, Ablauf rechts daneben (statisch, ohne Scroll-Effekt) ---------- */
#kontakt .contact { align-items: start; }
#kontakt .contact > .contact-steps { margin: 0; min-width: 0; }
#kontakt .contact .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
#kontakt .contact .step { padding: 14px 16px; column-gap: 12px; }
#kontakt .contact .step__num { font-size: 24px; }
#kontakt .contact .step h3 { font-size: 16px; }
#kontakt .contact .step p { font-size: 14px; line-height: 1.45; }
#kontakt .contact .pricing-note { margin-top: 10px; padding: 14px 16px; gap: 10px; }
#kontakt .contact .pricing-note p { font-size: 14px; line-height: 1.5; }
/* ab Tablet: Überschrift + Kontaktwege zentriert oben über die volle Breite, darunter Formular (breit) | Ablauf rechts */
@media (min-width: 768px) {
  #kontakt .contact { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px 32px; max-width: calc(1040px + 2 * var(--gutter)); }
  #kontakt .contact > :first-child { grid-column: 1 / -1; text-align: center; }
  #kontakt .contact > :first-child .lead { margin-inline: auto; max-width: 620px; }
  #kontakt .contact .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; text-align: left; }
  #kontakt .contact .quick a { min-width: 0; padding: 14px 16px; gap: 12px; }
  #kontakt .contact .quick strong { overflow-wrap: anywhere; font-size: 15px; }
  #kontakt .contact .quick small { font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  #kontakt .contact { grid-template-columns: minmax(0, 1fr); }
  #kontakt .contact > .contact-steps .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Leistungen: ganze Kachel klickbar, Titel neben dem Icon, roter Hover ---------- */
#leistungen .card--link { color: var(--text); text-decoration: none; cursor: pointer; transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform var(--t-med) var(--spring); }
#leistungen .card--link .card__head { flex-direction: row; align-items: center; gap: 14px; padding: 22px 24px; }
#leistungen .card--link .card__head .h3 { padding: 0; white-space: normal; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.25; transition: color .45s var(--ease); }
#leistungen .card--link .card__icon { transition: background-color .45s var(--ease), color .45s var(--ease); }
#leistungen .card--link .card__icon .icon { color: var(--accent); transition: color .45s var(--ease); }
#leistungen .card--link:hover,
#leistungen .card--link:focus-visible { background: var(--btn); border-color: var(--btn); color: #FFF; }
#leistungen .card--link:hover .h3,
#leistungen .card--link:focus-visible .h3 { color: #FFF; }
#leistungen .card--link:hover .card__icon,
#leistungen .card--link:focus-visible .card__icon { background: #FFF; }
#leistungen .card--link:hover .card__icon .icon,
#leistungen .card--link:focus-visible .card__icon .icon { color: var(--btn); }
#leistungen .card--link:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 639px) {
  #leistungen .card--link .card__head { padding: 14px 12px; gap: 10px; }
  #leistungen .card--link .card__head .h3 { font-size: 15px; hyphens: auto; overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  #leistungen .card--link, #leistungen .card--link * { transition: none; }
}

/* Leistungen: kleines Fotofenster oben (Platzhalter ohne Text; echtes Bild: <img> statt .ph, KI-Label erscheint dann automatisch) */
#leistungen .card--link > .ph { display: grid; aspect-ratio: 16 / 9; border-radius: 0; }
#leistungen .card--link > .ph::after { content: none; }
#leistungen .card--link > .ph .icon { width: 28px; height: 28px; opacity: .35; }
#leistungen .card--link > img,
#leistungen .card--link > picture img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#leistungen .card--link > picture { display: block; }
@media (max-width: 639px) {
  #leistungen .card--link > .ph .icon { width: 22px; height: 22px; }
}
#leistungen .card--link > .ph,
#leistungen .card--link > img,
#leistungen .card--link > picture img { aspect-ratio: 5 / 2; }
@media (max-width: 639px) {
  #leistungen .card--link > .ph,
  #leistungen .card--link > img,
  #leistungen .card--link > picture img { aspect-ratio: 16 / 10; }
}

/* ---------- Einzugsgebiet kompakter: Karte kleiner, Karte und PLZ-Box als ausgewogenes Paar ---------- */
#einzugsgebiet .area-map { width: 100%; max-width: 440px; margin-inline: auto; }
@media (min-width: 960px) {
  #einzugsgebiet .area { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
  #einzugsgebiet .area-map { max-width: 460px; margin: 0; }
  #einzugsgebiet .area__panel { position: static; }
}
/* Karte im gleichen Rahmen wie die PLZ-Box; Legende kompakt darunter */
#einzugsgebiet .area-map { padding: 18px 18px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-sizing: border-box; }
#einzugsgebiet .area-map__svg { display: block; max-width: 400px; margin-inline: auto; }
#einzugsgebiet .area-map figcaption { margin-top: 8px; }
#einzugsgebiet .legend { margin-top: 0; gap: 6px 18px; font-size: 14px; justify-content: center; }
#einzugsgebiet .legend i { width: 22px; height: 12px; }
#einzugsgebiet .area-map figcaption > p, #einzugsgebiet .area-map figcaption small { display: block; margin-top: 8px; text-align: center; font-size: 12px; }
@media (max-width: 639px) { #einzugsgebiet .area-map { padding: 10px 8px 12px; } }

/* Leistungskacheln Handy: Icon über dem Titel, Titel einzeilig */
#leistungen .t-short { display: none; }
@media (max-width: 639px) {
  #leistungen .card--link .card__head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 12px 14px; }
  #leistungen .card--link .card__icon { width: 32px; height: 32px; border-radius: 9px; }
  #leistungen .card--link .card__icon .icon { width: 18px; height: 18px; }
  #leistungen .card--link .card__head .h3 { font-size: 13px; line-height: 1.3; white-space: nowrap; hyphens: none; overflow-wrap: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  #leistungen .t-long { display: none; }
  #leistungen .t-short { display: inline; }
}
@media (max-width: 639px) {
  html[lang="en"] #leistungen .card--link .card__head .h3 { white-space: normal; text-overflow: clip; }
}

/* Über mich: Namenserklärung AMIGO */
.amigo-name {
  display: grid; gap: 18px; justify-items: center; text-align: center;
  margin: 0 0 clamp(24px, 3vw, 32px);
  padding: clamp(24px, 3.5vw, 40px) clamp(16px, 3vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.amigo-name__title { margin: 0; }
.amigo-name__parts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 32px);
  width: 100%; max-width: 560px;
}
.amigo-name__parts li { display: grid; gap: 6px; justify-items: center; }
.amigo-name__key { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.amigo-name__word { font-size: clamp(13px, 1.4vw, 15px); font-weight: 600; color: var(--text-2); }
.amigo-name__note { margin: 0; max-width: 46ch; color: var(--text-2); }
.amigo-name__note em { font-style: italic; color: var(--text); }

/* Namenskasten v2: AMIGO als zusammenhängendes Wort, Satz einzeilig */
.amigo-name { gap: 22px; }
.amigo-name__parts {
  display: flex; justify-content: center; gap: 0; width: auto; max-width: none;
}
.amigo-name__parts li { gap: 10px; padding: 0 clamp(10px, 1.6vw, 18px); }
.amigo-name__parts li + li { border-left: 1px solid var(--line); }
.amigo-name__key {
  font-size: clamp(44px, 6vw, 72px); letter-spacing: -.03em;
  padding-bottom: 8px; border-bottom: 3px solid var(--accent);
}
.amigo-name__word { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.amigo-name__note { max-width: none; font-size: clamp(15px, 1.5vw, 17px); }
@media (min-width: 640px) { .amigo-name__note { white-space: nowrap; } }
@media (max-width: 639px) {
  .amigo-name__note { text-wrap: balance; font-size: 14px; }
  .amigo-name__parts li { padding: 0 clamp(8px, 2.6vw, 14px); }
  .amigo-name__key { font-size: clamp(38px, 11vw, 48px); }
}

/* Namenskasten: längerer Text, ausgewogen umbrechen statt einzeilig */
.amigo-name__note { white-space: normal !important; max-width: 74ch; text-wrap: balance; }
.amigo-name__note em { font-style: normal; font-weight: 600; color: var(--accent); }

/* Vorher/Nachher: echte Bilder füllen den Regler */
.ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; pointer-events: none; -webkit-user-drag: none; }
/* KI-Hinweis in den Leistungskacheln: auf dem Handy klein und einzeilig */
@media (max-width: 639px) {
  #leistungen .card--link > .ai-label { left: 6px; top: 6px; max-width: calc(100% - 12px); padding: 2px 6px; font-size: 12px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Zukunft-Kacheln: Spalten dürfen schrumpfen, lange Titel umbrechen statt überstehen */
@media (min-width: 900px) { .future-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.future-card { min-width: 0; }
.future-card__head { min-width: 0; }
.future-card__head .h3 { min-width: 0; overflow-wrap: break-word; hyphens: manual; }
.future-card__icon { flex: none; }

/* Startseite: Kontakt näher an das Einzugsgebiet */
#einzugsgebiet { padding-bottom: clamp(32px, 4vw, 52px); }
#einzugsgebiet + #kontakt { padding-top: clamp(32px, 4vw, 52px); }

/* ---------- Über mich: kompakter (kleinere Überschriften, engere Abstände) ---------- */
.about-page .section { padding-block: clamp(40px, 5.5vw, 72px); }
.about-page .about-hero { padding-bottom: clamp(24px, 3vw, 40px); }
.about-page .about-hero + .section { padding-top: clamp(32px, 4vw, 56px); }
.about-page .section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.about-page .lead { margin-top: 12px; }
.about-page .amigo-name { gap: 14px; padding: clamp(18px, 2.5vw, 28px) clamp(16px, 2.5vw, 32px); margin-bottom: clamp(16px, 2vw, 24px); }
.about-page .amigo-name__key { font-size: clamp(36px, 4.4vw, 54px); }
.about-page .values { gap: 16px; }
.about-page .values .card__body { padding: 22px; gap: 8px; }
.about-page .future-card__body { padding: 22px; gap: 8px; }
.about-page .future-grid { gap: 16px; }

/* ---------- Typografie-Skala (einheitlich für alle Seiten) ----------
   Überschriften ruhiger (500 statt 700), eng gesetzt; klare Stufen H1 > H2 > H3 > Lead > Text.
   1440 / 390 px: H1 64/34 · H2 38/28 · H3 22/19 · Lead 18/16 · Text 17 · kleinster Kachel-Text 14 */
:root {
  --t-h1: clamp(34px, 4.6vw, 64px);
  --t-h2: clamp(28px, 1.7vw + 13.5px, 38px);
  --t-h3: clamp(19px, 1.55vw, 22px);
  --t-lead: clamp(16px, .5vw + 11px, 18px);
  --w-head: 500;
}
h1, h2, h3, h4 { font-weight: var(--w-head); }
.h1 { font-size: var(--t-h1); letter-spacing: -.035em; line-height: 1.05; }
.h2 { font-size: var(--t-h2); letter-spacing: -.03em; line-height: 1.1; }
.h3 { font-size: var(--t-h3); letter-spacing: -.015em; line-height: 1.25; font-weight: var(--w-head); }
.lead { font-size: var(--t-lead); line-height: 1.55; }
.svc-hero .h1 { font-size: var(--t-h1); }
.about-hero .about__text .h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.035em; line-height: 1.08; }
.plz h3 { font-size: var(--t-h3); font-weight: var(--w-head); letter-spacing: -.015em; }
.step__num, .offer .big, .reviews-summary .score { font-weight: var(--w-head); }
.amigo-name__key { font-weight: 600; }
.notfound__code { font-weight: 600; }
.plz-result__title, .form-subhead, .consent-banner__title, .consent-opt h3 { font-weight: 600; }
/* Startseiten-Hero: weiterhin genau zwei Zeilen; schmalere 500er-Schrift braucht kleinere Teiler */
@media (min-width: 700px) {
  .hero__copy .h1 { --h1-em: 23; font-size: min(68px, calc(100cqi / var(--h1-em))); }
  html[lang="en"] .hero__copy .h1 { --h1-em: 20.4; }
}
/* Kachel-Texte auf dem Handy nicht kleiner als 14 px */
@media (max-width: 639px) {
  #fuer-wen .audience p, #fuer-wen .audience .checklist li,
  #sonderleistungen .special p, #sonderleistungen .addon { font-size: 14px; line-height: 1.5; }
}
/* H1/H2 wieder fett (Wunsch), H3 halbfett */
h1, h2, .h1, .h2, .about-hero .about__text .h2 { font-weight: 700; }
.h3, .plz h3 { font-weight: 600; }
@media (min-width: 700px) { .hero__copy .h1 { --h1-em: 23.8; } html[lang="en"] .hero__copy .h1 { --h1-em: 20.4; } }
/* Startseiten-Hero: Überschrift deutlich größer (am Computer 3 Zeilen statt 2) */
@media (min-width: 700px) { .hero__copy .h1 { font-size: min(72px, calc(100cqi / var(--h1-em))); max-width: none; } }

/* ---------- Hero-CTAs: Glanz-Hover (Lichtstreifen zieht einmal drüber), Klick drückt; WhatsApp gefüllt ---------- */
.hero .btn-row .btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease); }
.hero .btn-row .btn--secondary { background: var(--text); border-color: var(--text); color: var(--bg); }
.hero .btn-row .btn--primary:hover, .hero .btn-row .btn--primary:focus-visible { background-position: 50% 0%; }
.hero .btn-row .btn--secondary:hover, .hero .btn-row .btn--secondary:focus-visible { background: var(--text); color: var(--bg); }
.hero .btn-row .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-150%) skewX(-20deg); transition: transform .65s ease;
}
@media (prefers-color-scheme: dark) { .hero .btn-row .btn--secondary::after { background: linear-gradient(100deg, transparent, rgba(0, 0, 0, .14), transparent); } }
.hero .btn-row .btn:hover::after, .hero .btn-row .btn:focus-visible::after { transform: translateX(325%) skewX(-20deg); }
.hero .btn-row .btn:active { transform: scale(.98); transition-duration: .1s; }
@media (prefers-reduced-motion: reduce) { .hero .btn-row .btn::after { display: none; } }
/* Startseiten-Hero: auf großen Bildschirmen breitere Textfläche → Überschrift größer, bleibt 2 Zeilen */
@media (min-width: 1360px) { .hero:not(.svc-hero) > .container { max-width: 1344px; } }

/* ---------- Einzugsgebiet „Karte als Bühne“ ----------
   Eine breite, graue Kartenfläche über die ganze Inhaltsbreite; die Karte sitzt rechts,
   der PLZ-Prüfer liegt als weiße Kachel links darauf. Am Handy: Karte oben, Kachel darunter. */
#einzugsgebiet { --map-bg: var(--bg-alt); }
#einzugsgebiet.section--alt { --map-bg: var(--bg); } /* grauer Abschnitt, schwarze Kartenbühne */
#einzugsgebiet .area {
  position: relative; display: grid; gap: 0; align-items: center;
  background: var(--map-bg); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  padding: clamp(12px, 2.5vw, 40px);
}
#einzugsgebiet .area-map { padding: 0; border: 0; background: none; max-width: none; margin: 0; }
#einzugsgebiet .area-map__svg { max-width: 560px; width: 100%; border-radius: 0; }
#einzugsgebiet .area-map figcaption { margin-top: 4px; }
#einzugsgebiet .area__panel { position: relative; z-index: 1; }
#einzugsgebiet .plz { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 0, 0, .14); }
#einzugsgebiet .area__extra { margin-top: 16px; padding-inline: 4px; }
@media (min-width: 960px) {
  #einzugsgebiet .area { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); }
  #einzugsgebiet .area__panel { order: -1; position: relative; top: auto; max-width: 440px; }
  #einzugsgebiet .area-map__svg { margin-inline: auto; }
}
@media (max-width: 959px) {
  #einzugsgebiet .area__panel { margin-top: 8px; }
  #einzugsgebiet .area-map__svg { margin-inline: auto; }
}
@media (prefers-color-scheme: dark) {
  #einzugsgebiet .plz { background: var(--surface-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
}


/* ---------- Begleitfarbe: helle Rot-Tönung (aus #CC0000 aufgehellt), sparsam an drei Stellen ---------- */
:root { --accent-tint: #FBEEEE; --accent-tint-line: #F3D6D6; }
@media (prefers-color-scheme: dark) { :root { --accent-tint: #2A1314; --accent-tint-line: #4A1F21; } }
/* 1 · Icons der Leistungs-Kacheln */
#leistungen .card--link .card__icon { background: var(--accent-tint); }
/* 2 · Vorteile-Kachel: Rot-Schimmer links und rechts, Mitte weiß */
.benefits-teaser { background: linear-gradient(100deg, var(--accent-tint) 0%, var(--surface) 38%, var(--surface) 62%, var(--accent-tint) 100%); border-color: var(--accent-tint-line); }
/* 3 · PLZ-Prüfung: Ergebnis „Ja, ich komme zu dir“ */
.plz-result__box.plz-result--yes { background: var(--accent-tint); }

/* Bewertungs-Button: größer, mit Pfeil; Hover wird rot, Pfeil gleitet nach rechts */
.reviews-empty .btn { min-height: 54px; padding: 0 30px; font-size: 16px; gap: 10px; min-width: min(100%, 300px); }
.reviews-empty .btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.reviews-empty .btn:hover, .reviews-empty .btn:focus-visible { background: var(--btn); color: #FFF; opacity: 1; }
.reviews-empty .btn:hover .icon, .reviews-empty .btn:focus-visible .icon { transform: translateX(4px); }
@media (max-width: 639px) { .reviews-empty .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .reviews-empty .btn .icon { transition: none; } }

/* =====================================================================
   Abstands-Raster (8 px für Abschnitte/Kacheln, 4 px für Feinabstände)
   Stufen statt fließender Werte: Handy < 640 · Tablet 640–1023 · Desktop ≥ 1024
   ===================================================================== */
:root {
  --sp-section: 64px;  --sp-tight: 48px;  --sp-pair: 32px;
  --sp-head: 32px;     --sp-head-tight: 24px;
}
@media (min-width: 640px)  { :root { --sp-section: 96px;  --sp-tight: 64px; --sp-pair: 40px; --sp-head: 40px; --sp-head-tight: 32px; } }
@media (min-width: 1024px) { :root { --sp-section: 120px; --sp-tight: 96px; --sp-pair: 48px; --sp-head: 56px; --sp-head-tight: 40px; } }

/* Abschnitte (Startseite) */
.section { padding-block: var(--sp-section); }
.section-head { margin-bottom: var(--sp-head); }
#leistungen .section-head { margin-bottom: var(--sp-head); }
#sonderleistungen { padding-block: var(--sp-tight); }
#sonderleistungen .section-head, #fuer-wen .section-head { margin-bottom: var(--sp-head-tight); }
#fuer-wen { padding-top: var(--sp-tight); padding-bottom: var(--sp-pair); }
#fuer-wen + #vertraege { padding-top: 0; }
#vertraege { padding-bottom: var(--sp-section); }
#einzugsgebiet { padding-bottom: var(--sp-pair); }
#einzugsgebiet + #kontakt { padding-top: var(--sp-pair); }
#kontakt { padding-bottom: var(--sp-tight); }
/* Unterseiten */
.svc-glance ~ .section { padding-block: var(--sp-tight); }
.svc-glance ~ .section .section-head { margin-bottom: var(--sp-head-tight); }
.svc-cta#kontakt { padding-block: var(--sp-tight); }
.svc-cta#kontakt .section-head { margin-bottom: var(--sp-head-tight); }
.about-page .section { padding-block: var(--sp-tight); }
.about-page .section-head { margin-bottom: var(--sp-head-tight); }

/* Zeilenlänge: Einleitungs- und Fließtexte höchstens ~68 Zeichen */
.section-head .lead, .hero .lead, .svc-hero .lead { max-width: 68ch; }
.reviews-empty { max-width: 720px; }
.reviews-empty p { max-width: 60ch; margin-inline: auto; }

/* Kacheln und Felder */
.trust li { padding: 24px 8px; }
#leistungen .grid--3 { column-gap: 32px; row-gap: 48px; }
#leistungen .card__head { padding: 24px 24px 0; }
#fuer-wen .audience { padding: 24px; }
#fuer-wen .grid--4 { column-gap: 16px; }
#sonderleistungen .special { padding: 24px; gap: 8px; }
#sonderleistungen .addon { margin-top: 16px; padding: 16px 24px; }
.benefits-teaser { padding: 32px; }
.plz { padding: 32px 24px; }
#kontakt .form { padding: 32px; }
#kontakt .steps { gap: 12px; }
#kontakt .contact .step { padding: 16px; column-gap: 12px; }
#kontakt .contact .pricing-note { margin-top: 12px; padding: 16px; gap: 12px; }
.btn:not(.btn--sm) { padding-inline: 24px; }
#einzugsgebiet .area { padding: 40px; gap: 48px; }
@media (max-width: 1023px) {
  #leistungen .grid--3 { column-gap: 24px; row-gap: 32px; }
  #einzugsgebiet .area { padding: 24px; gap: 0; }
}
@media (max-width: 639px) {
  #leistungen .grid--3, #fuer-wen .grid--4 { column-gap: 12px; row-gap: 12px; }
  #leistungen .card__head { padding: 16px 12px 0; gap: 8px; }
  #fuer-wen .audience { padding: 16px 12px; row-gap: 8px; }
  #sonderleistungen .special { padding: 16px 12px; gap: 8px; }
  #sonderleistungen .addon { margin-top: 12px; padding: 16px 12px; gap: 4px; }
  .benefits-teaser { padding: 24px; }
  .plz { padding: 24px; }
  #kontakt .form { padding: 24px; }
  #einzugsgebiet .area { padding: 16px; }
  .reviews-empty { padding: 40px 24px; }
}
/* Raster – Ergänzungen: Hero-Stufen und Unterseiten-Übergänge */
:root { --sp-small: 24px; --sp-mid: 40px; --sp-hero: 48px; --sp-hero-b: 40px; }
@media (min-width: 640px)  { :root { --sp-small: 32px; --sp-mid: 48px; --sp-hero: 72px;  --sp-hero-b: 56px; } }
@media (min-width: 1024px) { :root { --sp-small: 40px; --sp-mid: 64px; --sp-hero: 120px; --sp-hero-b: 72px; } }
.hero { padding-top: var(--sp-hero); padding-bottom: var(--sp-hero-b); }
.svc-hero { padding-bottom: var(--sp-small); }
.svc-glance { padding-top: 0; padding-bottom: var(--sp-small); }
.svc-glance + .svc-ba { padding-top: var(--sp-mid); }
.svc-hero + #vorteile, .about-page .about-hero + .section { padding-top: var(--sp-mid); }
.about-page .about-hero { padding-bottom: var(--sp-small); }
.svc-hero:has(+ .svc-glance) { padding-bottom: var(--sp-small); }
/* Checklisten: Haken mittig zur ersten Textzeile (statt 2 px zu tief), Abstände im 4er-Raster */
.checklist { gap: 8px; }
.checklist li { gap: 8px; }
.checklist .icon { margin-top: calc(.5lh - 9px); }
#fuer-wen .audience .checklist { gap: 8px; }
@media (max-width: 639px) {
  #fuer-wen .audience .checklist { gap: 4px; }
  #fuer-wen .audience .checklist .icon { margin-top: calc(.5lh - 7px); }
}

/* Preis-Hinweis: Frage als eigene Zeile, Antwort darunter */
.pricing-note p > strong:first-child { display: block; margin-bottom: 4px; color: var(--text); }

/* Vertrauensleiste als Zahlen-Leiste */
.trust ul { gap: 0; }
.trust li { flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px 8px; text-align: center; }
.trust__num { font-size: clamp(28px, 2.4vw + 8px, 40px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.trust__label { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--text-2); letter-spacing: 0; }
@media (min-width: 900px) { .trust li + li { border-left: 1px solid var(--line); } .trust li { padding-block: 32px; } }
@media (max-width: 899px) { .trust li:nth-child(even) { border-left: 1px solid var(--line); } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Bewertungen: rotes Punkt-Raster im Hintergrund ---------- */
#bewertungen { position: relative; isolation: isolate; overflow: hidden; }
#bewertungen > .container { position: relative; z-index: 1; }
.dot-pattern--bewertungen {
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 100%);
}
@media (max-width: 639px) {
  .dot-pattern--bewertungen { -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 50%, #000 0%, transparent 100%);
                                  mask-image: radial-gradient(ellipse 90% 45% at 50% 50%, #000 0%, transparent 100%); }
}
.dot-pattern--bewertungen { fill: color-mix(in srgb, var(--brand-red) 55%, transparent); }
@media (prefers-color-scheme: dark) { .dot-pattern--bewertungen { fill: color-mix(in srgb, var(--brand-red) 70%, transparent); } }

.dot-pattern--bewertungen { fill: color-mix(in srgb, var(--accent) 60%, transparent); }
@media (prefers-color-scheme: dark) { .dot-pattern--bewertungen { fill: color-mix(in srgb, var(--accent) 75%, transparent); } }

/* Über mich: „Amigo“ und „Freund“ hervorheben */
.amigo-name__note .hl { background: none; color: var(--accent); font-weight: 700; padding: 0; }

/* ---------- Seitenende: leichter roter Verlauf im letzten Abschnitt (alle Seiten außer Rechtliches/404) ----------
   Der Verlauf endet am Abschnitt – der Footer bleibt in seiner eigenen Farbe. */
main > section:last-child { position: relative; isolation: isolate; }
main > section:last-child > .container { position: relative; z-index: 1; }
main > section:last-child::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70%; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--brand-red) 10%, transparent) 100%);
}
@media (prefers-color-scheme: dark) {
  main > section:last-child::after { background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--brand-red) 22%, transparent) 100%); }
}

/* Cookie-Seite: Button unten mit etwas Abstand */
.legal p:has(> .consent-settings-btn){margin-top:32px}

/* Vorteile-Seite: zwei gleich starke Karten mit „So funktioniert’s“-Schritten */
#vorteile .offers { align-items: stretch; }
@media (min-width: 900px) { #vorteile .offers { grid-template-columns: 1fr 1fr; } }
#vorteile .offer--dark { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--dark-offer)), var(--dark-offer) 55%); }
.offer-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.offer-steps li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--dark-text-2); }
.offer-steps strong { color: var(--dark-text); font-weight: 600; }
.offer-steps__num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--dark-accent); background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); margin-top: calc(.5lh - 14px); }
@media (min-width: 900px) {
  #vorteile .offers { grid-template-rows: repeat(6, auto); }
  #vorteile .offer { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
  #vorteile .offers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #vorteile .offers { container-type: inline-size; }
  #vorteile .offer .big { font-size: min(56px, calc((50cqi - 120px) / 10.6)); white-space: nowrap; }
  #vorteile .offer .btn { align-self: end; justify-self: start; }
}

/* Leistungskacheln Handy: Icon links, Titel rechts daneben (darf umbrechen) */
@media (max-width: 639px) {
  #leistungen .card--link .card__head { flex-direction: row; align-items: center; gap: 8px; padding: 12px 10px 14px; }
  #leistungen .card--link .card__head .h3 { min-width: 0; font-size: 13px; line-height: 1.25; white-space: normal; overflow: visible; text-overflow: clip; hyphens: auto; overflow-wrap: break-word; }
}

/* Abschnitts-Kicker: rot, normale Schreibweise, ohne Strich */
.kicker:not(.hero .kicker) { display: block; width: fit-content; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3; color: var(--accent); }
.future .kicker:not(.hero .kicker), .offer--dark .kicker:not(.hero .kicker) { color: var(--dark-accent); }
.section-head--center .kicker, .contact > div:first-child > .kicker { margin-inline: auto; }
.benefits-teaser__head .kicker:not(.hero .kicker), #kontakt .kicker:not(.hero .kicker) { display: inline-block; width: auto; padding-left: 0; border-left: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: inherit; color: var(--accent); }


/* Startseite: Abschnitte näher aneinander (vorher bis zu 240px Lücke, jetzt ca. 120–144px) */
main > :is(#leistungen, #sonderleistungen, #bewertungen) { padding-block: clamp(48px, 6vw, 72px); }
main > #fuer-wen { padding-top: clamp(48px, 6vw, 72px); }
main > #vertraege { padding-bottom: clamp(48px, 6vw, 72px); }
main > #einzugsgebiet { padding-top: clamp(48px, 6vw, 72px); }
main > #kontakt:not(.svc-cta) { padding-bottom: clamp(48px, 6vw, 72px); }
/* Leistungen + Sonderleistungen bilden einen gemeinsamen Bereich: kleinere Lücke dazwischen */
main > #leistungen { padding-bottom: clamp(24px, 3vw, 40px); }
main > #leistungen + #sonderleistungen { padding-top: clamp(24px, 3vw, 40px); }

/* ---------- Wunschtermin: Kalender im Seitendesign (nur Desktop; Handy nutzt den Gerätekalender) ---------- */
.datepick { position: relative; }
.datepick > input { padding-right: 48px; cursor: pointer; caret-color: transparent; }
.datepick > input::placeholder { color: var(--text-3); opacity: 1; }
.datepick > input[aria-expanded="true"] { border-color: var(--text); }
.datepick__btn {
  position: absolute; top: 50%; right: 8px; translate: 0 -50%;
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: none; color: var(--text-3); cursor: pointer; transition: color .15s var(--ease), background-color .15s var(--ease);
}
.datepick__btn .icon { width: 18px; height: 18px; }
.datepick__btn:hover { color: var(--text); background: var(--ghost-hover); }
.datepick__pop {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 304px; padding: 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.datepick__pop.is-above { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; transform: translateY(4px) scale(.98); }
.datepick__pop.is-open { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  .datepick__pop { background: var(--surface-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .55); }
}
.datepick__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.datepick__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.datepick__nav {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: none; color: var(--text-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease);
}
.datepick__nav:hover:not(:disabled) { background: var(--ghost-hover); color: var(--text); }
.datepick__nav:disabled { opacity: .35; cursor: default; }
.datepick__dow, .datepick__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.datepick__dow span { display: grid; place-items: center; height: 28px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.datepick__day {
  position: relative; height: 38px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); cursor: pointer;
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
.datepick__day:hover:not(:disabled) { background: var(--ghost-hover); }
.datepick__day:disabled { color: var(--text-3); opacity: .45; cursor: default; }
.datepick__day.is-today { font-weight: 600; }
.datepick__day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.datepick__day.is-selected, .datepick__day.is-selected:hover { background: var(--btn); color: var(--on-btn); font-weight: 600; }
.datepick__day.is-selected::after { background: var(--on-btn); }
.datepick__day:focus-visible, .datepick__nav:focus-visible, .datepick__link:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.datepick__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.datepick__link {
  border: 0; background: none; padding: 6px 8px; border-radius: 8px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.datepick__link:hover { background: var(--ghost-hover); color: var(--text); }
.datepick__link[data-act="today"] { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .datepick__pop { transition: none; transform: none; } }
/* Offener Kalender liegt immer über den folgenden Formularfeldern */
.field:has(> .datepick) { position: relative; }
.field:has(.datepick__pop:not([hidden])) { z-index: 30; }


/* =========================================================================
   Farbwelt „sauber & hell“ – 60 % Weiß/Hellgrau · 30 % Anthrazit · 10 % Rot
   Rot für Logo, Hauptbuttons, Links, Icons, Karte, kleine Überschriften und Ablauf-Schritte.
   Abschnitts-Rhythmus Startseite (feste Flächen, keine Verläufe):
   Hero (kühl) → Leistungen + Sonderleistungen (grau) → Zielgruppen + Vorteile (weiß, Vorteile-Kasten behält seinen roten Verlauf)
   → Einzugsgebiet (grau) → Kontakt (weiß) → Bewertungen (grau) → Footer (anthrazit)
   ========================================================================= */

/* Graue Abschnitte: durchgehende Fläche mit klarer Kante */
.section--alt { background: var(--bg-alt); }

/* Hero: ruhiger, kühler Verlauf statt rotem Leuchten, mit Punktraster */
.hero { background: linear-gradient(180deg, #EAF0F5 0%, #F4F7FA 55%, var(--bg) 100%); }
/* Punktraster im Hero bleibt sichtbar */



/* Leistungen + Sonderleistungen: eine Sektion, eine Fläche */
#leistungen .subsection { margin-top: clamp(40px, 5vw, 64px); padding-top: 0; }
#leistungen .subsection .section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
#leistungen .subsection .h2 { font-size: clamp(26px, 3.2vw, 34px); }
#leistungen .special { padding: 22px 22px; gap: 10px; }
#leistungen .special-list { background: var(--line); border-color: var(--line); }
#leistungen .addon { margin-top: 12px; padding: 16px 22px; border-color: transparent; }
#leistungen .special-cta { margin-top: 28px; }
@media (min-width: 800px) {
  #leistungen .special { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 8px; align-content: start; }
  #leistungen .special__top { grid-column: 1; grid-row: 1; }
  #leistungen .special .badge { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  #leistungen .special > p { grid-column: 1 / -1; margin: 0; }
}

/* Graue Abschnitte im Rhythmus */
/* Zielgruppen, Verträge, Einzugsgebiet und Kontakt: weiß */
#einzugsgebiet .plz, #einzugsgebiet .map-card { border-color: transparent; }
/* Punktraster bei Bewertungen bleibt sichtbar */
/* Bewertungen: heller Hintergrund, Kasten behält seinen Rahmen */

/* Footer: Anthrazit mit klarer Kante */
.footer { background: var(--dark-bg); border-top: 0; }
#bewertungen::after { display: none; }


/* Vorteile-Seite: Karten wieder hell mit rötlichem Verlauf (wie zuvor) */
#vorteile .offer--dark {
  --dark-offer: #FFFFFF; --dark-line: #F3D6D6;
  --dark-text: #0B0B0C; --dark-text-2: #4A4F55; --dark-text-3: #5E636A; --dark-accent: #CC0000;
  --dark-ghost-hover: rgba(0, 0, 0, .05);
}

/* Hell/Dunkel-Schalter: ausblenden, solange das Cookie-Banner offen ist (lag sonst über „Alle akzeptieren“) */
body:has(.consent-banner.is-open) .theme-toggle { display: none; }

/* Dunkel-Modus (nur per Schalter): bisherige Optik für Hero und Vorteile-Karten beibehalten */
@media (prefers-color-scheme: dark) {
  .hero { background: radial-gradient(85% 75% at 50% 0%, var(--hero-glow) 0%, color-mix(in srgb, var(--hero-glow) 35%, var(--bg)) 38%, var(--bg) 72%); }
  .hero .dot-pattern { display: block; }
  #vorteile .offer--dark {
    --dark-offer: #0E0F10; --dark-line: #2A2C30;
    --dark-text: #FFFFFF; --dark-text-2: #C9CDD2; --dark-text-3: #A8ADB4; --dark-accent: #FF5A5A;
    --dark-ghost-hover: rgba(255, 255, 255, .1);
  }
}

/* Vorteile-Kasten auf der Startseite: schlichtes Grau, ohne Verlauf */
.benefits-teaser {
  --teaser-grey: color-mix(in srgb, var(--text) 6%, var(--surface));
  background: var(--teaser-grey);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.benefits-teaser__head .h3 { font-size: clamp(20px, 1.9vw, 24px); }
.benefits-teaser__list li { color: var(--text); }

/* Vorher/Nachher-Regler im Stil „Feature with image comparison“: schmale helle Linie, kleiner Griff mit Punkten, abgerundeter Rahmen */
.ba { --ba-muted: #EEF1F4; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.ba__layer img { border-radius: 0; }
.ba__handle { width: 4px; margin-left: -2px; background: var(--ba-muted); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.ba__handle::after {
  width: 20px; height: 40px; margin: -20px 0 0 -10px; border-radius: 6px;
  background-color: var(--ba-muted); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 8px rgba(0, 0, 0, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='12' r='1'/%3E%3Ccircle cx='9' cy='5' r='1'/%3E%3Ccircle cx='9' cy='19' r='1'/%3E%3Ccircle cx='15' cy='12' r='1'/%3E%3Ccircle cx='15' cy='5' r='1'/%3E%3Ccircle cx='15' cy='19' r='1'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
  transition: transform .2s var(--ease);
}
@media (hover: hover) { .ba:hover .ba__handle::after { transform: scale(1.1); } }
.ba.is-dragging .ba__handle::after { transform: scale(1.1); }
.ba:has(input:focus-visible) .ba__handle::after { outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ba__handle::after { transition: none; } }

/* Einzugsgebiet: Karte etwas kleiner */
#einzugsgebiet .area-map__svg { max-width: 460px; }

/* Bewertungen: weiß, hebt sich vom grauen Kontakt ab */

/* Einzugsgebiet: Karte und PLZ-Prüfung auf einer gemeinsamen weißen Fläche */
#einzugsgebiet { --map-bg: var(--surface); }
#einzugsgebiet .area { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
#einzugsgebiet .plz { background: none; border: 0; box-shadow: none; padding: 0; }
@media (min-width: 960px) {
  #einzugsgebiet .area__panel { padding-right: clamp(24px, 3vw, 48px); border-right: 1px solid var(--line); }
}
@media (max-width: 959px) {
  #einzugsgebiet .area__panel { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
}
@media (prefers-color-scheme: dark) {
  #einzugsgebiet .area { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
  #einzugsgebiet .plz { background: none; box-shadow: none; }
}

/* Bewertungen: ohne Punktraster */
.dot-pattern--bewertungen { display: none; }

/* Kontakt: hellgrau, hebt sich vom weißen Einzugsgebiet ab */
main > #kontakt:not(.svc-cta) { background: var(--bg-alt); }
main > #kontakt:not(.svc-cta) .pricing-note { background: var(--surface); }

/* Bewertungen: leichter Verlauf nach unten in Richtung Footer */
main > #bewertungen { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 35%, color-mix(in srgb, var(--dark-bg) 14%, var(--bg)) 100%); }


/* WhatsApp-Knopf: Status-Punkt oben links (grün = Geschäftszeit, rot = geschlossen) */
.wa-float .wa-dot {
  display: block; position: absolute; top: 2px; left: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: #CC0000; box-shadow: 0 0 0 2.5px var(--bg); pointer-events: none;
}
.wa-float .wa-dot.is-open { background: #16A34A; }
@media (max-width: 639px) { .wa-float .wa-dot { top: 1px; left: 1px; } }

/* „Route planen“: Symbol hinten, gleiche Hover-Bewegung wie beim Google-Knopf */
.link-arrow.route-link .icon { transition: transform .3s var(--ease); }
.link-arrow.route-link:hover .icon, .link-arrow.route-link:focus-visible .icon { transform: translateX(4px); }

/* Hero-Knöpfe: einheitlicher Hover (schnell, dezent); Klick drückt leicht ein */
.hero .btn-row .btn { transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .15s ease, border-color .15s ease, background-position .2s ease; }
.hero .btn-row .btn:active { transform: scale(.97); transition-duration: .1s; }
/* Besichtigung (rot): wird dunkler, Lichtstreifen zieht schneller drüber */
.hero .btn-row .btn--primary:hover, .hero .btn-row .btn--primary:focus-visible { background-position: 50% 100%; }
.hero .btn-row .btn--primary::after { transition: transform .45s cubic-bezier(.23, 1, .32, 1); }
/* WhatsApp (schwarz): wird rot, Logo hinter dem Text rutscht leicht nach rechts, kein Lichtstreifen */
.hero .btn-row .btn--secondary::after { display: none; }
.hero .btn-row .btn--secondary:hover, .hero .btn-row .btn--secondary:focus-visible { background: var(--brand-red); border-color: var(--brand-red); color: #FFF; }
.hero .btn-row .btn--secondary .icon { transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.hero .btn-row .btn--secondary:hover .icon, .hero .btn-row .btn--secondary:focus-visible .icon { transform: translateX(4px); }

/* „Sonderanfrage stellen“: gleicher Effekt wie „Jetzt auf Google bewerten“ */
.special-cta .btn--dark .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.special-cta .btn--dark:hover, .special-cta .btn--dark:focus-visible { background: var(--btn); border-color: var(--btn); color: #FFF; opacity: 1; }
.special-cta .btn--dark:hover .icon, .special-cta .btn--dark:focus-visible .icon { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hero .btn-row .btn--secondary .icon, .special-cta .btn--dark .icon { transition: none; } }

/* Zielgruppen, Vorteile-Kasten und Einzugsgebiet: optisch eine Sektion (wie Leistungen + Sonderleistungen) */
main > #vertraege { padding-bottom: 0; }
main > #einzugsgebiet { padding-top: clamp(40px, 5vw, 64px); }
#einzugsgebiet .section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
#einzugsgebiet .h2 { font-size: clamp(26px, 3.2vw, 34px); }

/* Abstand Leistungen → Zielgruppen wie Einzugsgebiet → Kontakt */
#leistungen .subsection { padding-bottom: 0; }
main > #leistungen { padding-bottom: clamp(40px, 5vw, 48px); }
main > #fuer-wen { padding-top: clamp(40px, 5vw, 48px); }

/* Kontakt-Ablauf: ruhigere Typografie – Nummer im kleinen Kreis, Titel schwarz, Text grau, alles bündig */
#kontakt .contact .step { grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: start; }
#kontakt .contact .step__num {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-tint-line);
  font-size: 13px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; line-height: 1;
}
#kontakt .contact .step h3 { color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin: 5px 0 4px; }
#kontakt .contact .step p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
#kontakt .contact .pricing-note { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: start; }
#kontakt .contact .pricing-note > .icon {
  width: 32px; height: 32px; padding: 7px; box-sizing: border-box; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-tint-line);
}
#kontakt .contact .pricing-note p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
#kontakt .contact .pricing-note p > strong:first-child { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin: 5px 0 4px; color: var(--text); }
#kontakt .contact .step__num { grid-column: 1; grid-row: 1 / span 2; }
#kontakt .contact .step > h3, #kontakt .contact .step > p { grid-column: 2; }

/* Leistungs-Chips im Formular: gewählt = Häkchen + roter Rahmen auf hellrotem Grund */
.chip span { gap: 0; transition: background-color .15s ease, border-color .15s ease, color .15s ease, gap .15s ease; }
.chip span::before {
  content: ""; display: block; width: 0; height: 16px; flex: none; background: currentColor; overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: width .15s ease;
}
.chip input:checked + span, #kontakt .chip input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); gap: 6px; }
.chip input:checked + span::before { width: 16px; }
@media (hover: hover) { .chip input:not(:checked) + span:hover { border-color: var(--text-3); } }
@media (prefers-reduced-motion: reduce) { .chip span, .chip span::before { transition: none; } }

/* Kontakt-Ablauf: Zeitstrahl in einer gemeinsamen weißen Karte, Preis-Hinweis als grauer Kartenfuß */
#kontakt .contact .steps {
  position: relative; gap: 0; margin: 0; padding: 20px 20px 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
}
#kontakt .contact .steps::before {
  content: ""; position: absolute; left: 33px; top: 34px; bottom: 42px; width: 2px; background: var(--line-strong); border-radius: 2px;
}
#kontakt .contact .step { position: relative; padding: 0 0 18px; background: none; border: 0; border-radius: 0; box-shadow: none; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
#kontakt .contact .step__num {
  width: 28px; height: 28px; background: var(--accent); color: #FFF; border: 0; font-size: 12px;
  box-shadow: 0 0 0 4px var(--surface); position: relative; z-index: 1;
}
#kontakt .contact .step h3 { margin-top: 3px; }
#kontakt .contact .pricing-note {
  margin-top: 0; padding: 16px 20px; grid-template-columns: 28px minmax(0, 1fr);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
}
main > #kontakt:not(.svc-cta) .contact .pricing-note { background: var(--surface-2); }
#kontakt .contact .pricing-note > .icon { width: 28px; height: 28px; padding: 6px; background: var(--surface); }
#kontakt .contact .steps::before { display: none; }
#kontakt .contact .step:not(:last-child)::after {
  content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line-strong);
}
#kontakt .contact .steps { padding-bottom: 4px; }
/* Preis-Hinweis unten in der Ablauf-Karte: ebenfalls weiß, nur durch eine feine Linie getrennt */
#kontakt .contact .pricing-note, main > #kontakt:not(.svc-cta) .contact .pricing-note { background: var(--surface); }
#kontakt .contact .pricing-note > .icon { background: var(--accent-tint); }

/* Ablauf: „In drei Schritten zu deinem Angebot.“ als Kopf der Karte, Oberkante bündig mit dem Formular */
#kontakt .contact { align-items: start; }
#kontakt .contact .contact-steps__head {
  margin: 0; padding: 16px 20px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
}
#kontakt .contact .contact-steps__head .h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
#kontakt .contact .steps { border-top: 0; border-radius: 0; padding-top: 20px; }

/* Leistungs-Auswahl: gleichmäßiges Raster (3 Spalten, mobil 2), Kästchen links, Text linksbündig.
   Breite ändert sich beim Anklicken nicht – nichts verrutscht. */
#kontakt .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 479px) { #kontakt .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#kontakt .chip { display: block; min-width: 0; }
#kontakt .chip span, #kontakt .chip input:checked + span {
  display: flex; width: 100%; justify-content: flex-start; gap: 10px; min-height: 42px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; line-height: 1.25;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
/* Kästchen: leer = grauer Rahmen, gewählt = rot gefüllt mit weißem Häkchen */
#kontakt .chip span::before {
  content: ""; display: block; flex: none; width: 18px; height: 18px; border-radius: 5px; opacity: 1; transform: none;
  border: 1.5px solid var(--line-strong); background: var(--surface) center / 12px no-repeat;
  -webkit-mask: none; mask: none; transition: background-color .15s ease, border-color .15s ease;
}
#kontakt .chip input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--text); }
#kontakt .chip input:checked + span::before {
  border-color: var(--accent); background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
@media (hover: hover) { #kontakt .chip input:not(:checked) + span:hover { border-color: var(--text-3); } }
#kontakt .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #kontakt .chip span, #kontakt .chip span::before { transition: none; } }

/* Formularfelder im Fokus: dünner roter Rahmen statt dickem Ring, dazu ein zarter hellroter Schein */
.field input:focus, .field select:focus, .field textarea:focus,
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}

/* Leistungs-Raster: lange Wörter (z. B. „Fassadenreinigung“) passen in die Zelle, notfalls mit Silbentrennung */
#kontakt .chip span, #kontakt .chip input:checked + span { height: 100%; padding: 6px 8px; gap: 8px; hyphens: auto; -webkit-hyphens: auto; }
#kontakt .chip span::before { width: 16px; height: 16px; border-radius: 4px; background-size: 11px; }

/* Leistungs-Raster: Spaltenzahl richtet sich nach dem Platz – jede Zelle ist mindestens so breit wie „Fassadenreinigung“ */
#kontakt .chips { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
#kontakt .chip span, #kontakt .chip input:checked + span { white-space: nowrap; }
/* Leistungen: gleiche Schrift wie die Eingabefelder (16px, normal) – dafür etwas breitere Zellen */
#kontakt .chip span, #kontakt .chip input:checked + span { font-size: 16px; font-weight: 400; padding-inline: 12px; gap: 10px; min-height: 44px; }
#kontakt .chips { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }

/* PLZ-Feld im Fokus: dünner roter Rahmen wie im Kontaktformular */
.plz input:focus, .plz input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

/* Navigation: schwebende Leiste – weiße, abgerundete Kapsel mit weichem Schatten, löst sich vom Seitenrand */
:root { --header-gap: 10px; }
html { scroll-padding-top: calc(var(--header-h) + var(--header-gap) + 16px); }
.header, .js .header:not(.is-scrolled) {
  background: transparent; border-bottom: 0; padding: var(--header-gap) clamp(10px, 2vw, 16px) 0; pointer-events: none;
}
.header .header__inner {
  pointer-events: auto; height: var(--header-h); padding-inline: 22px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .07), 0 1px 3px rgba(0, 0, 0, .04);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-scrolled .header__inner { box-shadow: 0 10px 30px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .05); }
@media (max-width: 767px) { .header .header__inner { padding-inline: 16px 8px; } }
/* Lese-Fortschritt: ganz oben am Bildschirmrand statt unter der Leiste */
.scroll-progress { top: 0; }
/* Handy-Menü: ebenfalls als schwebende Karte unter der Leiste */
.mobile-nav {
  inset: calc(var(--header-h) + var(--header-gap) + 8px) clamp(10px, 2vw, 16px) auto;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  max-height: calc(100dvh - var(--header-h) - var(--header-gap) - 24px);
}
/* Schwebende Leiste liegt ÜBER dem Hero: kein heller Streifen oben, der Hero-Hintergrund läuft bis an den Bildschirmrand */
body:has(main > .hero:first-child) .header { margin-bottom: calc(-1 * (var(--header-h) + var(--header-gap))); }
main > .hero:first-child { padding-top: calc(var(--sp-hero) + var(--header-h) + var(--header-gap)); }

/* Sonderleistungen: Zielgruppe als ruhige graue Pille, immer unten in der Karte; Symbole im hellroten Kreis */
#leistungen .special, #sonderleistungen .special { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 22px; }
#leistungen .special__top, #sonderleistungen .special__top { gap: 12px; flex-wrap: nowrap; }
#leistungen .special__top .icon, #sonderleistungen .special__top .icon {
  flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); margin: 0;
}
#leistungen .special > p, #sonderleistungen .special > p { margin: 10px 0 16px; }
#leistungen .special .badge, #sonderleistungen .special .badge {
  margin: auto 0 0; align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
}
/* Sonderanfrage + Räumungs-Hinweis als dunkles Band unter den Karten */
#leistungen .special-cta, #sonderleistungen .special-cta {
  margin-top: 12px; padding: 20px 22px; border-radius: var(--radius); background: #161A1F; color: #FFF;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; text-align: left;
}
.special-cta__text { flex: 1 1 340px; min-width: 0; }
.special-cta__text > p:first-child { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: #FFF; margin: 0; }
.special-cta__addon { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #B4BAC1; max-width: none; }
.special-cta__addon strong { font-weight: 500; color: #E4E7EA; }
#leistungen .special-cta .btn--dark, #sonderleistungen .special-cta .btn--dark { background: var(--brand-red); border-color: var(--brand-red); color: #FFF; }
#leistungen .special-cta .btn--dark:hover, #leistungen .special-cta .btn--dark:focus-visible { background: #A30000; border-color: #A30000; }
@media (max-width: 639px) { #leistungen .special-cta .btn--dark { width: 100%; justify-content: center; } }

/* Leistungskarten (Mix A+B): Foto füllt die Karte, Name weiß auf dunklem Verlauf,
   Symbol als weißer Kreis, runder Pfeil rechts – beim Überfahren: Foto zoomt, Karte hebt sich, Pfeil wird rot */
#leistungen .grid--3 > .card--link {
  position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3.3;
  border: 0; border-radius: 16px; background: #1A1D21; color: #FFF;
  transition: transform .25s cubic-bezier(.23, 1, .32, 1), box-shadow .25s ease;
}
#leistungen .grid--3 > .card--link > img {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; z-index: -2;
  transition: transform .5s cubic-bezier(.23, 1, .32, 1);
}
#leistungen .grid--3 > .card--link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .4) 64%, rgba(0, 0, 0, .82) 100%);
}
#leistungen .grid--3 > .card--link .card__head {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 16px 16px 16px 18px; background: none;
}
#leistungen .grid--3 > .card--link .card__icon {
  width: 38px; height: 38px; border-radius: 50%; background: #FFF; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
#leistungen .grid--3 > .card--link .card__icon .icon { width: 19px; height: 19px; color: var(--brand-red); }
#leistungen .grid--3 > .card--link .card__head .h3 {
  flex: 1; min-width: 0; color: #FFF; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  white-space: normal; overflow: visible; text-overflow: clip;
}
#leistungen .grid--3 > .card--link .card__head::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
  background: #FFF; -webkit-mask: none; mask: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: background-color .2s ease, border-color .2s ease, transform .25s cubic-bezier(.23, 1, .32, 1);
}
/* Überfahren / Tastatur-Fokus: kein Schwarz-Füllen mehr wie früher */
#leistungen .grid--3 > .card--link:hover, #leistungen .grid--3 > .card--link:focus-visible {
  background: #1A1D21; color: #FFF; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
}
#leistungen .grid--3 > .card--link:hover .h3, #leistungen .grid--3 > .card--link:focus-visible .h3 { color: #FFF; }
#leistungen .grid--3 > .card--link:hover .card__icon, #leistungen .grid--3 > .card--link:focus-visible .card__icon { background: #FFF; }
#leistungen .grid--3 > .card--link:hover .card__icon .icon, #leistungen .grid--3 > .card--link:focus-visible .card__icon .icon { color: var(--brand-red); }
#leistungen .grid--3 > .card--link:hover > img, #leistungen .grid--3 > .card--link:focus-visible > img { transform: scale(1.04); }
#leistungen .grid--3 > .card--link:hover .card__head::after, #leistungen .grid--3 > .card--link:focus-visible .card__head::after {
  background-color: var(--brand-red); border-color: var(--brand-red); transform: translateX(3px);
}
#leistungen .grid--3 > .card--link:active { transform: scale(.98); transition-duration: .1s; }
/* Handy: 2 Spalten, Pfeil weg, Symbol kleiner */
@media (max-width: 639px) {
  #leistungen .grid--3 > .card--link { aspect-ratio: 4 / 4.4; border-radius: 14px; }
  #leistungen .grid--3 > .card--link .card__head { flex-direction: row; align-items: center; gap: 8px; padding: 10px; }
  #leistungen .grid--3 > .card--link .card__icon { width: 30px; height: 30px; }
  #leistungen .grid--3 > .card--link .card__icon .icon { width: 16px; height: 16px; }
  #leistungen .grid--3 > .card--link .card__head .h3 { font-size: 13.5px; line-height: 1.2; hyphens: manual; overflow-wrap: break-word; }
  #leistungen .grid--3 > .card--link .card__head::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #leistungen .grid--3 > .card--link, #leistungen .grid--3 > .card--link > img, #leistungen .grid--3 > .card--link .card__head::after { transition: none; }
  #leistungen .grid--3 > .card--link:hover > img { transform: none; }
}
/* Sonderanfrage-Band: grau statt schwarz, dezenter */
#leistungen .special-cta, #sonderleistungen .special-cta { background: color-mix(in srgb, var(--text) 8%, var(--bg-alt)); color: var(--text); border: 1px solid var(--line); }
.special-cta__text > p:first-child { color: var(--text); }
.special-cta__addon { color: var(--text-2); }
.special-cta__addon strong { color: var(--text); }

/* Zielgruppen: Symbol links neben der Überschrift statt darüber */
#fuer-wen .audience { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-content: start; }
#fuer-wen .audience > * { grid-column: 1 / -1; }
#fuer-wen .audience > .icon { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
#fuer-wen .audience > .h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
#fuer-wen .audience > .link-arrow { align-self: end; }
/* Räumungs-Hinweis im Sonderanfrage-Band: kleiner und kompakter */
.special-cta p.special-cta__addon { font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.45; margin-top: 4px; }
.special-cta__addon strong { font-weight: 500; }
@media (max-width: 639px) { .special-cta p.special-cta__addon { font-size: 12.5px; } }

/* Vorteile-Band: gleicher Grauton und Rahmen wie das Sonderanfrage-Band */
.benefits-teaser, main .benefits-teaser { background: color-mix(in srgb, var(--text) 8%, var(--bg-alt)); border: 1px solid var(--line); }
/* Räumungs-Hinweis: Entsorgungskosten-Satz in eigener Zeile darunter */
.special-cta__addon strong { display: block; }
/* Sonderanfrage-Band: Räumungs-Hinweis als eine ruhige Zeile mit „+“-Kreis davor (nur zwei Textebenen) */
.special-cta p.special-cta__addon {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 8px; align-items: start;
  margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-2);
}
.special-cta p.special-cta__addon::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; margin-top: 0;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC0000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.special-cta p.special-cta__addon > * { grid-column: 2; }
.special-cta p.special-cta__addon strong { display: inline; font-weight: 400; color: inherit; }
@media (max-width: 639px) { .special-cta p.special-cta__addon { font-size: 13px; } }
/* (Korrektur) statt Raster: Einzug links, „+“-Kreis absolut davor – so bleibt der Text ein Fließtext */
.special-cta p.special-cta__addon { display: block; position: relative; padding-left: 28px; }
.special-cta p.special-cta__addon::before { position: absolute; left: 0; top: 0; }

/* Wunschtermin auf dem Handy (iOS/Android natives Datumsfeld): gleiche Breite und Höhe wie die anderen Felder */
.field input[type="date"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  min-height: 44px; height: 44px; line-height: normal; text-align: left; background: var(--bg); color: var(--text);
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.2em; }
.field input[type="date"]::-webkit-datetime-edit { padding: 0; }
.field.date-native { position: relative; }
.field.date-native.date-empty::after {
  content: attr(data-ph); position: absolute; left: 13px; bottom: 0; height: 44px; display: flex; align-items: center;
  font-size: 16px; color: var(--text-3); pointer-events: none;
}
/* Leeres Datumsfeld: Android-Vorgabe „tt.mm.jjjj“ ausblenden, damit sie nicht mit „Datum wählen“ überlappt */
.field.date-empty input[type="date"]:not(:focus)::-webkit-datetime-edit { color: transparent; }
.field.date-empty:focus-within::after { display: none; }

/* Datenschutz-Zustimmung: ruhiger Hinweis in einer hellen Fläche, normale Schrift, Kästchen wie bei den Leistungen */
#kontakt .field label.check {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--text-2); cursor: pointer;
}
#kontakt .check a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
#kontakt .check a:hover { text-decoration-color: var(--accent); color: var(--accent); }
#kontakt .check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface) center / 13px no-repeat; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
#kontakt .check input[type="checkbox"]:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
#kontakt .check input[aria-invalid="true"] { border-color: var(--error); }
#kontakt .field .check input[type="checkbox"] { min-height: 0; height: 20px; width: 20px; padding: 0; }

/* Handy-Menü dezenter: kleinere, normale Schrift, feinere Linien, kein roter Knopf am Ende */
.mobile-nav { padding: 6px 18px 10px; }
.mobile-nav .btn { display: none; }
.mobile-nav a:not(.btn), .mobile-nav__group summary {
  padding: 13px 2px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--text);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.mobile-nav > a:last-of-type { border-bottom: 0; }
.mobile-nav__group { border-bottom: 0; }
.mobile-nav__group summary .icon { width: 16px; height: 16px; color: var(--text-3); }
.mobile-nav .mobile-nav__group a:not(.btn) { padding: 9px 2px 9px 14px; font-size: 15px; font-weight: 400; color: var(--text-2); border-bottom: 0; }
.mobile-nav .mobile-nav__group a:last-child { margin-bottom: 6px; }
.mobile-nav > a:not(.btn):has(+ .btn), .mobile-nav > a:not(.btn):last-child { border-bottom: 0; }

/* =========================================================================
   Typografie 5A (Figtree): höchstens drei Stärken (400/500/600),
   Überschriften halbfett, einheitliche rote Kicker-Zeile, ruhigere Laufweite
   ========================================================================= */
h1, h2, h3, h4, .h1, .h2, .h3, .about-hero .about__text .h2, .plz h3 { font-weight: 600; }
.h1, .hero .h1, .svc-hero .h1 { letter-spacing: -.025em; line-height: 1.1; }
.h2, #leistungen .h2, .about-hero .about__text .h2, .plz h3 { letter-spacing: -.02em; line-height: 1.15; }
.h3 { letter-spacing: -.01em; line-height: 1.25; }
.plz-result__title, .form-subhead, .consent-banner__title, .consent-opt h3 { font-weight: 600; }
.step__num, .offer .big, .reviews-summary .score, .trust__num, .notfound__code, .amigo-name__key, .amigo-name__note .hl { font-weight: 600; }
/* Rote Zeile über Überschriften: überall gleich – 13 px, mittelstark, normale Schreibweise */
.kicker, .hero .kicker, .kicker:not(.hero .kicker) {
  font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.btn { font-weight: 600; letter-spacing: 0; }
body { line-height: 1.6; }
.lead { line-height: 1.6; }

/* Startseiten-Hero: füllt auf dem Desktop immer den ganzen Bildschirm
   (Navigation schwebt darüber, daher volle Höhe ohne Abzug und ohne Obergrenze) */
@media (min-width: 640px) {
  main > .hero:first-child:not(.svc-hero) { min-height: max(560px, 100vh); min-height: max(560px, 100svh); }
}

/* Rote Knöpfe: flach im Markenrot wie „Sonderanfrage stellen“ – kein Verlauf, kein Glanz, kein Lichtstreifen.
   Hover wird etwas dunkler, Klick drückt leicht ein. */
.btn--primary,
.hero .btn-row .btn--primary {
  background: var(--btn); background-image: none; box-shadow: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
.btn--primary:hover, .btn--primary:focus-visible,
.hero .btn-row .btn--primary:hover, .hero .btn-row .btn--primary:focus-visible { background: var(--btn-hover); background-image: none; }
.btn--primary:active { transform: scale(.97); }
.hero .btn-row .btn--primary::after { display: none; }

/* „Anfrage senden“: Text links, weißer Pfeil-Kreis rechts. Beim Senden wird der Kreis zum Ladekreis,
   danach grün mit Haken. Text wechselt weich (kurz unscharf). */
#kontakt .form .btn--send {
  justify-content: space-between; min-height: 52px; padding: 0 6px 0 24px; font-size: 16px; gap: 16px;
  transition: background-color .2s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
#kontakt .form .btn--send:active { transform: scale(.97); }
#kontakt .form .btn--send:disabled { opacity: 1; cursor: progress; }
.btn-send__label { transition: filter .15s ease, opacity .15s ease; }
.btn--send.is-swapping .btn-send__label { filter: blur(2px); opacity: 0; }
.btn-send__circle {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #FFF; color: var(--btn); display: inline-grid; place-items: center;
}
.btn-send__circle > * { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s cubic-bezier(.23, 1, .32, 1); }
.btn-send__circle .icon { width: 20px; height: 20px; }
.btn-send__spin {
  width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--btn) 25%, transparent);
  border-top-color: var(--btn); opacity: 0; animation: btn-send-spin .6s linear infinite;
}
.btn-send__check { opacity: 0; transform: scale(.6); }
@keyframes btn-send-spin { to { rotate: 360deg; } }
.btn--send.is-sending .btn-send__arrow { opacity: 0; transform: scale(.6); }
.btn--send.is-sending .btn-send__spin { opacity: 1; }
.btn--send.is-sent, .btn--send.is-sent:hover { background: #1F7A3A; }
.btn--send.is-sent .btn-send__circle { color: #1F7A3A; }
.btn--send.is-sent .btn-send__arrow { opacity: 0; transform: scale(.6); }
.btn--send.is-sent .btn-send__check { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .btn--send:not(:disabled):hover .btn-send__arrow { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-send__circle > *, .btn-send__label { transition: none; }
  .btn-send__spin { animation-duration: 1.6s; }
}

/* Zeitfenster: Dropdown mit Mehrfachauswahl – sieht aus wie die anderen Auswahlfelder,
   öffnet eine kleine Liste mit Kästchen. Ohne JavaScript stehen die Kästchen einfach darunter. */
.multisel { position: relative; }
.multisel__btn {
  display: none; width: 100%; min-height: 44px; padding: 8px 40px 8px 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-3);
  font-size: 16px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E636A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.multisel.has-value .multisel__btn { color: var(--text); }
.multisel__btn:hover { border-color: var(--text-3); }
.multisel__btn:focus-visible, .multisel.is-open .multisel__btn { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.multisel.is-ready .multisel__btn { display: block; }
.multisel__pop { display: grid; gap: 2px; }
.multisel.is-ready .multisel__pop {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; padding: 6px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top center;
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s linear .15s;
}
.multisel.is-open .multisel__pop { opacity: 1; visibility: visible; transform: none; transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s; }
.multisel__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 8px; cursor: pointer; font-size: 16px; user-select: none; }
.multisel__opt input {
  appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0;
  border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface) center / 12px no-repeat; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.multisel__opt input:checked {
  background-color: var(--btn); border-color: var(--btn);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.multisel__opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .multisel__opt:hover { background: var(--surface-2); } }
@media (prefers-color-scheme: dark) { .multisel.is-ready .multisel__pop { background: var(--surface-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .55); } }
@media (prefers-reduced-motion: reduce) { .multisel.is-ready .multisel__pop, .multisel.is-open .multisel__pop { transition: none; transform: none; } }
/* Zeitfenster-Kästchen: allgemeine Feld-Regeln (Höhe, Innenabstand, Fokus-Rahmen, fette Labels) hier aufheben */
#kontakt .field .multisel__opt { font-weight: 400; margin: 0; color: var(--text); }
#kontakt .field .multisel__opt input { width: 18px; height: 18px; min-height: 0; padding: 0; border-width: 1.5px; border-radius: 5px; box-shadow: none; }
#kontakt .field .multisel__opt input:checked { border-color: var(--btn); }
#kontakt .field .multisel__opt input:focus { box-shadow: none; }

/* Zeitfenster: Uhrzeit rechts in der Zeile, etwas leiser */
.multisel__opt .multisel__time { margin-left: auto; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
/* Zeitfenster: kompaktere Zeilen im Dropdown */
.multisel.is-ready .multisel__pop { padding: 4px; gap: 0; border-radius: 10px; }
#kontakt .field .multisel__opt { min-height: 36px; padding: 0 8px; gap: 8px; font-size: 15px; border-radius: 6px; }
#kontakt .field .multisel__opt input { width: 16px; height: 16px; border-radius: 4px; background-size: 11px; }
.multisel__opt .multisel__time { font-size: 13px; }

/* Vorteile-Seite: Überschrift kleiner, ab Desktop in einer Zeile */
.svc-hero .h1.ben-h1 { font-size: clamp(28px, 3.6vw, 48px); }
@media (min-width: 1024px) { .svc-hero .h1.ben-h1 { white-space: nowrap; } }
/* Zentrierte Abschnittsköpfe: Einleitungssatz mittig unter der Überschrift */
.section-head--center .lead { margin-inline: auto; text-align: center; }
/* Einzugsgebiet-Hinweis unter den Kontakt-Buttons: ab Desktop kleiner und in einer Zeile */
@media (min-width: 1040px) {
  .svc-cta__actions .svc-cta__area { width: auto; min-width: 0; white-space: nowrap; justify-self: center; font-size: 13px; }
  .svc-cta__actions .btn-row { justify-content: center; }
}
/* Vorteile-Seite, Variante 1: schlichte weiße Karten ohne rosa Verlauf */
#vorteile .offer--dark { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
#vorteile .offer-steps__num { background: transparent; }

/* =========================================================================
   Leistungsseiten, Variante 1: Vorher/Nachher als Bühne ganz oben,
   darunter Titel links und Buttons rechts
   ========================================================================= */
.svc-hero--stage .breadcrumb { margin-bottom: 16px; }
.svc-hero--stage .ba--stage { width: 100%; aspect-ratio: 21 / 9; max-height: min(62vh, 560px); animation: none; }
@media (max-width: 899px) { .svc-hero--stage .ba--stage { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .svc-hero--stage .ba--stage { aspect-ratio: 4 / 3; } }
.js .svc-hero--stage .ba--stage.reveal { opacity: 1; transform: none; transition: none; }
.svc-stage__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(20px, 3vw, 32px); }
.svc-stage__bar .btn-row { margin: 0; }
@media (max-width: 639px) { .svc-stage__bar .btn-row { width: 100%; } .svc-stage__bar .btn-row .btn { flex: 1 1 100%; } }
.svc-hero--stage { padding-bottom: clamp(24px, 4vw, 40px); }
.svc-hero--stage .svc-hero__title .h1 { font-size: clamp(32px, 4vw, 52px); }
@media (min-width: 1000px) { .svc-stage__bar { flex-wrap: nowrap; } }
/* Leistungsseiten: letzter Abschnitt („Das mache ich außerdem.“) läuft wie auf der Startseite in Grau aus */
main:has(> .svc-hero--stage) > section:last-of-type { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 35%, color-mix(in srgb, var(--dark-bg) 14%, var(--bg)) 100%); }
main:has(> .svc-hero--stage) > section:last-of-type::after { display: none; }
/* Leistungsseiten, „Das mache ich außerdem.“: roter Hover-Effekt auf den Leistungs-Kacheln */
.svc-link, .svc-link .card__icon, .svc-link .card__icon .icon { transition: transform var(--t-med) var(--spring), border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
@media (hover: hover) {
  .svc-link:hover { border-color: var(--brand-red); color: var(--brand-red); }
  .svc-link:hover .card__icon { background: color-mix(in srgb, var(--brand-red) 10%, var(--surface)); color: var(--brand-red); }
  .svc-link:hover .card__icon .icon, .svc-link:hover > .icon { color: var(--brand-red); }
}
.svc-link:focus-visible { border-color: var(--brand-red); color: var(--brand-red); }
/* Seitenende auf allen Seiten einheitlich: neutral grauer Verlauf wie auf der Startseite, kein roter Schimmer mehr */
main > section:last-child::after { display: none; }
main > section:last-child { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 35%, color-mix(in srgb, var(--dark-bg) 14%, var(--bg)) 100%); }
/* Leistungskarten Startseite: sanftes Einblenden beim Scrollen wiederherstellen.
   Der Hover-Übergang oben hatte die Einblend-Animation überschrieben – Karten tauchten
   schlagartig auf und ruckten. Einblenden läuft jetzt über „translate“, Hover über „transform“. */
.js #leistungen .grid--3 > .card--link.reveal {
  transform: none; translate: 0 16px;
  transition: opacity .7s var(--ease) var(--d, 0s), translate .9s cubic-bezier(.23, 1, .32, 1) var(--d, 0s), transform .25s cubic-bezier(.23, 1, .32, 1), box-shadow .25s ease;
}
.js #leistungen .grid--3 > .card--link.reveal.is-visible { translate: none; }
.js #leistungen .grid--3 > .card--link.reveal:hover, .js #leistungen .grid--3 > .card--link.reveal:focus-visible { transform: translateY(-3px); }
.js #leistungen .grid--3 > .card--link.reveal:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .js #leistungen .grid--3 > .card--link.reveal { translate: none; transition: none; } }

/* Einzugsgebiet: gleichmäßige Abstände im PLZ-Bereich */
#einzugsgebiet .plz-result:empty { margin-top: 0; min-height: 0; }
#einzugsgebiet .area__extra { margin-top: 20px; padding-inline: 0; gap: 12px; }

/* Handy-Menü: liegt in der schwebenden Leiste (pointer-events: none) und braucht Klicks zurück */
.mobile-nav { pointer-events: auto; }


/* =========================================================================
   Seitenwechsel auf dem Handy: eigenes Aus- und Einblenden statt View Transition
   (die Browser-Übergänge ruckeln dort, weil sich die Adressleiste beim Wechsel
   in der Höhe ändert). Die Leiste oben bleibt stehen, nur der Inhalt blendet.
   ========================================================================= */
@media (max-width: 767px) {
  @view-transition { navigation: none; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  main, .footer { animation: ptm-in .6s ease-out backwards; }
  html.ptm-leaving main, html.ptm-leaving .footer { opacity: 0; transition: opacity .35s ease-in-out; }
}
@keyframes ptm-in { from { opacity: 0; } }

/* Leistungsseiten: „Dein Vorteil“ als kurze Liste mit roten Punkten */
.svc-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-benefits li { position: relative; padding-left: 18px; }
.svc-benefits li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* =========================================================================
   Kontaktformular Schritt für Schritt („wiz“): eine Frage pro Schritt
   ========================================================================= */
#kontakt .wiz {
  --wz-tint: color-mix(in srgb, var(--accent) 9%, var(--surface));
  --wz-ease: cubic-bezier(.23, 1, .32, 1);
  min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -24px rgba(0, 0, 0, .18);
}
.wz-top { display: flex; align-items: center; gap: 16px; padding: 18px 28px 0; }
.wz-back { border: 0; background: none; font: inherit; font-size: 14px; color: var(--text-3); padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; visibility: hidden; }
.wz-back svg { width: 16px; height: 16px; }
.wz-back:hover { color: var(--text); }
.wz-back.is-on { visibility: visible; }
.wz-count { margin-left: auto; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.wz-bar { height: 4px; background: var(--surface-2); margin: 12px 28px 0; border-radius: 4px; overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 4%; background: var(--accent); border-radius: 4px; transition: width .5s var(--wz-ease); }
.wz-body { position: relative; padding: 24px 28px 28px; }
.wz-step { display: none; }
.wz-step.is-on { display: block; animation: wzIn .45s var(--wz-ease) both; }
/* aktiver Schritt über dem Fuß, damit der Kalender nicht vom „Weiter“-Knopf verdeckt wird */
.wz-step.is-on { position: relative; z-index: 2; }
#kontakt .wiz { position: relative; z-index: 3; }
.wz-step.is-back { animation-name: wzBack; }
.wz-step:focus { outline: none; }
@keyframes wzIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes wzBack { from { opacity: 0; transform: translateX(-24px); } }
.wz-q { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 650; margin: 0 0 6px; color: var(--text); }
.wz-sub { margin: 0 0 20px; color: var(--text-3); font-size: 15px; }

/* Kacheln zum Antippen: alle gleich groß */
.wz-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.wz-tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wz-tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 42px 12px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; font: inherit; text-align: left; color: var(--text); transition: border-color .2s ease, background-color .2s ease, transform .2s var(--wz-ease); }
.wz-tiles--single .wz-tile { padding-right: 16px; }
.wz-tile:active { transform: scale(.98); }
.wz-tile svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
.wz-tile b { font-weight: 600; font-size: 15px; line-height: 1.25; hyphens: manual; }
.wz-tile[aria-pressed="true"] { border-color: var(--accent); background: var(--wz-tint); }
.wz-tile::after { content: ""; position: absolute; top: 50%; margin-top: -10px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); transition: background-color .2s ease, border-color .2s ease; }
.wz-tile[aria-pressed="true"]::after { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wz-tiles--single .wz-tile::after { display: none; }
@media (hover: hover) and (pointer: fine) { .wz-tile:hover { border-color: var(--line-strong); transform: translateY(-2px); } .wz-tile[aria-pressed="true"]:hover { border-color: var(--accent); } }

/* Eingabefelder */
#kontakt .wiz .wz-big { width: 100%; min-height: 0; font: inherit; font-size: 17px; padding: 8px 0 7px; border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 0; background: none; outline: none; box-shadow: none; color: var(--text); transition: border-color .2s ease; }
#kontakt .wiz .wz-big::placeholder { color: var(--text-3); opacity: 1; }
#kontakt .wiz .wz-big:focus { border-color: var(--text); }
#kontakt .wiz .wz-big.is-bad { border-color: var(--accent); }
#kontakt .wiz textarea.wz-big { font-size: 16px; resize: vertical; min-height: 80px; line-height: 1.5; }
#kontakt .wiz input[type="date"].wz-big { height: auto; min-height: 42px; }
.wz-fields { display: grid; gap: 12px; }
.wz-lab { display: block; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.wz-lab--gap { margin-bottom: 10px; }
.wz-lab--wait { margin: 20px 0 10px; }
.wz-opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.wz-hint { margin: 4px 0 0; font-size: 13px; min-height: 18px; color: var(--text-3); }
.wz-hint:empty { min-height: 0; margin-top: 0; }
.wz-hint.is-bad { color: var(--error); }
.wz-date { position: relative; }
.wz-date.date-native.date-empty::after { content: attr(data-ph); position: absolute; left: 0; top: 0; bottom: 2px; display: flex; align-items: center; font-size: 17px; color: var(--text-3); pointer-events: none; }
.wz-date.date-empty input[type="date"]:not(:focus)::-webkit-datetime-edit { color: transparent; }
.wz-date.date-empty:focus-within::after { display: none; }

.wz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-chip { font: inherit; font-size: 15px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; color: var(--text); transition: border-color .2s ease, background-color .2s ease; }
.wz-chip small { color: var(--text-3); font-size: 13px; margin-left: 4px; }
.wz-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--wz-tint); }

.wz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.wz-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.wz-check a { color: var(--text); }

/* Zusammenfassung */
.wz-sum { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 4px 0 0; }
.wz-sum div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.wz-sum div:first-child { border-top: 0; }
.wz-sum dt { color: var(--text-3); font-size: 13px; }
.wz-sum dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.wz-sum button { border: 0; background: none; color: var(--text-3); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }

/* Fuß: der „Anfrage senden“-Knopf (Text links, weißer Pfeil-Kreis rechts) */
.wz-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
#kontakt .wiz .btn--send {
  justify-content: space-between; min-height: 52px; padding: 0 6px 0 24px; font-size: 16px; gap: 16px;
  transition: background-color .2s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
#kontakt .wiz .btn--send:active { transform: scale(.97); }
#kontakt .wiz .btn--send:disabled { opacity: 1; cursor: progress; }
.wz-key { font-size: 13px; color: var(--text-3); }
.wz-key kbd { font: inherit; font-size: 12px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }
.wz-skip { margin-left: auto; border: 0; background: none; font: inherit; font-size: 14px; color: var(--text-3); text-decoration: underline; cursor: pointer; padding: 8px 0; }
.wiz .form-status { margin: 14px 0 0; }
.wiz .form-status:empty { display: none; }

/* Erfolg */
.wz-done { text-align: center; padding: 32px 0 16px; }
.wz-done__ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--wz-tint); color: var(--accent); animation: wzPop .6s var(--wz-ease) both; }
.wz-done__ico svg { width: 34px; height: 34px; }
@keyframes wzPop { from { transform: scale(.6); opacity: 0; } }
.wz-done p { color: var(--text-2); max-width: 420px; margin: 8px auto 0; line-height: 1.55; }
.wiz :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
#kontakt .wiz .wz-big:focus-visible { outline: none; }

@media (max-width: 560px) {
  .wz-top, .wz-body { padding-left: 18px; padding-right: 18px; }
  .wz-bar { margin-left: 18px; margin-right: 18px; }
  .wz-tiles, .wz-tiles--three { grid-template-columns: minmax(0, 1fr); }
  .wz-key { display: none; }
  .wz-foot .btn--send { flex: 1; }
  .wz-sum div { grid-template-columns: minmax(0, 1fr) auto; }
  .wz-sum dt { grid-column: 1 / -1; margin-bottom: -8px; }
}
@media (hover: none) { .wz-key { display: none; } }
@media (prefers-reduced-motion: reduce) { .wz-step.is-on, .wz-done__ico { animation: none; } .wz-tile, .wz-bar span { transition: none; } }

/* Formular: immer gleich hoch (so hoch wie der längste Schritt), damit nichts darunter springt.
   Alle Schritte liegen übereinander in derselben Zelle, sichtbar ist nur der aktive. */
.wz-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
.wz-body > .wz-step { display: block; grid-row: 1; grid-column: 1; visibility: hidden; pointer-events: none; }
.wz-body > .wz-step.is-on { visibility: visible; pointer-events: auto; }
.wz-body > .wz-step:not(.is-on) { animation: none; }
.wz-body > .wz-foot { grid-row: 2; }
.wz-body > .form-status { grid-row: 3; }
/* Danke-Seite: senkrecht mittig im Formular */
.wz-body > .wz-step[data-step="8"] { align-self: center; }
/* Handy: nur der aktive Schritt nimmt Platz ein, sonst entsteht unter kurzen Schritten eine große Lücke */
@media (max-width: 760px) {
  .wz-body > .wz-step:not(.is-on) { display: none; }
}
/* Handy: Formular insgesamt kompakter (kleinere Kacheln, Abstände und Überschrift) */
@media (max-width: 560px) {
  .wz-top { padding-top: 12px; }
  .wz-bar { margin-top: 8px; }
  .wz-body { padding: 16px 16px 18px; }
  .wz-top { padding-left: 16px; padding-right: 16px; }
  .wz-bar { margin-left: 16px; margin-right: 16px; }
  .wz-q { font-size: 20px; margin-bottom: 4px; }
  .wz-sub { font-size: 14px; margin-bottom: 12px; }
  .wz-tiles { gap: 6px; }
  .wz-tile { min-height: 44px; padding: 9px 38px 9px 14px; border-radius: 12px; gap: 10px; }
  .wz-tiles--single .wz-tile { padding-right: 14px; }
  .wz-tile b { font-size: 14px; }
  .wz-tile svg { width: 20px; height: 20px; }
  .wz-tile::after { right: 12px; width: 18px; height: 18px; margin-top: -9px; }
  .wz-lab { font-size: 12px; }
  .wz-lab--wait { margin: 14px 0 6px; }
  .wz-chip { font-size: 14px; padding: 7px 12px; }
  .wz-foot { margin-top: 16px; }
  .wz-done { padding: 20px 0 8px; }
}

/* Kontaktformular: Name und Firma nebeneinander (auf dem Handy untereinander) */
.wz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
@media (max-width: 560px) { .wz-pair { grid-template-columns: minmax(0, 1fr); } }

/* Kontaktformular: letzter Schritt (der längste) kompakter, damit das ganze Formular weniger Leerraum unten hat */
#kontakt .wiz [data-step="7"] textarea.wz-big { min-height: 60px; }
.wz-sum div { padding: 6px 16px; font-size: 14px; }

/* Kontaktformular, letzter Schritt: „Anfrage senden“ über die ganze Breite, ohne „oder Enter“ */
.wz-foot.is-last .btn--send { flex: 1; }
.wz-foot.is-last .wz-key { display: none; }

/* „Über mich“: Foto und Text gleich hoch – „Miguel Goncalves, Inhaber“ endet bündig mit der Unterkante des Fotos */
@media (min-width: 900px) {
  .about-hero .about { align-items: stretch; }
  .about-hero .about > :first-child { display: flex; flex-direction: column; }
  .about-hero .about > :first-child .ph--portrait { flex: 1 0 auto; }
  .about-hero .about__text { display: flex; flex-direction: column; }
  .about-hero .about__text h1 { margin-top: 0; }
  .about-hero .about__sign { margin-top: auto; padding-top: 28px; line-height: 1; }
}

/* Über mich, Werte-Karten: Icon links, Überschrift und Text rechts daneben */
.about-page .values .card__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; align-content: start; }
.about-page .values .card__icon { grid-row: 1 / span 2; margin: 0; }
.about-page .values .h3 { align-self: center; min-height: 44px; display: flex; align-items: center; }

/* Kontaktformular, Schritt 1: „Vormerken“ als aufklappbares Menü */
.wz-more { margin-top: 10px; }
.wz-more__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--text); transition: border-color .2s ease, color .2s ease; }
.wz-more__sum::-webkit-details-marker { display: none; }
.wz-more__sum svg { flex: none; transition: transform .25s var(--wz-ease); }
.wz-more[open] .wz-more__sum { color: var(--text); }
.wz-more[open] .wz-more__sum svg { transform: rotate(180deg); }
.wz-more > .wz-tiles { margin-top: 10px; }
.wz-more__sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .wz-more__sum:hover { border-color: var(--line-strong); color: var(--text); } }
@media (max-width: 560px) {
  .wz-more { margin-top: 6px; }
  .wz-more__sum { min-height: 44px; padding: 9px 14px; border-radius: 12px; font-size: 14px; }
  .wz-more > .wz-tiles { margin-top: 6px; }
}

/* Kontaktformular: Kachel-Texte immer einzeilig und alle Kacheln einer Gruppe gleich groß.
   Zwei gleiche Spalten; bei „Worum geht es?“ kleinere Schrift, damit auch der längste Text einzeilig passt. */
.wz-tile b { white-space: nowrap; hyphens: none; }
@media (min-width: 561px) {
  .wz-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .wz-step[data-step="1"] .wz-tile { min-height: 50px; padding: 10px 12px; }
  .wz-step[data-step="1"] .wz-tile b { font-size: 14px; }
}

/* Kontaktformular, Empfehlungs-Schritt: lange Überschrift immer einzeilig (Schrift passt sich der Breite an) */
.wz-step[data-step="9"] { container-type: inline-size; }
.wz-step[data-step="9"] .wz-q { white-space: nowrap; font-size: min(22px, calc(100cqi / 22.3)); }
html[lang="en"] .wz-step[data-step="9"] .wz-q { font-size: min(22px, calc(100cqi / 18.6)); }
