/* ============================================================
   SCHRIFTEN — lokal gehostet (DSGVO)
   ------------------------------------------------------------
   Inter, SIL Open Font License 1.1 — Lizenz: assets/fonts/Inter-LICENSE-OFL.txt
   KEINE Verbindung zu Google Fonts, Adobe Fonts oder einem CDN.
   (LG München I, Urt. v. 20.01.2022 – 3 O 17493/20: Das Einbinden
   von Google Fonts über Google-Server überträgt die IP-Adresse des
   Besuchers in die USA und verletzt ohne Einwilligung das
   Persönlichkeitsrecht.)
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   DeltaBau GmbH – deltabau-ffm.de
   Design & Konzept: Egger Communications (egger-communications.de)
   Handgeschrieben, ohne Framework. Farben nur aus den Tokens.
   ============================================================ */

:root {
  /* Marke (aus dem Logo gemessen) */
  --navy:        #083864;
  --navy-deep:   #05284a;
  --slate:       #414b51;
  --ink:         #1c2328;
  --muted:       #56606a;   /* 6,4:1 auf Weiß */
  --brass:       #b08d57;   /* nur Zierlinien, kein Text */
  --brass-dark:  #6e5530;   /* Text-tauglich: 7,0:1 auf Weiß */
  --line:        #e4e1db;
  --sand:        #f5f3ef;
  --mist:        #edf1f5;
  --paper:       #ffffff;

  /* Baukasten-Variablen (A11y-Widget & Co. erben daraus) */
  --akv-red:        var(--navy);
  --akv-red-dark:   var(--navy);
  --akv-red-light:  #b8cde3;
  --akv-sand:       var(--brass-dark);
  --akv-sand-light: #d9c39a;
  --akv-black:      #0f1c26;
  --akv-graphite:   #16242f;
  --akv-steel:      #22323d;
  --akv-gray:       var(--muted);
  --akv-gray-light: #c3ccd4;
  --akv-line:       var(--line);
  --akv-bg:         var(--paper);
  --akv-bg-soft:    var(--sand);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 8px;
  --radius-lg: 18px;
  --shadow: 0 6px 30px rgba(8, 56, 100, .08);
  --shadow-lg: 0 18px 60px rgba(8, 40, 74, .16);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;   /* Rückfall Safari < 16 */
  overflow-x: clip;     /* REGEL MINUS VIER */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0 0 .6em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); letter-spacing: -.01em; }
.pagehead__grid > *, .split > *, .hero__inner > * { min-width: 0; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
strong { font-weight: 700; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.sec--sand { background: var(--sand); }
.sec--mist { background: var(--mist); }
.sec--tight { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.sec + .sec:not(.sec--sand):not(.sec--mist) { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-dark); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--brass), #d9c39a); border-radius: 2px; }
.tagline {
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; color: var(--muted);
  margin: 0 0 1.2rem; max-width: 60ch;
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); color: var(--slate); line-height: 1.65; }
.prose p, .prose li { max-width: 68ch; }
.prose h3 { margin-top: 1.6em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.4em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: color-mix(in srgb, var(--navy) 35%, transparent); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy-deep); }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--sand); color: var(--navy-deep); }
.btn--dark { background: var(--navy); color: #fff; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none;
  color: var(--navy); min-height: 44px;
}
.textlink svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
@media (hover: hover) { .textlink:hover svg { transform: translateX(4px); } }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(8, 40, 74, .06); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.header__logo { flex: 0 0 auto; display: block; padding: 6px 0; }
.header__logo img { width: 190px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  padding: .5em .85em; border: 0; background: none; border-radius: 8px;
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav__btn svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__btn:hover { color: var(--navy); background: var(--sand); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__btn { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 8px 8px 0 0; }
.nav__sub {
  list-style: none; margin: 0; padding: .6rem;
  position: absolute; top: calc(100% + 6px); left: -.4rem; min-width: 290px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  display: none;
}
.nav__sub--wide { min-width: 540px; display: none; grid-template-columns: 1fr 1fr; gap: 0 .4rem; }
.nav__sub a {
  display: flex; align-items: center; min-height: 44px; padding: .45em .8em; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.3;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sand); color: var(--navy); }
.nav__item.is-open > .nav__sub { display: block; }
.nav__item.is-open > .nav__sub--wide { display: grid; }
.nav__item.is-open > .nav__btn svg { transform: rotate(180deg); }
.header__call { flex: 0 0 auto; }
.header__call .btn { padding: .6em 1.1em; font-size: .95rem; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: var(--sand); color: var(--navy-deep); cursor: pointer; align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1080px) {
  .header__call .btn span { display: none; }
  .header__call .btn { width: 48px; padding: 0; }
  .header__logo img { width: 170px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: inline-flex; }
  .header__call { order: 3; }
  .nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem var(--gutter) 6rem; margin: 0;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__btn { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .nav__sub, .nav__sub--wide { position: static; box-shadow: none; min-width: 0; padding: .3rem 0 .6rem .6rem; grid-template-columns: 1fr; border-radius: 0; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) and (hover: hover) {
  .nav__item:not(.no-hover):hover > .nav__sub { display: block; }
  .nav__item:not(.no-hover):hover > .nav__sub--wide { display: grid; }
  .nav__item:not(.no-hover):hover > .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}

/* ---------- Brotkrumen ---------- */
.crumbs { font-size: .86rem; color: var(--muted); margin: 0 0 1.4rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3em .5em; }
.crumbs li { display: inline-flex; align-items: center; gap: .5em; max-width: none; }
.crumbs li + li::before { content: "/"; color: var(--brass); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Startseite: Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem); margin-bottom: .45em; }
.hero__claim { font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin: 0 0 1.4rem; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--slate); max-width: 38ch; }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); box-shadow: var(--shadow-lg); }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity .8s var(--ease); }
.hero__media video.is-ready { opacity: 1; }
.hero__badge {
  position: absolute; left: 1rem; bottom: 1rem; right: auto; z-index: 2;
  background: rgba(255,255,255,.94); border-radius: 12px; padding: .7rem 1rem; max-width: calc(100% - 2rem);
  font-size: .86rem; line-height: 1.4; color: var(--ink); box-shadow: var(--shadow);
}
.hero__badge strong { color: var(--navy-deep); display: block; }
.vidctrl {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.94); color: var(--navy-deep); display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.vidctrl svg { width: 20px; height: 20px; }
.vidctrl.is-visible { display: inline-flex; }
.vidctrl .i-play { display: none; }
.vidctrl[aria-pressed="true"] .i-play { display: block; }
.vidctrl[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 11; }
}

