/* LV-Ausschreibung GmbH, Startseite (Phase 1)
   Gestaltung angelehnt an references/02-logistics-reference.jpeg, übertragen auf die LV-CI */

/* DM Sans: 500/600/700 aus dem Bestand der Live-Website (dm-sans-v15-latin), 400 ergänzt über Fontsource */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --red-700: #8c1d1c;   /* Hover, 9.1:1 auf Weiß */
  --red-600: #ab2524;   /* Markenrot, 6.95:1 auf Weiß */
  --red-400: #ff4847;   /* Akzent: auf Dunkel als Text (5.1:1), auf Hell nur Linien/Fokus */
  --red-50:  #fbefee;

  --night-900: #17181b; /* dunkle Flächen */
  --night-800: #222328;
  --night-700: #2e3036;
  --ink: #1a1b1f;
  --ink-2: #4a4d55;     /* 8.5:1 auf Weiß */
  --on-dark: #f4f4f5;
  --on-dark-2: #b9bbc2; /* 9.4:1 auf night-900 */
  --stone-50: #f7f6f4;
  --stone-100: #f1efec;
  --stone-200: #e6e3df;
  --stone-400: #8f8a86; /* Formularrahmen, 3.4:1 auf Weiß */
  --white: #ffffff;

  --color-text: var(--ink);
  --color-muted: var(--ink-2);
  --color-border: var(--stone-200);
  --color-primary: var(--red-600);
  --color-primary-hover: var(--red-700);
  --color-accent: var(--red-400);
  --color-focus: var(--red-400);
  --color-error: var(--red-700);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-section: clamp(4rem, 2.5rem + 5vw, 7rem);
  --container: 78rem;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --radius: 0px;
  --radius-sm: 0px;
  --shadow: 0 1px 2px rgb(23 24 27 / 0.05), 0 12px 32px rgb(23 24 27 / 0.08);
  --header-h: 4.75rem;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.5rem); }
body { margin: 0; background: var(--white); color: var(--color-text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(1.875rem, 1.35rem + 2vw, 3rem); }
/* Abschnittsüberschriften stehen ganz in Textfarbe, Rot trägt nur der Hero */
h2 em { font-style: normal; color: inherit; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
h1, h2, h3 { hyphens: manual; }
@media (min-width: 700px) { h2, h3, .faq__question { hyphens: none; } }
@media (max-width: 379px) { h3 { hyphens: auto; hyphenate-limit-chars: 10 5 5; } }
.hero__text { grid-template-columns: minmax(0, 1fr); }
.hero__text > * { max-width: 100%; }
@media (max-width: 479px) { .button { max-width: 100%; white-space: normal; text-align: left; } }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--color-primary); text-underline-offset: 0.18em; }
a:hover { color: var(--color-primary-hover); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
::selection { background: var(--red-400); color: var(--night-900); }
/* Tippflächen auf kleinen Geräten: Kontaktzeile und Videolink hoch genug */
@media (max-width: 639px) {
  .topbar__contact a { min-height: 2.5rem; }
  .about__play { min-height: 2.75rem; }
}
html { caret-color: var(--color-primary); accent-color: var(--color-primary); }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; padding: 0.5rem 1rem; background: var(--ink); color: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.skip-link:hover { color: var(--white); }

.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--color-muted); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.45rem 1.35rem;
  border: 2px solid var(--color-primary); border-radius: 0;
  background: var(--color-primary); color: var(--white);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--white); }
.button__arrow { display: grid; place-items: center; color: currentColor; transition: transform 0.2s ease; }
.button__arrow .icon { width: 1rem; height: 1rem; stroke-width: 2.2; }
.button:hover .button__arrow { transform: translateX(2px); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.button--large { min-height: 3.5rem; font-size: 1.0625rem; padding-inline: 1.6rem; }
.button--ghost { padding-inline: 1.5rem; background: transparent; border-color: rgb(255 255 255 / 0.55); color: var(--white); }
.button--ghost:hover { background: rgb(255 255 255 / 0.1); border-color: var(--white); }
/* Ruhezustand ohne Rot: dunkler Rahmen, beim Überfahren füllt sich der Knopf rot */
.button--outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--white); }
.button--block { width: 100%; justify-content: space-between; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--night-900); color: var(--on-dark-2); font-size: 0.875rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; min-height: 2.5rem; padding-block: 0.35rem; }
.topbar p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.topbar__claim { gap: 0.5rem !important; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--red-400); }
.topbar .icon { color: var(--red-400); width: 1rem; height: 1rem; }
@media (max-width: 767px) { .topbar__claim { display: none !important; } .topbar__contact { font-size: 0.8125rem; } }
.topbar :focus-visible { outline-color: var(--on-dark); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--color-border); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; padding-block: 0.5rem; }
.brand img { width: clamp(10.5rem, 8rem + 6vw, 13.5rem); height: auto; }

.nav-toggle { display: none; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 0.25rem 2rem; }
.site-nav a:not(.button) { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-text); font-size: 1rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0.45rem; height: 2px; background: var(--color-accent); transition: right 0.2s ease; }
.site-nav a:not(.button):hover { color: var(--color-primary); }
.site-nav a:not(.button):hover::after { right: 0; }
.site-nav__cta { margin-left: 0.25rem; }

/* Aufklappbare Leistungen in der Navigation */
.nav-drop > details > summary {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem;
  cursor: pointer; list-style: none; font-size: 1rem; font-weight: 500;
}
.nav-drop > details > summary::-webkit-details-marker { display: none; }
.nav-drop > details > summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.nav-drop > details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-drop > details > summary:hover { color: var(--color-primary); }
.nav-drop__title { margin-bottom: 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.nav-drop__title + ul { margin-bottom: 1.25rem; }
ul + .nav-drop__title { margin-top: 1.1rem; }
.nav-drop__panel a { min-height: 2.5rem; }
.nav-drop__panel li + li { border-top: 1px solid var(--color-border); }
.nav-drop__panel a:hover { color: var(--color-primary); }
.nav-drop__title { color: var(--color-primary); }
@media (min-width: 960px) {
  .nav-drop { position: relative; }
  .nav-drop__panel {
    position: absolute; left: 0; top: calc(100% + 0.5rem); transform: none;
    z-index: 120; width: max-content; max-width: min(46rem, 90vw); padding: 1.1rem 1.5rem 1.25rem;
    background: var(--white); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary);
    border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .nav-drop__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
  .nav-drop__list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; align-items: start; }
  .nav-drop__panel ul { display: grid; }
  .nav-drop__page { display: grid; gap: 0; }
}
@media (max-width: 959px) {
  .nav-drop > details > summary { width: 100%; min-height: 3rem; font-size: 1.125rem; }
  .nav-drop__panel { padding: 0.25rem 0 1rem 1rem; border-left: 2px solid var(--stone-200); }
  .nav-drop__panel a { font-size: 1rem !important; min-height: 2.75rem; }
}

