/*
 * Eigenes Layout „Ich verschrotte dein Auto“ – ersetzt style.css der Vorlage vollständig.
 * Farben und Schriften: theme.css. Markup: site/views/ (eigene Seiten) und inc/ (Formular, Rechtstexte, Ratgeber, Banner).
 * Leitidee: Werkstatt und Straße – Teko-Versalien, schräge Flächen, Abholschein, Ortsschilder.
 */

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-text); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; line-height: .95; letter-spacing: .005em; color: var(--navy); margin: 0 0 .4em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: var(--navy-deep); padding: .6rem 1rem; font-weight: 700; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 780px); }
.wrap--mid { width: min(100% - 32px, 960px); }

.kicker, .eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); }
.kicker::before, .eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--orange); }

/* ---------- Knöpfe ---------- */
.go, .btn { --sh: var(--orange-deep); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .55rem 1.25rem .4rem;
  font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  color: var(--navy-deep); background: var(--orange); border: 0; border-radius: var(--r); box-shadow: 0 4px 0 var(--sh); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.go .icon, .btn .icon { width: 1.05em; height: 1.05em; margin-top: -.12em; }
.go:hover, .btn:hover { color: var(--navy-deep); transform: translateY(2px); box-shadow: 0 2px 0 var(--sh); }
.go:active, .btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--sh); }
.go--lg, .btn--lg { min-height: 56px; font-size: 1.55rem; padding-inline: 1.5rem; }
.go--sm { min-height: 42px; font-size: 1.2rem; padding-inline: 1rem; }
.go--block, .btn--block { display: flex; width: 100%; }
.go--wa, .btn--wa { --sh: var(--wa-deep); background: var(--wa); color: #fff; }
.go--wa:hover, .btn--wa:hover { color: #fff; }
.btn--ghost { --sh: #C9C1B2; background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), 0 4px 0 var(--sh); }
.btn--ghost:hover { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), 0 2px 0 var(--sh); }
.btn--brand { --sh: var(--navy-deep); background: var(--navy); color: #fff; }
.btn--brand:hover { color: #fff; }
.btn:disabled { opacity: .7; cursor: wait; }
.linkbtn, .foot__link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Leiste oben und Kopf ---------- */
.strip { background: var(--navy-deep); color: #DDE6F5; font-size: .88rem; }
.strip__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.strip p { display: flex; align-items: center; gap: .45rem; margin: 0; }
.strip__links { gap: 1.25rem !important; }
.strip a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 700; text-decoration: none; }
.strip a:hover { color: var(--orange); }
.strip .icon { width: 1em; height: 1em; color: var(--orange); }

.bar { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--navy); transition: box-shadow .2s; }
.bar.is-scrolled { box-shadow: 0 6px 20px rgba(14, 35, 80, .12); }
.bar__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.mark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); flex: none; }
.mark__icon { width: 46px; height: 46px; }
.mark__icon svg { width: 100%; height: 100%; }
.mark__txt { display: grid; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; line-height: .82; }
.mark__top { font-size: 1.12rem; letter-spacing: .06em; color: var(--muted); }
.mark__bottom { font-size: 2.05rem; letter-spacing: .01em; color: var(--navy); }
.mark:hover .mark__bottom { color: var(--navy-deep); }
.menu { margin-left: auto; }
.menu ul { display: flex; align-items: center; gap: .25rem; list-style: none; }
.menu a { display: block; padding: .5rem .7rem .35rem; font-family: var(--f-head); font-weight: 500; font-size: 1.35rem; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 3px solid transparent; }
.menu a:hover { border-bottom-color: var(--orange); }
.menu a[aria-current="page"] { border-bottom-color: var(--navy); }
.menu__call { display: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; place-items: center; background: var(--navy); color: #fff; border: 0; border-radius: var(--r); cursor: pointer; }
.burger .icon { width: 26px; height: 26px; }

@media (max-width: 1100px) {
  .menu a { font-size: 1.2rem; padding-inline: .5rem; }
}
@media (max-width: 960px) {
  .burger { display: grid; }
  .bar__cta { display: none; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--navy); display: none; box-shadow: 0 12px 24px rgba(14, 35, 80, .15); }
  .menu.is-open { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; }
  .menu a { font-size: 1.6rem; padding: .7rem 0 .55rem; border-bottom: 1px solid var(--line); }
  .menu__call { display: block; }
  .menu__call a { display: flex; align-items: center; gap: .5rem; color: var(--orange-text); border-bottom: 0; }
}
@media (max-width: 640px) {
  .strip__claim { display: none !important; }
  .strip__in { justify-content: center; }
  .mark__icon { width: 40px; height: 40px; }
  .mark__top { font-size: .98rem; }
  .mark__bottom { font-size: 1.75rem; }
  :root { --header-h: 66px; }
}

/* ---------- Kopfbereich ---------- */
.top { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; background:
  linear-gradient(var(--white) 0 0) bottom / 100% 70px no-repeat,
  linear-gradient(90deg, rgba(22, 52, 109, .05) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(rgba(22, 52, 109, .05) 1px, transparent 1px) 0 0 / 40px 40px,
  var(--paper); }
.top__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.top h1 { margin-bottom: .3em; }
.hl { position: relative; display: inline-block; color: var(--navy-deep); z-index: 0; }
.hl::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .38em; background: var(--orange); z-index: -1; transform: skewX(-12deg); }
.top__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 36rem; color: var(--text); }
.top__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 1rem; }
.top__call { font-size: .98rem; color: var(--muted); }
.top__call a { font-weight: 800; color: var(--navy); }
.top__visual { position: relative; }
.slab { position: relative; aspect-ratio: 14 / 10; background: var(--blue); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 var(--r-lg) var(--r-lg) 0; overflow: hidden; display: grid; align-items: end; }
.slab::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .09) 0 18px, transparent 18px 46px); }
.slab__art { position: relative; width: 90%; margin-left: auto; }
.slab--img { align-items: stretch; }
.slab--img::before { display: none; }
.slab__img { width: 100%; height: 100%; object-fit: cover; }
.slab .imgph { height: 100%; aspect-ratio: auto; }
.stamps { position: absolute; left: -7%; bottom: -2.4rem; display: grid; gap: .45rem; list-style: none; }
.stamps li { display: inline-flex; align-items: center; gap: .45rem; width: max-content; padding: .4rem .8rem .3rem; background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 4px; font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; box-shadow: 4px 4px 0 var(--navy); }
.stamps li:nth-child(2) { margin-left: 1.2rem; transform: rotate(-1.5deg); }
.stamps li:nth-child(3) { margin-left: .4rem; transform: rotate(1deg); }
.stamps .icon { color: var(--orange-text); width: 1em; height: 1em; margin-top: -.1em; }
.sign { position: absolute; top: -1rem; left: 4%; display: grid; justify-items: center; margin: 0; padding: .65rem 1.4rem .45rem; background: var(--sign); color: #111; border: 4px solid var(--sign); border-radius: 10px; box-shadow: inset 0 0 0 3px #111, 0 10px 24px rgba(0, 0, 0, .18); text-align: center; transform: rotate(-3deg); }
.sign__name { font-family: var(--f-head); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .9; text-transform: uppercase; }
.sign__sub { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.top--compact h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }

/* Schnellanfrage */
.qbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr repeat(3, 1fr) auto; gap: .9rem; align-items: end; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.25rem 1.4rem 1.4rem; background: var(--navy); color: #fff; border-radius: var(--r-lg); box-shadow: 0 20px 40px rgba(14, 35, 80, .25); }
.qbar__h { display: flex; gap: .75rem; align-items: center; margin: 0; font-size: .92rem; color: #C9D6EE; }
.qbar__h .icon { width: 42px; height: 42px; padding: 8px; color: var(--navy-deep); background: var(--orange); border-radius: 50%; }
.qbar__h strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: #fff; }
.qbar .field > span { color: #DDE6F5; }
.qbar .go { min-height: 50px; }
@media (max-width: 1000px) { .qbar { grid-template-columns: 1fr 1fr; } .qbar__h { grid-column: 1 / -1; } .qbar .go { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .top__grid { grid-template-columns: 1fr; }
  .top__visual { max-width: 560px; }
  .stamps { position: relative; z-index: 2; left: auto; bottom: auto; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: -1rem; padding-left: .5rem; }
  .stamps li:nth-child(n) { margin-left: 0; }
}
@media (max-width: 520px) { .qbar { grid-template-columns: 1fr; padding: 1.1rem; } .stamps li { font-size: 1.1rem; } }

/* ---------- Laufband ---------- */
.ticker { display: flex; overflow: hidden; background: var(--orange); color: var(--navy-deep); border-block: 3px solid var(--navy-deep); }
.ticker__track { display: flex; flex: none; gap: 0; list-style: none; padding: .55rem 0 .35rem; animation: tick 34s linear infinite; }
.ticker__track li { display: flex; align-items: center; font-family: var(--f-head); font-weight: 600; font-size: 1.6rem; line-height: 1; text-transform: uppercase; white-space: nowrap; padding-right: 2.5rem; }
.ticker__track li::after { content: ""; width: 12px; height: 12px; margin-left: 2.5rem; background: var(--navy-deep); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker { flex-wrap: wrap; justify-content: center; } .ticker__track[aria-hidden] { display: none; } .ticker__track { flex-wrap: wrap; justify-content: center; } }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.sec--paper { background: var(--paper); }
.sec--blue { background: var(--blue); color: var(--navy-ink); }
.sec--road { background: var(--navy-deep); color: #DDE6F5; position: relative; overflow: hidden; }
.sec--road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 60px, transparent 60px 110px); }
.sec--road > .wrap { position: relative; }
.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head p:last-child { margin-bottom: 0; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; align-items: end; }
.head--split .kicker { grid-column: 1 / -1; justify-self: start; }
.head--split h2 { margin: 0; }
.head--split p { color: var(--muted); }
.head--light h2 { color: #fff; }
.head--light .kicker { color: var(--orange); }
.head--light p { color: #C9D6EE; }
@media (max-width: 760px) { .head--split { grid-template-columns: 1fr; } .head--split p { margin-top: .8rem; } }

/* Ablauf als Straße */
.route { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; padding-top: 1rem; counter-reset: none; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 3.1rem; height: 8px; background: var(--navy); border-radius: 4px; }
.route::after { content: ""; position: absolute; left: 0; right: 0; top: calc(3.1rem + 3px); height: 2px; background: repeating-linear-gradient(90deg, #fff 0 22px, transparent 22px 40px); }
.route__stop { position: relative; z-index: 1; }
.route__no { display: inline-grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-bottom: 1.1rem; padding-top: .3rem; background: var(--orange); color: var(--navy-deep); border: 4px solid var(--white); border-radius: 50%; font-family: var(--f-head); font-weight: 600; font-size: 2.2rem; box-shadow: 0 0 0 3px var(--navy); }
.route__stop p { color: var(--muted); max-width: 22rem; }
.route__cta { margin: 2rem 0 0; }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 0; }
  .route::before { left: calc(2.2rem - 4px); right: auto; top: 1rem; bottom: 0; width: 8px; height: auto; }
  .route::after { left: calc(2.2rem - 1px); right: auto; top: 1rem; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #fff 0 22px, transparent 22px 40px); }
  .route__stop { display: grid; grid-template-columns: 4.4rem 1fr; column-gap: 1.1rem; }
  .route__no { grid-row: span 2; }
  .route__stop h3 { align-self: end; margin-top: .6rem; }
}

/* Was wir abholen */
.duo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
.duo__img { margin-top: 1.5rem; border-radius: var(--r-lg); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; }
.tags__i { padding: .7rem 1.15rem .5rem; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1; text-transform: uppercase; border-radius: 6px; }
.tags__i--0 { background: var(--navy); color: #fff; transform: rotate(-1.5deg); }
.tags__i--1 { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 3px var(--navy); }
.tags__i--2 { background: var(--orange); color: var(--navy-deep); transform: rotate(1.2deg); }
@media (max-width: 860px) { .duo, .duo--wide { grid-template-columns: 1fr; } }

/* Leistungen als Liste */
.index { list-style: none; border-top: 3px solid var(--navy); }
.index li { border-bottom: 1px solid var(--line); }
.index__row { display: grid; grid-template-columns: 4.5rem 3rem 1fr 3rem; gap: 1.2rem; align-items: center; padding: 1.4rem .5rem; color: var(--text); text-decoration: none; transition: background .15s; }
.index__row:hover { background: var(--paper); color: var(--text); }
.index__no { font-family: var(--f-head); font-weight: 600; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.index__icon { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--blue-tint); color: var(--navy); border-radius: 50%; }
.index__body strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1; text-transform: uppercase; color: var(--navy); margin-bottom: .25rem; }
.index__body span { color: var(--muted); }
.index__go { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); transition: transform .15s, background .15s; }
.index__row:hover .index__go { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); transform: translateX(4px); }
.index--compact .index__row { grid-template-columns: 3rem 1fr 3rem; }
@media (max-width: 640px) {
  .index__row { grid-template-columns: 3rem 1fr; gap: .9rem; padding-inline: 0; }
  .index__no, .index__go { display: none; }
  .index--compact .index__row { grid-template-columns: 3rem 1fr; }
}

/* Kosten und Abholschein */
.pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pair--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.cost h2 { color: var(--navy-ink); font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.cost__big { display: block; font-size: clamp(5rem, 13vw, 9.5rem); line-height: .82; color: #fff; text-shadow: 6px 6px 0 var(--navy-deep); margin-top: .1em; }
.cost p { font-size: 1.12rem; max-width: 30rem; font-weight: 500; }
.ticket { position: relative; padding: 2rem 2.2rem 1.8rem 3rem; background: var(--white); color: var(--text); border-radius: 4px; box-shadow: 10px 10px 0 var(--navy-deep);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) 0 0 / 100% 30px; mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) 0 0 / 100% 30px; }
.ticket::before { content: ""; position: absolute; left: 1.6rem; top: 1.2rem; bottom: 1.2rem; border-left: 2px dashed var(--line); }
.ticket__label { display: inline-block; margin: 0 0 .8rem; padding: .25rem .6rem .1rem; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--navy); }
.ticket h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.ticket__note { margin: 1.2rem 0 0; font-size: .95rem; color: var(--muted); }
.boxes { list-style: none; display: grid; gap: .7rem; }
.boxes li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.boxes__b { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; border: 2.5px solid var(--navy); border-radius: 3px; position: relative; }
.boxes__b::after { content: ""; position: absolute; left: .32rem; top: .02rem; width: .45rem; height: .8rem; border: solid var(--orange-deep); border-width: 0 3px 3px 0; transform: rotate(40deg); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } .ticket { padding: 1.6rem 1.3rem 1.5rem 2.4rem; } .ticket::before { left: 1.15rem; } }

/* Vorteile */
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--navy); }
.facts--3 { grid-template-columns: repeat(3, 1fr); }
.facts li { display: grid; align-content: start; gap: .5rem; padding: 1.6rem 1.4rem 1.4rem 0; border-right: 1px solid var(--line); margin-right: 1.4rem; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .4rem; background: var(--orange); color: var(--navy-deep); border-radius: 4px; transform: rotate(-4deg); }
.facts strong { font-family: var(--f-head); font-weight: 600; font-size: 1.75rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.facts span:not(.facts__icon) { color: var(--muted); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:nth-child(2n) { border-right: 0; margin-right: 0; } .facts--3 { grid-template-columns: 1fr; } .facts--3 li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); } }

