/* ============================================================================
   CarDentWorks – Beulendoktor, Smart Repair & Autopflege in München
   Gestaltung nach der Figma-Vorlage „StellarCars – Sport Car Dealer“ (#121):
   helle graue Flächen (#ebecee, bis 15.11.2026 Stahlblau #cbd3df; Kundenwunsch „heller, grau“), Rot-Verlauf (#e73130 → #a62525), schwarze Fußzeile,
   Inter Tight für Überschriften, Outfit für Fließtext, Titillium Web für Navigation und Fuß.
   Raster: 1440 breit, 98 px Rand → 1244 Inhalt, drei Spalten à 388 mit 40 Lücke.
   Logo-Farben des Kunden: Schwarz + Rot (#e3000f); Flächen-Rot bleibt der Vorlagen-Verlauf.
   ============================================================================ */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #ebecee;
  --bg-hell: #fbfbfc;
  --weiss: #ffffff;
  --karte: #f7f8f9;
  --schwarz: #000000;
  --tinte: #1f2d3e;
  --text: #263243; /* Kundenwunsch 15.11.2026: Fließtext so dunkel wie die Kopfzeile */
  --text-hell: #8f8f8f;
  --rot: #e73130;
  --rot-dunkel: #a62525;
  --rot-text: #a62525; /* Rot als Schriftfarbe: auf #ebecee 6,1:1, auf Weiß 7:1 (WCAG AA) */
  --rot-flaeche: #dc2e2d; /* Rotfläche unter weißem Text: 4,7:1 statt 4,3:1 bei #e73130, optisch gleich */
  --rot-verlauf: linear-gradient(135deg, #dc2e2d 0%, #a62525 100%);
  --anthrazit: #2b2f35; /* Hero-Fläche hinter den Bildern, Kundenwunsch 16.11.2026 („dunkleres Anthrazit“ statt Rot) */
  --anthrazit-verlauf: linear-gradient(135deg, #383d44 0%, #22262b 100%);
  --stern: #ffa924;
  --linie: #d9d9d9;
  --f-kopf: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-text: "Outfit", system-ui, sans-serif;
  --f-nav: "Titillium Web", "Outfit", system-ui, sans-serif;
  --f-logo: "Montserrat", "Inter Tight", system-ui, sans-serif;
  --rand: clamp(16px, 6.8vw, 98px);
  --inhalt: 1244px;
  --schatten: 13px 9px 38px rgba(0, 0, 0, 0.10);
  --schatten-stark: 0 24px 60px rgba(31, 45, 62, 0.18);
  --kopf-hoehe: 89px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-text); font-size: 16px; line-height: 25px; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* hidden-Attribut schlägt Klassen mit display (Formular nach dem Senden) */
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-kopf); color: var(--tinte); margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--tinte); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--schwarz); color: #fff; padding: 10px 16px; z-index: 100; font-family: var(--f-nav); }
.sprung:focus { left: 8px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Rahmen und Abschnitte ---------- */
.rahmen { width: min(var(--inhalt), 100% - 2 * var(--rand)); margin-inline: auto; }
.abschnitt { position: relative; padding: 80px 0; overflow: hidden; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--eng { padding: 64px 0; }
/* Dekor der Vorlage: weich verwischte Kreise und ein schräges Linienraster bei 60 % */
.dekor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dekor::before, .dekor::after { content: ""; position: absolute; border-radius: 50%; background: var(--bg-hell); filter: blur(120px); opacity: 0.9; }
.dekor::before { width: 472px; height: 472px; right: -120px; top: 60px; }
.dekor::after { width: 472px; height: 472px; left: -200px; bottom: -120px; }
.dekor--links::before { right: auto; left: 14%; top: 40px; }
.dekor--mitte::before { right: 30%; top: 70px; }
.raster { position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    repeating-linear-gradient(-64deg, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px 191px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px 191px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.raster--dunkel { background-image:
    repeating-linear-gradient(-64deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 191px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 191px); opacity: 0.25; }
.abschnitt > .rahmen { position: relative; z-index: 1; }

/* Überschriften mit rotem Strich (Vorlage: 5 px Rot, 239 hoch, links neben dem Text) */
.titel { font-size: clamp(34px, 4.1vw, 59px); line-height: 1.085; letter-spacing: -0.02em; }
.titel--klein { font-size: clamp(28px, 2.65vw, 38px); line-height: 1.06; letter-spacing: -0.01em; }
.titel--mitte { text-align: center; }
.strich { position: relative; padding-left: 29px; }
.strich::before { content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 5px; background: var(--rot); }
/* Variante A (16.11.2026): kurzer waagrechter Strich unter der Überschrift statt 5 × 120 px senkrecht */
.strich-unten::after { content: ""; display: block; width: 64px; height: 4px; background: var(--rot); margin-top: 18px; }
.vorspann { font-family: var(--f-nav); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--rot-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.kopf-zeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 56px; }
.kopf-zeile p { max-width: 520px; }
.kopf-zeile--mitte { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.kopf-zeile--mitte p { max-width: 640px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 40px; min-height: 57px;
  font-family: var(--f-nav); font-weight: 600; font-size: 16px; line-height: 24px; text-decoration: none; border: 1px solid transparent;
  color: #fff; background: var(--rot-verlauf); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }
.knopf:focus-visible, .knopf--rand:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.knopf--rand { background: transparent; color: #212121; border-color: #212121; padding: 16px 24px; font-family: var(--f-kopf); font-weight: 500; font-size: 18px; letter-spacing: 0.05em; }
.knopf--rand:hover { background: #212121; color: #fff; box-shadow: none; }
.knopf--weiss { background: #fff; color: var(--tinte); border-color: #fff; }
.knopf--weiss:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }
.knopf--schwarz { background: var(--schwarz); }
.knopf--tel { background: var(--tinte); padding-inline: 28px; }
.knopf--tel:hover { background: #111a26; }
.knopf--klein { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.knopf .ico { width: 22px; height: 22px; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-nav); font-weight: 600; color: var(--tinte); text-decoration: none; }
.textlink:hover { color: var(--rot-text); }
.textlink .ico { width: 20px; height: 20px; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(235, 236, 238, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--kopf-hoehe); }
.logo { display: inline-flex; align-items: baseline; font-family: var(--f-logo); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: #111; text-decoration: none; line-height: 1; white-space: nowrap; }
.logo .rot { color: #e3000f; }
.logo--fuss { color: #fff; font-size: 24px; }
.logo--fuss .rot { color: #141414; } /* 18.11.2026: auf dem roten Streifen war Hellrot kaum lesbar */
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { font-family: var(--f-nav); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--tinte); text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rot-text); }
.kopf .knopf { padding: 16px 32px; }
/* Telefonknopf in der Kopfzeile: Nummer ausgeschrieben, auf schmalen Breiten nur das Hörer-Symbol */
.kopf-rechts { display: flex; align-items: center; gap: 20px; }
.kopf-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--f-nav); font-weight: 600; font-size: 17px; line-height: 24px; color: var(--tinte); text-decoration: none; white-space: nowrap; }
.kopf-tel .ico { width: 20px; height: 20px; color: var(--rot-text); }
.kopf-tel:hover { color: var(--rot-text); }
.kopf-tel:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.menue-knopf { display: none; width: 48px; height: 48px; border: 1px solid var(--tinte); background: transparent; color: var(--tinte); align-items: center; justify-content: center; }
.menue-knopf .ico { width: 26px; height: 26px; }
.menue-knopf[aria-expanded="true"] .ico-menu, .menue-knopf[aria-expanded="false"] .ico-x { display: none; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; }
.hero .rahmen { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 44px; align-items: start; padding: 72px 0 64px; min-height: 734px; }
.hero-text { position: relative; padding-left: 24px; max-width: 494px; }
/* Roter Balken (Vorlage 10 px): läuft genau neben Überschrift und Einleitung, egal wie lang der Text ist */
.hero-text > h1, .hero-text > h1 ~ p { margin-left: -24px; padding-left: 14px; border-left: 10px solid var(--rot); }
.hero h1 { font-size: clamp(42px, 4.8vw, 68px); line-height: 1.06; font-weight: 700; color: var(--schwarz); letter-spacing: -0.015em; }
.hero h1 .rot { color: var(--rot-text); }
.hero-text > p { margin-top: 24px; max-width: 459px; }
.hero-text > h1 ~ p { margin-top: 0; padding-top: 24px; }
.hero-text .knopf-reihe { margin-top: 32px; gap: 12px 16px; }
.hero-text .knopf-reihe .knopf:not(.knopf--rand) { padding-inline: 28px; }
.zahlen { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.zahl strong { display: block; font-family: var(--f-kopf); font-weight: 700; font-size: 50px; line-height: 56px; color: var(--tinte); }
.zahl span { display: block; font-family: var(--f-kopf); font-weight: 600; font-size: 15px; line-height: 22px; color: var(--tinte); max-width: 180px; }
.sozial { display: flex; gap: 32px; margin-top: 56px; }
.sozial a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--tinte); display: inline-flex; align-items: center; justify-content: center; color: var(--tinte); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.sozial a:first-child, .sozial a:hover { background: var(--tinte); color: #fff; }
.sozial .ico { width: 20px; height: 20px; }

/* Rechte Hero-Hälfte: rote Fläche bündig zum rechten Seitenrand, Bild ragt nach links hinaus */
.buehne { position: relative; margin-top: 15px; min-height: 0; padding-bottom: 96px; }
.buehne-rot { position: absolute; top: 0; left: 290px; right: calc(-1 * var(--rand)); bottom: 0; background: var(--anthrazit-verlauf); }
.buehne-rot .buehne-nummer { position: absolute; top: 16px; right: calc(var(--rand) + 40px); font-family: var(--f-kopf); font-weight: 900; font-size: 150px; line-height: 1; color: rgba(255, 255, 255, 0.3); letter-spacing: -0.02em; }
.folien { position: relative; width: min(716px, 100%); margin-top: 74px; margin-left: -24px; }
.folie { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.folie[aria-hidden="false"] { opacity: 1; visibility: visible; position: relative; }
.folie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--schatten-stark); }
.folie-marke { position: absolute; left: 314px; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 12px 8px 8px; font-family: var(--f-text); color: var(--tinte); box-shadow: var(--schatten); }
.folie-marke .ico { width: 24px; height: 24px; color: #323232; }
.folie-symbol { position: absolute; left: 274px; top: 40px; z-index: 2; width: 40px; height: 40px; background: #fff; display: grid; place-items: center; color: #323232; box-shadow: var(--schatten); }
.folie-weiter { position: absolute; right: 0; bottom: -74px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--f-kopf); font-weight: 600; font-size: 16px; }
.folie-weiter span:first-child { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #000; transition: transform 0.2s ease; }
.folie-weiter:hover span:first-child { transform: scale(1.08); }
.buehne-punkte { position: absolute; right: -4px; top: 250px; display: flex; flex-direction: column; gap: 32px; z-index: 2; }
.buehne-punkte button { width: 20px; height: 20px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.buehne-punkte button::before { content: ""; width: 8px; height: 8px; background: rgba(255, 255, 255, 0.45); transition: transform 0.2s ease, background 0.2s ease; }
.buehne-punkte button[aria-selected="true"]::before { background: #fff; transform: scale(1.5); }
.buehne-punkte button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Unterseiten-Kopf: schmaler, gleiche Sprache */
.seitenkopf .rahmen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 48px; align-items: center; padding: 56px 0 56px; min-height: 0; }
.seitenkopf .hero-text { max-width: 600px; }
.seitenkopf h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; font-weight: 700; color: var(--schwarz); letter-spacing: -0.015em; }
.seitenkopf .hero-text > p { max-width: 560px; }
.seitenkopf .buehne { margin-top: 0; min-height: 0; padding-bottom: 48px; }
.seitenkopf .buehne-rot { left: 200px; }
.seitenkopf .folien { width: min(600px, 100%); margin-left: -20px; }
.seitenkopf .folie-marke { left: 240px; }
.seitenkopf--schlicht .rahmen { grid-template-columns: 1fr; padding-bottom: 40px; }
.seitenkopf--schlicht .hero-text { max-width: 760px; }
.seitenkopf .buehne-nummer { font-size: 120px; }
.seitenkopf .folien { margin-top: 56px; }
.pfad { font-family: var(--f-nav); font-size: 14px; margin-bottom: 20px; color: var(--text); display: flex; gap: 8px; flex-wrap: wrap; }
.pfad a { color: var(--text); text-decoration: none; }
.pfad a:hover { color: var(--rot-text); }
.pfad span[aria-current] { color: var(--tinte); font-weight: 600; }
.unternav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.unternav a { font-family: var(--f-nav); font-weight: 600; font-size: 15px; padding: 8px 16px; border: 1px solid var(--tinte); color: var(--tinte); text-decoration: none; background: rgba(255, 255, 255, 0.5); }
.unternav a:hover { background: var(--tinte); color: #fff; }

/* ---------- Leistungs-Kacheln (Vorlage „services“: Bildkarten, Titel 24 px, Text) ---------- */
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kachel { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: transparent; }
.kachel-bild { aspect-ratio: 293 / 400; overflow: hidden; background: var(--text-hell); position: relative; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.04); }
.kachel-nr { position: absolute; left: 16px; top: 12px; font-family: var(--f-kopf); font-weight: 900; font-size: 48px; line-height: 1; color: rgba(255, 255, 255, 0.55); }
.kachel h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; margin-top: 24px; }
.kachel p { margin-top: 12px; }
.kachel .textlink { margin-top: 14px; }
.kachel:hover h3 { color: var(--rot-text); }

/* ---------- Über uns (Vorlage: großes Hochkantbild, schwebende Etiketten, Text mit Haken) ---------- */
.ueber { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 85px; align-items: start; }
.ueber-bild { position: relative; }
.ueber-bild img { width: 100%; aspect-ratio: 620 / 864; object-fit: cover; object-position: top; background: var(--text-hell); }
.etikett { position: absolute; display: inline-flex; align-items: center; padding: 20px 24px; font-family: var(--f-kopf); font-weight: 600; font-size: 24px; line-height: 28px; letter-spacing: -0.01em; box-shadow: var(--schatten); white-space: nowrap; }
.etikett--weiss { background: #fafafa; color: var(--tinte); font-family: var(--f-text); font-weight: 400; font-size: 16px; line-height: 25px; right: -118px; top: 72px; }
.etikett--rot { background: var(--rot-flaeche); color: #fff; right: -16px; top: 178px; }
.ueber-text { padding-top: 160px; }
.ueber-text .titel { max-width: 540px; }
.ueber-text .titel + p { margin-top: 24px; }
.ueber-text p + p { margin-top: 16px; }
.haken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; margin-top: 40px; }
.haken li { display: flex; gap: 8px; align-items: flex-start; }
.haken li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Erster Haken nicht mehr weiß (Ferdinand 18.11.2026: einheitlich rot) */
.haken--eins { grid-template-columns: 1fr; gap: 16px; }

/* ---------- Pakete (Vorlage „Product“: Bildkarte mit weißem Kasten, Preis, Sterne) ---------- */
.pakete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.paket { display: flex; flex-direction: column; background: transparent; }
.paket-bild { aspect-ratio: 388 / 328; overflow: hidden; background: var(--text-hell); }
.paket-bild img { width: 100%; height: 100%; object-fit: cover; }
.paket-kasten { background: var(--karte); padding: 16px 24px 24px; box-shadow: var(--schatten); flex: 1; display: flex; flex-direction: column; gap: 16px; }
.paket--weiss .paket-kasten { background: #fff; box-shadow: none; }
.paket-kopf { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.paket-kopf h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
.paket-preis { margin-top: 8px; }
.paket-preis strong { font-family: var(--f-kopf); font-size: 22px; color: var(--tinte); }
.paket-preis small { font-size: 14px; color: var(--text); }
.paket-pfeil { flex: none; width: 44px; height: 44px; background: var(--rot-verlauf); display: grid; place-items: center; color: #fff; text-decoration: none; }
.paket-pfeil .ico { width: 22px; height: 22px; }
.paket-liste { display: grid; gap: 8px; margin-top: 4px; }
.paket-liste li { position: relative; padding-left: 22px; font-size: 15px; line-height: 22px; }
.paket-liste li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--rot); }
.paket-hinweis { font-size: 13px; line-height: 18px; color: var(--text); margin-top: auto; }
.paket .knopf { margin-top: 8px; align-self: flex-start; }
.sterne { display: flex; gap: 4px; color: var(--stern); }
.sterne svg { width: 16px; height: 16px; fill: currentColor; }
.sterne--weiss { color: #fff; }
.mitte { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Kundenstimmen (Vorlage: große Karten, roter Fußstreifen bei der mittleren) ---------- */
.stimmen-leiste { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 4px 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stimmen-leiste::-webkit-scrollbar { display: none; }
.stimme { flex: 0 0 min(688px, 100%); scroll-snap-align: center; background: var(--karte); box-shadow: var(--schatten); padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.stimme blockquote { margin: 0; font-size: 16px; line-height: 25px; color: var(--text); }
.stimme-fuss { display: flex; align-items: center; gap: 8px; padding: 8px 24px; background: var(--bg); flex-wrap: wrap; }
.stimme--aktiv .stimme-fuss { background: var(--rot-verlauf); color: #fff; }
.stimme--aktiv .stimme-fuss strong, .stimme--aktiv .stimme-fuss span { color: #fff; }
.stimme-fuss strong { font-family: var(--f-kopf); font-weight: 600; font-size: 21px; line-height: 32px; letter-spacing: -0.01em; flex: 1 1 200px; }
.stimme-fuss span { flex: 1 1 120px; }
.stimme--aktiv .sterne { color: #fff; }
.punkte { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.punkte button { width: 24px; height: 24px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.punkte button::before { content: ""; width: 8px; height: 8px; background: var(--text); }
.punkte button[aria-selected="true"]::before { background: var(--linie); outline: 1px solid var(--text); }

/* ---------- Galerie (Vorlage: drei Spalten, erste Zeile versetzt um den Titel) ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.galerie-spalte { display: grid; gap: 40px; }
.galerie-spalte .titel { min-height: 64px; display: flex; align-items: center; justify-content: center; }
.galerie-bild { position: relative; display: block; overflow: hidden; background: var(--text-hell); text-decoration: none; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galerie .hoch { aspect-ratio: 388 / 544; }
.galerie .quer { aspect-ratio: 388 / 400; }
.galerie-marke { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; background: #fff; color: var(--tinte); font-family: var(--f-nav); font-weight: 600; font-size: 15px; line-height: 22px; box-shadow: var(--schatten); transition: background-color 0.2s ease, color 0.2s ease; }
.galerie-marke .ico { width: 18px; height: 18px; color: var(--rot); transition: color 0.2s ease; }
.galerie-bild:hover img { transform: scale(1.04); }
.galerie-bild:hover .galerie-marke, .galerie-bild:focus-visible .galerie-marke { background: var(--rot-flaeche); color: #fff; }
.galerie-bild:hover .galerie-marke .ico, .galerie-bild:focus-visible .galerie-marke .ico { color: #fff; }
.galerie-bild:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.galerie-karte { aspect-ratio: 388 / 400; background: var(--rot-verlauf); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.galerie-karte h3 { color: #fff; font-size: 28px; line-height: 32px; letter-spacing: -0.01em; }
.galerie-karte .ico { width: 44px; height: 44px; margin-bottom: auto; }
.galerie-karte .knopf { align-self: flex-start; margin-top: 8px; }

/* ---------- Inhaltsbausteine der Unterseiten ---------- */
.prosa { max-width: 760px; }
.prosa h2 { font-size: clamp(28px, 2.65vw, 38px); line-height: 1.1; letter-spacing: -0.01em; margin-top: 48px; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { font-size: 24px; line-height: 28px; margin-top: 32px; }
.prosa p { margin-top: 16px; }
.prosa ul { margin-top: 16px; display: grid; gap: 8px; }
.prosa li { position: relative; padding-left: 22px; }
.prosa li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--rot); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; align-items: start; }
.zweispaltig--bild { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.bildkasten { position: relative; }
.bildkasten img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--schatten-stark); }
.bildkasten .etikett--rot { right: auto; left: -24px; top: auto; bottom: 32px; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.karten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karten--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karte { background: #fff; padding: 32px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 12px; }
.karte--grau { background: var(--karte); }
.karte--rot { background: var(--rot-verlauf); color: #fff; }
.karte--rot h3, .karte--rot strong { color: #fff; }
.karte--schwarz { background: var(--schwarz); color: #ddd; }
.karte--schwarz h3, .karte--schwarz strong { color: #fff; }
.karte h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
.karte .ico { width: 40px; height: 40px; color: var(--rot); }
.karte--rot .ico, .karte--schwarz .ico { color: #fff; }
.karte ul { display: grid; gap: 8px; }
.karte li { position: relative; padding-left: 22px; }
.karte li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--rot); }
.karte--rot li::before, .karte--schwarz li::before { background: #fff; }
.karte .knopf, .karte .textlink { margin-top: auto; align-self: flex-start; }
.karte-nr { font-family: var(--f-kopf); font-weight: 900; font-size: 56px; line-height: 1; color: rgba(31, 45, 62, 0.12); }
.karte--rot .karte-nr { color: rgba(255, 255, 255, 0.35); }

/* Schritte (Ablauf) */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: schritt; }
.schritt { background: #fff; padding: 28px 24px 28px; box-shadow: var(--schatten); position: relative; counter-increment: schritt; }
.schritt::before { content: counter(schritt, decimal-leading-zero); display: block; font-family: var(--f-kopf); font-weight: 900; font-size: 44px; line-height: 1; color: var(--rot-text); margin-bottom: 16px; }
.schritt h3 { font-size: 21px; line-height: 26px; letter-spacing: -0.01em; }
.schritt p { margin-top: 10px; font-size: 15px; line-height: 23px; }

/* Preistabellen */
.tabelle-huelle { overflow-x: auto; margin-top: 24px; }
table.preise { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--schatten); font-size: 15px; line-height: 22px; }
table.preise th, table.preise td { padding: 14px 18px; text-align: left; vertical-align: top; }
table.preise thead th { background: var(--tinte); color: #fff; font-family: var(--f-nav); font-weight: 600; font-size: 15px; }
table.preise tbody tr:nth-child(even) td { background: #f6f7f9; }
table.preise td strong { white-space: nowrap; }
table.preise tbody td:first-child { font-weight: 600; color: var(--tinte); }
.fussnote { font-size: 13px; line-height: 19px; color: var(--text); margin-top: 12px; }

/* Vergleich (zwei Spalten) */
.vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Fragen (Aufklappen) */
.fragen { display: grid; gap: 12px; max-width: 860px; }
.frage { background: #fff; box-shadow: var(--schatten); }
.frage summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-family: var(--f-kopf); font-weight: 600; font-size: 19px; line-height: 26px; color: var(--tinte); position: relative; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; position: absolute; right: 24px; top: 24px; width: 16px; height: 16px; border-right: 2px solid var(--rot); border-bottom: 2px solid var(--rot); transform: rotate(45deg); transition: transform 0.2s ease; }
.frage[open] summary::after { transform: rotate(-135deg); top: 30px; }
.frage summary:hover { color: var(--rot-text); }
.frage summary:focus-visible { outline: 3px solid var(--tinte); outline-offset: -3px; }
.frage-text { padding: 0 24px 22px; }
.frage-text p + p { margin-top: 10px; }

/* Hinweiskasten */
.hinweis { background: #fff; border-left: 5px solid var(--rot); padding: 20px 24px; box-shadow: var(--schatten); }
.hinweis strong { display: block; margin-bottom: 4px; }

/* CTA-Streifen (schwarz, wie der Fuß der Vorlage) */
.cta { background: var(--schwarz); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta .rahmen { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.cta p { color: #cfcfcf; margin-top: 12px; max-width: 560px; }
.cta .knopf-reihe { justify-content: flex-end; }
.cta .knopf--rand { color: #fff; border-color: #fff; }
.cta .knopf--rand:hover { background: #fff; color: #000; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 20px; background: #fff; padding: 32px; box-shadow: var(--schatten); }
.feld { display: grid; gap: 6px; }
.feld label { font-family: var(--f-nav); font-weight: 600; font-size: 15px; color: var(--tinte); }
.feld input, .feld select, .feld textarea { width: 100%; padding: 12px 14px; border: 1px solid #b9c2cf; background: #fff; font: inherit; color: var(--tinte); min-height: 48px; border-radius: 0; }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--rot); outline-offset: 1px; border-color: var(--rot); }
.feld [aria-invalid="true"] { border-color: var(--rot); outline: 2px solid var(--rot); }
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feld--check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.feld--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--rot); }
.feld--check label { font-family: var(--f-text); font-weight: 400; color: var(--text); }
.formular-fehler { background: #fdeceb; border-left: 5px solid var(--rot); padding: 12px 16px; color: #7a1a18; }
.formular-danke { background: #fff; padding: 32px; box-shadow: var(--schatten); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-daten { display: grid; gap: 24px; }
.kontakt-daten .karte h3 { font-size: 21px; line-height: 26px; }
.kontakt-daten a { color: var(--tinte); text-decoration: none; font-weight: 500; }
.kontakt-daten a:hover { color: var(--rot-text); }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }

/* ---------- Fuß (Vorlage: roter Streifen, schwarzer Block mit drei Spalten, Leiste) ---------- */
.fuss { background: var(--schwarz); color: #fff; font-family: var(--f-nav); }
.fuss-streifen { background: var(--rot-verlauf); }
.fuss-streifen .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 8px 0; }
.fuss-sozial { display: flex; gap: 8px; }
.fuss-sozial a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #fff; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.fuss-sozial a:first-child { background: #fff; color: #000; }
.fuss-sozial .ico { width: 14px; height: 14px; }
.fuss-claim { font-weight: 600; font-size: 16px; line-height: 24px; text-align: right; }
.fuss-kontakt .rahmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; padding: 72px 0; text-align: center; }
.fuss-kontakt .ico { width: 44px; height: 44px; margin: 0 auto 24px; stroke-width: 1.5; }
.fuss-kontakt h3 { color: #fff; font-family: var(--f-nav); font-weight: 600; font-size: 21px; line-height: 24px; margin-bottom: 8px; }
.fuss-kontakt p, .fuss-kontakt a { font-weight: 600; font-size: 16px; line-height: 24px; color: #fff; text-decoration: none; }
.fuss-kontakt a:hover { color: #ff8a84; }
.fuss-kontakt small { display: block; font-weight: 400; font-size: 14px; color: #bbb; margin-top: 8px; }
.fuss-kontakt small a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.fuss-nav { background: #111; }
.fuss-nav .rahmen { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; padding: 18px 0; }
.fuss-nav a { color: #ddd; text-decoration: none; font-size: 15px; }
.fuss-nav a:hover { color: #fff; text-decoration: underline; }
.fuss-leiste { background: #1e1e1e; font-family: var(--f-text); font-size: 12px; line-height: 16px; }
.fuss-leiste .rahmen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 8px 0; }
.fuss-leiste nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.fuss-leiste a, .fuss-leiste button { color: #fff; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; }
.fuss-leiste a:hover, .fuss-leiste button:hover { text-decoration: underline; }
.fuss-leiste nav > * + *::before { content: ""; display: inline-block; width: 1px; height: 12px; background: #fff; margin-right: 16px; vertical-align: -1px; }

/* Schnellleiste auf dem Handy: Anrufen und WhatsApp immer erreichbar */
.schnell { display: none; }

/* Einblenden beim Scrollen (sanft; läuft auch bei „Bewegung reduzieren“, nur kürzer) */
.einblenden { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.einblenden.sichtbar, html:not(.js) .einblenden { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .einblenden { transition-duration: 0.2s; } }

/* ---------- Umbrüche ---------- */
@media (max-width: 1240px) {
  .etikett--weiss { right: -40px; }
  .ueber { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
  .ueber-text { padding-top: 60px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1400px) {
  .nav { gap: 28px; }
  .kopf-rechts { gap: 16px; }
}
@media (max-width: 1300px) {
  /* Nummer weicht dem Hörer-Symbol, damit Navigation und Anfrage-Knopf Platz behalten */
  .kopf-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kopf-tel { width: 48px; height: 48px; justify-content: center; border: 1px solid var(--tinte); }
  .kopf-tel .ico { width: 22px; height: 22px; color: var(--tinte); }
}
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .hero .rahmen { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero-text, .seitenkopf .hero-text { max-width: 640px; }
  .hero-text > p, .seitenkopf .hero-text > p { max-width: 600px; }
  .buehne { margin-top: 24px; margin-left: auto; width: min(100%, 760px); }
  .buehne-rot { left: 180px; }
  .folien, .seitenkopf .folien { margin-left: 0; width: min(716px, 100%); }
  .folie-marke, .seitenkopf .folie-marke { left: 160px; }
  .folie-symbol { left: 120px; }
  .seitenkopf .rahmen { grid-template-columns: 1fr; }
  .seitenkopf .buehne { min-height: 0; }
  .pakete, .karten, .karten--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie-spalte .titel { min-height: 0; }
  .fuss-kontakt .rahmen { gap: 40px; }
  .zweispaltig, .zweispaltig--bild { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menue-knopf { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); display: none; }
  .nav.offen { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #e6e6e6; font-size: 18px; }
  .nav a::after { display: none; }
  .kopf .knopf { display: none; }
  .kopf-rechts { gap: 8px; }
  .kopf-zeile { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .ueber { grid-template-columns: 1fr; }
  .ueber-bild { max-width: 480px; }
  .etikett--weiss { right: auto; left: 16px; top: 24px; }
  .etikett--rot { right: auto; left: 16px; top: 96px; font-size: 20px; }
  .ueber-text { padding-top: 32px; }
  .fuss-kontakt .rahmen { grid-template-columns: 1fr; padding: 48px 0; gap: 32px; }
  .fuss-streifen .rahmen { flex-wrap: wrap; justify-content: center; }
  .fuss-claim { text-align: center; }
  .cta .rahmen { grid-template-columns: 1fr; }
  .cta .knopf-reihe { justify-content: flex-start; }
  .vergleich { grid-template-columns: 1fr; }
  .schnell { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12); }
  .schnell a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-family: var(--f-nav); font-weight: 600; text-decoration: none; color: var(--tinte); }
  .schnell a + a { background: var(--rot-verlauf); color: #fff; }
  .schnell .ico { width: 20px; height: 20px; }
  body { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .abschnitt { padding: 56px 0; }
  .hero .rahmen { padding-top: 40px; }
  .hero-text { padding-left: 18px; }
  .hero-text > h1, .hero-text > h1 ~ p { margin-left: -18px; padding-left: 12px; border-left-width: 6px; }
  .buehne-rot { left: 24%; }
  .buehne-rot .buehne-nummer { font-size: 96px; right: calc(var(--rand) + 8px); }
  .buehne-punkte { right: 10px; top: 140px; gap: 20px; }
  .folien, .seitenkopf .folien { margin-top: 56px; width: calc(100% - 24px); }
  .folie-marke, .seitenkopf .folie-marke { left: 12px; top: -20px; font-size: 14px; }
  .folie-symbol { display: none; }
  .folie-weiter { bottom: -64px; right: 8px; }
  .buehne { min-height: 0; padding-bottom: 72px; }
  .zahlen { gap: 24px; }
  .zahl strong { font-size: 40px; line-height: 44px; }
  .sozial { gap: 16px; margin-top: 36px; }
  .kacheln, .pakete, .karten, .karten--vier, .karten--zwei, .galerie { grid-template-columns: 1fr; }
  .galerie-spalte { gap: 24px; }
  .galerie { gap: 24px; }
  .haken { grid-template-columns: 1fr; gap: 16px; }
  .feld-reihe { grid-template-columns: 1fr; }
  .formular { padding: 20px; }
  .stimme { padding: 24px; }
  .seitenkopf .buehne-rot { left: 20%; }
  .logo { font-size: 24px; }
  .titel { font-size: clamp(30px, 8vw, 40px); }
  .etikett--rot { font-size: 17px; padding: 14px 18px; }
}

/* Fußnavigation in Gruppen (alle Leistungsseiten, wie die Leistungsspalten der Altseite) */
.fuss-nav .rahmen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; padding: 32px 0 28px; justify-content: stretch; }
.fuss-gruppe { display: flex; flex-direction: column; gap: 8px; }
.fuss-gruppe h4 { font-family: var(--f-nav); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.fuss-gruppe a { font-size: 15px; line-height: 22px; }
.kopf-zeile--links { grid-template-columns: 1fr; }
@media (max-width: 900px) { .fuss-nav .rahmen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fuss-nav .rahmen { grid-template-columns: 1fr; } }

/* Paketkarten: Knopf und Detail-Link nebeneinander; Linklisten in Karten */
.paket-knoepfe { margin-top: auto; align-items: center; gap: 12px 20px; }
.karte ul a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(31, 45, 62, 0.3); }
.karte ul a:hover { color: var(--rot-text); border-color: var(--rot-text); }
.abschnitt, .paket { scroll-margin-top: 96px; }

/* 404-Seite: rote Fläche mit großer Zahl statt Bild */
.buehne.buehne--zahl { min-height: 340px; padding-bottom: 0; }
.buehne--zahl .buehne-rot { left: 80px; display: grid; place-items: center; }
.buehne--zahl .buehne-rot .buehne-nummer { position: static; font-size: clamp(110px, 13vw, 190px); color: rgba(255, 255, 255, 0.92); }
@media (max-width: 1100px) { .buehne.buehne--zahl { min-height: 220px; } .buehne--zahl .buehne-rot { left: 0; } }

/* Datenschutz: Abschnitte zählt das Stylesheet, damit ausgeblendete Abschnitte (Google Analytics ohne Kennung) keine Lücke reißen */
.prosa--gezaehlt { counter-reset: abschnitt; }
.prosa--gezaehlt h2::before { counter-increment: abschnitt; content: counter(abschnitt) ". "; }

/* ============================================================================
   Mobil-Runde 15.11.2026 (Kundenanmerkung „mobile Optimierung fehlt noch, Bildformat, Texte, Höhe, Hero-Bereich“).
   Geprüft mit tools/mobil-pruefung auf 52 Handy- und Tablet-Größen, hoch und quer, mit Touch-Emulation.
   ============================================================================ */
h1, h2, h3 { overflow-wrap: break-word; }

/* Folienpunkte sitzen seit der Runde im Bildrahmen (.folien) und bleiben so auf jeder Breite neben dem Bild */
.buehne-punkte { right: -42px; top: 50%; transform: translateY(-50%); }

/* ---------- Tippflächen mindestens 44 px, überall wo mit dem Finger bedient wird ---------- */
@media (pointer: coarse), (max-width: 1100px) {
  .logo { min-height: 44px; align-items: center; }
  .pfad { gap: 0 8px; align-items: center; }
  .pfad a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
  .unternav a { display: inline-flex; align-items: center; min-height: 44px; }
  .textlink { min-height: 44px; }
  .karte ul:has(a) { gap: 0; }
  .karte li > a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(31, 45, 62, 0.3); text-underline-offset: 4px; }
  .karte li:has(> a)::before { top: 17px; }
  .sozial a { width: 44px; height: 44px; }
  .buehne-punkte { gap: 0; right: -46px; }
  .buehne-punkte button { width: 44px; height: 44px; }
  .punkte { gap: 0; }
  .punkte button { width: 44px; height: 44px; }
  .frage summary { min-height: 44px; }
  table.preise td a { display: inline-flex; align-items: center; min-height: 44px; }
  .fuss-sozial { gap: 12px; }
  .fuss-sozial a { width: 44px; height: 44px; }
  .fuss-sozial .ico { width: 20px; height: 20px; }
  .fuss-kontakt p a { display: inline-block; padding: 10px 0; }
  .fuss-kontakt small a { display: inline-block; padding: 12px 0; }
  .fuss-gruppe { gap: 0; }
  .fuss-gruppe h4 { margin-bottom: 8px; }
  .fuss-gruppe a { display: flex; align-items: center; min-height: 44px; }
  .fuss-leiste .rahmen { align-items: center; }
  .fuss-leiste nav { gap: 0 16px; }
  .fuss-leiste nav a, .fuss-leiste nav button { display: inline-flex; align-items: center; min-height: 44px; }
  .kontakt-daten p a, .formular-danke a { display: inline-block; padding: 10px 0; }
}

/* ---------- Bis 1100 px (Tablets hoch, Handys): Hero einspaltig, das Bild folgt direkt auf die Knöpfe ---------- */
@media (max-width: 1100px) {
  .hero .rahmen, .seitenkopf .rahmen { display: flex; flex-direction: column; gap: 0; }
  .hero-text, .seitenkopf .hero-text { display: contents; }
  .hero-text > * { margin-left: 24px; max-width: 616px; }
  .hero-text > h1, .hero-text > h1 ~ p { margin-left: 0; max-width: 640px; }
  .hero .buehne { order: 1; margin-top: 40px; }
  .hero .zahlen, .hero .unternav { order: 2; }
  .hero .sozial { order: 3; }
  .folien, .seitenkopf .folien { width: min(716px, 100% - 48px); }
  .nav { max-height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto; }
}
@media (max-width: 900px) {
  .nav a { border-bottom: 0; }
}

/* ---------- Handys hoch ---------- */
@media (max-width: 640px) {
  :root { --kopf-hoehe: 64px; }
  .logo { font-size: 22px; }
  .kopf-tel, .menue-knopf { width: 44px; height: 44px; min-height: 44px; } /* gleich groß, sonst gewinnt min-height 48 px der Grundregel */
  .hero .rahmen, .seitenkopf .rahmen { padding: 28px 0 40px; }
  .hero-text > * { margin-left: 18px; }
  .hero-text > h1, .hero-text > h1 ~ p { margin-left: 0; padding-left: 12px; border-left-width: 6px; }
  .hero h1, .seitenkopf h1 { font-size: clamp(28px, 8.6vw, 36px); line-height: 1.1; }
  .hero-text > h1 ~ p { font-size: 15px; line-height: 23px; padding-top: 14px; }
  .hero-text .knopf-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .hero-text .knopf-reihe .knopf, .hero-text .knopf-reihe .knopf:not(.knopf--rand) { min-height: 50px; padding: 10px 12px; font-size: 15px; letter-spacing: 0.01em; text-align: center; }
  .hero-text .knopf-reihe .knopf:first-child, .hero-text .knopf-reihe .knopf:nth-child(2):last-child { grid-column: 1 / -1; }
  .hero .buehne { margin-top: 28px; }
  .folien, .seitenkopf .folien { margin-top: 36px; width: calc(100% - 36px); }
  .buehne-rot .buehne-nummer { font-size: 72px; top: 0; }
  .buehne-punkte { right: -40px; top: 50%; gap: 0; }
  .hero .zahlen { margin-top: 28px; gap: 12px 28px; }
  .zahl strong { font-size: 34px; line-height: 38px; }
  .hero .sozial { margin-top: 24px; }
  .kopf-zeile { margin-bottom: 28px; }
  .strich-unten::after { margin-top: 14px; }
  .stimmen-leiste { gap: 16px; }
}
@media (max-width: 359px) {
  .hero-text .knopf-reihe { grid-template-columns: 1fr; }
}
@media (max-width: 310px) {
  .logo { font-size: 18px; }
  .kopf-innen { gap: 12px; }
}

/* ---------- Handys quer (niedrige Höhe): Kopfzeile scrollt mit, schmale Schnellleiste, Hero zweispaltig ---------- */
@media (max-width: 960px) and (max-height: 500px) {
  :root { --kopf-hoehe: 56px; }
  .kopf { position: relative; }
  .kopf-tel, .menue-knopf { width: 44px; height: 44px; min-height: 44px; } /* gleich groß, sonst gewinnt min-height 48 px der Grundregel */
  .schnell a { padding: 10px 8px; }
  body { padding-bottom: 44px; }
}
@media (min-width: 641px) and (max-width: 1100px) and (orientation: landscape) and (max-height: 700px) {
  .hero .rahmen, .seitenkopf .rahmen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: start; padding: 20px 0 28px; }
  .seitenkopf--schlicht .rahmen { grid-template-columns: minmax(0, 1fr); }
  .hero-text, .seitenkopf .hero-text { display: block; padding-left: 18px; max-width: none; }
  .hero-text > * { margin-left: 0; max-width: none; }
  .hero-text > h1, .hero-text > h1 ~ p { margin-left: -18px; padding-left: 12px; border-left-width: 6px; max-width: none; }
  .hero h1, .seitenkopf h1 { font-size: clamp(26px, 4.2vw, 34px); line-height: 1.1; }
  .hero-text > h1 ~ p { font-size: 14px; line-height: 21px; padding-top: 10px; }
  .hero-text .knopf-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .hero-text .knopf-reihe .knopf, .hero-text .knopf-reihe .knopf:not(.knopf--rand) { min-height: 46px; padding: 8px 6px; font-size: 14px; letter-spacing: 0; text-align: center; }
  .hero-text .knopf-reihe .knopf:first-child, .hero-text .knopf-reihe .knopf:nth-child(2):last-child { grid-column: 1 / -1; }
  .hero .buehne { margin: 0; width: 100%; padding: 8px 8px 60px; }
  .buehne-rot, .seitenkopf .buehne-rot { left: 0; right: 0; }
  .buehne-rot .buehne-nummer, .folien > .buehne-nummer, .folie-symbol { display: none; }
  .folien, .seitenkopf .folien { margin: 0; width: 100%; }
  .folie-marke, .seitenkopf .folie-marke { left: 0; top: 0; font-size: 13px; padding: 6px 10px 6px 6px; }
  .folie-weiter { bottom: -55px; right: 0; }
  .folie-weiter span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .buehne-punkte { flex-direction: row; top: auto; bottom: -52px; left: -8px; right: auto; transform: none; }
  .seitenkopf .buehne { padding-bottom: 8px; }
  .zahl strong { font-size: 30px; line-height: 34px; }
  .hero .zahlen { margin-top: 20px; gap: 8px 24px; }
  .hero .sozial { margin-top: 16px; }
}

/* Hero-Inhalt liegt immer über dem Dekor (wichtig, seit die Textspalte bis 1100 px per display: contents aufgelöst wird) */
.hero > .rahmen { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .hero-text .knopf-reihe .knopf--rand { font-size: 14px; letter-spacing: 0; }
}

/* ---------- Kopfzeile: Umbruchpunkte nach gemessenen Breiten (Logo 213, Navigation 402 + Abstände, Nummer 136, Knopf 195) ----------
   ab 1401 px alles ausgeschrieben · bis 1400 engere Navigation · bis 1300 Hörer ohne Nummer · bis 1200 Menüknopf · bis 760 ohne Anfrage-Knopf */
.kopf-tel, .menue-knopf { flex: none; }
@media (max-width: 1200px) {
  .menue-knopf { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); display: none; max-height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto; }
  .nav.offen { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; border-bottom: 0; }
  .nav a::after { display: none; }
  .kopf-rechts { gap: 8px; }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .kopf .knopf { display: inline-flex; min-height: 48px; padding: 10px 24px; }
}
@media (max-width: 760px) {
  .kopf .knopf { display: none; }
}
/* Navigation als Zeile auf Touch-Geräten (Tablets quer ab 1201 px): Tippfläche 44 px, Strich bleibt nah am Wort */
@media (pointer: coarse) and (min-width: 1201px) {
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav a::after { bottom: 6px; }
}
.haken li { overflow-wrap: anywhere; }
/* Vierer-Karten bis 1240 px zweispaltig (bei 1101–1240 px wurden lange Wörter in vier Spalten zu eng) */
@media (min-width: 641px) and (max-width: 1240px) {
  .karten--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Startseiten-Hero ab 1101 px: rote Fläche, Etikett und Symbol wachsen mit der Bildbreite (bei 1101–1300 px brach das Etikett sonst um) */
@media (min-width: 1101px) {
  .hero:not(.seitenkopf) .buehne-rot { left: 40%; }
  .hero:not(.seitenkopf) .folie-marke { left: 44%; white-space: nowrap; }
  .hero:not(.seitenkopf) .folie-symbol { left: calc(44% - 40px); }
}

/* ============================================================================
   Korrekturrunde 18.11.2026 (Ferdinand: „einige Fehler, vor allem mobil; Porträt mit Text darauf; Zahlen hinter den Bildern“)
   ============================================================================ */

/* Foliennummer 01–04 steht im Bildrahmen neben dem Bild statt auf der Fläche dahinter (dort verdeckte das Bild sie) */
/* Bildrahmen dunkel hinterlegt: das Bild deckt ihn ganz, sichtbar nur beim Folienwechsel und vor dem Laden; so misst die Design-Prüfung die Nummer gegen Anthrazit statt gegen den Seitengrund */
.folien { background-color: var(--anthrazit); }
.folien > .buehne-nummer { position: absolute; left: calc(100% + 12px); top: 0; z-index: 1; pointer-events: none; font-family: var(--f-kopf); font-weight: 900; font-size: 80px; line-height: 1; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.4); } /* auf Anthrazit rund 3,5:1, große dekorative Ziffer (aria-hidden) */
@media (max-width: 1100px) { .folien > .buehne-nummer { font-size: clamp(52px, 8.6vw, 72px); } }
/* Handys: rechts neben dem Bild ist zu wenig Fläche, die Nummer steht darunter links auf der dunklen Fläche, der Weiter-Link rechts */
@media (max-width: 640px) {
  .folien > .buehne-nummer { left: calc(24% + 25px); top: calc(100% + 8px); font-size: clamp(44px, 14vw, 58px); }
  .seitenkopf .folien > .buehne-nummer { left: calc(20% + 23px); }
  .seitenkopf .buehne { padding-bottom: 68px; }
}
/* Sehr schmale Handys (280–359 px): Nummer und Linktext hätten sich berührt, dort bleibt nur der Pfeil sichtbar (Text weiter für Screenreader) */
@media (max-width: 359px) {
  .folie-weiter span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Porträt: Etiketten bis 1240 px unter das Bild, sie lagen dort auf dem Gesicht */
@media (max-width: 1240px) {
  .ueber-bild { display: flex; flex-direction: column; align-items: flex-start; }
  .ueber-bild .etikett { position: static; white-space: normal; }
  .ueber-bild .etikett--rot { order: 1; }
  .ueber-bild .etikett--weiss { order: 2; }
}

/* Leistungskacheln: Nummer auch auf hellen Bildern lesbar */
.kachel-nr { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 18px rgba(0, 0, 0, 0.4); }

/* Hero-Knöpfe auf schmalen Handys: Telefonnummer bricht nicht um */
@media (max-width: 420px) {
  .hero-text .knopf-reihe .knopf, .hero-text .knopf-reihe .knopf:not(.knopf--rand) { padding-inline: 8px; gap: 6px; }
  .hero-text .knopf-reihe .knopf--tel { white-space: nowrap; font-size: 14px; }
}

/* Schlichte Seitenköpfe (Kontakt, Impressum, Datenschutz, Danke): bis 1100 px bündig links statt mittig */
@media (max-width: 1100px) {
  .hero .rahmen, .seitenkopf .rahmen { align-items: stretch; }
}

/* Überschrift direkt nach dem Vorspann: gleicher Abstand wie in den Kopfzeilen (vorher 48 px Lücke in Textspalten) */
.prosa .vorspann + h2, .prosa .vorspann + h3 { margin-top: 0; }

/* Einblicke: Überschrift auf dem Handy vor den Bildern, nicht nach dem zweiten */
@media (max-width: 640px) {
  .galerie-spalte { display: contents; }
  .galerie-spalte .titel { order: -1; }
}

/* Preistabellen auf dem Handy als Zeilenkarten mit Spaltenbeschriftung (seite.js setzt data-label); ohne Skript scrollt die Tabelle wie bisher */
@media (max-width: 640px) {
  .tabelle-huelle:has(> .preise--beschriftet) { overflow: visible; }
  table.preise--beschriftet, table.preise--beschriftet tbody, table.preise--beschriftet tr { display: block; width: auto; }
  table.preise--beschriftet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.preise--beschriftet tbody tr { padding: 14px 18px; }
  table.preise--beschriftet tbody tr:nth-child(even) { background: #f6f7f9; }
  table.preise.preise--beschriftet tbody td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2px 12px; padding: 4px 0; background: transparent; box-shadow: none; }
  table.preise--beschriftet tbody td::after { content: attr(data-label); order: -1; color: var(--text); font-family: var(--f-nav); font-weight: 400; font-size: 14px; line-height: 22px; }
  table.preise.preise--beschriftet tbody td:first-child { display: block; padding: 0 0 6px; font-size: 17px; line-height: 24px; }
  table.preise--beschriftet tbody td:first-child::after { content: none; }
  table.preise.preise--beschriftet tbody td.hv, table.preise.preise--beschriftet.vergleich-tabelle tbody tr:last-child td.hv { margin: 2px -10px; padding: 6px 10px; background: #fff4f4; box-shadow: inset 3px 0 0 var(--rot); }
  table.preise.preise--beschriftet.vergleich-tabelle tbody td.hv::before { display: none; }
  table.preise--beschriftet td strong { white-space: normal; }
  table.preise--beschriftet .zelle { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
}
/* Bis 419 px Beschriftung über dem Wert, sonst passen lange Wörter („Versicherungsabwicklung“) nicht in die Wertspalte */
@media (max-width: 419px) {
  table.preise.preise--beschriftet tbody td { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 5px 0; }
  table.preise.preise--beschriftet tbody td.hv { padding: 6px 10px; }
  table.preise--beschriftet tbody td::after { font-size: 13px; line-height: 18px; }
}

/* Hauptnavigation mit Untermenüs zu den Abschnitten der Leistungsseiten (Ferdinand 18.11.2026), Markup aus tools/navigation.cjs */
.nav-gruppe { position: relative; display: flex; align-items: center; }
.nav-auf { flex: none; display: grid; place-items: center; width: 22px; height: 32px; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--tinte); cursor: pointer; }
.nav-auf::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.nav-gruppe.auf .nav-auf::before { transform: translateY(2px) rotate(-135deg); }
.nav-auf:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
.nav-unter { display: none; }
.nav .nav-unter a::after { display: none; }
.nav a { white-space: nowrap; }
/* Ab 1201 px sitzt der Pfeil im Zwischenraum hinter dem Wort, die Kopfzeile bleibt so breit wie ohne Untermenüs */
@media (min-width: 1201px) {
  .nav-auf { position: absolute; right: -19px; top: 50%; width: 16px; height: 32px; margin: 0; transform: translateY(-50%); }
  .nav-unter { position: absolute; top: calc(100% + 10px); left: -18px; z-index: 60; min-width: 230px; padding: 8px 0; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
  .nav-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav-gruppe.auf .nav-unter, .nav-gruppe:has(:focus-visible) .nav-unter { display: block; }
  .nav .nav-unter a { display: flex; align-items: center; min-height: 42px; padding: 8px 18px; font-weight: 500; font-size: 15px; line-height: 22px; white-space: nowrap; }
  .nav .nav-unter a:hover, .nav .nav-unter a:focus-visible { background: #f1f2f4; color: var(--rot-text); outline: none; }
}
/* Touch-Tablets quer: der Pfeil ist nur Hinweis, das erste Antippen des Worts öffnet (seite.js) */
@media (min-width: 1201px) and (pointer: coarse) {
  .nav-auf { display: none; }
  .nav-gruppe::after { content: ""; position: absolute; right: -16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--tinte); border-bottom: 2px solid var(--tinte); transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: transform 0.2s ease; }
  .nav-gruppe.auf::after { transform: translateY(-20%) rotate(-135deg); }
}
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  .nav-gruppe:hover .nav-unter { display: block; }
  .nav-gruppe:hover .nav-auf::before { transform: translateY(2px) rotate(-135deg); }
}
@media (max-width: 1200px) {
  .nav-gruppe { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; }
  .nav-auf { width: 48px; height: 48px; margin: 0; }
  .nav-unter { grid-column: 1 / -1; padding: 0 0 8px 16px; }
  .nav-gruppe.auf .nav-unter { display: grid; }
  .nav .nav-unter a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 16px; font-weight: 500; }
}

/* KI-Kennzeichnung (Ferdinand 20.11.2026, EU-KI-Verordnung Art. 50): sichtbares Schild auf jedem KI-Bild,
   gesetzt von tools/ki-bilder.cjs direkt hinter dem <img>. Echte Fotos (Shutterstock, Porträt) bleiben ohne Schild. */
.paket-bild, .ch-foto { position: relative; }
.ki-hinweis { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 4px 7px; background: rgba(17, 22, 28, 0.74); color: #fff; font-family: var(--f-nav); font-weight: 600; font-size: 11px; line-height: 14px; letter-spacing: 0.04em; white-space: nowrap; pointer-events: none; }
.galerie-bild .ki-hinweis { top: 8px; bottom: auto; }
.folie .ki-hinweis { left: 8px; right: auto; } /* rechts unten sitzt der runde Pfeilknopf */
.ch-foto .ki-hinweis { top: 8px; left: 8px; right: auto; bottom: auto; padding: 2px 5px; font-size: 9px; line-height: 12px; }

/* Cloudflare Turnstile im Anfrageformular (20.11.2026): Platz reservieren; am sehr schmalen Handy rendert seite.js die kompakte Fassung */
.turnstile-feld { min-height: 65px; max-width: 100%; }
.turnstile-feld.kompakt { min-height: 140px; }