@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-left: auto;
    min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 0;
    background: var(--white); color: var(--color-text); font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
  }
  .nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 1.125rem; height: 2px; background: currentColor; border-radius: 0; transition: transform 0.2s ease; }
  .nav-toggle__icon { position: relative; }
  .nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; margin: 0; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .site-nav > ul > li + li { border-top: 1px solid var(--color-border); }
  .site-nav a:not(.button) { width: 100%; min-height: 3rem; font-size: 1.125rem; }
  .site-nav a:not(.button)::after { display: none; }
  .site-nav__cta { margin: 0.75rem 0 0; border-top: 0 !important; }
  .site-nav__cta .button { width: 100%; justify-content: space-between; min-height: 3.25rem; }
  .js .site-nav:not(.is-open) { display: none; }
  /* Kopfzeile bleibt beim Öffnen gleich hoch, das Menü scrollt in sich statt unter den Bildschirmrand zu laufen */
  .site-header__inner { align-content: flex-start; }
  .brand, .js .nav-toggle { align-self: center; }
  .site-header__inner > .brand { min-height: var(--header-h); align-items: center; padding-block: 0; }
  .site-nav.is-open { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .spalten ul { grid-template-columns: minmax(0, 1fr) !important; }
  .spalten ul:has(a[href^="hlf-"]), .spalten ul:has(a[href^="kehrmaschine"]) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* Kontaktleiste am Handy einzeilig: Telefonnummer ausgeschrieben, Mail nur als Symbol (Adresse bleibt für Screenreader) */
@media (max-width: 599px) {
  .topbar__contact { flex-wrap: nowrap !important; justify-content: space-between; width: 100%; }
  .topbar__contact a[href^="mailto"] { position: relative; }
  .topbar__contact a[href^="mailto"] > span { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .topbar__contact a[href^="mailto"]::after { content: "E-Mail"; }
  .topbar__inner { min-height: 2.5rem; padding-block: 0; }
}

/* ---------- Hero (dunkel, Bild rechts angeschnitten) ---------- */
.hero { position: relative; overflow: hidden; background: var(--night-900); color: var(--on-dark); }
.hero__inner { position: relative; z-index: 2; }
.hero__text { display: grid; gap: 1.4rem; justify-items: start; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(7rem, 5rem + 5vw, 9.5rem); container-type: inline-size; }
.hero h1 { font-size: clamp(2rem, 8.5cqi, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--white); }
.hero__lead { max-width: 32rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.hero h1 em { font-style: normal; color: var(--red-400); }

/* Auftakt: Text baut sich gestaffelt auf, Bild zoomt ruhig ein (bei reduzierter Bewegung aus, siehe unten) */
@keyframes hero-rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
.hero__text > * { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.18s; }
.hero__text > :nth-child(4) { animation-delay: 0.28s; }
.hero__text > :nth-child(5) { animation-delay: 0.38s; }

.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 55%; }
.hero__media img + img { position: absolute; inset: 0; height: 100%; }
.hero__media figcaption {
  position: absolute; right: var(--gutter); bottom: 1rem; z-index: 3;
  padding: 0.45rem 0.9rem; border-radius: 0; background: var(--white); color: var(--ink);
  font-size: 0.875rem; font-weight: 600; box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
}
.hero__media figcaption span { color: var(--color-primary); }
.hero__media figcaption span::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-inline: 0.5rem; border-radius: 0; background: var(--color-accent); vertical-align: middle; }

@media (min-width: 1024px) {
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
  .hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night-900) 0%, rgb(23 24 27 / 0.75) 22%, rgb(23 24 27 / 0.15) 55%, rgb(23 24 27 / 0) 75%); }
  .hero__media img { height: 100%; aspect-ratio: auto; object-position: 78% 55%; }
  .hero__media img:first-of-type { position: absolute; inset: 0; }
  .hero__media figcaption { bottom: clamp(7.5rem, 5.5rem + 5vw, 10rem); }
  .hero__text { max-width: 36rem; }
}

/* ---------- Leistungen (Variante 1): Einstieg nach Anlass ---------- */
.services { position: relative; z-index: 3; padding-block: var(--space-section) 0; }
.anlaesse { display: grid; gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem); }
@media (min-width: 900px) { .anlaesse { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.anlass {
  display: grid; gap: 0.6rem; align-content: start;
  padding: clamp(1.35rem, 1rem + 1.4vw, 2rem) clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
  background: var(--white); border: 1px solid var(--color-border); box-shadow: var(--shadow);
  border-top: 3px solid var(--color-primary);
}
.anlass h3 { font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem); line-height: 1.25; }
.anlass__text { color: var(--color-muted); font-size: 0.9375rem; }
.anlass__liste { display: grid; gap: 0; margin-top: 0.4rem; }
.anlass__liste li { border-top: 1px solid var(--color-border); }
.anlass__liste a, .anlass__liste span {
  display: flex; align-items: center; gap: 0.5rem; min-height: 2.6rem; padding: 0.35rem 0;
  font-size: 0.9375rem; font-weight: 600;
}
.anlass__liste a { color: var(--color-text); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.anlass__liste a::after {
  content: ""; width: 0.35rem; height: 0.35rem; margin-left: auto;
  border-top: 2px solid var(--color-primary); border-right: 2px solid var(--color-primary);
  transform: rotate(45deg); opacity: 0.55; transition: opacity 0.2s ease, transform 0.2s ease;
}
.anlass__liste a:hover { color: var(--color-primary); padding-left: 0.3rem; }
.anlass__liste a:hover::after { opacity: 1; transform: rotate(45deg) translate(2px, -2px); }
.anlass__liste span { color: var(--color-muted); font-weight: 500; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--space-section); }
.section--soft { background: var(--stone-50); }
#ablauf.section--soft, #kontakt.section--soft { background: var(--white); }
/* Der Einleitungssatz soll auf einer Zeile stehen, solange Platz ist */
#ablauf .section-head__text { max-width: none; }
.section-head { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--split { align-items: end; }
.section-head--split > div { display: grid; gap: 0.75rem; }
.section-head__text { max-width: 36rem; color: var(--color-muted); }
@media (min-width: 768px) { .section-head--split { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }

/* ---------- Zusammenarbeit / Portrait ---------- */
.about__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 5rem); align-items: center; }
/* Der Text steht mittig zum Bild, die Bildunterschrift zieht ihn nicht nach unten */
@media (min-width: 960px) {
  .about__grid { grid-template-rows: auto auto; }
  .about__media { display: grid; grid-row: 1 / span 2; grid-template-rows: subgrid; align-content: start; gap: 0; }
  .about__text { grid-row: 1; align-self: center; }
}
@media (min-width: 960px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.about__media { position: relative; max-width: 34rem; }
.about__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% 25%; border-radius: var(--radius); background: var(--stone-100); }
.about__caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 0.9rem; padding-top: 0;
}
.about__person { display: grid; gap: 0.05rem; font-size: 0.875rem; color: var(--color-muted); }
.about__person strong { font-size: 1.0625rem; color: var(--color-text); }
.about__play {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--color-text); font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.about__play small { font-weight: 500; color: var(--color-muted); }
.about__play-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0; background: var(--color-primary); color: var(--white); transition: background-color 0.2s ease; }
.about__play-icon .icon { width: 1rem; height: 1rem; fill: currentColor; margin-left: 2px; }
.about__play:hover { color: var(--color-primary); }
.about__play:hover .about__play-icon { background: var(--color-primary-hover); }
.video-dialog { width: min(64rem, calc(100vw - 2rem)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); background: var(--night-900); color: var(--white); overflow: hidden; }
.video-dialog::backdrop { background: rgb(12 13 15 / 0.85); }
.video-dialog__bar { display: flex; justify-content: flex-end; padding: 0.35rem; }
.video-dialog__close { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.85rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--on-dark); font: inherit; font-weight: 600; cursor: pointer; }
.video-dialog__close span { font-size: 1.4rem; line-height: 1; }
.video-dialog__close:hover { background: var(--night-700); color: var(--white); }
.video-dialog__close:focus-visible { outline-color: var(--on-dark); }
.video-dialog__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.about__text { display: grid; gap: 1.25rem; justify-items: start; }
.points { display: grid; gap: 1.25rem; }
.points li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.points li > div { display: grid; gap: 0.35rem; align-content: center; min-height: 3rem; }
.points__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0; background: var(--red-50); color: var(--color-primary); }
.points h3 { font-size: 1.0625rem; margin-top: 0; }
.points p { color: var(--color-muted); font-size: 0.9375rem; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }
.call { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.call small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--color-muted); }
.call__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0; background: var(--color-primary); color: var(--white); }
.call:hover { color: var(--color-primary); }

/* ---------- Zweispaltige Abschnitte (Nutzen, Fragen) ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
}
.split__head { display: grid; gap: 0.75rem; justify-items: start; }
.split__text { max-width: 22rem; color: var(--color-muted); }
.split__text a { font-weight: 600; white-space: nowrap; }

/* ---------- Nutzen ---------- */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: grid; gap: 0.75rem; align-content: start; padding: 2rem 1.75rem; background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 0.25rem; border-radius: 0; background: var(--red-50); color: var(--color-primary); }
.feature__icon .icon { width: 1.75rem; height: 1.75rem; }
.feature h3 { color: var(--color-primary); font-size: 1.25rem; }
.feature p { color: var(--color-muted); }

/* ---------- Referenzen: Projektliste mit Bühne ---------- */
.projects { display: grid; gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); }
@media (min-width: 1024px) {
  .projects { grid-template-columns: 20rem 1fr; align-items: stretch; }
  /* Die Projektliste schließt unten mit der Bühne ab, statt mitten im Text zu enden */
  .projects__list { justify-content: space-between; }
}