/* ---------- Kennzahlen ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.facts li { max-width: none; padding: 1.3rem 1.2rem 1.2rem; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 var(--line); }
.facts b { display: block; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; margin-bottom: .3rem; }
.facts span { font-size: .92rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Layout-Bausteine ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split--center { align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
.head { max-width: 760px; margin-bottom: clamp(1.8rem, 1rem + 2vw, 3rem); }
.head--center { margin-left: auto; margin-right: auto; }

.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1; }
.photo--contain { background: transparent; }
.photo--contain img { object-fit: contain; }
.photo figcaption, .fig-cap {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-top: .7rem;
}
figure { margin: 0; }
.figure figcaption { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); margin-top: .7rem; line-height: 1.45; }

.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.mosaic > * { border-radius: 14px; overflow: hidden; background: var(--mist); margin: 0; position: relative; aspect-ratio: 4 / 5; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m2, .mosaic .m3 { aspect-ratio: 4 / 3; }
.mosaic .m1 { grid-row: span 2; aspect-ratio: auto; }
.mosaic .m4 { grid-column: 1 / -1; aspect-ratio: 16 / 7; background: var(--sand); }
.mosaic .m4 img { object-fit: contain; padding: .6rem; }

/* Unterschrift */
.signature { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.signature img { width: 150px; height: auto; }
.signature span { font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* Portrait freigestellt */
.portrait {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0;
  background: radial-gradient(120% 90% at 50% 100%, #dfe7ef 0%, var(--mist) 45%, var(--sand) 100%);
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center;
}
.portrait img { width: 88%; height: auto; }
.portrait figcaption {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); border-radius: 12px;
  padding: .65rem .95rem; font-size: .86rem; line-height: 1.35; color: var(--ink); box-shadow: var(--shadow);
}
.portrait figcaption strong { display: block; color: var(--navy-deep); }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.cards li { max-width: none; }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(8, 40, 74, .05);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; color: var(--navy-deep); }
.card p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.5; }
.card__more { margin-top: auto; padding-top: .6rem; font-size: .9rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4em; }
.card__more svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 18px 44px rgba(8, 40, 74, .12); color: var(--ink); }
  .card:hover .card__img img { transform: scale(1.04); }
  .card:hover .card__more svg { transform: translateX(4px); }
}

/* ---------- Ablauf / Schritte ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: s; }
.steps li { max-width: none; position: relative; background: #fff; border-radius: 16px; padding: 1.6rem 1.4rem 1.4rem; counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--brass); margin-bottom: .9rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.steps .step-no { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .4rem; display: block; }
.steps p { font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Audio-Vorlesen ---------- */
.listen {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.3rem;
  padding: .35rem 1rem .35rem .35rem; border-radius: 999px; background: var(--mist);
  max-width: 100%;
}
.sec--mist .listen { background: #fff; }
.listen__btn {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.listen__btn svg { width: 16px; height: 16px; }
.listen__btn .i-pause { display: none; }
.listen__btn[aria-pressed="true"] .i-pause { display: block; }
.listen__btn[aria-pressed="true"] .i-play { display: none; }
.listen__txt { font-size: .86rem; font-weight: 600; color: var(--slate); line-height: 1.2; }
.listen__txt small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.listen__bar { width: 90px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--navy) 15%, transparent); overflow: hidden; }
.listen__bar i { display: block; height: 100%; width: 0; background: var(--navy); }
@media (max-width: 420px) { .listen__bar { display: none; } }

