/* Mietwagen Marx
   CI aus dem Logo (Logo_Schwarz.pdf, Farbfelder „Schwarz“ und „CMYK Gelb“): Schwarz, Gelb #FEED01, Weiß.
   Schrift wie „Mietwagen“ im Logo: Quicksand (SIL OFL), selbst gehostet. „Marx“ ist Schreibschrift und steht nur im Logo.
   Onboarding 23.11.2026: Stil „kräftig & mutig“, Farben aus dem Logo. Umgesetzt mit viel Schwarz in Köpfen, Fuß und Bändern,
   Gelb nur für Knöpfe, Linien und Akzente. Gelb nie als Textfarbe auf Weiß (Kontrast zu schwach).
   Viele Leser sind älter: Grundschrift 19 px, Gewicht 500, große Tippflächen. */

@font-face { font-family: "Quicksand"; src: url("../assets/fonts/Quicksand-var-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --gelb: #FEED01;
  --gelb-hover: #FFF35A;
  --gelb-linie: #E8D600;     /* Unterstreichung auf Weiß, etwas satter als das Logo-Gelb */
  --schwarz: #0E0E0E;
  --anthrazit: #1B1B1A;
  --text: #161616;
  --text-weich: #4A4A47;
  --linie: #E2E2DC;
  --flaeche: #F5F5F1;
  --font: "Quicksand", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --rand: clamp(18px, 4vw, 40px);
  --radius: 20px;
  --kopf: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 19px; font-weight: 500; line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: var(--schwarz); overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.38rem); }
p + p, p + ul, ul + p, p + ol, ol + p, ul + ul { margin-top: 1em; }
ul, ol { margin: 0; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 400; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 3px; }
.dunkel a:focus-visible, .dunkel button:focus-visible, .kopf a:focus-visible, .kopf button:focus-visible, .fuss a:focus-visible, .fuss button:focus-visible { outline-color: var(--gelb); }
.gelb { color: var(--gelb); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 820px; }

/* Links im Fließtext: schwarz mit gelber Unterstreichung */
.text a:not(.btn), .faq__antwort a, .einleitung a:not(.btn), .tabelle a, .rechtstext a, .kontaktliste a, .karte__hinweis a, .consent a {
  color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gelb-linie); text-decoration-thickness: 3px; text-underline-offset: 4px;
}
.text a:not(.btn):hover, .faq__antwort a:hover, .tabelle a:hover, .rechtstext a:hover, .kontaktliste a:hover { text-decoration-color: var(--schwarz); }
.dunkel .text a:not(.btn) { text-decoration-color: var(--gelb); }
.dunkel .text a:not(.btn):hover { color: var(--gelb); }
.rechtstext a { word-break: break-word; }