.projects__list { display: flex; flex-direction: column; }
.projects__item {
  display: grid; gap: 0.1rem; width: 100%;
  padding: 0.9rem 1rem; border: 0; border-top: 1px solid var(--color-border);
  background: none; font: inherit; text-align: left; color: var(--color-muted); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.projects__item:last-child { border-bottom: 1px solid var(--color-border); }
.projects__name { font-size: 1.0625rem; line-height: 1.3; color: var(--color-text); }
.projects__client { font-size: 0.875rem; }
.projects__item:hover { background: var(--stone-50); }
.projects__item:hover .projects__name { color: var(--color-primary); }
.projects__item.is-active { background: var(--stone-50); box-shadow: inset 3px 0 0 var(--color-primary); }
.projects__item.is-active .projects__name { font-weight: 600; }
.projects__item:focus-visible { outline-offset: -3px; }

.project { display: grid; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--white); scroll-margin-top: calc(var(--header-h) + 1rem); }
.project[hidden] { display: none; }
.project:focus-visible { outline-offset: 2px; }
.project__media { background: var(--stone-100); }
.project__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project__media--cutout img { object-fit: contain; mix-blend-mode: multiply; padding: 6% 10%; }
.project__body { display: flex; flex-direction: column; gap: 0.55rem; padding: clamp(1.1rem, 0.8rem + 1vw, 1.75rem); }
.project h3 { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem); }
.project__meta { font-size: 0.875rem; color: var(--color-muted); }
.project__text { max-width: 60ch; }
.project__result { max-width: 60ch; padding-top: 0.85rem; border-top: 1px solid var(--color-border); font-size: 0.9375rem; color: var(--color-muted); }
.project__result::before { content: "Ergebnis"; display: block; margin-bottom: 0.15rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text); }
@media (max-width: 1023px) { .projects__item { padding-block: 0.7rem; } }
@media (prefers-reduced-motion: no-preference) {
  .project.is-active { animation: projekt-ein 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes projekt-ein { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }

/* ---------- Auftritt beim Scrollen (nur mit JavaScript, bei reduzierter Bewegung sofort sichtbar) ---------- */
.js [data-reveal] { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(1.25rem); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; } }

/* ---------- Ablauf (Verfahrensschema: Linie zeichnet sich beim Scrollen, Schritte werden nacheinander aktiv) ---------- */
.flow { position: relative; --p: 1; }
.steps { position: relative; display: grid; gap: 1.25rem; }
.step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.step__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 2px solid var(--color-primary); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--white); font-weight: 700; font-size: 1.0625rem;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.step__card { display: grid; gap: 0.4rem; padding: 1.35rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease; }
.step__drawing { width: 3rem; height: 3rem; margin-bottom: 0.4rem; fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.2s ease; }
.step__drawing path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s; }
.step__drawing path:nth-child(2) { transition-delay: 0.25s; }
.step__drawing path:nth-child(3) { transition-delay: 0.5s; }
.step__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.step h3 { font-size: 1.125rem; }
.step p:last-child { color: var(--color-muted); }

/* Linie: mobil senkrecht links durch die Nummern, ab Desktop waagerecht über den Kästen */
.flow__track { position: absolute; left: calc(1.375rem - 1px); top: 1.375rem; bottom: 1.375rem; width: 2px; background: var(--stone-200); }
.flow__fill { position: absolute; inset: 0; background: var(--color-primary); transform-origin: top; transform: scaleY(var(--p)); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: center; gap: 1.25rem; } /* Jahreszahl oben, Kasten füllt den Rest: Kästen beginnen auf einer Höhe (24.11.2026) */
  .step__card { width: 100%; height: 100%; align-content: start; }
  .flow__track { left: 12.5%; right: 12.5%; top: calc(1.375rem - 1px); bottom: auto; width: auto; height: 2px; }
  .flow__fill { transform-origin: left; transform: scaleX(var(--p)); }
}

/* Inaktiver Zustand nur mit JavaScript, ohne JS ist alles sichtbar */
.js .step:not(.is-active) .step__node { background: var(--white); border-color: var(--stone-400); color: var(--color-muted); }
.js .step:not(.is-active) .step__card { opacity: 0.45; transform: translateY(0.5rem); }
.js .step:not(.is-active) .step__drawing { opacity: 0; }
.js .step:not(.is-active) .step__drawing path { stroke-dashoffset: 1; visibility: hidden; }
.js .step.is-active .step__node { transform: scale(1.08); }
.js .step.is-active .step__card { box-shadow: var(--shadow); border-color: transparent; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--stone-200); }
.faq__item { border-bottom: 1px solid var(--stone-200); }
.faq__item summary {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.25rem; align-items: start; gap: 0 0.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none; transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { padding-top: 0.15rem; font-size: 0.9375rem; font-weight: 700; color: var(--color-primary); }
.faq__question { display: grid; gap: 0.3rem; font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.35; }
.faq__short { justify-self: start; padding: 0.15rem 0.6rem; border-radius: var(--radius-sm); background: var(--red-50); color: var(--color-primary); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; }
@media (max-width: 599px) { .faq__shortlabel { display: none; } }
.faq__toggle { position: relative; width: 2.25rem; height: 2.25rem; border: 1px solid var(--stone-200); border-radius: var(--radius-sm); transition: background-color 0.25s ease, border-color 0.25s ease; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0.85rem; height: 2px; border-radius: 0; background: var(--color-primary); transform: translate(-50%, -50%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item summary:hover { color: var(--color-primary); }
.faq__item summary:hover .faq__toggle { border-color: var(--color-primary); }
.faq__item[open] .faq__toggle { background: var(--color-primary); border-color: var(--color-primary); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: var(--white); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(180deg); }
.faq__answer { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); }
/* Die senkrechte Linie endet über der Trennlinie, statt sie zu berühren */
.faq__answer p { grid-column: 2; max-width: 40rem; padding-bottom: 0.25rem; margin-bottom: 1.5rem; padding-left: 0.5rem; border-left: 2px solid var(--red-50); padding-inline-start: 1rem; color: var(--color-muted); }
/* Sanftes Auf- und Zuklappen, wo der Browser es kann */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s cubic-bezier(0.16, 1, 0.3, 1), content-visibility 0.35s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

.cta-card { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--radius); background: var(--night-900); color: var(--on-dark); }
@media (min-width: 960px) { .cta-card { margin-top: 5.5rem; } }
.cta-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--white); }
.cta-card p { color: var(--on-dark-2); }
.cta-card__contact { display: grid; gap: 0.35rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--night-700); width: 100%; }
.cta-card__contact a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.25rem; color: var(--on-dark); text-decoration: none; word-break: break-word; }
.nobr { white-space: nowrap; }
.cta-card__contact a:hover { color: var(--red-400); }
.cta-card__contact .icon { color: var(--red-400); }
.cta-card :focus-visible { outline-color: var(--on-dark); }
.cta-card--wide { align-items: center; gap: 1.5rem 3rem; }
@media (min-width: 960px) { .cta-card--wide { position: static; margin-top: 0; grid-template-columns: minmax(0, 1fr) auto; } }
.cta-card__text { display: grid; gap: 0.75rem; justify-items: start; max-width: 38rem; }
.cta-card__actions { display: grid; gap: 0.5rem; justify-items: start; }
.cta-card--wide .cta-card__contact { margin-top: 0.25rem; padding-top: 0.75rem; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.contact__intro { display: grid; gap: 1.25rem; justify-items: start; }
.checks { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.checks li { display: flex; gap: 0.75rem; align-items: center; font-weight: 500; }
.checks .icon { display: block; width: 1.75rem; height: 1.75rem; padding: 0.3rem; border-radius: 0; background: var(--color-primary); color: var(--white); stroke-width: 2.4; }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--night-900); color: var(--on-dark); box-shadow: 0 20px 50px rgb(23 24 27 / 0.2); }
.form-card__title { margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--white); text-align: center; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; color: var(--on-dark); }
.opt { font-weight: 400; color: var(--on-dark-2); }
.field input, .field textarea {
  width: 100%; min-height: 3.125rem; padding: 0.75rem 0.95rem;
  border: 1px solid var(--night-700); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red-400); outline-offset: 2px; }