/* ---------- Galerie + Lightbox ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.gallery li { max-width: none; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--mist);
  border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery .tag {
  position: absolute; left: .45rem; top: .45rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .25em .55em; border-radius: 6px; background: rgba(255,255,255,.95); color: var(--ink);
}
.gallery .tag--nach { background: var(--navy); color: #fff; }
@media (hover: hover) { .gallery button:hover img { transform: scale(1.05); } }
.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.gallery-filter button {
  min-height: 40px; padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--slate); cursor: pointer;
}
.gallery-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(6, 18, 30, .94);
  display: none; align-items: center; justify-content: center; padding: 64px 12px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: #e9eef3; font-size: .92rem; margin-top: .8rem; text-align: center; max-width: 70ch; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.26); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: #c9d3dc; font-size: .85rem; }
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 12px; transform: none; }
}

/* ---------- Bildleiste (horizontal) ---------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; overscroll-behavior-x: contain; list-style: none; margin: 0; padding-left: 0; }
.strip li { scroll-snap-align: start; max-width: none; }
.strip figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
@media (max-width: 700px) { .strip { grid-auto-columns: 78%; } }

/* ---------- Video-Karte (selbst gehostet, Klick zum Abspielen) ---------- */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0f1c26; aspect-ratio: 16 / 9; }
.video img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(5,40,74,0) 40%, rgba(5,40,74,.75) 100%);
  display: flex; align-items: flex-end; justify-content: flex-start; gap: .9rem; padding: 1.2rem 1.4rem; color: #fff; text-align: left; font: inherit;
}
.video__play .ring { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: transform .3s var(--ease); }
.video__play .ring svg { width: 22px; height: 22px; margin-left: 3px; }
.video__play span { font-weight: 700; font-size: 1.02rem; line-height: 1.35; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.video__play small { display: block; font-weight: 500; font-size: .85rem; opacity: .92; }
@media (hover: hover) { .video__play:hover .ring { transform: scale(1.07); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: .7rem; box-shadow: 0 1px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; font-weight: 700; color: var(--navy-deep); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .3s var(--ease); color: var(--brass-dark); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; }
.faq .faq__a p { margin-bottom: .6em; }

/* ---------- Kontakt ---------- */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .3rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; max-width: none; }
.contact-list svg { width: 20px; height: 20px; color: var(--brass-dark); flex: 0 0 auto; margin-top: .45rem; }
.contact-list a { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { padding: .45rem 0; display: block; }

/* Karte mit Zwei-Klick-Einwilligung */
.mapbox { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); min-height: 380px; height: 100%; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox__facade {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(1.3rem, 1rem + 2vw, 2.2rem); gap: .5rem;
  background:
    radial-gradient(circle at 70% 40%, rgba(8,56,100,.10) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--mist), #e3e9ef);
}
.mapbox__facade h3 { margin: 0; }
.mapbox__facade p { font-size: .92rem; color: var(--slate); margin: 0 0 .5rem; max-width: 48ch; }
.mapbox__facade .check { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--slate); min-height: 44px; }
.mapbox__facade .check input { width: 20px; height: 20px; accent-color: var(--navy); }
.mapbox.is-loaded .mapbox__facade { display: none; }

/* ---------- CTA-Band (hell) ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: .3em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.cta p { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead { background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pagehead--text .pagehead__grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.pagehead h1 { margin-bottom: .4em; }
.pagehead .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .pagehead__grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.8em; }
.legal h4 { margin-top: 1.4em; }
.legal address { font-style: normal; margin-bottom: 1.1em; }
.legal .note { background: var(--sand); border-radius: 12px; padding: 1rem 1.2rem; font-size: .95rem; }
.legal .note p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile (hell) ---------- */
.footer { background: var(--sand); color: var(--ink); padding: clamp(3rem, 2rem + 3vw, 5rem) 0 1.5rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem 3rem; }
.footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin: 0 0 1rem; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { max-width: none; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--navy); text-decoration: underline; }
.footer ul a { display: inline-flex; align-items: center; min-height: 40px; font-size: .95rem; }
.footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer__logo img { width: 200px; margin-bottom: 1rem; }
.footer__claim { font-size: .92rem; color: var(--muted); max-width: 32ch; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .86rem; color: var(--muted);
}
.footer__bottom a { color: var(--muted); display: inline-flex; min-height: 40px; align-items: center; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; min-height: 40px; }
.linkbtn:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- KI-Kennzeichnung (Art. 50 KI-VO) ---------- */
.ki-wrap { position: relative; }
.ki-chip {
  position: absolute; right: .55rem; bottom: .55rem; z-index: 4;
  min-width: 34px; min-height: 26px; padding: 0 .5em; border-radius: 7px; border: 0; cursor: pointer;
  background: rgba(15, 28, 38, .72); color: #fff; font: 700 .72rem/1 var(--font); letter-spacing: .06em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; justify-content: center;
}
.ki-chip::after { content: ""; position: absolute; inset: -9px; } /* Trefferfläche ≥ 44 px */
.ki-pop {
  position: absolute; right: .55rem; bottom: 2.6rem; z-index: 5; width: min(270px, calc(100% - 1.1rem));
  background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: .75rem .9rem; font-size: .82rem; line-height: 1.45; text-align: left;
}
.ki-pop[hidden] { display: none; }
.ki-pop strong { display: block; color: var(--navy-deep); margin-bottom: .15rem; }
.ki-pop a { font-weight: 700; }

