/* ==========================================================================
   Bavaria Umzüge & Transporte – Stylesheet
   Farben und Formensprache sind aus dem Logo abgeleitet:
   Cyanblau, Signalrot, Anthrazit – dazu die schräg angeschnittene Linie.
   ========================================================================== */

@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --blue: #00aff0;
  --blue-ink: #006f9c;
  --blue-tint: #e8f7fe;
  --red: #d81f26;
  --red-dark: #b0161c;
  --ink: #1f1d1e;
  --ink-2: #363435;
  --muted: #5d5a5b;
  --line: #dfe4e8;
  --tint: #f3f6f8;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(31, 29, 30, .06), 0 12px 32px -12px rgba(31, 29, 30, .18);
  --container: 1200px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --font: "Tajawal", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 5vw, 3.75rem); }
@media (max-width: 519px) { h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; } }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
h3, .h3 { font-size: 1.3125rem; line-height: 1.2; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
::selection { background: var(--blue); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .75rem 1rem; background: var(--ink); color: var(--white); font-weight: 700; border-radius: var(--radius); transition: top .15s; }
.skip-link:focus { top: 1rem; color: var(--white); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(800px + 2 * var(--gutter)); }
.muted { color: var(--muted); font-size: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
mark.required { background: #fff3c4; color: #5c4400; padding: .05em .3em; border-radius: 3px; font-weight: 700; }

/* --- Eyebrow mit der schrägen Linie aus dem Logo ------------------------ */
.eyebrow { display: flex; align-items: center; gap: .625rem; margin: 0 0 1rem; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 2rem; height: .4375rem; background: var(--blue); clip-path: polygon(0 0, 100% 0, calc(100% - .4375rem) 100%, 0 100%); flex: none; }
.section-dark .eyebrow { color: var(--white); }
.lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 44em; }

/* --- Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 3.25rem; padding: .7rem 1.5rem .6rem; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn .icon { transition: transform .25s var(--ease); margin-top: -.12em; }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.125rem .4rem; font-size: 1rem; }
.btn-lg { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: .1em; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* --- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 29, 30, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 3.75rem; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: .75rem .875rem .6rem; font-weight: 700; font-size: 1.0625rem; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.nav-list > li > a:hover { background: var(--tint); }
.nav-list > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.sub-nav { position: absolute; left: 0; top: 100%; min-width: 19rem; padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: .5rem .75rem .4rem; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; border-radius: 4px; }
.sub-nav a:hover { background: var(--blue-tint); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-phone .icon { color: var(--blue-ink); }
.nav-toggle { display: none; width: 3rem; height: 3rem; padding: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.25rem; height: 2px; background: var(--ink); transition: transform .2s var(--ease), background-color .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-phone span { display: none; }
  .nav-phone { width: 2.75rem; height: 2.75rem; justify-content: center; border: 2px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 959px) {
  .header-inner { min-height: 4.25rem; }
  .brand img { height: 3.125rem; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 1rem; }
  .js .site-nav { position: fixed; inset: 4.25rem 0 0 0; padding: 1.25rem var(--gutter) 6rem; background: var(--white); overflow-y: auto; display: none; }
  .js .site-nav.is-open { display: flex; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .site-header { position: static; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 1rem 0 .85rem; font-size: 1.375rem; font-weight: 800; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list > li > a[aria-current] { box-shadow: none; color: var(--blue-ink); }
  .sub-nav { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-phone { width: auto; height: auto; border: 0; justify-content: flex-start; font-size: 1.25rem; padding: .5rem 0; }
  .nav-phone span { display: inline; }
  .nav-actions .btn { min-height: 3.25rem; }
  body.nav-open { overflow: hidden; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.06; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 500; font-size: 1.0625rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts .icon { color: var(--blue-ink); stroke-width: 2.5; }
.hero-visual { position: relative; background: var(--tint); padding: clamp(1rem, 2.5vw, 2rem); border-radius: var(--radius); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), calc(100% - 3rem) 100%, 0 100%); }
.hero-visual-caption { margin: .5rem 3rem 0 0; font-size: .9375rem; color: var(--muted); }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 30rem; }
}

/* --- Karte des Einsatzgebiets ------------------------------------------ */
.area-map { width: 100%; height: auto; overflow: visible; }
.map-line { stroke: var(--ink-2); stroke-width: 1.25; opacity: .22; stroke-linecap: round; stroke-dasharray: 1; }
.map-line.is-major { stroke: var(--blue); stroke-width: 4; opacity: 1; }
.map-dot { fill: var(--white); stroke: var(--ink-2); stroke-width: 1.5; }
.map-dot.is-major { stroke: var(--ink); stroke-width: 3; }
.map-hub { fill: var(--red); stroke: var(--white); stroke-width: 3; }
.map-pulse { fill: none; stroke: var(--red); stroke-width: 2; opacity: .35; transform-box: fill-box; transform-origin: center; }
.map-label { font-family: var(--font); font-size: 17px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--tint); stroke-width: 5px; stroke-linejoin: round; }
.map-label.is-hub { font-size: 22px; font-weight: 800; }
.section .area-map .map-label { stroke: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .map-line { stroke-dashoffset: 1; animation: map-draw 1s var(--ease) .15s forwards; }
  .map-line.is-major { animation-duration: 1.4s; animation-delay: .35s; }
  .map-pulse { animation: map-pulse 2.8s ease-out 1.5s infinite; }
}
@keyframes map-draw { to { stroke-dashoffset: 0; } }
@keyframes map-pulse { 0% { transform: scale(.6); opacity: .5; } 70%, 100% { transform: scale(1.9); opacity: 0; } }

/* --- Abschnitte --------------------------------------------------------- */
.section { padding-block: var(--section); }
.section-top { margin-top: 2.5rem; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink-2); color: var(--white); }
.section-dark p { color: #e4e2e3; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-2); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head-row h2 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-head { position: sticky; top: 7rem; }
.split-head .btn, .split-head .text-link { margin-top: .75rem; }
.split-map { align-items: center; }
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
}