.field.is-invalid input { border: 2px solid var(--red-400); box-shadow: 0 0 0 1px var(--red-400); }
.field__error { font-size: 0.9375rem; font-weight: 600; color: #ff8a89; } /* 7.4:1 auf night-900 */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .button--block { margin-top: 0.4rem; }
.form__privacy { font-size: 0.875rem; color: var(--on-dark-2); text-align: center; }
.form__privacy a { color: var(--on-dark); }
.form__privacy a:hover { color: var(--red-400); }
.form-card :focus-visible { outline-color: var(--red-400); }
.form__status { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: #e9f6ec; color: #1d4d27; font-weight: 600; }
.form__status.is-error { background: var(--red-50); color: var(--color-error); }
.form__status:focus { outline: none; }

/* ---------- Footer ---------- */
/* Footer-Grundstil siehe Block „Fußzeile“ weiter unten */

/* ---------- Referenzkommunen: Suche im Bestand ---------- */
.kommunen { background: var(--night-900); color: var(--on-dark); }
.kommunen h2 { color: var(--white); }
.kommunen h2 em { color: inherit; }
.kommunen .section-head__text { color: var(--on-dark-2); }
.kommunen__zahlen { display: grid; gap: 1px; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); background: rgb(255 255 255 / 0.16); border-block: 1px solid rgb(255 255 255 / 0.16); }
@media (min-width: 720px) { .kommunen__zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kommunen__zahlen li { display: grid; gap: 0.2rem; padding: clamp(1rem, 0.8rem + 1vw, 1.5rem) 0 clamp(1rem, 0.8rem + 1vw, 1.5rem) clamp(0.75rem, 0.5rem + 1vw, 1.5rem); background: var(--night-900); }
.kommunen__zahlen strong { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.kommunen__zahlen span { font-size: 0.9375rem; color: var(--on-dark-2); }

/* Karte und Liste nebeneinander */
.kommunen__buehne { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 1000px) { .kommunen__buehne { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); align-items: start; } }
.karte { display: grid; gap: 0.85rem; justify-items: center; }
.karte__rahmen { width: 100%; display: grid; justify-items: center; }
.karte__rahmen { position: relative; }
.karte__svg { width: 100%; height: auto; max-height: clamp(15rem, 12rem + 22vw, 27rem); overflow: visible; }
.karte__flaechen path { fill: #23252c; stroke: rgb(255 255 255 / 0.28); stroke-width: 1.5; }
.karte__ort {
  fill: var(--red-400); stroke: var(--night-900); stroke-width: 1.5;
  transition: opacity 0.2s ease, fill 0.2s ease;
}
.karte__ort[data-art="brandschutz"] { fill: var(--white); }
.karte__ort[data-art="beide"] { fill: var(--red-400); stroke: var(--white); stroke-width: 3; }
.karte__ort.is-aus { opacity: 0.12; pointer-events: none; }
/* Die Punktgröße setzt main.js über das r-Attribut, CSS-Geometrie greift im SVG nicht überall */
.karte__ort.is-treffer, .karte__ort.is-aktiv { fill: var(--white); }
.karte__ort[data-art="brandschutz"].is-aktiv, .karte__ort[data-art="brandschutz"].is-treffer { fill: var(--red-400); }
.karte__hinweis {
  position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 0.6rem));
  padding: 0.35rem 0.6rem; background: var(--white); color: var(--ink);
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap; pointer-events: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
}
.karte__legende { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.8125rem; color: var(--on-dark-2); }
.karte__eintrag { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.karte__punkt { display: inline-block; width: 0.6rem; height: 0.6rem; background: var(--red-400); }
.karte__punkt--brandschutz { background: var(--white); }
.karte__punkt--beide { background: var(--red-400); box-shadow: 0 0 0 2px var(--white); }

.kommunen__steuerung { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 620px) { .kommunen__steuerung { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); align-items: end; gap: 1.25rem; } }
.suche { display: grid; gap: 0.4rem; }
.suche label { font-size: 0.875rem; font-weight: 600; color: var(--on-dark-2); }
.suche input {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
  border: 1px solid var(--night-700); background: var(--night-800); color: var(--on-dark);
  font: inherit; border-radius: 0;
}
.suche input::placeholder { color: rgb(244 244 245 / 0.45); }
.suche input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter__knopf {
  min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--night-700);
  background: transparent; color: var(--on-dark-2); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter__knopf:hover { color: var(--white); border-color: var(--on-dark-2); }
.filter__knopf.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--white); }

.kommunen__stand { min-height: 1.5rem; font-size: 0.875rem; color: var(--on-dark-2); }
.kommunen__liste {
  display: grid; gap: 0.1rem 1.5rem; margin-top: 0.5rem;
  max-height: clamp(18rem, 14rem + 16vw, 26rem); overflow: auto; padding-right: 0.5rem;
  scrollbar-color: rgb(255 255 255 / 0.3) transparent; scrollbar-width: thin;
  mask-image: linear-gradient(180deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.5rem), transparent 100%);
}
@media (min-width: 560px) { .kommunen__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .kommunen__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kommunen__liste:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.kommunen__liste li {
  padding: 0.4rem 0; border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.9375rem; color: var(--on-dark-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.kommunen__liste li[data-art="beide"]::after { content: ""; display: inline-block; width: 0.35rem; height: 0.35rem; margin-left: 0.5rem; background: var(--red-400); vertical-align: middle; }
.kommunen__liste li.is-treffer, .kommunen__liste li.is-aktiv { color: var(--white); border-color: var(--red-400); }
.kommunen__liste li { cursor: default; }
.kommunen__leer { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--white); }
.kommunen__leer a { color: var(--red-400); }
.kommunen__quelle { margin-top: 1.5rem; font-size: 0.75rem; color: rgb(185 187 194 / 0.5); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
@media print { .site-header, .topbar, .form-card, .skip-link { display: none; } }

/* ---------- Mobile Feinschliff ---------- */
@media (max-width: 1023px) {
  .hero__media figcaption { position: static; display: block; margin: 0.9rem var(--gutter) 0; padding: 0; background: none; box-shadow: none; color: var(--on-dark); font-size: 0.9375rem; }
  .hero__media figcaption span { color: var(--red-400); }
  .hero__text { padding-top: 1.75rem; }
}
@media (max-width: 599px) {
  .tiles { gap: 0.75rem; }
  .tile { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.85rem; padding: 1rem 1.1rem; }
  .tile__icon { width: 2.75rem; height: 2.75rem; border-radius: 0; }
  .tile__icon .icon { width: 1.35rem; height: 1.35rem; }
}
@media (max-width: 959px) {
  .about__media { margin-inline: auto; }
}

/* ---------- Über uns ---------- */
.ub-intro, .ub-leistung { --ub-ueberlapp: clamp(4rem, 1.5rem + 8vw, 9rem); }

/* Kopf: große Zeile links, Einordnung rechts, darunter das Video, das in den dunklen Abschnitt ragt */
.ub-intro { padding-top: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); background: var(--white); }
.ub-intro__raster { display: grid; gap: clamp(2rem, 1.25rem + 2.5vw, 3.5rem); }
@media (min-width: 1024px) { .ub-intro__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 1rem + 3vw, 5rem); align-items: center; } }
.ub-intro__kopf { display: grid; gap: 1.25rem; justify-items: start; }
.ub-intro h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem); line-height: 1.03; letter-spacing: -0.035em; }
.ub-intro__lead { max-width: 32rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--color-muted); }
.ub-intro__kopf .button { margin-top: 0.5rem; }
.ub-intro__kopf > * { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.ub-intro__kopf > :nth-child(2) { animation-delay: 0.08s; }
.ub-intro__kopf > :nth-child(3) { animation-delay: 0.16s; }
.ub-intro__kopf > :nth-child(4) { animation-delay: 0.24s; }

.ub-video { position: relative; z-index: 2; margin-bottom: calc(-1 * var(--ub-ueberlapp)); }
.ub-video__buehne { position: relative; aspect-ratio: 16 / 9; background: var(--night-900); box-shadow: 0 30px 70px rgb(23 24 27 / 0.28); }
.ub-video__film { display: block; width: 100%; height: 100%; object-fit: cover; }
.ub-video__film:focus-visible { outline-offset: -3px; }
.ub-video__start { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: rgb(23 24 27 / 0.15); color: var(--white); font: inherit; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 600; text-align: left; cursor: pointer; }
.ub-video__start[hidden] { display: none; }
.ub-video__icon { display: grid; place-items: center; width: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); aspect-ratio: 1; background: var(--color-primary); transition: background-color 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.ub-video__icon .icon { width: 42%; height: 42%; fill: currentColor; stroke: none; transform: translateX(6%); }
.ub-video__start:hover .ub-video__icon { background: var(--color-primary-hover); transform: scale(1.05); }
.ub-video__start:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.ub-video__label small { margin-left: 0.4rem; font-size: 0.875em; font-weight: 500; color: var(--on-dark-2); }
.ub-video__text { margin-top: 0.9rem; font-size: 0.875rem; color: var(--on-dark-2); }

/* Leistung: dunkler Abschnitt unter dem Video */
.ub-leistung { padding-top: calc(var(--ub-ueberlapp) + var(--space-section)); background: var(--night-900); color: var(--on-dark); }
.ub-intro:not(:has(.ub-video)) { padding-bottom: var(--space-section); }
.ub-intro:not(:has(.ub-video)) + .ub-leistung { padding-top: var(--space-section); }
.ub-leistung__kopf { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 960px) { .ub-leistung__kopf { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: end; } }
.ub-leistung h2 { color: var(--white); }
.ub-leistung__kopf p { max-width: 34rem; color: var(--on-dark-2); }
/* Film: links zeichnet sich zu jedem Punkt eine Szene, rechts die vier Punkte mit Laufbalken */
.film { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }

.film__buehne { position: relative; aspect-ratio: 4 / 3; border: 1px solid rgb(255 255 255 / 0.12); background: radial-gradient(ellipse at 50% 60%, rgb(255 255 255 / 0.05), transparent 65%); color: var(--on-dark); }
.film__svg { position: absolute; inset: 0; width: 100%; height: 100%; font-family: var(--font); }
/* Beschriftungen bekommen einen dunklen Saum, damit Linien dahinter sie nicht stören */
.film__svg text { paint-order: stroke fill; stroke: var(--night-900); stroke-width: 5px; stroke-linejoin: round; }
.szene { opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s 0.4s; }
.szene.is-aktiv { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
.film .zieh { stroke-dasharray: 1; stroke-dashoffset: 1; visibility: hidden; }
/* Unsichtbar bis zum eigenen Einsatz: sonst steht das runde Linienende schon vorher als Punkt da */
.film .pop { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; }
.film .tipp { opacity: 0; }
.szene.is-aktiv .zieh { animation: film-zieh 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--d, 0) * 1s) forwards; }
.szene.is-aktiv .pop { animation: film-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s) forwards; }
.szene.is-aktiv .tipp { animation: film-tipp 0.5s ease calc(var(--d, 0) * 1s) forwards; }
.szene.is-aktiv .waage__balken { transform-box: fill-box; transform-origin: 50% 0; animation: film-wiegen 2.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s both; }
.szene.is-aktiv .puls { opacity: 0; animation: film-puls 2.2s ease-out 1s infinite; }
@keyframes film-zieh { from { visibility: visible; } to { stroke-dashoffset: 0; visibility: visible; } }
@keyframes film-pop { to { opacity: 1; transform: scale(1); } }
@keyframes film-tipp { to { opacity: 1; } }
@keyframes film-wiegen { 0% { transform: rotate(-7deg); } 45% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
@keyframes film-puls { 0% { opacity: 0.7; transform: scale(0.5); } 100% { opacity: 0; transform: scale(1.3); } }

.film__liste { display: grid; }
.film__punkt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1.25rem; padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem) 0 clamp(1rem, 0.8rem + 0.8vw, 1.5rem) 1rem; border-top: 1px solid rgb(255 255 255 / 0.14); cursor: pointer; outline-offset: 4px; transition: background-color 0.3s ease; }
.film__punkt:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.film__punkt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgb(255 255 255 / 0.12); }
.film__punkt::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--red-400); }
.film__punkt.is-aktiv::after { height: 100%; transition: height var(--film-takt, 6s) linear; }
.film__punkt.is-aktiv { background: linear-gradient(90deg, rgb(255 255 255 / 0.05), transparent 70%); }
.film__nr { padding-top: 0.3rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--on-dark-2); transition: color 0.3s ease; }
.film__punkt.is-aktiv .film__nr { color: var(--red-400); }
.film__punkt > div { display: grid; grid-template-rows: auto 1fr; gap: 0.4rem; }
.film__punkt h3 { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); letter-spacing: -0.02em; color: var(--white); }
.film__punkt p { max-width: 44ch; font-size: 0.9375rem; color: var(--on-dark-2); }