/* ---------- Einwilligungs-Dialog (eigenes Consent) ---------- */
.consent[hidden] { display: none; }
.consent {
  position: fixed; inset: 0; z-index: 1800; background: rgba(6, 18, 30, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.consent__dlg { background: #fff; border-radius: 16px; max-width: 520px; width: 100%; padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow-lg); max-height: 90vh; max-height: 90dvh; overflow-y: auto; }
.consent__dlg h2 { font-size: 1.3rem; }
.consent__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.consent__row p { margin: 0; font-size: .88rem; color: var(--muted); }
.consent__row strong { display: block; color: var(--ink); }
body.consent-open { overflow: hidden; }
body.consent-open .a11y-toggle { display: none !important; }
@media (max-width: 640px) {
  .consent { align-items: flex-start; }
  .consent__dlg { max-height: none; margin: auto 0; }
}

/* ---------- Bewegung (nur Desktop, bei Rücklauf erneut) ---------- */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .rv { transform: translateY(26px); transition: transform .9s var(--ease); }
  html.js .rv.is-in { transform: none; }
  html.js .rv-img { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.1s var(--ease); }
  html.js .rv-img.is-in { clip-path: inset(0 0 0 0 round 16px); }
  html.js h2.rv-line { background: linear-gradient(90deg, var(--brass), #d9c39a) no-repeat 0 100% / 0 2px; padding-bottom: .25em; transition: background-size 1.2s var(--ease) .2s; }
  html.js h2.rv-line.is-in { background-size: 64px 2px; }
}
html.a11y-nomotion .rv, html.a11y-nomotion .rv-img { transform: none !important; clip-path: none !important; }

/* ---------- Druck ---------- */
@media print {
  .header, .footer, .a11y-toggle, .a11y-panel, .listen, .burger, .vidctrl, .mapbox { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; }
}

/* Handy: Leistungskarten zweispaltig und kompakt – sonst wird die Seite endlos */
@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .card__body { padding: .75rem .8rem .9rem; }
  .card h3 { font-size: .95rem; line-height: 1.25; }
  .card p:not(.card__cap), .card__more { display: none; }
  .card__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 340px) { .cards { grid-template-columns: 1fr; } }
.card .card__cap { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.45; }

/* ---------- Schwebende Knöpfe: Datenschutz-Einstellungen (links unten) + Nach oben (rechts unten) ---------- */
.fab {
  position: fixed; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 6px 20px rgba(8, 56, 100, .16);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s, color .2s;
}
.fab:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.fab--consent { left: 1rem; }
.fab--top { right: 1rem; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
/* nie über geöffneten Dialogen, Menü oder Bildansicht */
body.consent-open .fab, body.nav-open .fab, body.lb-open .fab { display: none; }
/* Platz, damit die Knöpfe am Seitenende nichts im Fußbereich verdecken */
.footer { padding-bottom: calc(1.5rem + 64px); }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

/* ---------- Signet baut sich auf (Ablauf-Abschnitt) ----------
   Vom Bauplan über das Aufmaß zum fertigen Mauerwerk – scrollgesteuert, nur Desktop.
   Ohne JS, auf Mobilgeräten und bei reduzierter Bewegung: fertiges Signet bzw. ausgeblendet. */
.head--signet { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.head--signet > div:first-child { max-width: 760px; }
.signet-box { justify-self: end; width: min(100%, 300px); }
.signet { display: block; width: 100%; height: auto; overflow: visible; }
.signet-phasen { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; justify-content: space-between; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.signet-phasen li { flex: 1; text-align: center; padding-top: .45rem; border-top: 2px solid var(--line); transition: color .3s, border-color .3s; }
.signet-phasen li.is-on { color: var(--brass-dark); border-color: var(--brass); }
/* Endzustand (ohne Animation): Hilfslinien aus */
.sg-grid, .sg-help, .sg-mass, .sg-outline, .sg-joints { opacity: 0; }
.signet-phasen { visibility: hidden; }
html.js .signet-box.is-live .signet-phasen { visibility: visible; }
@media (max-width: 900px) { .head--signet { display: block; } .signet-box { display: none; } }
.sg-fill-sq { transform-box: fill-box; transform-origin: 50% 100%; }

/* =====================================================================
   EINSATZGEBIET – Radiuskarte, Ortsliste, Ortsseiten
   ===================================================================== */
.rmap { margin: 0; }
.rmap svg { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; overflow: visible; }
.rmap figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.r-flaeche { fill: rgba(8, 56, 100, .045); }
.r-ring { fill: none; stroke: var(--navy); stroke-opacity: .12; stroke-width: .12; stroke-dasharray: .6 .6; }
.r-kreis { fill: none; stroke: var(--brass); stroke-width: .32; }
.r-kreis-txt, .r-mass text, .r-nord { font: 700 1.25px/1 var(--font); fill: var(--brass-dark); letter-spacing: .06em; }
.r-mass path, .r-nordpfeil { stroke: var(--brass-dark); stroke-width: .15; fill: var(--brass-dark); }
.r-mass path { fill: none; }
.r-ort circle { fill: var(--navy); }
.r-ort text { font: 600 1.5px/1 var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: .5px; stroke-linejoin: round; }
.r-ort.is-aktiv circle { fill: var(--brass); stroke: var(--navy); stroke-width: .3; }
.r-ort.is-aktiv text { font-size: 1.9px; font-weight: 800; fill: var(--navy); }
.r-linie { stroke: var(--navy); stroke-width: .22; stroke-dasharray: .7 .5; }
.r-km { font: 800 1.6px/1 var(--font); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: .6px; }
.r-mitte path { fill: var(--navy); }
.r-puls { fill: var(--navy); opacity: .15; }
.r-mitte-txt { font: 800 1.5px/1 var(--font); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: .5px; }
.sec--sand .r-ort text, .sec--sand .r-km, .sec--sand .r-mitte-txt { stroke: var(--sand); }
.rmap-box { background: #fff; border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.6rem); box-shadow: 0 10px 40px rgba(8, 40, 74, .07); }
.sec--sand .rmap-box { background: #fff; }

/* Animation (nur Desktop, nur ohne reduzierte Bewegung) */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.a11y-nomotion) .rmap .r-kreis { stroke-dasharray: 101; stroke-dashoffset: 101; transition: stroke-dashoffset 1.6s var(--ease) .15s; }
  html.js:not(.a11y-nomotion) .rmap .r-ring { opacity: 0; transition: opacity .8s ease .4s; }
  html.js:not(.a11y-nomotion) .rmap .r-ort { opacity: 0; transform: translateY(1px); transition: opacity .45s ease var(--d, 1s), transform .45s var(--ease) var(--d, 1s); }
  html.js:not(.a11y-nomotion) .rmap .r-linie, html.js:not(.a11y-nomotion) .rmap .r-km { opacity: 0; transition: opacity .6s ease 2.1s; }
  html.js:not(.a11y-nomotion) .rmap .r-kreis-txt { opacity: 0; transition: opacity .6s ease 1.5s; }
  html.js:not(.a11y-nomotion) .rmap.is-in .r-kreis { stroke-dashoffset: 0; }
  html.js:not(.a11y-nomotion) .rmap.is-in .r-ring, html.js:not(.a11y-nomotion) .rmap.is-in .r-ort,
  html.js:not(.a11y-nomotion) .rmap.is-in .r-linie, html.js:not(.a11y-nomotion) .rmap.is-in .r-km,
  html.js:not(.a11y-nomotion) .rmap.is-in .r-kreis-txt { opacity: 1; transform: none; }
  html.js:not(.a11y-nomotion) .rmap.is-in .r-puls { animation: rpuls 2.8s ease-out 1.2s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes rpuls { 0% { transform: scale(1); opacity: .28; } 100% { transform: scale(3); opacity: 0; } }
}

.ortliste { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; }
.ortliste li { border-bottom: 1px solid var(--line); }
.ortliste a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .62rem 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.ortliste a span { font-weight: 600; }
.ortliste a small { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.ortliste a:hover span, .ortliste a:focus-visible span { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ortliste a[aria-current] span { color: var(--brass-dark); }
.ortliste--kompakt a { padding: .45rem 0; }

.fakten { margin: 1.2rem 0 0; display: grid; gap: 0; }
.fakten div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.fakten dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-dark); padding-top: .15rem; }
.fakten dd { margin: 0; }

.kapitel-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.kapitel { position: relative; background: #fff; border-radius: 16px; padding: 2.4rem 1.6rem 1.6rem; overflow: hidden; }
.kapitel::before { content: attr(data-nr); position: absolute; right: 1.1rem; top: .4rem; font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--navy); opacity: .07; }
.kapitel h2 { margin-bottom: .6rem; }
.kapitel p { margin: 0; font-size: .98rem; }
.stadtteile { margin-top: 2.4rem; }
.chips { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; }

.fokus-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.fokus a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 26px rgba(8, 40, 74, .07); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.fokus figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.fokus figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fokus h3 { margin: 1.1rem 1.3rem .3rem; font-size: 1.08rem; }
.fokus p { margin: 0 1.3rem .8rem; font-size: .95rem; color: var(--muted); }
.fokus .textlink { margin: auto 1.3rem 1.2rem; }
.fokus a:hover, .fokus a:focus-visible { box-shadow: 0 14px 40px rgba(8, 40, 74, .13); transform: translateY(-3px); }
.fokus a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .fokus-liste { grid-template-columns: 1fr; } .ortliste { grid-template-columns: 1fr; } .fakten div { grid-template-columns: 1fr; gap: .2rem; } }

.nachbar-titel { font-size: .95rem; margin: 1.4rem 0 .4rem; }
.nachbarn { list-style: none; margin: 0 0 .6rem; padding: 0; }
.nachbarn a { display: inline-flex; min-height: 36px; align-items: center; }
.quellen { margin-top: 2.4rem; font-size: .8rem; color: var(--muted); }
.quellen a { color: var(--muted); }

.footer__orte { margin-top: 2.2rem; }
.footer__orte h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .4rem; }
.footer__orte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.footer__orte a { display: inline-flex; min-height: 40px; align-items: center; color: var(--muted); font-size: .9rem; }

/* =====================================================================
   STORYTELLING – Desktop (ruhig, elegant). Mobil und bei reduzierter Bewegung aus.
   ===================================================================== */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.a11y-nomotion) h2.wr .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .6s ease calc(var(--i) * 55ms), transform .7s var(--ease) calc(var(--i) * 55ms); }
  html.js:not(.a11y-nomotion) h2.wr.is-in .w { opacity: 1; transform: none; }
  html.js:not(.a11y-nomotion) .is-par { will-change: transform; transition: transform .12s linear; }
  .photo, .portrait, .hero__media { overflow: hidden; }
}
/* Porträt bleibt beim Lesen stehen */
@media (min-width: 901px) { .split > .portrait { position: sticky; top: calc(var(--header-h, 76px) + 1.5rem); } }

/* Kapitelnummern als Wasserzeichen */
.has-kap { position: relative; }
.kap-nr::before { content: attr(data-nr); }
.kap-nr { position: absolute; left: max(1rem, calc(50% - 700px)); top: clamp(1rem, 3vw, 2.4rem); font-size: clamp(4rem, 7vw, 7.5rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(8, 56, 100, .12); letter-spacing: -.04em; pointer-events: none; user-select: none; }

/* Kapitel-Navigation rechts */
.kapnav { position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 800; opacity: 0; transition: opacity .4s ease; }
.kapnav.is-ready { opacity: 1; }
.kapnav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.kapnav a { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; min-height: 28px; color: var(--muted); text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kapnav__dot { order: 2; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(8, 56, 100, .35); background: #fff; transition: all .3s var(--ease); }
.kapnav__txt { opacity: 0; transform: translateX(6px); transition: opacity .25s ease, transform .25s var(--ease); background: rgba(255, 255, 255, .92); padding: .15rem .45rem; border-radius: 6px; }
.kapnav a:hover .kapnav__txt, .kapnav a:focus-visible .kapnav__txt, .kapnav a[aria-current] .kapnav__txt { opacity: 1; transform: none; }
.kapnav a[aria-current] { color: var(--navy); }
.kapnav a[aria-current] .kapnav__dot { background: var(--brass); border-color: var(--brass); transform: scale(1.35); }
.kapnav a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
body.consent-open .kapnav, body.nav-open .kapnav, body.lb-open .kapnav { display: none; }
@media (max-width: 1279px) { .kapnav { display: none; } }

/* Mehr Tiefe am Desktop: Karten und Bilder reagieren sanft */
@media (min-width: 901px) {
  .kapitel { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .kapitel:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(8, 40, 74, .09); }
  .facts li { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .facts li:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(8, 40, 74, .08); }
  .eyebrow::before { transition: width .8s var(--ease); }
  .is-in .eyebrow::before, .eyebrow:hover::before { width: 48px; }
}
.facts b span[data-count] { font: inherit; color: inherit; display: inline; line-height: inherit; }

/* ============================================================
   NEUTRAL — dieses Widget bringt KEINE Markenfarben mit.
   Es erbt alles aus den CSS-Variablen des Projekts.
   Pro Kunde im :root des Projekts setzen:
     --akv-red / --akv-red-dark / --akv-red-light   (Akzentfarbe)
     --akv-black / --akv-graphite / --akv-gray
     --akv-gray-light / --akv-line
     --akv-bg / --akv-bg-soft
     --radius / --radius-lg / --shadow / --shadow-lg
   (Namen bewusst beibehalten — so passt der Baukasten zusammen.)
   Der grosse Mauszeiger nutzt zwei neutrale Grautoene (#333/#111);
   bei Bedarf pro Projekt in den data:svg-URLs anpassen.
   ============================================================ */

/* ============================================================
   BARRIEREFREIHEIT — Baukasten Egger Communications
   ------------------------------------------------------------
   Einbau in ein neues Projekt:
   1. Diesen Block ans Ende der Projekt-CSS anhängen
   2. Die Farbvariablen unten an das Kundendesign anpassen
   3. widget.html vor </body> einfügen (auf JEDER Seite)
   4. widget.js ans Projekt-JS anhängen, KEY anpassen
   5. barrierefreiheit.html mit Footer-Link ausliefern
   6. axe-core laufen lassen — auch mit GEÖFFNETEM Panel

   Benötigte Variablen im :root des Projekts:
     --akv-red / --akv-red-dark / --akv-red-light   (Akzentfarbe)
     --akv-black / --akv-graphite / --akv-gray
     --akv-gray-light / --akv-line
     --akv-bg / --akv-bg-soft
     --radius / --radius-lg / --shadow / --shadow-lg
   ============================================================ */

/* ============================================================
   BARRIEREFREIHEIT (WCAG 2.1 AA / 2.2)
   ============================================================ */

/* ---------- Sichtbarer Fokus (WCAG 2.4.7 / 2.4.11) ----------
   Zuvor fehlten Fokus-Stile komplett — Tastaturnutzer sahen nicht,
   wo sie sich befinden. Doppelter Ring, damit er auf hellem UND
   dunklem Grund erkennbar bleibt.                                  */
:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--akv-red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Auf dunklem Grund: heller Ring, damit das Rot nicht "absäuft" */
.header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.footer :focus-visible,
.page-head :focus-visible,
.cta-band :focus-visible,
.lightbox :focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--akv-red) 55%, transparent);
}

/* Fallback für Browser ohne :focus-visible */
@supports not selector(:focus-visible) {
  a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus {
    outline: 3px solid var(--akv-red);
    outline-offset: 3px;
  }
}

/* ---------- Touch-Targets ≥ 44 px (WCAG 2.5.8) ---------- */
.nav a,
.footer a,
.footer__social a,
.header__phone,
.btn,
.btn--emergency,
.to-top,
.lightbox__close,
.lightbox__nav,
.burger,
.faq summary {
  min-height: 44px;
}
.footer ul a,
.footer__branch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__social a { width: 44px; height: 44px; }
.gallery__item { min-height: 44px; min-width: 44px; }

/* ---------- Links im Fließtext klar erkennbar (WCAG 1.4.1) ----------
   Farbe allein darf nicht das einzige Unterscheidungsmerkmal sein. */
.prose a:not(.btn),
.legal a:not(.btn),
.faq a,
.callout a,
.media-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:not(.btn):hover,
.legal a:not(.btn):hover { text-decoration-thickness: 2px; }

/* ---------- Erhöhter Kontrast auf Wunsch (WCAG 1.4.6) ---------- */
@media (prefers-contrast: more) {
  :root {
    --akv-gray: #4a4a52;
    --akv-gray-light: #d5d5dd;
    --akv-line: #9a9aa4;
  }
  .card, .loc-card { border-width: 2px; }
  .btn { border-width: 2px; border-color: currentColor; }
  .hero__media::after {
    background: linear-gradient(100deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.88) 42%, rgba(0,0,0,.55) 100%);
  }
  :focus-visible { outline-width: 4px; }
}

/* ---------- Erzwungene Farben / Windows-Kontrastmodus ---------- */
@media (forced-colors: active) {
  .btn, .card, .loc-card, .hero__fact { border: 1px solid ButtonText; }
  .video-block__play { forced-color-adjust: none; background: Highlight; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* ---------- Text-Zoom bis 200 % (WCAG 1.4.4) ---------- */
.btn, .nav a, .card h3, .loc-card h3 { overflow-wrap: break-word; }
.hero__fact { min-width: 0; }

/* ---------- Zeilenlänge begrenzen (Lesbarkeit) ----------
   Wichtig: zentrierte Elemente müssen zentriert BLEIBEN,
   sonst rutscht der Block nach links.                        */
p, li, .lead, .hero__sub { max-width: 68ch; }
.center, .center p, p.center,
.center .lead, .fleet .lead,
.cta-band p, .cta-band h2 { margin-left: auto; margin-right: auto; }
.center p, p.center { max-width: none; }
.media-credit { max-width: none; }



/* ============================================================
   BARRIEREFREIHEITS-WIDGET
   Seitlicher Button + Panel. Einstellungen bleiben gespeichert.
   ============================================================ */

.a11y-toggle {
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  width: 54px; height: 62px;
  background: var(--akv-black); color: #fff;
  border: 0; border-radius: 0 14px 14px 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.5);
  transition: background .2s ease, width .2s ease;
}
.a11y-toggle:hover { background: var(--akv-red); width: 60px; }
.a11y-toggle svg { width: 30px; height: 30px; }

.a11y-panel {
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%) translateX(-115%);
  z-index: 960;
  width: 340px; max-width: 92vw;
  max-height: 92vh; overflow-y: auto;
  background: #fff;
  border: 1px solid var(--akv-line);
  border-left: 5px solid var(--akv-red);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 28px;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.a11y-panel.is-open { transform: translateY(-50%) translateX(0); }

.a11y-panel h2 {
  font-size: 1.2rem; color: var(--akv-black);
  margin: 0 0 4px; letter-spacing: -.01em;
}
.a11y-panel__sub {
  font-size: .82rem; color: var(--akv-gray);
  margin: 0 0 16px; line-height: 1.5;
}
.a11y-close {
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px;
  background: none; border: 0;
  font-size: 1.7rem; line-height: 1;
  color: var(--akv-gray); cursor: pointer;
  border-radius: 8px;
}
.a11y-close:hover { background: var(--akv-bg-soft); color: var(--akv-black); }

.a11y-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 0;
  border-top: 1px solid var(--akv-line);
}
.a11y-row:first-of-type { border-top: 0; }
.a11y-row .lbl { font-size: .93rem; font-weight: 600; color: var(--akv-black); }

.a11y-size { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.a11y-size button {
  width: 40px; height: 40px;
  border-radius: 9px; border: 1px solid var(--akv-line);
  background: #fff; color: var(--akv-red-dark);
  font-weight: 800; font-size: .95rem; cursor: pointer;
}
.a11y-size button:hover { background: var(--akv-bg-soft); border-color: var(--akv-red); }
.a11y-size .val {
  min-width: 50px; text-align: center;
  font-size: .8rem; color: var(--akv-gray); font-weight: 600;
}

/* Schalter */
.a11y-sw {
  position: relative; flex: 0 0 auto;
  width: 54px; height: 32px;
  border: 0; border-radius: 999px;
  background: #cfcfd8; cursor: pointer;
  transition: background .2s ease;
}
.a11y-sw::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: left .2s ease;
}
.a11y-sw[aria-checked="true"] { background: var(--akv-red); }
.a11y-sw[aria-checked="true"]::after { left: 25px; }

.a11y-reset {
  margin-top: 18px; width: 100%; justify-content: center;
}
.a11y-hint {
  font-size: .74rem; color: var(--akv-gray);
  margin: 14px 0 0; line-height: 1.5; text-align: center;
}
.a11y-hint a {
  color: var(--akv-red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .a11y-toggle { width: 46px; height: 54px; }
  .a11y-toggle svg { width: 26px; height: 26px; }
  .a11y-panel { padding: 22px 18px 24px; }
}


/* ============================================================
   A11Y-MODI — was die Schalter bewirken
   ============================================================ */

/* --- Schriftgröße (skaliert alles über rem) --- */
html.a11y-fs-1 { font-size: 110%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 140%; }

/* --- Kontrast erhöhen --- */
html.a11y-contrast {
  --akv-gray: #43434c;
  --akv-gray-light: #dcdce4;
  --akv-line: #8a8a96;
}
html.a11y-contrast main,
html.a11y-contrast footer { filter: contrast(1.14) saturate(1.05); }
html.a11y-contrast .card,
html.a11y-contrast .loc-card { border-width: 2px; }
html.a11y-contrast .btn { border: 2px solid currentColor; }

/* --- Graustufen --- */
html.a11y-grayscale main,
html.a11y-grayscale footer,
html.a11y-grayscale .a11y-toggle { filter: grayscale(1); }
html.a11y-grayscale.a11y-contrast main,
html.a11y-grayscale.a11y-contrast footer { filter: grayscale(1) contrast(1.14); }

/* --- Links hervorheben --- */
html.a11y-links a:not(.btn):not(.a11y-toggle) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px !important;
  font-weight: 700;
  outline: 1px dashed currentColor;
  outline-offset: 2px;
  padding: 0 2px;
}
html.a11y-links .btn { outline: 2px dashed currentColor; outline-offset: 3px; }

/* --- Gut lesbarer Text --- */
html.a11y-readable body {
  line-height: 1.95;
  letter-spacing: .035em;
  word-spacing: .1em;
}
html.a11y-readable p,
html.a11y-readable li { max-width: 60ch; }
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3 { line-height: 1.35; letter-spacing: 0; }

/* --- Größerer Zeilenabstand --- */
html.a11y-spacing body { line-height: 2.1; }
html.a11y-spacing p,
html.a11y-spacing li { margin-bottom: 1.6em; }
html.a11y-spacing h1,
html.a11y-spacing h2,
html.a11y-spacing h3 { margin-bottom: .9em; }

/* --- Animationen reduzieren --- */
html.a11y-nomotion *,
html.a11y-nomotion *::before,
html.a11y-nomotion *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-nomotion { scroll-behavior: auto !important; }
html.a11y-nomotion .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-nomotion .btn--emergency { animation: none !important; }

/* --- Großer Mauszeiger --- */
html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23333333' stroke='white' stroke-width='1.5' d='M5 3l14 7-6 1.6-1.6 6z'/%3E%3C/svg%3E") 4 4, auto !important;
}
html.a11y-cursor a,
html.a11y-cursor button,
html.a11y-cursor summary,
html.a11y-cursor [role="switch"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23111111' stroke='white' stroke-width='1.5' d='M9 2v9l-2-2-2 2 5 8h7l2-8-3-1V6l-2-1V3l-2-1z'/%3E%3C/svg%3E") 8 4, pointer !important;
}