/* Text und Seitenkarte (Leistungs- und Stadtseiten) */
.prose h2 { margin-bottom: .35em; }
.prose h3 { color: var(--orange-text); margin: 0 0 .9rem; }
.prose h2 + h3 { margin-top: -.1em; }
.prose p, .prose li { max-width: 70ch; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3rem; margin: 0 0 1em; }
.note-card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; padding: 1.6rem; background: var(--paper); border-top: 6px solid var(--orange); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.note-card__img { border-radius: var(--r); width: 100%; }
.note-card__h { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.note-card__h .icon { color: var(--orange-text); }
.note-card__sub { margin: .2rem 0 -.5rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--wa); margin-top: .2rem; }
.ticks--stack { margin: 0 0 1.2rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.pills li { padding: .3rem .7rem; background: var(--navy); color: #fff; border-radius: 99px; font-size: .9rem; font-weight: 600; }
.pills--soft li { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.pills--road li { background: #1D5FBF; color: #fff; border-radius: 4px; font-family: var(--f-head); font-size: 1.15rem; line-height: 1; padding: .35rem .6rem .2rem; letter-spacing: .03em; }
@media (max-width: 860px) { .note-card { position: static; } }

/* FAQ */
.qa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.qa__head { position: sticky; top: calc(var(--header-h) + 24px); }
.qa__head p { color: var(--muted); }
.qa__list { border-top: 3px solid var(--navy); }
.qa__list details { border-bottom: 1px solid var(--line); }
.qa__list summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0 1rem; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 500; font-size: 1.55rem; line-height: 1.05; text-transform: uppercase; color: var(--navy); }
.qa__list summary::-webkit-details-marker { display: none; }
.qa__chev { width: 2rem; height: 2rem; padding: .3rem; border-radius: 50%; background: var(--paper); transition: transform .2s; }
.qa__list details[open] .qa__chev { transform: rotate(180deg); background: var(--orange); color: var(--navy-deep); }
.qa__list details p { margin: -.2rem 0 1.2rem; color: var(--text); max-width: 62ch; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; } .qa__head { position: static; } }

/* Städte als Ortsschilder */
.towns { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.town { display: grid; place-items: center; min-height: 64px; padding: .55rem .9rem .35rem; background: var(--sign); color: #111; text-decoration: none; border: 4px solid var(--sign); border-radius: 8px; box-shadow: inset 0 0 0 2.5px #111; font-family: var(--f-head); font-weight: 600; font-size: 1.55rem; line-height: 1; text-transform: uppercase; text-align: center; transition: transform .15s; }
.town:hover { color: #111; transform: translateY(-3px) rotate(-1deg); }
.town:focus-visible { outline-color: #fff; }

/* Ratgeber-Kacheln und Seitenköpfe (Kern-Markup) */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.guide-card { display: grid; align-content: start; gap: .6rem; padding: 1.6rem; background: var(--white); color: var(--text); text-decoration: none; border: 2px solid var(--navy); border-radius: 4px; box-shadow: 6px 6px 0 var(--navy); transition: transform .15s, box-shadow .15s; }
.guide-card:hover { color: var(--text); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--orange); }
.guide-card__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; background: var(--orange); color: var(--navy-deep); border-radius: 4px; }
.guide-card strong { font-family: var(--f-head); font-weight: 600; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.guide-card > span:not([class]) { color: var(--muted); }
.guide-card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--blue-text); }
.pagehead, .legal-head { padding: clamp(2.2rem, 5vw, 3.5rem) 0 clamp(1.6rem, 4vw, 2.5rem); background: var(--paper); border-bottom: 3px solid var(--navy); }
.pagehead h1, .legal-head h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); margin: 0 0 .25em; }
.pagehead__lead { font-size: 1.15rem; max-width: 44rem; margin: 0; }
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 1.3rem; background: var(--paper); border-top: 6px solid var(--orange); }
.toc__h { font-family: var(--f-head); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; color: var(--navy); margin: 0 0 .5rem; }
.toc ol { padding-left: 1.2rem; margin: 0 0 1.2rem; display: grid; gap: .4rem; font-size: .95rem; }
.article__body h2 { margin-top: 1.6em; }
.article__body h2:first-child { margin-top: 0; }
.numlist { padding-left: 1.4rem; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.numlist li::marker { font-family: var(--f-head); font-weight: 600; color: var(--orange-text); }
.note { padding: .9rem 1.1rem; background: var(--orange-tint); border-left: 5px solid var(--orange); font-size: .95rem; }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; } .toc { position: static; } }