@media (prefers-reduced-motion: reduce) {
  .film .zieh { stroke-dashoffset: 0; visibility: visible; }
  .film .pop, .film .tipp { opacity: 1; transform: none; }
  .szene.is-aktiv .zieh, .szene.is-aktiv .pop, .szene.is-aktiv .tipp, .szene.is-aktiv .waage__balken, .szene.is-aktiv .puls { animation: none; }
  .szene.is-aktiv .puls { opacity: 0.4; }
  .film__punkt.is-aktiv::after { transition: none; }
  .film__punkt > div { grid-template-rows: auto 1fr; }
  .film__punkt p { opacity: 1; }
}

/* Ab Desktop stehen Text und Video nebeneinander auf Weiß; nur schmaler ragt das Video in den dunklen Abschnitt */
@media (min-width: 1024px) {
  .ub-intro { padding-bottom: var(--space-section); }
  .ub-video { margin-bottom: 0; }
  .ub-video__text { color: var(--color-muted); }
  .ub-leistung { padding-top: var(--space-section); }
}

/* Daniel */
.about /* Bildunterschrift direkt unter dem Porträt statt auf Höhe der zweiten Textzeile */
#person .about__media { display: block; grid-row: auto; }
#person .about__caption { margin-top: 0.9rem; }
#person .about__text { grid-row: auto; }

.leitsatz { max-width: 38ch; font-size: clamp(1.1875rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; color: var(--color-text); }
.about__prosa { display: grid; gap: 0.85rem; }
.about__prosa p { max-width: 60ch; color: var(--color-muted); }

/* Werdegang: Jahreszahlen statt Schrittnummern in den Knoten */
.flow--jahre .step { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.75rem; }
.flow--jahre .step__node { width: 3.5rem; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.flow--jahre .flow__track { left: calc(1.75rem - 1px); }
@media (min-width: 1024px) { .flow--jahre .step__node { width: 4.25rem; font-size: 0.9375rem; } }
@media (min-width: 1024px) {
  .flow--jahre .step { grid-template-columns: minmax(0, 1fr); }
  .flow--jahre .flow__track { left: 12.5%; }
}

/* Abschlüsse: vier Zeilen unter dem Werdegang */
.abschluesse { display: grid; gap: 1rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.abschluesse__liste { display: grid; gap: 1.25rem 2rem; }
@media (min-width: 640px) { .abschluesse__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .abschluesse__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.abschluesse__liste li { display: grid; gap: 0.3rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--color-text); font-weight: 600; line-height: 1.35; }
.abschluesse__liste span { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); }

/* Bewertungen: eine Stimme groß, zwei daneben */
.stimmen-block__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sterne { display: inline-flex; gap: 0.2rem; color: #f0a500; }
.sterne .icon { width: 1.35rem; height: 1.35rem; stroke: none; }
.bewertung-wert { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; color: var(--color-muted); }
.bewertung-wert strong { color: var(--color-text); }
.stimmen-block { overflow: hidden; }
.stimmen-band { position: relative; }
.stimmen-band__spur { display: flex; gap: 1.25rem; width: max-content; padding-inline: var(--gutter); }
.stimmen-band:not(.is-laufend) .stimmen-band__spur { width: auto; max-width: var(--container); margin-inline: auto; flex-wrap: wrap; }
.stimmen-band.is-laufend .stimmen-band__spur { animation: stimmen-lauf calc(var(--satz, 1000px) / 28px * 1s) linear infinite; }
.stimmen-band.is-laufend:hover .stimmen-band__spur, .stimmen-band.is-laufend:focus-within .stimmen-band__spur { animation-play-state: paused; }
@keyframes stimmen-lauf { to { transform: translateX(calc(-1 * var(--satz, 1000px))); } }
.stimmen-band.is-laufend::before, .stimmen-band.is-laufend::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(1.5rem, 6vw, 6rem); pointer-events: none; }
.stimmen-band.is-laufend::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.stimmen-band.is-laufend::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.stimmen-band__karte { display: flex; flex-direction: column; gap: 1rem; flex: 0 0 clamp(17rem, 78vw, 25rem); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); background: var(--stone-50); border: 1px solid var(--stone-200); }
.stimmen-band__karte blockquote { margin: 0; }
.stimmen-band__karte blockquote p { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: var(--color-text); }
.stimmen-band__karte blockquote p::before { content: "„"; }
.stimmen-band__karte blockquote p::after { content: "\201c"; }
.stimmen-band__quelle { display: grid; gap: 0.1rem; margin-top: auto; font-size: 0.9375rem; font-weight: 600; }
.stimmen-band__quelle span { font-size: 0.8125rem; font-weight: 500; color: var(--color-muted); }

/* ---------- Leistungsseiten: Tafel der Bausteine ---------- */
.tafel { display: grid; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 640px) and (max-width: 1199px) { .tafel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tafel__block:last-child:nth-child(odd) { grid-column: 1 / -1; } .tafel__block:last-child:nth-child(odd) .tafel__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem 1.5rem; } }
@media (min-width: 1200px) { .tafel { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tafel--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tafel--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tafel__block h3 { min-block-size: 2.6em; } }
.tafel__block { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem) clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); background: var(--white); transition: background-color 0.25s ease; }
.tafel__block:hover { background: var(--stone-50); }
.tafel__block h3 { font-size: 1.125rem; line-height: 1.3; }
.tafel__liste { display: grid; gap: 0.6rem; }
.tafel__liste li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.55rem; align-items: start; font-size: 0.9375rem; line-height: 1.45; color: var(--color-muted); hyphens: auto; }
.tafel__check { display: grid; place-items: center; width: 1.1rem; height: 1.35rem; color: var(--color-text); }
.tafel__check .icon { width: 1rem; height: 1rem; stroke-width: 2.2; }