/* --- Lesehilfe (Zeilenlineal folgt der Maus) ---
   Hinweis: Das Element heißt bewusst .reading-ruler und NICHT .a11y-ruler.
   Sonst findet document.querySelector('.a11y-ruler') das <html>-Element,
   weil dieses im aktiven Zustand dieselbe Klasse trägt.                    */
.reading-ruler {
  position: fixed; left: 0; right: 0;
  height: 84px;
  border-top: 3px solid var(--akv-red);
  border-bottom: 3px solid var(--akv-red);
  background: color-mix(in srgb, var(--akv-red) 8%, transparent);
  pointer-events: none;
  z-index: 940;
  display: none;
}
html.a11y-ruler .reading-ruler { display: block; }

/* --- Vorlesen: aktiver Zustand --- */
.a11y-speaking { position: relative; }


/* ============================================================
   A11Y-PANEL — kompakter & auf dem Handy als Bottom-Sheet
   Grund: Bei 10 Optionen + großer Schrift wurde das Panel höher
   als der Bildschirm. Die unteren Schalter waren nur nach dem
   Scrollen erreichbar — ausgerechnet im Menü, das Bedienbarkeit
   verbessern soll.
   ============================================================ */

/* Kompaktere Zeilen */
.a11y-panel { padding: 22px 20px 24px; }
.a11y-row { padding: 9px 0; }
.a11y-panel h2 { font-size: 1.12rem; }
.a11y-panel__sub { margin-bottom: 12px; }
.a11y-reset { margin-top: 14px; padding: 13px 24px; }
.a11y-hint { margin-top: 10px; }