/* --- Leistungsliste ----------------------------------------------------- */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 2rem 2.75rem minmax(0, 1fr) 1.5rem; align-items: center; gap: 1rem; height: 100%; padding: 1.375rem .75rem 1.25rem; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s, padding .25s var(--ease); }
.service-num { font-size: .875rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.service-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--blue-tint); color: var(--blue-ink); border-radius: var(--radius); transition: background-color .2s, color .2s; }
.service-icon .icon { width: 1.5rem; height: 1.5rem; }
.service-text { display: grid; gap: .125rem; }
.service-text strong { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.service-text span { font-size: 1rem; color: var(--muted); line-height: 1.4; }
.service-arrow { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.service-row:hover { background: var(--white); padding-left: 1.25rem; padding-right: .25rem; color: var(--ink); }
.section:not(.section-tint) .service-row:hover { background: var(--tint); }
.service-row:hover .service-icon { background: var(--blue); color: var(--ink); }
.service-row:hover .service-arrow { transform: translateX(4px); color: var(--red); }
@media (max-width: 799px) {
  .service-list { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.75rem minmax(0, 1fr) 1.5rem; padding-inline: 0; }
  .service-num { display: none; }
  .service-row:hover { padding-left: .5rem; padding-right: 0; }
}

/* --- Vorteile ----------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefits li { background: var(--white); padding: clamp(1.25rem, 2.5vw, 2rem); }
.benefits .icon { width: 2rem; height: 2rem; color: var(--blue-ink); margin-bottom: 1rem; }
.benefits p { margin: 0; font-size: 1.0625rem; color: var(--ink-2); }
@media (max-width: 599px) { .benefits { grid-template-columns: 1fr; } }

/* --- Ablauf ------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.process-step { position: relative; padding-top: 1.5rem; border-top: 4px solid var(--ink); }
.process-step:first-child { border-color: var(--blue); }
.process-step:last-child { border-color: var(--red); }
.process-num { display: block; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--ink); margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.process-step p { margin: 0; font-size: 1.0625rem; color: var(--ink-2); }
@media (max-width: 899px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .process { grid-template-columns: 1fr; } }

/* --- Orte --------------------------------------------------------------- */
.city-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-chips a, .city-chips span { display: block; padding: .5rem .875rem .4rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 100px; font-size: 1rem; font-weight: 500; color: var(--white); text-decoration: none; line-height: 1.3; }
.city-chips a { border-color: var(--blue); font-weight: 700; transition: background-color .2s, color .2s; }
.city-chips a:hover { background: var(--blue); color: var(--ink); }
.city-chips-light a, .city-chips-light span { color: var(--ink); border-color: var(--line); background: var(--white); }
.city-chips-light a { border-color: var(--blue-ink); }
.city-chips-light + .muted { margin-top: 1.25rem; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.area-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; }
.area-card h3 a { color: var(--ink); text-decoration: none; }
.area-card p { font-size: 1.0625rem; color: var(--ink-2); flex: 1; }
@media (max-width: 899px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .area-grid { grid-template-columns: 1fr; } }

/* --- Ratgeber ----------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.post-card { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.5rem; border-top: 4px solid var(--ink); }
.post-card:hover { border-color: var(--blue); }
.post-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.post-card h2, .post-card h3 { font-size: 1.4375rem; line-height: 1.2; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue-ink); }
.post-card > p:not(.post-meta) { font-size: 1.0625rem; color: var(--ink-2); flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .75rem; font-size: .9375rem; color: var(--muted); }
.post-meta span:first-child { font-weight: 700; color: var(--ink-2); }
.page-hero .post-meta { margin-top: 1.5rem; }
@media (max-width: 899px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .post-grid { grid-template-columns: 1fr; } }
.filter { margin-bottom: 2.5rem; }
.filter ul, .pager ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter a, .pager a { display: block; padding: .5rem 1rem .4rem; border: 2px solid var(--line); border-radius: 100px; font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; }
.filter a:hover, .pager a:hover { border-color: var(--ink); }
.filter a[aria-current], .pager a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pager { margin-top: 3rem; }
.toc { background: var(--tint); border-left: 4px solid var(--blue); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.toc h2 { font-size: 1.125rem; margin-bottom: .75rem; }
.toc ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .375rem; }
.toc a { color: var(--ink); font-weight: 500; }
.service-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); border: 2px solid var(--ink); border-radius: var(--radius); }
.service-box .eyebrow { margin-bottom: .5rem; }
.service-box h2 a { color: var(--ink); }
.article + .section { margin-top: var(--section); }

/* --- FAQ ---------------------------------------------------------------- */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0 1.125rem; font-weight: 700; font-size: 1.1875rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: .75rem; height: .75rem; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--red); }
.faq-item summary:hover { color: var(--blue-ink); }
.faq-answer { padding: 0 2.5rem 1.5rem 0; color: var(--ink-2); }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- CTA-Band ----------------------------------------------------------- */
.cta-band { background: var(--blue); color: var(--ink); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(38vw, 30rem); height: .75rem; background: var(--red); clip-path: polygon(.75rem 0, 100% 0, 100% 100%, 0 100%); }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.cta-band h2 { margin-bottom: .375rem; }
.cta-band p { margin: 0; max-width: 36em; font-weight: 500; }
.cta-band .btn-row { margin-top: 0; }
.cta-band :focus-visible { outline-color: var(--ink); }
@media (max-width: 999px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* --- Unterseiten -------------------------------------------------------- */
.page-hero { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); background: linear-gradient(var(--white), var(--white)) padding-box; }
.page-hero h1 { max-width: 20em; font-size: clamp(2.125rem, 4.6vw, 3.5rem); }
.page-hero-center { text-align: center; border: 0; padding-block: clamp(4rem, 10vw, 8rem); }
.page-hero-center .eyebrow, .page-hero-center .btn-row { justify-content: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }
.breadcrumbs { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: .9375rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 959px) { .content-grid { grid-template-columns: minmax(0, 1fr); } }
.content-img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }

.prose { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.25em; }
.prose h3 { margin-top: 1.75em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.375rem; display: grid; gap: .5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.75rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .6em; width: 1rem; height: .3125rem; background: var(--blue); clip-path: polygon(0 0, 100% 0, calc(100% - .3125rem) 100%, 0 100%); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { font-weight: 800; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose blockquote, .prose .hinweis { margin: 1.75em 0; padding: 1.25rem 1.5rem; background: var(--blue-tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.prose .hinweis p:last-child, .prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1.0625rem; }
.prose th, .prose td { text-align: left; padding: .75rem .75rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 800; border-bottom: 2px solid var(--ink); }

.side-card { position: sticky; top: 7rem; padding: clamp(1.5rem, 3vw, 2rem); background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.section-tint .side-card { background: var(--white); }
.side-card h2 { font-size: 1.3125rem; margin-bottom: 1rem; }
.side-card h2:not(:first-child) { margin-top: 2rem; }
.side-card p, .side-card address { font-size: 1.0625rem; color: var(--ink-2); }
.side-card-cta { display: grid; gap: .625rem; margin-top: 1.5rem; }
.side-card-note { margin: 1rem 0 0; font-size: .9375rem !important; color: var(--muted) !important; }
@media (max-width: 959px) { .side-card { position: static; } }
.check-list { display: grid; gap: .625rem; }
.check-list li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); gap: .625rem; font-size: 1.0625rem; line-height: 1.4; }
.check-list .icon { color: var(--blue-ink); stroke-width: 2.5; margin-top: .1em; }
.facts { display: grid; gap: .25rem; margin: 0; font-size: 1.0625rem; }
.facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .75rem; }
.facts dd { margin: 0; }
.link-block { margin-top: 3rem; max-width: 46rem; }
.link-list { display: grid; gap: .5rem; }
.link-list a { font-weight: 700; }

/* --- Hinweise & Formulare ---------------------------------------------- */
.notice { padding: 1.25rem 1.5rem; margin-bottom: 2rem; border-radius: var(--radius); border: 2px solid; }
.notice p { margin: .25rem 0 0; }
.notice-success { background: #edf9f0; border-color: #1c7c3a; color: #0f4a22; }
.notice-error { background: #fdeeee; border-color: var(--red-dark); color: #7a0f14; }
.notice-warn { background: #fff8dc; border-color: #b58900; color: #4d3b00; }
.form { display: grid; gap: 1.25rem; }
.form fieldset { display: grid; gap: 1.25rem; margin: 0; padding: 0 0 1.75rem; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.form fieldset:last-of-type { border-bottom: 0; padding-bottom: .5rem; }
.form legend { padding: 0; margin-bottom: 1.25rem; font-size: 1.4375rem; font-weight: 800; }
.form-hint { margin: 0; font-size: 1rem; color: var(--muted); }
.field { display: grid; gap: .375rem; align-content: start; min-width: 0; }
.field label { font-weight: 700; font-size: 1rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 3.25rem; padding: .75rem .875rem .65rem; background: var(--white); border: 2px solid #9aa3a9; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(0, 175, 240, .35); }
.field [aria-invalid="true"] { border-color: var(--red-dark) !important; }
.field ::placeholder { color: #767b80; opacity: 1; }
.field-error { margin: 0; font-size: .9375rem; font-weight: 700; color: var(--red-dark); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field-row-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.field-half { max-width: calc(50% - .625rem); }
.field-check { grid-template-columns: 1.5rem minmax(0, 1fr); gap: .25rem .75rem; align-items: start; }
.field-check input { width: 1.5rem; height: 1.5rem; margin: .125rem 0 0; accent-color: var(--blue-ink); }
.field-check label { font-weight: 400; font-size: 1.0625rem; line-height: 1.45; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
@media (max-width: 639px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .field-half { max-width: none; }
  .form .btn { justify-self: stretch; }
}
.map-embed { display: grid; place-items: center; gap: 1rem; min-height: 22rem; padding: 2rem; text-align: center; background: var(--white); border: 2px dashed #9aa3a9; border-radius: var(--radius); }
.map-embed iframe { width: 100%; height: 26rem; border: 0; border-radius: var(--radius); }
.map-embed.is-loaded { padding: 0; border: 0; display: block; }

/* --- Cookie-Einstellungen & Banner ------------------------------------- */
.consent-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.consent-row:first-child { border-top: 2px solid var(--ink); }
.consent-row p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }
.consent-fixed { font-size: .9375rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; position: relative; width: 3.25rem; height: 1.875rem; margin: 0; background: #8a9299; border-radius: 100px; cursor: pointer; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 1.5rem; height: 1.5rem; background: var(--white); border-radius: 50%; transition: transform .2s var(--ease); }
.switch:checked { background: var(--blue-ink); }
.switch:checked::after { transform: translateX(1.375rem); }
.consent-settings .notice { margin: 1.5rem 0 0; }
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 150; width: min(30rem, calc(100vw - 2rem)); background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.consent[hidden] { display: none; }
.consent-inner { padding: 1.5rem; }
.consent h2 { font-size: 1.25rem; }
.consent p { font-size: 1rem; color: var(--ink-2); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.consent-actions .btn { min-height: 3rem; padding-inline: .75rem; font-size: 1rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #d9d7d8; font-size: 1.0625rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem) 3rem; }
.footer-brand img { width: 11rem; padding: .875rem 1rem; background: var(--white); border-radius: var(--radius); margin-bottom: 1.5rem; }
.footer-brand strong { color: var(--white); }
.footer-contact { display: grid; gap: .5rem; margin-top: 1.25rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .625rem; font-weight: 700; }
.footer-contact .icon { color: var(--blue); }
.footer-hours { margin-top: 1.25rem; font-size: 1rem; }
.site-footer h2 { font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--white); margin-bottom: 1.125rem; }
.site-footer nav ul { display: grid; gap: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-credit { margin-left: auto !important; }
.footer-credit a { text-decoration: underline; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-credit { margin-left: 0 !important; } }
@media (max-width: 519px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Schnellkontakt (mobil) & WhatsApp (Desktop) ------------------------ */
.action-bar { display: none; }
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: inline-flex; align-items: center; gap: .5rem; min-height: 3.25rem; padding: .6rem 1.125rem .5rem; background: var(--ink); color: var(--white); border-radius: 100px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); transition: background-color .2s, transform .2s var(--ease); }
.wa-float .icon { color: var(--blue); }
.wa-float:hover { background: #000; color: var(--white); transform: translateY(-2px); }
@media (max-width: 1499px) { .wa-float { width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float .icon { width: 1.625rem; height: 1.625rem; } }
@media (max-width: 767px) {
  body { padding-bottom: 4rem; }
  .wa-float { display: none; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(31, 29, 30, .5); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 4rem; font-weight: 800; font-size: 1rem; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
  .action-bar a:last-child { border-right: 0; }
  .action-bar .icon { color: var(--blue-ink); }
  .action-bar .is-primary { background: var(--red); color: var(--white); }
  .action-bar .is-primary .icon { color: var(--white); }
  .consent { bottom: 5rem; }
  body.nav-open .action-bar { display: none; }
}

/* --- Einblenden beim Scrollen ------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer nav, .action-bar, .wa-float, .cta-band, .consent, .btn-row { display: none !important; }
  body { font-size: 11pt; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ==========================================================================
   Version 2 – kräftigerer Auftritt: Fotos, Farbe, Bewegung
   ========================================================================== */
:root {
  --navy: #071d36;
  --navy-2: #0b3a66;
  --cyan-light: #4fd0ff;
  --green: #12a150;
  --green-ink: #0b7a3b;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-lg: 0 30px 60px -28px rgba(7, 29, 54, .55), 0 10px 24px -14px rgba(7, 29, 54, .3);
}
.site-header { border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--blue) 0 62%, var(--red) 62% 100%) 1; border-image-slice: 1 0 0 0; }
.btn-primary { box-shadow: 0 10px 22px -10px rgba(216, 31, 38, .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(216, 31, 38, .8); }
.btn-glass { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hl { color: var(--cyan-light); }
.hl-blue { background: linear-gradient(transparent 62%, rgba(0, 175, 240, .38) 0); padding-inline: .08em; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

/* --- Hero --------------------------------------------------------------- */
.hero-x { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(90rem 40rem at 85% -10%, rgba(0, 175, 240, .38), transparent 60%), linear-gradient(125deg, var(--navy) 0%, #0a2c50 52%, #0b5488 100%); padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem); }
.hero-x :focus-visible { outline-color: var(--white); }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-route-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-dasharray: 4 16; stroke-linecap: round; }
.hero-pin circle:first-child { fill: var(--red); }
.hero-pin-b circle:first-child { fill: var(--green); }
.hero-pin circle:last-child { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.hero-x-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-x-tag { display: inline-flex; align-items: center; gap: .625rem; margin: 0 0 1.25rem; padding: .45rem 1rem .35rem .75rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 100px; font-size: .9375rem; font-weight: 700; letter-spacing: .03em; }
.hero-x-tag span { width: .625rem; height: .625rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 161, 80, .7); }
.hero-x h1 { font-size: clamp(2.25rem, 4.7vw, 3.875rem); line-height: 1.05; margin-bottom: .45em; }
.hero-x h1 .hl { display: block; }
.hero-x .lead { color: #d6e4f2; max-width: 34em; }
.hero-x-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-weight: 700; font-size: 1.0625rem; }
.hero-x-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-x-facts .icon { color: var(--navy); background: var(--cyan-light); border-radius: 50%; padding: .2em; width: 1.375em; height: 1.375em; stroke-width: 3; }
.hero-x-media { position: relative; padding: 0 0 3.5rem 2.5rem; }
.hero-x-photo, .hero-x-photo-sm { margin: 0; overflow: hidden; }
.hero-x-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), calc(100% - 3.5rem) 100%, 0 100%); }
.hero-x-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-x-media { margin-top: 1.5rem; }
.hero-x-photo-sm { position: absolute; left: 0; bottom: 0; width: 38%; border: 5px solid var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-x-photo-sm img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 60%; }
.hero-x-badge { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.125rem .65rem .75rem; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .9375rem; line-height: 1.25; }
.hero-x-badge strong { display: block; font-size: 1.0625rem; font-weight: 800; }
.hero-x-badge-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--blue); color: var(--navy); flex: none; }
.hero-x-badge-a { top: -1.5rem; left: 4rem; }
.hero-x-badge-b { right: 1.5rem; bottom: .75rem; }
.hero-x-badge-b .hero-x-badge-icon { background: var(--red); color: var(--white); }
@media (max-width: 959px) {
  .hero-x-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-x-media { max-width: 34rem; padding-left: 1.5rem; }
  .hero-x-badge-a { left: 2.5rem; top: -1.25rem; }
  .hero-x-badge-b { right: .5rem; }
}
@media (max-width: 519px) {
  .hero-x-badge { padding: .5rem .75rem .4rem .5rem; font-size: .8125rem; }
  .hero-x-badge strong { font-size: .9375rem; }
  .hero-x-badge-icon { width: 2.25rem; height: 2.25rem; }
  .hero-x-badge-b { display: none; }
}

/* --- Laufband ----------------------------------------------------------- */
.ticker { overflow: hidden; background: var(--blue); color: var(--navy); border-block: 3px solid var(--navy); }
.ticker-track { display: flex; width: max-content; gap: 3rem; padding: .875rem 1.5rem .75rem; font-weight: 800; font-size: 1.0625rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; gap: .625rem; }

/* --- Leistungskarten ---------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.svc-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-card::after { content: ""; position: absolute; right: -3.5rem; top: -3.5rem; width: 9rem; height: 9rem; border-radius: 50%; background: var(--c-tint); transition: transform .5s var(--ease); }
.svc-c0 { --c: var(--blue); --c-tint: #e3f6fe; --c-ink: var(--blue-ink); }
.svc-c1 { --c: var(--red); --c-tint: #fdeaea; --c-ink: var(--red-dark); }
.svc-c2 { --c: var(--green); --c-tint: #e4f6ec; --c-ink: var(--green-ink); }
.svc-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: .75rem; border-radius: 14px; background: var(--c); color: var(--white); transition: transform .35s var(--ease); }
.svc-c0 .svc-icon { color: var(--navy); }
.svc-icon .icon { width: 1.75rem; height: 1.75rem; }
.svc-card strong { position: relative; z-index: 1; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.svc-text { color: var(--muted); font-size: 1.0625rem; line-height: 1.45; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: .75rem; font-weight: 800; font-size: 1rem; color: var(--c-ink); }
.svc-more .icon { transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after { transform: scale(1.35); }
.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.06); }
.svc-card:hover .svc-more .icon { transform: translateX(5px); }
@media (max-width: 959px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* --- Kennzahlen-Band ---------------------------------------------------- */
.facts-band { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 55%, #0d6fae 100%); color: var(--white); padding-block: clamp(2.5rem, 5vw, 4rem); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.fact { padding-left: 1.25rem; border-left: 4px solid var(--blue); }
.fact:nth-child(2) { border-color: var(--red); }
.fact:nth-child(3) { border-color: var(--green); }
.fact:nth-child(4) { border-color: var(--white); }
.fact strong { display: block; font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: .375rem; color: #cfe0f0; font-weight: 500; }
@media (max-width: 799px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Warum Bavaria ------------------------------------------------------ */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.why-media { position: relative; padding: 0 3rem 3rem 0; }
.why-media figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.why-photo-a img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why-photo-b { position: absolute !important; right: 0; bottom: 0; width: 42%; border: 6px solid var(--white); }
.why-photo-b img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.why-shape { position: absolute; left: -1.5rem; top: -1.5rem; width: 55%; height: 45%; background: var(--blue); border-radius: var(--radius-lg); clip-path: polygon(0 0, 100% 0, calc(100% - 3rem) 100%, 0 100%); }
.why-list { display: grid; gap: 1.25rem; margin: 2rem 0 2.25rem; }
.why-list li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.125rem; align-items: start; padding: 1.125rem 1.25rem; background: var(--white); border-radius: 14px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-list li:hover { transform: translateX(8px); box-shadow: 0 16px 30px -20px rgba(7, 29, 54, .45); }
.why-list h3 { margin-bottom: .2em; }
.why-list p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }
.why-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 12px; color: var(--white); }
.why-icon .icon { width: 1.625rem; height: 1.625rem; }
.c-blue { background: var(--blue); color: var(--navy); }
.c-red { background: var(--red); }
.c-green { background: var(--green); }
.c-navy { background: var(--navy); }
@media (max-width: 959px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-media { max-width: 30rem; } }

/* --- Ablauf mit Verbindungslinie --------------------------------------- */
.steps { position: relative; }
.steps-line { position: absolute; left: 2rem; right: 2rem; top: 2rem; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.steps-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green) 60%, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in .steps-line span { transform: scaleX(1); }
.steps .process-step { border-top: 0; padding-top: 0; }
.steps .process-num { position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.25rem; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.75rem; box-shadow: 0 0 0 6px var(--white); }
.steps .process-step:nth-child(1) .process-num { background: var(--blue); color: var(--navy); }
.steps .process-step:nth-child(3) .process-num { background: var(--green); }
.steps .process-step:nth-child(4) .process-num { background: var(--red); }
@media (max-width: 899px) { .steps-line { display: none; } }

/* --- Galerie ------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 17rem 17rem; gap: 1rem; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.125rem .875rem; background: linear-gradient(transparent, rgba(7, 29, 54, .88)); color: var(--white); font-weight: 700; font-size: 1rem; }
.g-a { grid-row: 1 / 3; }
.g-b { grid-column: 2 / 4; }
@media (max-width: 799px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 15rem 12rem 14rem; }
  .g-a { grid-row: 1; grid-column: 1 / 3; }
  .g-b { grid-column: 1 / 3; }
}

/* --- Einsatzgebiet (dunkel) -------------------------------------------- */
.section-navy { color: var(--white); background: radial-gradient(60rem 30rem at 0% 100%, rgba(0, 175, 240, .25), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-2)); }
.section-navy p { color: #d6e4f2; }
.section-navy .eyebrow { color: var(--white); }
.section-navy :focus-visible { outline-color: var(--white); }
.area-grid-x { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.area-copy .city-chips { margin: 1.5rem 0 2rem; }
.area-map-wrap { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1rem, 2.5vw, 2rem); box-shadow: var(--shadow-lg); }
.area-map-wrap .map-label { stroke: var(--white); }
@media (max-width: 959px) { .area-grid-x { grid-template-columns: minmax(0, 1fr); } .area-map-wrap { max-width: 30rem; } }

/* --- Unterseiten: dunkler Seitenkopf ----------------------------------- */
.page-hero { position: relative; color: var(--white); border-bottom: 0; background: radial-gradient(70rem 30rem at 90% -20%, rgba(0, 175, 240, .35), transparent 60%), linear-gradient(125deg, var(--navy) 0%, #0a2c50 55%, #0b5488 100%); padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(40vw, 32rem); height: .625rem; background: var(--red); clip-path: polygon(.625rem 0, 100% 0, 100% 100%, 0 100%); }
.page-hero .lead { color: #d6e4f2; }
.page-hero .eyebrow { color: var(--white); }
.page-hero .breadcrumbs li { color: #a9c0d8; }
.page-hero .breadcrumbs a { color: var(--white); }
.page-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .35); }
.page-hero .post-meta { color: #c3d5e7; }
.page-hero .post-meta span:first-child { color: var(--white); }
.page-hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.page-hero .btn-ghost:hover { background: var(--white); color: var(--ink); }
.page-hero :focus-visible { outline-color: var(--white); }
.side-card { border: 0; box-shadow: var(--shadow-lg); border-top: 5px solid var(--blue); }
.cta-band { background: linear-gradient(100deg, var(--blue) 0%, #35c3ff 100%); }
.post-card, .area-card { transition: transform .3s var(--ease); }
.post-card:hover, .area-card:hover { transform: translateY(-5px); }

/* --- Bewegung ----------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-route-line { animation: route-move 1.6s linear infinite; }
  .hero-pin circle:last-child { animation: pin-pulse 2.4s ease-out infinite; }
  .hero-pin-b circle:last-child { animation-delay: 1.2s; }
  .hero-x-tag span { animation: dot-pulse 2s ease-out infinite; }
  .hero-x-copy > * { opacity: 0; animation: rise .8s var(--ease) forwards; }
  .hero-x-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-x-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-x-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-x-copy > :nth-child(5) { animation-delay: .4s; }
  .hero-x-photo { opacity: 0; animation: photo-in 1.1s var(--ease) .15s forwards; }
  .hero-x-photo-sm { opacity: 0; animation: rise .9s var(--ease) .55s forwards; }
  .hero-x-badge { opacity: 0; animation: pop .6s var(--ease) .9s forwards, float 5s ease-in-out 1.6s infinite; }
  .hero-x-badge-b { animation-delay: 1.1s, 2.4s; }
  .ticker-track { animation: ticker 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .js .reveal-left { transform: translateX(-48px); }
  .js .reveal-right { transform: translateX(48px); }
  .js .reveal-zoom { transform: scale(.92); }
  .js .reveal-up { transform: translateY(36px); }
  .js .reveal-left.is-in, .js .reveal-right.is-in, .js .reveal-zoom.is-in, .js .reveal-up.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { flex-wrap: wrap; width: auto; white-space: normal; gap: .5rem 2rem; }
  .steps-line span { transform: none; }
}
@keyframes route-move { to { stroke-dashoffset: -20; } }
@keyframes pin-pulse { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .7); } 80%, 100% { box-shadow: 0 0 0 .75rem rgba(18, 161, 80, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateX(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ticker { to { transform: translateX(-50%); } }
.g-b img { object-position: 50% 30%; }
.g-d img { object-position: 50% 25%; }
@media (max-width: 959px) { .hero-pin { display: none; } }
@media (max-width: 599px) {
  .svc-card { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; row-gap: .125rem; padding: 1.125rem; }
  .svc-icon { grid-row: 1 / 3; width: 3.25rem; height: 3.25rem; margin: 0; }
  .svc-card strong { font-size: 1.1875rem; align-self: end; }
  .svc-text { font-size: 1rem; }
  .svc-more { display: none; }
  .svc-card::after { display: none; }
  .svc-grid { gap: .75rem; }
}
.prose .content-img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }

/* ==========================================================================
   Version 2 – Unterseiten im selben Stil
   ========================================================================== */
.page-hero .container { position: relative; }
.page-hero h1 .hl { display: inline; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero-media .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.page-hero-photo { position: relative; margin: 0 0 1rem; }
.page-hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.75rem), calc(100% - 2.75rem) 100%, 0 100%); }
.page-hero-shape { position: absolute; left: -1.25rem; bottom: -1.25rem; width: 55%; height: 55%; background: var(--blue); border-radius: var(--radius-lg); clip-path: polygon(0 0, calc(100% - 2.5rem) 0, 100% 100%, 0 100%); }
.page-hero .hero-pin { opacity: .9; }
@media (max-width: 959px) {
  .page-hero-media .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-photo { max-width: 26rem; margin-left: 1.25rem; }
}
@media (max-width: 599px) { .page-hero-photo { display: none; } }

/* Karten statt Linien */
.form { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 5px solid var(--red); }
.form legend { display: flex; align-items: center; gap: .75rem; }
.form legend::before { content: ""; width: .75rem; height: .75rem; border-radius: 50%; background: var(--blue); flex: none; }
.form fieldset:nth-of-type(2) legend::before { background: var(--green); }
.form fieldset:nth-of-type(3) legend::before { background: var(--red); }
.field input:not([type="checkbox"]), .field select, .field textarea { border-radius: 10px; background: #f8fafc; }
.faq-list { border-top: 0; display: grid; gap: .75rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding-inline: 1.25rem; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq-item[open] { border-color: var(--blue); box-shadow: 0 18px 34px -24px rgba(7, 29, 54, .5); }
.faq-answer { padding-right: 1rem; }
.area-card { border-radius: var(--radius-lg); border-top: 5px solid var(--blue); }
.area-card:nth-child(3n+2) { border-top-color: var(--red); }
.area-card:nth-child(3n) { border-top-color: var(--green); }
.area-card:hover { box-shadow: var(--shadow-lg); }
.post-card { padding: 0 0 1.5rem; border-top: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.post-card > :not(.post-cover) { margin-inline: 1.375rem; }
.post-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.post-cover { display: block; width: 100%; margin-bottom: 1.25rem; overflow: hidden; }
.post-cover .post-card-img { margin: 0; border-radius: 0; transition: transform .8s var(--ease); }
.post-card:hover .post-card-img { transform: scale(1.06); }
.post-cover-x { position: relative; display: flex; align-items: flex-end; min-height: 8.5rem; padding: 1rem 1.375rem; color: var(--white); text-decoration: none; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .875rem; background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, #0d6fae); }
.post-cover-x .icon { position: absolute; right: 1rem; top: 1rem; width: 4.5rem; height: 4.5rem; opacity: .22; stroke-width: 1.25; transition: transform .5s var(--ease); }
.post-card:hover .post-cover-x .icon { transform: rotate(-8deg) scale(1.1); }
.post-card:nth-child(3n+2) .post-cover-x { background: linear-gradient(120deg, #8f1217, var(--red)); }
.post-card:nth-child(3n) .post-cover-x { background: linear-gradient(120deg, #0a6b33, var(--green)); }
.filter a[aria-current], .pager a[aria-current] { background: var(--navy); border-color: var(--navy); }
.toc { border-radius: var(--radius-lg); border-left-width: 6px; }
.service-box { border: 0; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-box h2 a, .service-box .eyebrow { color: var(--white); }
.service-box p { color: #d6e4f2; }
.service-box .service-icon { width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--blue); color: var(--navy); }
.prose .hinweis, .prose blockquote { border-radius: var(--radius-lg); border-left-width: 6px; }
.check-list .icon { color: var(--white); background: var(--green); border-radius: 50%; padding: .2em; width: 1.375rem; height: 1.375rem; stroke-width: 3; }
.link-block { padding: 1.5rem 1.75rem; background: var(--white); border-radius: var(--radius-lg); border-left: 6px solid var(--blue); max-width: none; }
.section:not(.section-tint) .link-block { background: var(--tint); }
.cta-band { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 55%, #0d6fae 100%); color: var(--white); }
.cta-band p { color: #d6e4f2; }
.cta-band .btn-dark { background: var(--red); box-shadow: 0 10px 22px -10px rgba(216, 31, 38, .75); }
.cta-band .btn-dark:hover { background: var(--red-dark); }
.cta-band :focus-visible { outline-color: var(--white); }
.city-chips-light a:hover { background: var(--blue); color: var(--navy); }
.notice { border-radius: var(--radius-lg); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero-copy > *, .page-hero .breadcrumbs { opacity: 0; animation: rise .7s var(--ease) forwards; }
  .page-hero-copy > :nth-child(2) { animation-delay: .1s; }
  .page-hero-copy > :nth-child(3) { animation-delay: .2s; }
  .page-hero-copy > :nth-child(4) { animation-delay: .3s; }
  .page-hero-photo { opacity: 0; animation: photo-in 1s var(--ease) .2s forwards; }
}

/* --- Mobil: kein seitliches Scrollen durch Animationen ------------------ */
html, body { overflow-x: clip; }
@media (max-width: 959px) {
  .hero-x, .page-hero, .section, .facts-band, .cta-band, .site-footer { overflow-x: clip; }
  .js .reveal-left, .js .reveal-right { transform: translateY(28px); }
  .why-list li:hover { transform: none; }
  .why-shape { left: 0; }
  .hero-x-media { padding-right: .5rem; }
}