/* Rechtstexte */
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.legal h3 { font-size: 1.4rem; color: var(--navy); margin-top: 1.2em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { overflow-wrap: anywhere; }

/* Brotkrumen */
.crumbs { margin-bottom: 1.1rem; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--muted); }
.crumbs a { color: var(--navy); font-weight: 700; }
.crumbs [aria-current] { color: var(--muted); }

/* ---------- Anfrageformular (Kern-Markup inc/sections/form.php) ---------- */
#anfrage { position: relative; background: var(--navy); color: #DDE6F5; overflow: hidden; }
#anfrage::before { content: ""; position: absolute; right: -10%; top: -20%; width: 55%; height: 140%; background: var(--navy-deep); transform: skewX(-14deg); }
.lead { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); grid-template-areas: "form aside"; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.lead__form { grid-area: form; }
.lead__aside { grid-area: aside; position: sticky; top: calc(var(--header-h) + 20px); }
.lead__aside h2 { color: #fff; }
.lead__aside .eyebrow { color: var(--orange); }
.lead__aside > p { color: #C9D6EE; }
.lead__aside .ticks { margin: 1.2rem 0 1.6rem; }
.lead__aside .ticks .icon { color: var(--orange); }
.lead__aside .ticks li { color: #fff; font-weight: 600; }
.lead__img { border-radius: var(--r); margin-bottom: 1.4rem; width: 100%; }
.contact-box { display: grid; gap: .8rem; padding: 1.3rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); }
.contact-box p { margin: 0; color: #fff; }
.lead .btn--ghost { --sh: #08162f; background: var(--white); box-shadow: 0 4px 0 var(--sh); }
.form, .success { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.form legend { display: flex; align-items: center; gap: .7rem; padding: 0; margin-bottom: 1rem; font-family: var(--f-head); font-weight: 600; font-size: 1.85rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.legend__no { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; padding-top: .2rem; background: var(--orange); color: var(--navy-deep); border-radius: 50%; font-size: 1.4rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: .9rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .85rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 2px solid #B9B2A4; border-radius: var(--r); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--orange); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-tint); }
.field__err { margin: 0; font-size: .88rem; font-weight: 700; color: var(--error); }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .55rem .95rem; border: 2px solid #B9B2A4; border-radius: var(--r); font-weight: 700; color: var(--navy); background: var(--white); cursor: pointer; }
.seg__opt span .icon { color: var(--orange-text); }
.seg__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg__opt input:checked + span .icon { color: var(--orange); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.upload { display: block; position: relative; cursor: pointer; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__box { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; border: 2px dashed var(--navy); border-radius: var(--r); background: var(--blue-tint); color: var(--navy); }
.upload__box .icon { width: 2rem; height: 2rem; color: var(--blue-text); }
.upload input:focus-visible + .upload__box { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.1rem; font-size: .93rem; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; flex: none; accent-color: var(--navy); }
.alert { margin-bottom: 1.4rem; padding: 1rem 1.1rem; background: var(--error-tint); border-left: 5px solid var(--error); color: var(--error); border-radius: var(--r); }
.form__note { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
.success { text-align: center; }
.success__icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1rem; background: var(--wa); color: #fff; border-radius: 50%; }
.success__icon .icon { width: 2rem; height: 2rem; }
.success h3 { font-size: 2.2rem; }
@media (max-width: 900px) {
  .lead { grid-template-columns: 1fr; grid-template-areas: "aside" "form"; }
  .lead__aside { position: static; }
  .lead__img, .lead__aside .contact-box { display: none; }
}
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* Bildplatz-Hinweis (nur für angemeldete Admins sichtbar) */
.imgph { display: grid; place-items: center; min-height: 160px; aspect-ratio: 4 / 3; padding: 1rem; border: 2px dashed var(--orange-deep); border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--orange-tint) 0 12px, #fff 12px 24px); color: var(--navy); text-align: center; }
.imgph__in { display: grid; gap: .35rem; font-size: .9rem; }
.imgph a { font-weight: 700; color: var(--blue-text); }

/* ---------- Fußbereich ---------- */
.foot { background: var(--navy); color: #C9D6EE; padding-bottom: 1.5rem; }
.foot__call { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(2.5rem, 6vw, 4rem) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot__shout { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .9; text-transform: uppercase; color: #fff; }
.foot__shout span { color: var(--orange); }
.foot__callbtns { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2rem; padding: 2.8rem 0 2rem; }
.mark--foot .mark__top { color: #9FB2D6; }
.mark--foot .mark__bottom { color: #fff; }
.foot__brand p { margin: 1rem 0 0; max-width: 22rem; }
.foot__h { font-size: 1.6rem; color: #fff; margin-bottom: .7rem; }
.foot__list { list-style: none; display: grid; gap: .5rem; }
.foot__list a, .foot__list span, .foot__link { display: inline-flex; gap: .5rem; align-items: flex-start; color: #DDE6F5; text-decoration: none; overflow-wrap: anywhere; }
.foot__list a:hover, .foot__link:hover { color: var(--orange); text-decoration: underline; }
.foot__list .icon { color: var(--orange); margin-top: .2rem; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #AFC0DF; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } .foot__callbtns, .foot__callbtns .go { width: 100%; } }

/* Mobile Schnellkontakt */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; padding-bottom: env(safe-area-inset-bottom); background: var(--navy-deep); box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
  .dock--2 { grid-template-columns: 1fr 1.4fr; }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 66px; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; color: #fff; text-decoration: none; }
  .dock a + a { border-left: 1px solid rgba(255, 255, 255, .14); }
  .dock .icon { width: 1.4rem; height: 1.4rem; }
  .dock__wa { background: var(--wa); }
  .dock__main { background: var(--orange); color: var(--navy-deep) !important; }
}

/* ---------- Einwilligungsbanner (nur mit Tracking-IDs) ---------- */
.consent { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 1rem; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; max-width: 760px; margin: 0 auto; background: var(--white); color: var(--text); border: 3px solid var(--navy); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: 10px 10px 0 var(--navy-deep); }
.consent__title { font-size: 1.9rem; margin: 0 0 .4rem; }
.consent__box p { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }
.consent__details { display: grid; gap: .6rem; margin-bottom: 1rem; }
.consent__details[hidden] { display: none; }
.consent__opt { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .93rem; cursor: pointer; }
.consent__opt input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; accent-color: var(--navy); }
.consent__opt small { display: block; color: var(--muted); margin-top: .2rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent__btn { flex: 1 1 180px; --sh: var(--navy-deep); background: var(--navy); color: #fff; font-size: 1.2rem; }
.consent__btn:hover { color: #fff; }
.consent__btn--ghost { flex: 0 1 auto; --sh: #C9C1B2; background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), 0 4px 0 var(--sh); }
.consent__btn--ghost:hover { color: var(--navy); }
.consent__btn[hidden] { display: none; }
@media (max-width: 760px) { .consent { padding: .5rem; bottom: calc(66px + env(safe-area-inset-bottom)); } .consent__box { padding: 1rem; } .consent__btn { flex-basis: 100%; } }

/* Blöcke der Vorlage (falls in site.php aktiviert) */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.factors__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.ticklist { list-style: none; display: grid; gap: .5rem; }

@media print { .strip, .bar, .dock, .ticker, .qbar, #anfrage, .foot__call, .consent { display: none !important; } }