/* Sichtbarer Hinweis, dass das Panel scrollbar ist */
.a11y-panel {
  scrollbar-width: thin;
  scrollbar-color: var(--akv-red) var(--akv-bg-soft);
  overscroll-behavior: contain;
}
.a11y-panel::-webkit-scrollbar { width: 8px; }
.a11y-panel::-webkit-scrollbar-track { background: var(--akv-bg-soft); }
.a11y-panel::-webkit-scrollbar-thumb { background: var(--akv-red); border-radius: 4px; }

/* Flache Bildschirme: noch kompakter */
@media (max-height: 780px) {
  .a11y-panel { padding: 16px 18px 18px; }
  .a11y-row { padding: 7px 0; }
  .a11y-row .lbl { font-size: .88rem; }
  .a11y-sw { width: 48px; height: 28px; }
  .a11y-sw::after { width: 22px; height: 22px; }
  .a11y-sw[aria-checked="true"]::after { left: 23px; }
  .a11y-size button { width: 36px; height: 36px; }
  .a11y-panel__sub { font-size: .76rem; margin-bottom: 8px; }
  .a11y-hint { display: none; }
}

/* Handy: Bottom-Sheet statt seitlichem Panel */
@media (max-width: 680px) {
  .a11y-toggle {
    top: auto; bottom: 88px;
    border-radius: 0 14px 14px 0;
  }

  .a11y-panel {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; max-width: 100%;
    max-height: 88dvh; max-height: 88vh;
    transform: translateY(105%);
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--akv-line);
    border-top: 5px solid var(--akv-red);
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .a11y-panel.is-open { transform: translateY(0); }

  /* Griff zum Andeuten der Wischgeste */
  .a11y-panel::before {
    content: "";
    display: block;
    width: 44px; height: 4px;
    margin: -6px auto 12px;
    border-radius: 999px;
    background: var(--akv-line);
  }
  .a11y-close { top: 8px; right: 10px; }
  .a11y-row { padding: 10px 0; }
}