.einleitung { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--text-weich); }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn--gelb { background: var(--gelb); color: var(--schwarz); }
.btn--gelb:hover { background: var(--gelb-hover); }
.btn--hell { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--hell:hover { background: #fff; color: var(--schwarz); }
.btn--linie { border-color: var(--schwarz); color: var(--schwarz); }
.btn--linie:hover { background: var(--schwarz); color: #fff; }
.btn .icon { flex: none; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 32px; }

/* ---------- Kopf: Glas mit Weichzeichner, ganz oben durchsichtig über den schwarzen Seitenköpfen ---------- */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: transform .35s ease, background .3s ease, box-shadow .3s ease; }
.kopf.is-fest { background: rgba(14, 14, 14, .76); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.kopf.is-weg { transform: translateY(-100%); }
.kopf__leiste { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--kopf); }
.kopf__logo { display: block; flex: none; }
.kopf__logo .wortmarke { width: auto; height: clamp(44px, 4.6vw, 54px); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__liste { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__liste li + li { margin-top: 0; }
.nav__link { display: inline-block; padding: 8px 0; font-weight: 700; font-size: 17px; white-space: nowrap; text-decoration: none; color: #fff; border-bottom: 3px solid transparent; transition: border-color .2s ease; }
.nav__link:hover, .nav__link.is-aktiv { border-bottom-color: var(--gelb); }
.nav__cta { min-height: 48px; padding: 0 22px; }

.nav-toggle { display: none; position: relative; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 14px; background: var(--gelb); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 14px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--schwarz); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle span { top: 24px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Seitenkopf: Text links auf Schwarz, Foto rechts läuft weich aus (alle Seiten) ----------
   Die Fotos vom Shooting sind hell und bedeckt, weiße Schrift direkt darauf wäre schlecht lesbar. */
.seitenkopf { position: relative; display: flex; align-items: center; min-height: min(76vh, 720px); padding: calc(var(--kopf) + 40px) 0 clamp(56px, 8vh, 96px); overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(900px 520px at 0% 100%, rgba(254, 237, 1, .07), rgba(254, 237, 1, 0) 70%), linear-gradient(180deg, #151514 0%, var(--schwarz) 100%); }
.seitenkopf--start { min-height: min(92vh, 860px); }
.seitenkopf__bild { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: min(57%, 1100px); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 18%, #000 40%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 18%, #000 40%); }
.seitenkopf__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, .55) 0%, rgba(14, 14, 14, 0) 22%); }
.seitenkopf__text { max-width: min(600px, 43vw); }
.seitenkopf h1 { color: #fff; font-size: clamp(2.5rem, 4.8vw, 4.3rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.seitenkopf--start h1 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.seitenkopf .einleitung { margin-top: 22px; color: rgba(255, 255, 255, .86); }
.seitenkopf__notiz { margin-top: 18px; font-size: 16px; color: rgba(255, 255, 255, .66); }

/* Seiten ohne Foto im Kopf (Impressum, Datenschutz, 404): schwarzer Kopf ohne Bild */
.seitenkopf--ohne-bild { display: block; min-height: 0; padding: calc(var(--kopf) + clamp(40px, 6vw, 80px)) 0 clamp(44px, 6vw, 72px); }
.seitenkopf--ohne-bild h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.seitenkopf--ohne-bild .fehler__zahl + h1 { margin-top: 8px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt--flaeche { background: linear-gradient(180deg, var(--flaeche) 0%, #FAFAF8 100%); }
.dunkel { background: var(--schwarz); color: rgba(255, 255, 255, .84); }
.dunkel h2, .dunkel h3 { color: #fff; }
.abschnitt__kopf { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.abschnitt__kopf p { margin-top: 18px; }
/* Überschriften kleben nie an Bildern, Rastern oder Listen: deutlich Abstand */
h2 + .leistungsliste, h2 + figure, h2 + .liste, h2 + .tabelle, h2 + .faq, h2 + .schritte, p + .tabelle, p + .schritte { margin-top: clamp(32px, 4vw, 52px); }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.zweispaltig--oben { align-items: start; }
.zweispaltig__bild img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3.2; object-fit: cover; }
.zweispaltig__bild--hoch img { aspect-ratio: 4 / 5; }
.zweispaltig--gedreht .zweispaltig__bild { order: -1; }
.text h2 + p, .text h1 + p, .text h2 + ul, .text h3 + p, .text h2 + .liste { margin-top: 18px; }
.text p + h3, .text ul + h3, .text .liste + h3, .text .tabelle + h3 { margin-top: 34px; }
.text .knoepfe { margin-top: 32px; }
.text .liste + p, .text p + .liste { margin-top: 22px; }
.mehr { display: inline-block; margin-top: 26px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gelb-linie); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.mehr:hover { text-decoration-color: currentColor; }
.dunkel .mehr { text-decoration-color: var(--gelb); }

/* Leistungen der Startseite: Zeilen mit feinen Linien, der Titel ist der Link */
.leistungsliste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.leistungsliste li { display: grid; grid-template-columns: minmax(14rem, 22rem) 1fr; gap: 8px 40px; align-items: baseline; margin: 0; padding: 26px 0; border-top: 1px solid var(--linie); }
.leistungsliste h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.leistungsliste h3 a { text-decoration: none; background-image: linear-gradient(var(--gelb), var(--gelb)); background-size: 0 4px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.leistungsliste h3 a:hover, .leistungsliste h3 a:focus-visible { background-size: 100% 4px; }
.leistungsliste p { color: var(--text-weich); }

/* Liste mit feinen Linien, ohne Symbole */
.liste { list-style: none; padding: 0; }
.liste li { margin: 0; padding: 12px 0; border-top: 1px solid var(--linie); }
.liste li + li { margin-top: 0; }
.liste li:last-child { border-bottom: 1px solid var(--linie); }
.liste strong { display: block; color: var(--schwarz); }
.dunkel .liste li { border-color: rgba(255, 255, 255, .16); }
.dunkel .liste strong { color: #fff; }

/* Tabelle mit feinen Linien (Genehmigung, Zuzahlung, Geschichte) */
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th, .tabelle td { padding: 15px 28px 15px 0; border-top: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 1px solid var(--linie); }
.tabelle thead th { border-top: 0; padding-top: 0; font-size: 15px; color: var(--text-weich); font-weight: 700; }
.tabelle tbody th { width: 58%; font-weight: 600; }
.tabelle--jahre tbody th { width: 9rem; font-size: 1.25rem; font-weight: 700; }
.tabelle td:last-child { padding-right: 0; }
.abstand { margin-top: 28px; }
.text .telefon-gross + .kontaktliste { margin-top: 28px; }
.text .kontaktliste + .zeiten { margin-top: 30px; }
.quelle { margin-top: 18px; font-size: 15px; color: var(--text-weich); }

/* Ablauf: Zeilen mit feinen Linien, ohne Nummern */
.schritte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 72px); list-style: none; padding: 0; }
.schritte li { margin: 0; padding: 20px 0 22px; border-top: 1px solid var(--linie); }
.schritte h3 { font-size: 1.2rem; }
.schritte p { margin-top: 6px; color: var(--text-weich); }
.dunkel .schritte li { border-top-color: rgba(255, 255, 255, .16); }
.dunkel .schritte p { color: rgba(255, 255, 255, .78); }

/* Leistungsabschnitte mit Sprungmarke */
.leistung + .leistung { margin-top: clamp(72px, 9vw, 120px); }

/* FAQ */
.faq { max-width: 920px; }
.faq__item { border-bottom: 1px solid var(--linie); }
.faq__item:first-of-type { border-top: 1px solid var(--linie); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.faq__item summary .chevron { flex: none; width: 16px; height: 10px; transition: transform .2s ease; }
.faq__item[open] summary .chevron { transform: rotate(180deg); }
.faq__antwort { padding: 0 0 26px; color: var(--text-weich); }

/* Band auf Schwarz mit Foto rechts (Familienbetrieb auf der Startseite) */
.band { position: relative; min-height: clamp(480px, 50vw, 660px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band__bild { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -1; }
.band__bild img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.band__text { max-width: min(560px, 40vw); padding: clamp(64px, 8vw, 104px) 0; }
.band p { margin-top: 18px; font-size: 1.12rem; }

/* Telefon groß (Startseite, Kontakt) */
.telefon-gross { display: inline-block; margin-top: 14px; font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--schwarz); text-decoration: none; background-image: linear-gradient(var(--gelb), var(--gelb)); background-size: 100% .16em; background-position: 0 92%; background-repeat: no-repeat; }
.telefon-gross:hover { background-size: 100% .5em; }

/* Erreichbarkeit */
.zeiten h2, .zeiten h3 { font-size: 1.15rem; margin-bottom: 10px; }
.zeiten dl { margin: 0; }
.zeiten dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.zeiten dt { font-weight: 700; }
.zeiten dd { margin: 0; text-align: right; }

/* Kontaktdaten: Zeilen mit feinen Linien */
.kontaktliste { margin: 0; border-top: 1px solid var(--linie); }
.kontaktliste div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.kontaktliste dt { font-weight: 700; }
.kontaktliste dd { margin: 0; }
.text .kontaktliste { margin: 26px 0 34px; }

/* Google Maps nach Einwilligung */
.karte { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte__hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
h2 + .karte, p + .karte { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Formular ---------- */
.formkarte { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); box-shadow: 0 24px 60px rgba(14, 14, 14, .06); }
.formkarte h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.formkarte__text { margin: 10px 0 26px; color: var(--text-weich); font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--voll { grid-column: 1 / -1; }
.field label, .upload__label { font-size: 16px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid #C9C9C2; border-radius: 12px; background: #fff; font-size: 17px; font-weight: 500; transition: border-color .2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230E0E0E' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 18px center / 14px 9px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--schwarz); outline: none; box-shadow: 0 0 0 4px rgba(254, 237, 1, .7); }
.field input::placeholder, .field textarea::placeholder { color: #8A8A84; }
.req { color: var(--text-weich); }
.upload { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px; }
.upload__label { grid-column: 1 / -1; }
.upload__input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.upload__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--schwarz); border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; }
.upload__input:focus-visible + .upload__btn { outline: 3px solid var(--schwarz); outline-offset: 3px; }
.upload__info { font-size: 15px; color: var(--text-weich); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--text-weich); }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--schwarz); }
.form__senden { justify-self: start; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.form-status.is-active { display: block; }
.form-status.is-ok { background: #FFF9B8; color: var(--schwarz); }
.form-status.is-error { background: #FCEBEA; color: #8A1C14; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
mark.offen { background: #FFF59E; padding: 0 .2em; }

/* ---------- Schnellkontakt am rechten Rand, am Handy feste Leiste unten ---------- */
.schnellkontakt { position: fixed; right: 0; top: 50%; z-index: 90; display: flex; flex-direction: column; padding: 10px 0; background: var(--schwarz); border-radius: 18px 0 0 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .28); transform: translateY(-50%); }
.schnellkontakt__punkt { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; color: #fff; text-decoration: none; }
.schnellkontakt__punkt--tel { color: var(--gelb); }
.schnellkontakt__icon { display: flex; transition: color .2s ease, transform .2s ease; }
.schnellkontakt__icon svg { width: 26px; height: 26px; }
.schnellkontakt__punkt:hover .schnellkontakt__icon, .schnellkontakt__punkt:focus-visible .schnellkontakt__icon { color: var(--gelb); transform: scale(1.1); }
.schnellkontakt__info { position: absolute; right: calc(100% + 10px); top: 50%; display: block; min-width: 230px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--schwarz); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(8px, -50%); transition: opacity .2s ease, transform .2s ease, visibility .2s; pointer-events: none; }
.schnellkontakt__info strong { display: block; font-size: 18px; }
.schnellkontakt__info small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-weich); }
.schnellkontakt__punkt:hover .schnellkontakt__info, .schnellkontakt__punkt:focus-visible .schnellkontakt__info { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.nav-open .schnellkontakt { display: none; }
.schnellkontakt__text { display: none; }
@media (min-width: 641px) and (max-width: 1380px) {
  .wrap { padding-right: max(var(--rand), 76px); }
  .kopf .wrap { padding-right: var(--rand); }
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 860px; }
.rechtstext h2 { margin-top: 46px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.rechtstext h3 { margin-top: 28px; font-size: 1.18rem; }
.rechtstext h2 + p, .rechtstext h3 + p, .rechtstext h2 + ul, .rechtstext h3 + ul { margin-top: 12px; }

/* ---------- Fuß ---------- */
.fuss { padding: clamp(60px, 7vw, 92px) 0 28px; background: var(--schwarz); color: rgba(255, 255, 255, .74); font-size: 16px; }
.fuss__raster { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1.1fr .9fr; gap: 36px clamp(20px, 3vw, 44px); }
.fuss__marke .wortmarke { width: auto; height: 62px; }
.fuss__marke p { margin-top: 18px; max-width: 300px; }
.fuss__social { display: flex; gap: 18px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--gelb); }
.fuss__telefon { font-size: 1.3rem; font-weight: 700; }
.fuss__titel { margin-bottom: 14px; font-size: 17px; color: #fff; }
.fuss ul { list-style: none; padding: 0; }
.fuss li + li { margin-top: 8px; }
.fuss address p + p { margin-top: 12px; }
.fuss__recht { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: rgba(255, 255, 255, .58); }
.fuss__links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
.fuss__recht p + p { margin-top: 0; }

/* ---------- Datenschutz-Banner (Aufbau wie bei bohr.media: weiße Karte, Überschrift im Kopf, graue Fußleiste; Farben nach der CI) ----------
   Klassen bewusst ohne „cookie“: Werbeblocker blenden solche Container sonst aus.
   „Alles akzeptieren“ und „Ablehnen“ gleich gestaltet in Gelb, „Individuelle Einstellungen“ als Rahmen-Knopf. Kopf ohne Logo (Kundenseite). */
.priv-modal { --pv-accent: var(--gelb); --pv-accent-hover: var(--gelb-hover); --pv-schalter-aus: #D2D2CB; position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.priv-modal.is-visible { display: flex; }
.priv-modal__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 14, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.priv-modal__card { position: relative; display: flex; flex-direction: column; width: min(600px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(14, 14, 14, .24); animation: priv-ein .25s ease; }
@keyframes priv-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.priv-modal__card:focus { outline: none; }
.priv-head { flex: none; display: flex; align-items: center; justify-content: center; margin: 0 32px; padding: 26px 0 20px; border-bottom: 1px solid var(--linie); }
.priv-h { margin: 0; color: var(--schwarz); font-size: 1.35rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.priv-panel { display: none; }
.priv-panel.is-active { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 20px 32px 24px; }
.priv-scroll { min-height: 0; overflow-y: auto; padding-right: 6px; font-size: .84rem; line-height: 1.6; color: var(--text); }
.priv-scroll::-webkit-scrollbar { width: 8px; }
.priv-scroll::-webkit-scrollbar-thumb { background: var(--linie); border-radius: 4px; }
.priv-scroll p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.priv-scroll p + p { margin-top: .8em; }
.priv-scroll a { color: var(--schwarz); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gelb-linie); text-decoration-thickness: 2px; }
.priv-cat { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: .76rem; font-weight: 500; line-height: 1.55; color: var(--text-weich); cursor: pointer; }
.priv-cat:first-child { padding-top: 0; }
.priv-cat b { display: block; margin-bottom: 2px; color: var(--schwarz); font-size: .86rem; font-weight: 700; }
.priv-cat input { position: absolute; opacity: 0; width: 0; height: 0; }
.priv-cat i { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; border-radius: 26px; background: var(--pv-schalter-aus); transition: background-color .2s ease; }
.priv-cat i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(14, 14, 14, .25); transition: transform .2s ease; }
.priv-cat input:checked + i { background: var(--schwarz); }
.priv-cat input:checked + i::after { transform: translateX(20px); background: var(--gelb); }
.priv-cat input:disabled + i { opacity: .55; }
.priv-cat input:focus-visible + i { outline: 3px solid var(--schwarz); outline-offset: 2px; }
.priv-actions { flex: none; display: grid; gap: 12px; margin-top: 22px; }
.priv-btn { min-height: 0; border: none; border-radius: 999px; background: var(--pv-accent); color: var(--schwarz); cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.3; padding: 15px 20px; transition: background-color .2s ease; }
.priv-btn:hover { background: var(--pv-accent-hover); }
.priv-btn:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 2px; }
.priv-btn--rahmen { background: #fff; color: var(--schwarz); box-shadow: inset 0 0 0 2px var(--schwarz); }
.priv-btn--rahmen:hover { background: var(--flaeche); }
.priv-foot { flex: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 16px 24px; background: var(--flaeche); font-size: .78rem; line-height: 1.4; }
.priv-foot a, .priv-foot button { color: var(--text-weich); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.priv-foot a:hover, .priv-foot button:hover { color: var(--schwarz); text-decoration: underline; }
.priv-foot [hidden] { display: none; }
@media (max-width: 640px) {
  .priv-modal { align-items: flex-end; padding: 0; }
  .priv-modal__card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .priv-head { margin: 0 18px; padding: 18px 0 14px; }
  .priv-h { font-size: 1.1rem; }
  .priv-panel.is-active { padding: 14px 18px 16px; }
  .priv-scroll { font-size: .8rem; line-height: 1.55; }
  .priv-actions { gap: 8px; margin-top: 14px; }
  .priv-btn { padding: 13px 16px; font-size: .86rem; }
  .priv-foot { gap: 6px 24px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); font-size: .74rem; }
}

/* ---------- 404 ---------- */
.fehler__zahl { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; color: var(--gelb); }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1100px) {
  .fuss__raster { grid-template-columns: 1fr 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
}

/* Menü als Klappmenü bis 900 px (drei Punkte und Telefon passen darüber in eine Zeile) */
@media (max-width: 900px) {
  :root { --kopf: 72px; }
  .kopf { background: rgba(14, 14, 14, .76); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: var(--kopf); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 16px var(--rand) 40px; overflow-y: auto; background: var(--schwarz); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .kopf { background: var(--schwarz); transform: none; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav__link { display: block; padding: 18px 0; font-size: 22px; border-bottom: 0; }
  .nav__link.is-aktiv { color: var(--gelb); }
  .nav__cta { align-self: stretch; min-height: 58px; font-size: 19px; }
}

@media (max-width: 1000px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .zweispaltig--gedreht .zweispaltig__bild { order: 0; }
  .zweispaltig__bild img { aspect-ratio: 3 / 2; }
  .zweispaltig__bild--hoch img { aspect-ratio: 4 / 5; max-height: 640px; }
  /* Kopf: Foto oben, Text darunter auf Schwarz */
  .seitenkopf, .seitenkopf--start { display: block; min-height: 0; padding: calc(min(62vw, 560px) + 8px) 0 56px; }
  .seitenkopf__bild { left: 0; width: auto; bottom: auto; height: min(62vw, 560px); }
  .seitenkopf__bild img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .seitenkopf__text { max-width: 720px; }
  .band { display: block; min-height: 0; }
  .band__bild { position: relative; width: auto; height: min(62vw, 560px); }
  .band__bild img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .band__text { max-width: 720px; padding: 12px 0 64px; }
  .leistungsliste li { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 18px; padding-bottom: 64px; }
  .schritte { grid-template-columns: 1fr; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle th, .tabelle td { display: block; width: 100%; }
  .tabelle thead { display: none; }
  .tabelle tbody th, .tabelle--jahre tbody th { width: 100%; padding: 16px 0 2px; }
  .tabelle td { padding: 0 0 16px; border-top: 0; }
  .tabelle tr:last-child th { border-bottom: 0; }
  .tabelle td[data-titel]::before { content: attr(data-titel) ": "; font-weight: 700; }
  .kontaktliste div { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .upload { grid-template-columns: 1fr; }
  .upload__btn { justify-self: start; }
  .schnellkontakt { top: auto; bottom: 0; left: 0; right: 0; flex-direction: row; padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; transform: none; box-shadow: 0 -4px 18px rgba(0, 0, 0, .22); }
  .schnellkontakt__punkt { flex: 1; flex-direction: column; gap: 3px; width: auto; height: 64px; }
  .schnellkontakt__punkt--tel { flex: 1.6; flex-direction: row; gap: 10px; background: var(--gelb); color: var(--schwarz); }
  .schnellkontakt__punkt--tel .schnellkontakt__text { font-size: 17px; font-weight: 700; }
  .schnellkontakt__punkt + .schnellkontakt__punkt:not(.schnellkontakt__punkt--tel) { border-left: 1px solid rgba(255, 255, 255, .14); }
  .schnellkontakt__punkt--tel:hover .schnellkontakt__icon { color: var(--schwarz); }
  .schnellkontakt__icon svg { width: 22px; height: 22px; }
  .schnellkontakt__info { display: none; }
  .schnellkontakt__text { display: block; font-size: 13px; font-weight: 600; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__recht { flex-direction: column; }
  .seitenkopf .knoepfe .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .seitenkopf h1 { font-size: 2.15rem; }
  .seitenkopf--start h1 { font-size: 2.5rem; }
  h2 { font-size: 1.65rem; }
  .fuss__raster { grid-template-columns: 1fr; }
}

/* Touch-Geräte: Links mit Tippflächen von etwa 44 px (Apple HIG), ohne das Layout zu verschieben */
@media (pointer: coarse) {
  .leistungsliste h3 a, .kontaktliste a, .karte__hinweis a { display: inline-block; padding-block: 8px; margin-block: -8px; }
  .mehr { padding-block: 8px; margin-top: 18px; margin-bottom: -8px; }
  .fuss li + li { margin-top: 0; }
  .fuss li a, .fuss__social a, .fuss__links a { display: inline-block; padding-block: 9px; }
  .fuss__social { gap: 26px; }
  .consent input { width: 26px; height: 26px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kopf, .nav, .schnellkontakt__info { transition: none; }
}