/* ---------- Leistungsseiten: Hero mit gezeichnetem Verfahren statt Foto ---------- */
.hero--film .hero--film__raster { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 860px) { .hero--film .hero--film__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 4vw, 6rem); } }
.hero--film .hero__text { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero--film__buehne { display: block; position: relative; aspect-ratio: 4 / 3; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); color: var(--on-dark); }
@media (min-width: 860px) { .hero--film__buehne { margin-block: clamp(2rem, 1rem + 2vw, 3rem) clamp(4rem, 2rem + 4vw, 7rem); } }
@media (max-width: 859px) { .hero--film__buehne { max-width: 30rem; } }

/* ---------- Leistungsseiten: ein Projektbild ohne Karte ---------- */
.leistung__bild figure { margin: 0; }
.leistung__bild img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.leistung__bild figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--color-muted); }

/* ---------- Rechtstexte: schmale Lesespalte ---------- */
.rechtstext > * { max-width: 46rem; }
.rechtstext h2 { margin-top: 2.75rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.rechtstext h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.1875rem; }
.rechtstext h4 { margin-top: 1.5rem; margin-bottom: 0.4rem; font-size: 1.0625rem; }
.rechtstext p { margin-bottom: 1rem; color: var(--color-muted); }
.rechtstext p + h2, .rechtstext p + h3 { margin-top: 2rem; }
.rechtstext a { color: var(--color-primary); overflow-wrap: anywhere; }

/* ---------- Referenzen: Projektraster, Verweiskarte; Kontakt: kurzer Hero, Direktkontakt ---------- */
.projekt-raster { display: grid; gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); }
@media (min-width: 700px) { .projekt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .projekt-raster:not(.projekt-raster--vier) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .projekt-raster--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.projekt-raster .project { align-content: start; }
.project--verweis { align-content: center; background: var(--night-900); color: var(--on-dark); text-decoration: none; transition: background-color 0.25s ease; }
.project--verweis h3 { color: var(--white); }
.project--verweis .project__text { color: var(--on-dark-2); }
.project--verweis .project__result { color: var(--red-400); }
.project--verweis .project__result { display: flex; align-items: center; gap: 0.5rem; border-top-color: var(--night-700); font-weight: 600; }
.project--verweis .project__result::before { display: none; }
.project--verweis .project__result .button__arrow { margin: 0; }
.project--verweis:hover { background: var(--night-800); }
.hero--kurz .hero__text { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.contact__direkt { margin-top: 1rem; }
.contact__direkt h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.contact__direkt .cta-card__contact { display: grid; gap: 0.5rem; border-top-color: var(--color-border); }
.contact__direkt .cta-card__contact a { color: var(--color-text); }
.contact__direkt .cta-card__contact a:hover { color: var(--color-primary); }

/* ---------- Leistungsseiten: Ablauf auf hellem Grund, zwei Projektkarten nebeneinander ---------- */
.projekt-paar { display: grid; gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); }
@media (min-width: 860px) { .projekt-paar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.projekt-paar .project { align-content: start; }

.leistung .cta-band { background: var(--white); }

/* ---------- Bildfolge im Kopfbereich (Startseite und Über uns) ---------- */
.slider-bild { opacity: 0; animation: bildfolge 36s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.slider-bild:nth-of-type(1) { opacity: 1; animation-delay: 0s; }
.slider-bild:nth-of-type(2) { animation-delay: 9s; }
.slider-bild:nth-of-type(3) { animation-delay: 18s; }
.slider-bild:nth-of-type(4) { animation-delay: 27s; }
@keyframes bildfolge {
  0% { opacity: 0; transform: scale(1.02); }
  4%, 23% { opacity: 1; }
  27%, 100% { opacity: 0; }
  100% { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .slider-bild { animation: none; opacity: 0; }
  .slider-bild:nth-of-type(1) { opacity: 1; }
}

/* ---------- Kontaktseite: Formular hell, Ansprechpartner daneben ---------- */
.anfrage__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .anfrage__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.form--hell { gap: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); color: var(--color-text); }
.form__gruppe { display: grid; gap: 1.25rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__gruppe legend { display: flex; align-items: center; gap: 0.75rem; width: 100%; margin-bottom: 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--color-border); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.form__nr { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; background: var(--color-primary); color: var(--white); font-size: 1rem; font-weight: 700; }
.form--hell .field label, .form--hell .field__label { margin: 0; font-weight: 600; font-size: 0.9375rem; color: var(--color-text); }
.form--hell .opt { color: var(--color-muted); font-weight: 400; font-size: 0.9375rem; }
.form--hell .field input, .form--hell .field textarea, .form--hell .field select { border: 1px solid var(--stone-400); background: var(--white); }
.form--hell .field input:hover, .form--hell .field textarea:hover, .form--hell .field select:hover { border-color: var(--ink-2); }
.form--hell .field input:focus-visible, .form--hell .field textarea:focus-visible, .form--hell .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--ink); }
.form--hell .field.is-invalid input { border: 2px solid var(--color-error); box-shadow: none; }
.form--hell .field__error { color: var(--color-error); }
.field__hint { font-size: 0.875rem; color: var(--color-muted); }
.field select {
  width: 100%; min-height: 3.125rem; padding: 0.75rem 2.75rem 0.75rem 0.95rem; border-radius: var(--radius-sm);
  color: var(--ink); font: inherit; font-size: 1.0625rem; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1b1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem;
}
@media (min-width: 640px) { .field--schmal { max-width: calc(50% - 0.55rem); } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--stone-400); background: var(--white); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip span::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; border: 1.5px solid currentColor; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:checked + span::before { border-color: var(--red-400); background: var(--red-400); }
.chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.form__abschluss { display: grid; gap: 0.9rem; justify-items: start; padding-top: 0.5rem; }
.form--hell .form__privacy { text-align: left; color: var(--color-muted); }
.form--hell .form__privacy a { color: var(--color-text); }
.form--hell .form__privacy a:hover { color: var(--color-primary); }

.anfrage__person { display: grid; background: var(--stone-50); border-top: 4px solid var(--color-primary); }
@media (min-width: 960px) { .anfrage__person { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.anfrage__bild { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.anfrage__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.anfrage__karte { display: grid; gap: 0.35rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2rem); }
.anfrage__karte h2 { font-size: 1.5rem; }
.anfrage__rolle { color: var(--color-muted); }
.anfrage__direkt { margin-top: 0.9rem; padding-top: 0.9rem; border-top-color: var(--color-border); gap: 0.4rem; }
.anfrage__direkt a { color: var(--color-text); font-weight: 600; }
.anfrage__direkt a:hover { color: var(--color-primary); }
.anfrage__direkt .icon { color: var(--color-primary); }
.anfrage__karte h3 { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); font-size: 1.0625rem; }
.anfrage__ablauf { display: grid; gap: 0.75rem; margin: 0.6rem 0 0; padding: 0; list-style: none; counter-reset: ablauf; }
.anfrage__ablauf li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.75rem; color: var(--color-muted); counter-increment: ablauf; }
.anfrage__ablauf li::before { content: counter(ablauf); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--color-primary); color: var(--color-primary); font-weight: 700; font-size: 0.875rem; }

/* ---------- Fahrzeugseiten (HLF 20 usw.) ---------- */
.fahrzeug .hero__media img { object-position: 50% 62%; }
.fahrzeug__text { display: grid; gap: 1rem; max-width: 42rem; color: var(--color-muted); }
.fahrzeug__text a, .fakt a, .split__text a { color: var(--color-text); }
.fakten { display: grid; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 900px) { .fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fakt { display: grid; gap: 0.6rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--white); border-top: 3px solid transparent; }
.fakt h3 { font-size: 1.25rem; }
.fakt p { color: var(--color-muted); }
.fahrzeug__typen { display: grid; gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .fahrzeug__typen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fahrzeug__typen li { border-top: 1px solid var(--color-border); }
.fahrzeug__typen a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.25rem 1rem; align-items: baseline; padding: 0.9rem 0; color: var(--color-text); text-decoration: none; transition: color 0.2s ease; }
.fahrzeug__typen strong { font-size: 1.0625rem; }
.fahrzeug__typen span { color: var(--color-muted); font-size: 0.9375rem; }
.fahrzeug__typen a:hover strong, .fahrzeug__typen a:focus-visible strong { color: var(--color-primary); }
.fahrzeug__typen-hinweis { margin-top: 1.5rem; color: var(--color-muted); }
.fahrzeug__typen-hinweis a { color: var(--color-text); }
.fahrzeug__ablauf { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: fz; }
.fahrzeug__ablauf li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1.25rem 0; border-top: 1px solid var(--color-border); counter-increment: fz; }
.fahrzeug__ablauf li:last-child { border-bottom: 1px solid var(--color-border); }
.fahrzeug__ablauf li::before { content: counter(fz); grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--color-primary); color: var(--white); font-weight: 700; }
.fahrzeug__ablauf h3 { font-size: 1.125rem; }
.fahrzeug__ablauf p { color: var(--color-muted); }
.fahrzeug .split__text a, .fahrzeug .fakt a, .fahrzeug__text a { white-space: normal; overflow-wrap: anywhere; display: inline; }
.anfrage--fahrzeug .anfrage__formular > h2 { margin-bottom: 0.5rem; }
.anfrage__intro { margin-bottom: 1.75rem; color: var(--color-muted); max-width: 38rem; }
.anfrage--fahrzeug .form--hell { gap: 1.25rem; }
.anfrage__name { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 900px) { .projekt-paar--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Navigation mit Leistungen und Fahrzeugen, Fußzeile (tools/navigation.py) ---------- */
.nav-drop > details > summary.is-aktiv { color: var(--color-primary); }
.nav-drop__list--kurz li + li, .nav-drop__list--fahrzeuge li + li { border-top: 0; }
@media (min-width: 960px) {
  .nav-drop__panel--fahrzeuge { left: auto; right: 0; width: 34rem; }
  .nav-drop__list--fahrzeuge { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 0 1rem !important; }
  .nav-drop__list--kurz { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 1rem !important; }
  .nav-drop__panel--fahrzeuge .nav-drop__title + ul { margin-bottom: 1rem; }
  .nav-drop__panel--fahrzeuge ul:last-child { margin-bottom: 0; }
}
/* ---------- Fußzeile: Kopf mit Logo und Kontakt, drei Linkspalten, Fußleiste mit Rechtlichem (tools/navigation.py) ---------- */
.site-footer { background: var(--night-900); color: var(--on-dark-2); font-size: 0.9375rem; }
.site-footer__kopf { display: grid; gap: 1.75rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2rem; border-bottom: 1px solid var(--night-700); }
.site-footer__brand { display: grid; gap: 0.75rem; justify-items: start; max-width: 26rem; }
.site-footer__brand p { margin: 0; }
.site-footer__logo { display: inline-block; line-height: 0; }
.site-footer__logo img { width: 12rem; height: auto; filter: brightness(0) invert(1); }
.site-footer__kontakt { display: grid; gap: 0.6rem; justify-items: start; align-content: start; }
.site-footer__direkt { display: grid; gap: 0.15rem; }
.site-footer__direkt .icon { width: 1.05rem; height: 1.05rem; margin-right: 0.55rem; color: var(--red-400); flex: none; }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 2.25rem; }
.site-footer__title { margin-bottom: 0.65rem; color: var(--white); font-weight: 700; font-size: 1rem; }
.site-footer__title::after { content: ""; display: block; width: 1.75rem; height: 3px; margin-top: 0.4rem; background: var(--red-400); }
.site-footer ul { display: grid; gap: 0; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 2.15rem; color: var(--on-dark-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--on-dark); }
.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; border-top: 1px solid var(--night-700); font-size: 0.875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.5rem; }
.site-footer__bottom ul a { min-height: 2.25rem; }
@media (min-width: 700px) {
  .site-footer__kopf { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .site-footer__kontakt { justify-items: end; text-align: right; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__grid > nav[aria-label="Leistungen"] { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.3fr) minmax(0, 0.6fr); gap: 2.5rem; }
  .site-footer__grid > nav[aria-label="Leistungen"] { grid-column: auto; }
}

/* ---------- Aufklappmenü Leistungen und Fahrzeuge: Bereiche nebeneinander, Unterseiten darunter (tools/navigation.py) ---------- */
.mega__trigger {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0;
  border: 0; background: none; color: var(--color-text); font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.mega__trigger::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.mega__trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.mega__trigger:hover, .mega__trigger[aria-expanded="true"], .mega__trigger.is-aktiv { color: var(--color-primary); }
.mega__panel { display: none; }
.mega__panel.is-open { display: block; }
.site-nav .spalten li { border: 0; }
.spalten__titel { font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }
.site-nav .spalten a:not(.button) { display: flex; align-items: center; min-height: 2.25rem; font-size: 0.9375rem; font-weight: 500; color: var(--color-muted); }
.site-nav .spalten a:not(.button)::after { display: none; }
.site-nav .spalten a:not(.button):hover, .site-nav .spalten a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 960px) {
  .site-nav > ul > li.mega { position: static; }
  .mega__panel.is-open { display: flex; }
  .spalten {
    position: absolute; left: 0; right: 0; margin-inline: auto; top: 100%; z-index: 120; width: max-content; max-width: calc(100vw - 2rem); gap: 3rem; padding: 1.5rem 1.75rem 1.25rem;
    background: var(--white); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); box-shadow: 0 18px 40px rgb(23 24 27 / 0.12);
  }
  .spalten::before { content: ""; position: absolute; left: 0; right: 0; top: -0.9rem; height: 0.9rem; }
  .spalten.is-open { animation: mega-auf 0.16s ease-out; }
  .spalten__titel { margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
  .site-nav .spalten a:not(.button) { white-space: nowrap; }
  .spalten__bereich--breit ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 2rem; }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) { .spalten.is-open { animation: none; } }