/* Sehr flach + quer: zweispaltig, damit alles auf den Schirm passt */
@media (max-height: 520px) and (min-width: 681px) {
  .a11y-panel { width: 560px; }
  .a11y-panel .a11y-row { padding: 6px 0; }
}

/* ---------- Zentrierte Buttons wirklich zentrieren ---------- */
p.center, .center > p, .center > .btn { text-align: center; }
.fleet__inner > .center { margin-left: auto; margin-right: auto; }


/* ---------- Pflicht-Ergänzung: lange URLs umbrechen ----------
   Rechtstexte (eRecht24) enthalten ausgeschriebene URLs, die auf
   schmalen Displays das Layout sprengen. Immer mitliefern.        */
.prose a, .legal a,
.prose li, .legal li,
.prose p, .legal p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal, .prose { max-width: 100%; }

/* ---------- Anpassung Widget für DeltaBau ----------
   Frederics Vorgabe: EIN Barrierefrei-Button, linker Rand, vertikal mittig –
   auch auf dem Handy (Baukasten setzt ihn dort nach unten). */
.a11y-toggle { background: var(--navy); }
.a11y-toggle:hover { background: var(--navy-deep); }
@media (max-width: 680px) {
  .a11y-toggle { top: 50%; bottom: auto; transform: translateY(-50%); width: 42px; height: 52px; }
}
body.nav-open .a11y-toggle { display: none; }
.a11y-panel h2 { font-size: 1.12rem; }
.a11y-hint a { color: var(--navy); }

/* Geschlossenes Panel ist unsichtbar UND nicht fokussierbar (sonst Tab-Stopps ins Leere) */
.a11y-panel { visibility: hidden; transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear .32s; }
.a11y-panel.is-open { visibility: visible; transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s; }