@keyframes mega-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 959px) {
  .mega__trigger { justify-content: space-between; width: 100%; min-height: 3rem; font-size: 1.125rem; }
  .mega__panel.is-open { padding: 0.25rem 0 1rem 1rem; border-left: 2px solid var(--stone-200); }
  .spalten__bereich + .spalten__bereich { margin-top: 0.75rem; }
  .spalten__titel { color: var(--color-primary); }
  .spalten ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .site-nav .spalten a:not(.button) { min-height: 2.75rem; color: var(--color-text); }
}

@media (min-width: 960px) and (max-width: 1149px) { .site-nav > ul { gap: 0.25rem 1.1rem; } .site-header__inner { gap: 1rem; } }

/* Sammelseite Feuerwehrfahrzeuge steht in Menü und Fußzeile über beiden Spalten, damit HLF 10/20, LF 10/20 nebeneinander bleiben */
.spalten li:has(> a[href^="feuerwehrfahrzeug-ausschreiben"]),
.site-footer li:has(> a[href^="feuerwehrfahrzeug-ausschreiben"]) { grid-column: 1 / -1; }

/* ---------- Handy: Feinschliff 16.11.2026 ---------- */
@media (max-width: 1023px) {
  .hero:not(.hero--film):not(.hero--kurz) .hero__text { padding-bottom: 3rem; }
}
@media (max-width: 699px) {
  /* Bewertungen stehen am Handy untereinander statt im Laufband (main.js startet es erst ab 700 px) */
  .stimmen-band:not(.is-laufend) .stimmen-band__spur { flex-direction: column; flex-wrap: nowrap; }
  .stimmen-band__karte { flex-basis: auto; }
  /* Fußzeile kurz: Kontakt steht direkt darüber im Kontaktband und oben in der Leiste, die Unterseiten im Menü */
  /* Fußzeile am Handy: alles sichtbar, aber dicht. Links fließen als kleine Kacheln nebeneinander statt einer langen Liste */
  .site-footer__kopf { gap: 1.25rem; padding-block: 2.25rem 1.5rem; }
  .site-footer__kontakt .button { display: none; }
  .site-footer__kontakt { gap: 0; }
  .site-footer__direkt a { min-height: 2.5rem; }
  .site-footer__grid { gap: 1.5rem; padding-block: 1.5rem; }
  .site-footer__title { margin-bottom: 0.6rem; font-size: 0.9375rem; }
  .site-footer__title::after { display: none; }
  .site-footer__grid ul, .site-footer__cols { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .site-footer__grid ul a { min-height: 2.25rem; padding: 0.3rem 0.7rem; border: 1px solid var(--night-700); font-size: 0.875rem; line-height: 1.2; }
  .site-footer__grid ul a:hover { border-color: var(--on-dark-2); text-decoration: none; }
  .site-footer li:has(> a[href^="feuerwehrfahrzeug-ausschreiben"]) { grid-column: auto; }
}

/* ---------- Handy kürzer (16.11.2026): weniger Leerraum, Deko-Szenen weg, Projektkarten quer ---------- */
@media (max-width: 699px) {
  :root { --space-section: 3rem; }
  .hero--film__buehne { display: none; }
  .kommunen__zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kommunen__zahlen li { padding: 0.85rem 0.5rem 0.85rem 0.75rem; }
  .kommunen__zahlen strong { font-size: 1.875rem; }
  .kommunen__zahlen span { font-size: 0.8125rem; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
  .kommunen__zahlen li { min-width: 0; }
  .project { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: start; }
  .project__media { margin: 0.85rem 0 0.85rem 0.85rem; overflow: hidden; border-radius: calc(var(--radius) - 2px); }
  .project__media img { aspect-ratio: 4 / 3; }
  .project__media img[src*="kehrmaschine"] { object-position: 72% 60% !important; }
  .project__body { gap: 0.35rem; padding: 0.85rem 1rem; }
  .project h3 { font-size: 1.0625rem; }
  .project__meta { font-size: 0.8125rem; }
  .project__text { font-size: 0.9375rem; }
  .project__result { display: none; }
  .project--verweis { grid-template-columns: minmax(0, 1fr); }
  .step__drawing { display: none; }
  .step__card { padding: 1rem 1.1rem; }
  .steps { gap: 0.85rem; }
}
/* Über uns, „Was wir für Sie übernehmen“: unter 960 px keine wechselnde Szene, die Punkte stehen als ruhige Liste */
@media (max-width: 959px) {
  .film__buehne { display: none; }
  .film__punkt { cursor: auto; }
  .film__punkt::after { display: none; }
  .film__punkt.is-aktiv { background: none; }
  .film__punkt.is-aktiv .film__nr { color: var(--on-dark-2); }
}

/* Kehrmaschine steht im Foto rechts: im hohen Desktop-Hero sonst angeschnitten (16.11.2026) */
@media (min-width: 1024px) { .hero__media img[src*="kehrmaschine"] { object-position: 88% 55% !important; } }

@media (max-width: 379px) { .hero__actions .button { padding-inline: 1rem; font-size: 0.9375rem; } }

/* Startseite: Projekte als gleiches Raster auf allen Geräten, kurz gehalten (Beschreibung steht auf der Referenzseite) (16.11.2026) */
.projekt-raster--vier .project:not(.project--verweis) .project__text { display: none; }
.projekt-raster--vier .project__result { margin-top: auto; }
@media (min-width: 700px) { .projekt-raster--vier h3 { font-size: 1.1875rem; } }
.projekt-raster--vier .project:not(.project--verweis) .project__body { height: 100%; }
@media (max-width: 699px) {
  .projekt-raster--vier { gap: 0.75rem; }
  .projekt-raster--vier .project--verweis .project__result { display: flex; }
}

/* Kommunenliste ohne eigenen Scrollbereich: am Handy hat man sonst die Seite „festgehalten“ (16.11.2026).
   Alle Namen als fließender Text, auf jedem Gerät gleich. */
.kommunen__liste { display: flex; flex-wrap: wrap; gap: 0.15rem 0; max-height: none; overflow: visible; padding-right: 0; mask-image: none; -webkit-mask-image: none; grid-template-columns: none; }
@media (min-width: 560px) { .kommunen__liste { grid-template-columns: none; } }
.kommunen__liste li { padding: 0.1rem 0; border-top: 0; font-size: 0.9375rem; line-height: 1.6; white-space: nowrap; }
.kommunen__liste li:not(:last-child)::before { content: none; }
.kommunen__liste li:not(:last-child) { margin-right: 0.35rem; }
.kommunen__liste li:not(:last-child)::after { content: "·"; display: inline; width: auto; height: auto; margin-left: 0.35rem; background: none; color: rgb(255 255 255 / 0.3); vertical-align: baseline; }
.kommunen__liste li[data-art="beide"] { color: var(--white); font-weight: 600; }
.kommunen__liste li.is-treffer, .kommunen__liste li.is-aktiv { color: var(--red-400); }
.kommunen__liste li:last-child::after { content: none; }
@media (max-width: 699px) { .kommunen__liste li { padding: 0; font-size: 0.875rem; line-height: 1.55; } }
.kommunen__liste[hidden], .kommunen__liste li[hidden] { display: none; }
.kommunen__spalte .suche { margin-bottom: 0.75rem; }
/* Suchtreffer als Zeilen mit Leistung statt Punkt-Trenner (16.11.2026) */
.kommunen__liste { display: grid; gap: 0; }
.kommunen__liste li, .kommunen__liste li[data-art="beide"] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin: 0; padding: 0.6rem 0; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 1rem; font-weight: 600; color: var(--white); white-space: normal; }
.kommunen__liste li::after, .kommunen__liste li:not(:last-child)::after, .kommunen__liste li[data-art="beide"]::after { content: "Ausschreibung und Beschaffung"; display: inline; width: auto; height: auto; margin: 0; background: none; box-shadow: none; font-size: 0.875rem; font-weight: 400; color: var(--on-dark-2); vertical-align: baseline; }
.kommunen__liste li[data-art="brandschutz"]::after { content: "Brandschutzbedarfsplan"; }
.kommunen__liste li[data-art="beide"]::after { content: "Ausschreibung und Brandschutzbedarfsplan"; }
.kommunen__liste li:not(:last-child) { margin-right: 0; }
.kommunen__liste li.is-treffer, .kommunen__liste li.is-aktiv { color: var(--white); border-color: rgb(255 255 255 / 0.12); }
.kommunen__liste[hidden], .kommunen__liste li[hidden] { display: none !important; }

/* Handy: Abschnittsköpfe einheitlich linksbündig, Nutzen-Karten kompakt mit Symbol links (16.11.2026) */
@media (max-width: 699px) {
  .section-head--center { justify-items: start; text-align: left; }
  .features { gap: 0.75rem; }
  .feature { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.3rem; padding: 1.1rem 1.1rem; }
  .feature__icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; margin: 0; }
  .feature__icon .icon { width: 1.35rem; height: 1.35rem; }
  .feature h3 { font-size: 1.0625rem; }
  .feature p { font-size: 0.9375rem; }
}

/* Anlässe: Links als kompakte Kacheln statt untereinander, auf allen Geräten gleich (16.11.2026) */
.anlass__liste { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.anlass__liste li { border-top: 0; }
.anlass__liste a { min-height: 2.25rem; padding: 0.3rem 0.7rem; border: 1px solid var(--color-border); background: var(--stone-50); font-size: 0.875rem; line-height: 1.25; }
.anlass__liste a::after { content: none; }
.anlass__liste a:hover { padding-left: 0.7rem; border-color: var(--color-primary); background: var(--white); }

/* Über uns, „Was wir für Sie übernehmen“: überall ruhige Liste, ab 900 px zweispaltig (16.11.2026) */
.film__punkt { cursor: auto; }
.film__punkt::after { display: none; }
@media (min-width: 900px) {
  .film__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem); }
  .film__punkt:nth-last-child(2) { border-bottom: 1px solid rgb(255 255 255 / 0.14); }
}
/* Google-Bewertungen: kein Laufband mehr, überall feste Karten, ab 900 px dreispaltig (16.11.2026) */
@media (min-width: 900px) {
  .stimmen-band:not(.is-laufend) .stimmen-band__spur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; }
}

/* Referenz-Unterseiten (24.11.2026, noch nicht öffentlich): Fenster auf der Karte, Links in Karten und Suchtreffern */
.karte__svg.is-klickbar { cursor: pointer; }
.karte__fenster {
  position: absolute; z-index: 3; width: min(17rem, 100%); padding: 0.9rem 2.5rem 1rem 1rem;
  background: var(--white); color: var(--ink); box-shadow: 0 10px 28px rgb(0 0 0 / 0.4);
}
.karte__fenster-ort { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.karte__fenster-art { margin-top: 0.15rem; font-size: 0.875rem; color: var(--color-muted); }
.karte__fenster-orte { display: grid; }
.karte__fenster-orte li { padding: 0.55rem 0; border-top: 1px solid var(--color-border); }
.karte__fenster-orte li:first-child { padding-top: 0; border-top: 0; }
.karte__fenster-link { display: block; margin-top: 0.35rem; padding: 0.15rem 0; font-size: 0.9375rem; font-weight: 600; color: var(--red-600); text-decoration: underline; text-underline-offset: 0.2em; }
.karte__fenster-zu {
  position: absolute; top: 0.25rem; right: 0.25rem; width: 2.25rem; height: 2.25rem;
  border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.karte__fenster-zu:focus-visible, .karte__fenster a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.kommunen__liste li .kommunen__auftrag { order: 3; flex-basis: 100%; font-size: 0.9375rem; font-weight: 600; color: var(--red-400); text-decoration: underline; text-underline-offset: 0.2em; }
.project__mehr { margin-top: auto; padding-top: 0.75rem; }
.project__mehr a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--color-text); }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.platzhalter { padding: 1rem 1.25rem; border: 2px dashed var(--color-border); color: var(--color-muted); }

/* Brandschutzbedarfsplan: Name des Plans je Bundesland (24.11.2026) */
.laender { display: grid; margin: 1.25rem 0; border-top: 1px solid var(--color-border); }
.laender li { display: grid; gap: 0.15rem 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 700px) { .laender li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }
.laender strong { font-weight: 600; color: var(--color-text); }
.laender span { color: var(--color-muted); }
