/*
 * Gestaltung der Kunden-Vorlage (GSM Websolutions).
 * Farben, Schriften und Radien kommen aus thema.css (erzeugt aus app/kunde.json); hier stehen nur abgeleitete Werte.
 * Mobil zuerst: Grundregeln gelten fürs Handy, größere Bildschirme werden per min-width ergänzt.
 * Keine externen Schriften oder Bibliotheken.
 */

:root {
  /* Abgeleitet aus den Thema-Farben (thema.css), damit ein Kunde nur wenige Farben festlegen muss */
  --tinte-2: color-mix(in srgb, var(--tinte) 90%, #fff);
  --tinte-3: color-mix(in srgb, var(--tinte) 80%, #fff);
  --grau-hell: color-mix(in srgb, var(--grau) 55%, var(--grund));
  --linie-dunkel: rgb(255 255 255 / 0.1);
  --rot: #b42318;
  --gruen: #1f9d55;

  --schatten: 0 1px 2px color-mix(in srgb, var(--tinte) 4%, transparent), 0 10px 30px -12px color-mix(in srgb, var(--tinte) 12%, transparent);
  --schatten-gross: 0 30px 60px -20px color-mix(in srgb, var(--tinte) 28%, transparent);
  --breite: 1200px;
  --rand: 20px;
  --kopf-h: 64px;
  --kopf-abstand: 10px;
  --kurve: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) {
  :root {
    --rand: 32px;
    --kopf-h: 68px;
    --kopf-abstand: 16px;
  }
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + var(--kopf-abstand) + 16px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
  body {
    font-size: 1.0625rem;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: var(--titel-gewicht, 500);
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 9.5vw, 5rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 6.4vw, 3.3rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}
/* Kursiv gesetzte Wörter in Überschriften leuchten: gelbe Markierung unter dem Wort */
h1 em,
h2 em,
.footer__satz em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--akzent) 55%, transparent) 62%, color-mix(in srgb, var(--akzent) 55%, transparent) 90%, transparent 90%);
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration-color: var(--akzent-tief);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--akzent);
  color: var(--akzent-text);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  /* Handy quer mit Notch (viewport-fit=cover): Inhalt bleibt im sicheren Bereich */
  padding-inline: max(var(--rand), env(safe-area-inset-left)) max(var(--rand), env(safe-area-inset-right));
}
.muted {
  color: var(--grau);
}
.center {
  margin-top: 32px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--akzent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--akzent) 25%, transparent);
}
.section--dark .eyebrow {
  color: var(--grau-hell);
}

svg[viewBox='0 0 24 24'] {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* Pulsierender Punkt für „jetzt erreichbar“ */
.live-punkt {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gruen);
}
.live-punkt::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gruen);
  animation: puls 2s var(--kurve) infinite;
}
@keyframes puls {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- Knöpfe ---------- */
.btn {
  --b-bg: var(--akzent);
  --b-fg: var(--tinte);
  --b-bd: var(--akzent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--b-bd);
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.25s var(--kurve), border-color 0.25s, color 0.25s, transform 0.25s var(--kurve), box-shadow 0.25s;
}
.btn svg {
  transition: transform 0.25s var(--kurve);
}
.btn:hover {
  --b-bg: var(--akzent-tief);
  --b-bd: var(--akzent-tief);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--akzent-tief) 60%, transparent);
}
.btn:hover svg:last-child:not(:first-child) {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.98);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn--ghost {
  --b-bg: transparent;
  --b-fg: var(--flaeche);
  --b-bd: rgb(255 255 255 / 0.3);
}
.btn--ghost:hover {
  --b-bg: rgb(255 255 255 / 0.08);
  --b-bd: var(--flaeche);
  box-shadow: none;
}
.btn--outline {
  --b-bg: transparent;
  --b-fg: var(--text);
  --b-bd: var(--linie);
}
.btn--outline:hover {
  --b-bg: var(--flaeche);
  --b-bd: var(--text);
  box-shadow: none;
}
.btn--quiet {
  --b-bg: var(--grund-2);
  --b-fg: var(--text);
  --b-bd: var(--grund-2);
}
.btn--quiet:hover {
  --b-bg: var(--linie);
  --b-bd: var(--linie);
  box-shadow: none;
}
.btn--dark {
  --b-bg: var(--tinte);
  --b-fg: var(--flaeche);
  --b-bd: var(--tinte);
}
.btn--dark:hover {
  --b-bg: var(--tinte-3);
  --b-bd: var(--tinte-3);
  box-shadow: 0 12px 26px -10px rgb(0 0 0 / 0.45);
}
.btn--outline-dark {
  --b-bg: transparent;
  --b-fg: var(--tinte);
  --b-bd: color-mix(in srgb, var(--tinte) 25%, transparent);
}
.btn--outline-dark:hover {
  --b-bg: rgb(255 255 255 / 0.5);
  --b-bd: var(--tinte);
  box-shadow: none;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.92rem;
}
.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.05rem;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--akzent);
  padding-bottom: 2px;
}
.link-arrow svg {
  transition: transform 0.25s var(--kurve);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Kopfleiste: schwebende dunkle Insel ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--kopf-abstand);
  pointer-events: none;
  transition: transform 0.3s var(--kurve);
}
/* Handy: beim Weiterlesen nach oben ausweichen (site.js), bei offenem Menü immer da */
@media (max-width: 1023px) {
  .kopf.is-weg {
    transform: translateY(-100%);
  }
  .nav-open .kopf.is-weg {
    transform: none;
  }
}
.kopf__insel {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--kopf-h);
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tinte) 94%, transparent);
  color: var(--flaeche);
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(255 255 255 / 0.12);
  pointer-events: auto;
  transition: box-shadow 0.3s;
}
.logo {
  display: block;
  flex: none;
}
.logo :is(img, svg) {
  width: auto;
  height: 38px;
  /* Breite Wortmarken am Handy verkleinern, damit Telefon und Menü Platz haben */
  max-width: min(46vw, 220px);
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: none;
}
.kopf__aktionen {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.kopf__tel {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--akzent-text);
  text-decoration: none;
}
.kopf__tel span {
  display: none;
}
/* Störungs-Knopf (Funktion „notdienst“) ersetzt die Telefonnummer in der Kopfleiste */
.kopf__stoerung {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.kopf__stoerung span {
  display: none;
}
.menue__hinweis {
  margin: -4px 0 4px;
  color: var(--grau);
  font-size: 0.9rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .kopf__stoerung {
    padding: 0 18px;
  }
  .kopf__stoerung span {
    display: inline;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .kopf__stoerung {
    padding: 0;
    width: 48px;
  }
  .kopf__stoerung span {
    display: none;
  }
}
.kopf__cta {
  display: none;
}
.kopf__burger {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--flaeche);
  cursor: pointer;
}
.kopf__burger-linien,
.kopf__burger-linien::before,
.kopf__burger-linien::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--kurve), opacity 0.2s;
}
.kopf__burger-linien {
  position: relative;
}
.kopf__burger-linien::before,
.kopf__burger-linien::after {
  content: '';
  position: absolute;
  left: 0;
}
.kopf__burger-linien::before {
  top: -6px;
}
.kopf__burger-linien::after {
  top: 6px;
}
.nav-open .kopf__burger-linien {
  background: transparent;
}
.nav-open .kopf__burger-linien::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .kopf__burger-linien::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Vollbild-Menü fürs Handy */
.menue {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  padding: calc(var(--kopf-h) + var(--kopf-abstand) + 24px) 0 40px;
  background: radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--akzent) 16%, transparent), transparent 60%), var(--tinte);
  color: var(--flaeche);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--kurve), transform 0.35s var(--kurve), visibility 0.3s;
}
.nav-open .menue {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* sofort sichtbar, damit site.js den Fokus ins Menü setzen kann; beim Schließen blendet es weiter aus */
  transition-property: opacity, transform;
}
.nav-open body {
  overflow: hidden;
}
/* Leistungen im Handy-Menü: zugeklappt, auf einer Leistungsseite offen */
.menue__gruppe summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--linie-dunkel);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.menue__gruppe summary::-webkit-details-marker {
  display: none;
}
.menue__chev {
  width: 26px;
  height: 26px;
  color: var(--akzent-dunkel, var(--akzent));
  transition: transform 0.25s var(--kurve);
}
.menue__gruppe[open] .menue__chev {
  transform: rotate(180deg);
}
.menue__leistungen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
}
.menue__leistungen a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 92px;
  padding: 14px;
  border-radius: var(--r-klein);
  background: rgb(255 255 255 / 0.06);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  text-decoration: none;
}
.menue__leistungen a svg {
  color: var(--akzent-dunkel, var(--akzent));
}
.menue__haupt {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.menue__haupt > li > a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--linie-dunkel);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  text-decoration: none;
}
.menue__haupt > li > a[aria-current='page'],
.menue__leistungen a[aria-current='page'] {
  color: var(--akzent-dunkel, var(--akzent));
}
.menue__knoepfe {
  display: grid;
  gap: 10px;
}
.menue__info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: var(--grau-hell);
  font-size: 0.92rem;
}

@media (min-width: 1024px) {
  .kopf__insel {
    padding: 0 10px 0 24px;
  }
  .logo :is(img, svg) {
    height: 42px;
  }
  .nav {
    display: block;
    margin-left: auto;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    color: rgb(255 255 255 / 0.78);
    font-weight: 600;
    font-size: 0.96rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }
  .nav__link:hover {
    color: var(--flaeche);
    background: rgb(255 255 255 / 0.07);
  }
  .nav__link.is-active {
    color: var(--akzent-dunkel, var(--akzent));
  }
  .nav__chev {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--kurve);
  }
  .nav__item--drop {
    position: relative;
  }
  .nav__drop {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 600px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border-radius: var(--r);
    background: var(--flaeche);
    color: var(--text);
    box-shadow: var(--schatten-gross);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.25s var(--kurve), transform 0.25s var(--kurve), visibility 0.25s;
  }
  .nav__drop::before {
    content: '';
    position: absolute;
    inset: -20px 0 auto;
    height: 20px;
  }
  .nav__item--drop:hover .nav__drop,
  .nav__item--drop:focus-within .nav__drop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .nav__item--drop:hover .nav__chev {
    transform: rotate(180deg);
  }
  .nav__droplink {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: var(--r-klein);
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav__droplink:hover {
    background: var(--grund);
  }
  .nav__droplink > svg {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
    background: var(--akzent-hell);
  }
  .nav__droplink strong {
    display: block;
    font-size: 0.95rem;
  }
  .nav__droplink small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--grau);
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .kopf__aktionen {
    margin-left: 8px;
  }
  .kopf__tel {
    display: inline-flex;
    width: auto;
    height: 48px;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    background: transparent;
    color: var(--flaeche);
    font-weight: 700;
    white-space: nowrap;
  }
  .kopf__tel svg {
    color: var(--akzent-dunkel, var(--akzent));
  }
  .kopf__tel span {
    display: inline;
  }
  .kopf__cta {
    display: inline-flex;
    min-height: 48px;
  }
  .kopf__burger,
  .menue {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .kopf__tel span {
    display: none;
  }
  .nav__link {
    padding: 10px 11px;
    font-size: 0.92rem;
  }
  .logo :is(img, svg) {
    height: 34px;
  }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * (var(--kopf-h) + var(--kopf-abstand)));
  padding-top: calc(var(--kopf-h) + var(--kopf-abstand) + 28px);
}
/* Weicher Lichtschein in der Akzentfarbe mit feinen Strahlen */
.hero__licht {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--akzent) 42%, transparent) 0%, color-mix(in srgb, var(--akzent) 14%, transparent) 35%, transparent 65%);
}
.hero__licht::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--akzent-tief) 16%, transparent) 0deg 1.4deg, transparent 1.4deg 11deg);
  -webkit-mask: radial-gradient(circle, transparent 17%, #000 18%, #000 40%, transparent 66%);
  mask: radial-gradient(circle, transparent 17%, #000 18%, #000 40%, transparent 66%);
  animation: drehen 120s linear infinite;
}
@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}
.hero__inner {
  display: grid;
  gap: 40px;
  padding-bottom: 36px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: var(--schatten);
  font-size: 0.85rem;
  font-weight: 700;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 em {
  display: inline-block;
}
.hero__lead {
  max-width: 50ch;
  margin-bottom: 28px;
  color: var(--grau);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
}


.hero__bild {
  position: relative;
  display: none;
}
.hero__bild .foto {
  border-radius: 200px 200px var(--r-gross) var(--r-gross);
  box-shadow: var(--schatten-gross);
}
/* Kennzahlen: auf dem Handy 2 × 2 Kacheln, am Desktop eine Reihe */
.kennzahlen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}
.kennzahlen li {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: var(--r-klein);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.kennzahlen strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.kennzahlen span {
  color: var(--grau);
  font-size: 0.85rem;
  line-height: 1.35;
}

@media (min-width: 1000px) {
  .hero {
    padding-top: calc(var(--kopf-h) + var(--kopf-abstand) + 56px);
  }
  .hero__licht {
    top: -300px;
    right: auto;
    left: 46%;
    width: 1000px;
    height: 1000px;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 72px;
    padding-bottom: 64px;
  }
  .hero__bild {
    display: block;
  }
  .kennzahlen {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px;
    border-radius: var(--r);
    background: var(--flaeche);
    box-shadow: var(--schatten);
  }
  .kennzahlen li {
    padding: 18px 24px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .kennzahlen li + li {
    border-left: 1px solid var(--linie);
  }
  .kennzahlen strong {
    font-size: 2.1rem;
  }
}

/* ---------- Abschnitte ---------- */
.section {
  padding-block: clamp(64px, 11vw, 128px);
}
.section--tight {
  padding-block: clamp(32px, 6vw, 64px);
}
.section--soft {
  background: var(--grund-2);
}
.section--dark {
  background: var(--tinte);
  color: var(--flaeche);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p {
  color: var(--grau);
  font-size: 1.05rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--zeile h2 {
  margin-bottom: 0;
}
.section-head--zeile > p {
  margin: 16px 0 0;
  max-width: 44ch;
}
@media (min-width: 900px) {
  .section-head--zeile {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
  .section-head--zeile > p {
    margin: 0;
  }
}
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.split {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
  }
  .split--top {
    align-items: start;
  }
  .sticky-kopf {
    position: sticky;
    top: calc(var(--kopf-h) + var(--kopf-abstand) + 32px);
  }
}

/* Waagrecht wischbare Reihen auf dem Handy (Leistungen, Team, Stimmen) */
.leistungen,
.team,
.stimmen {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 340px);
  gap: 12px;
  margin-inline: calc(-1 * var(--rand));
  padding: 4px var(--rand) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rand);
  scrollbar-width: none;
}
.leistungen::-webkit-scrollbar,
.team::-webkit-scrollbar,
.stimmen::-webkit-scrollbar {
  display: none;
}
.leistungen > *,
.team > *,
.stimmen > * {
  scroll-snap-align: start;
}
/* Pfeile und Fortschritt unter einer Wischreihe (von site.js eingefügt, nur wenn sie überläuft) */
.reihe {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.reihe__spur {
  flex: 1;
  height: 3px;
  margin-right: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--linie);
}
.reihe__balken {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--tinte);
}
.reihe__knopf {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--tinte);
  border-radius: 50%;
  background: var(--flaeche);
  color: var(--tinte);
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.reihe__knopf svg {
  width: 20px;
  height: 20px;
}
.reihe__knopf:hover:not(:disabled) {
  background: var(--tinte);
  color: var(--flaeche);
}
.reihe__knopf:disabled {
  opacity: 0.3;
  cursor: default;
}
.section--dark .reihe__spur {
  background: var(--linie-dunkel);
}
.section--dark .reihe__balken {
  background: var(--akzent);
}

/* ---------- Fotos ---------- */
.foto {
  width: 100%;
  border-radius: var(--r);
  object-fit: cover;
  background: var(--grund-2);
}
.foto--platzhalter {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--akzent) 35%, transparent), transparent 55%), var(--tinte-2);
  color: var(--akzent-dunkel, var(--akzent));
}
.foto--platzhalter svg {
  width: 26%;
  height: auto;
  max-width: 96px;
  stroke-width: 1.4;
}

/* ---------- Leistungskarten ---------- */
.lk {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--r-gross);
  background: var(--tinte-2);
  color: var(--flaeche);
  text-decoration: none;
}
.lk__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  border-radius: 0;
  transition: transform 0.8s var(--kurve);
}
.lk::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tinte) 0%, transparent) 30%, color-mix(in srgb, var(--tinte) 55%, transparent) 55%, color-mix(in srgb, var(--tinte) 92%, transparent) 100%);
}
.lk:hover .lk__bild {
  transform: scale(1.05);
}
.lk__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: var(--tinte);
  backdrop-filter: blur(6px);
}
.lk__body {
  display: grid;
  gap: 8px;
  padding: 22px;
}
.lk__titel {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lk__text {
  color: rgb(255 255 255 / 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}
.lk__mehr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--akzent-dunkel, var(--akzent));
  font-weight: 700;
  font-size: 0.92rem;
}
.lk__mehr svg {
  transition: transform 0.25s var(--kurve);
}
.lk:hover .lk__mehr svg {
  transform: translateX(4px);
}
/* Desktop: Bento-Raster, die erste Leistung groß */
@media (min-width: 760px) {
  .leistungen {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: auto;
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .lk {
    min-height: 340px;
  }
  .lk--gross {
    grid-column: span 2;
    min-height: 440px;
  }
}
@media (min-width: 1100px) {
  .leistungen {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .lk--gross {
    grid-row: span 2;
    min-height: 0;
  }
  .lk--gross .lk__titel {
    font-size: 2.4rem;
  }
  .lk--gross .lk__text {
    max-width: 40ch;
    font-size: 1.05rem;
  }
}

/* ---------- „Warum wir“: dunkler Abschnitt mit Gründen ---------- */
.licht-sektion {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.licht-sektion::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -420px;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--akzent) 28%, transparent), transparent 62%);
}
.licht-sektion__inner {
  display: grid;
  gap: 40px;
}
.licht-sektion__kopf p {
  color: var(--grau-hell);
  font-size: 1.05rem;
}
.gruende {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.grund {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--linie-dunkel);
}
.grund:last-child {
  border-bottom: 1px solid var(--linie-dunkel);
}
.grund__nr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--akzent-dunkel, var(--akzent));
}
.grund h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 3.6vw, 1.7rem);
}
.grund p {
  margin: 0;
  color: var(--grau-hell);
}
@media (min-width: 900px) {
  .licht-sektion__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 96px;
    align-items: start;
  }
  .grund {
    padding: 32px 0;
  }
}

/* ---------- Schritte: Zeitleiste ---------- */
.schritte {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.schritt {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding-bottom: 32px;
}
.schritt:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  border-left: 2px dashed var(--linie);
}
.schritt__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--akzent-dunkel, var(--akzent));
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
}
.schritt__icon {
  display: none;
}
.schritt h3 {
  margin: 12px 0 6px;
}
.schritt p {
  margin: 0;
  color: var(--grau);
}
@media (min-width: 900px) {
  .schritte {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .schritt {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 0;
  }
  .schritt:not(:last-child)::before {
    left: 72px;
    right: -20px;
    top: 27px;
    bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--linie);
  }
}

/* ---------- Team ---------- */
.person {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.person__kopf {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.person__kopf h3 {
  margin: 0;
  font-size: 1.6rem;
}
/* Ohne Foto: Monogramm in der Überschriften-Schrift */
.person__initial {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--akzent-dunkel, var(--akzent));
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1;
}
/* Mit Foto: großes Porträt oben */
.person--foto {
  padding: 10px 10px 22px;
}
.person.person--foto > h3,
.person.person--foto > p,
.person.person--foto > blockquote {
  margin-inline: 14px;
}
.person--foto > h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.person__foto {
  position: relative;
}
.person__bild {
  border-radius: calc(var(--r) - 6px);
  filter: saturate(0.92) contrast(1.03);
}
.person p {
  flex: 1;
  color: var(--grau);
  font-size: 0.95rem;
}
.person blockquote {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--linie);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
}
@media (min-width: 760px) {
  .team {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: auto;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}
@media (min-width: 1100px) {
  .team {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Bewertungen ---------- */
.sterne {
  position: relative;
  display: inline-block;
  flex: none;
  line-height: 0;
}
.sterne__leer,
.sterne__voll {
  display: flex;
  gap: 2px;
}
.sterne__leer {
  color: var(--linie);
}
.sterne__voll {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--akzent-tief);
}
.sterne svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}
.bewertung-abzeichen {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: var(--schatten);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}
.bewertung-abzeichen strong {
  font-size: 1.05rem;
}
.bewertung-abzeichen > span:last-child {
  color: var(--grau);
}
.bewertungen-kopf {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.bewertungen-kopf h2 {
  margin: 0;
}
.bewertung-gesamt {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  padding: 16px 22px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.bewertung-gesamt__zahl {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}
.bewertung-gesamt div {
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
}
.bewertung-gesamt small {
  color: var(--grau);
}
@media (min-width: 900px) {
  .bewertungen-kopf {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.stimme {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.stimme__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.stimme__quelle {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--grund-2);
  color: var(--grau);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.stimme blockquote {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  white-space: pre-line;
}
.stimme blockquote.is-offen {
  display: block;
}
.stimme__mehr {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--akzent-dunkel, var(--akzent));
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.stimme figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
}
.stimme figcaption > span:last-child {
  display: grid;
  line-height: 1.35;
}
.stimme figcaption a {
  color: inherit;
  text-decoration: none;
}
.stimme figcaption small {
  color: var(--grau);
}
.stimme__initial {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--akzent-dunkel, var(--akzent));
  font-family: var(--serif);
  font-size: 1.1rem;
}
.bewertungen-knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .stimmen {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

/* ---------- Einsatzgebiet, FAQ ---------- */
.orte {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.orte li {
  padding: 8px 14px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  font-weight: 600;
  font-size: 0.92rem;
}
/* Einsatzgebiet als laufendes Band über die volle Breite; hält bei Maus, Fokus oder per Knopf an */
.band {
  display: flex;
  overflow: hidden;
  padding-block: 8px 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.band__spur {
  display: flex;
  flex: none;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
  animation: band-lauf var(--band-dauer, 40s) linear infinite;
}
.band:hover .band__spur,
.band:focus-within .band__spur {
  animation-play-state: paused;
}
@keyframes band-lauf {
  to {
    transform: translateX(-100%);
  }
}
.ort-karte {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  padding: 16px 20px 16px 16px;
  border: 1px solid var(--linie);
  border-radius: var(--r);
  background: var(--flaeche);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--kurve);
}
.ort-karte:hover {
  border-color: var(--tinte);
  transform: translateY(-3px);
}
.ort-karte__pin {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-klein);
  background: var(--akzent-hell);
  color: var(--akzent-tief);
}
.ort-karte__pin svg {
  width: 20px;
  height: 20px;
}
.ort-karte__text {
  display: grid;
  flex: 1;
  line-height: 1.25;
}
.ort-karte__text small {
  color: var(--grau);
  font-size: 0.78rem;
  font-weight: 600;
}
.ort-karte__text strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  white-space: nowrap;
}
.ort-karte__pfeil {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--grau);
  transition: transform 0.2s, color 0.2s;
}
.ort-karte:hover .ort-karte__pfeil {
  color: var(--tinte);
  transform: translateX(3px);
}
/* Ohne Bewegung: wischbare Reihe statt Laufband, Kopie ausgeblendet */
@media (prefers-reduced-motion: reduce) {
  .band {
    overflow-x: auto;
    padding-inline: var(--rand);
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .band__spur[aria-hidden] {
    display: none;
  }
  .band__spur li {
    scroll-snap-align: start;
  }
}
.band.is-aus .band__spur {
  animation-play-state: paused;
}
.side-zeit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 0.9rem;
}
.side-zeit svg {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ---------- Zusagen im Titelbereich ---------- */
.zusagen {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.zusagen li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.zusagen li:last-child {
  border-bottom: 0;
}
.zusagen__marke {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 26px;
  border-radius: var(--r-klein);
  background: var(--tinte);
  color: var(--akzent);
}
.zusagen__marke svg {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}
@media (min-width: 640px) {
  .zusagen {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }
  .zusagen li {
    padding: 16px 18px 0;
    border-bottom: 0;
    border-left: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  }
  .zusagen li:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

.faq {
  display: grid;
  border-top: 1px solid var(--linie);
}
.faq__item {
  border-bottom: 1px solid var(--linie);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: background 0.25s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--tinte);
  transition: transform 0.3s var(--kurve);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon {
  background: var(--akzent);
  box-shadow: none;
}
.faq__item[open] .faq__icon::after {
  transform: rotate(0);
}
.faq__item p {
  margin: 0;
  padding: 0 48px 22px 0;
  color: var(--grau);
}
.faq-wrap {
  max-width: 860px;
}

/* ---------- Call to Action ---------- */
.cta {
  padding-bottom: clamp(48px, 9vw, 112px);
}
.cta__box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 28px;
  padding: clamp(28px, 6vw, 64px);
  border-radius: var(--r-gross);
  background: linear-gradient(140deg, color-mix(in srgb, var(--akzent) 55%, #fff) 0%, var(--akzent) 45%, color-mix(in srgb, var(--akzent) 88%, #000) 100%);
  color: var(--tinte);
}
.cta__box::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgb(255 255 255 / 0.35) 0deg 2deg, transparent 2deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 23%, #000 45%, transparent 70%);
  mask: radial-gradient(circle, transparent 22%, #000 23%, #000 45%, transparent 70%);
}
.cta .eyebrow {
  color: color-mix(in srgb, var(--tinte) 70%, transparent);
}
.cta .eyebrow::before {
  background: var(--tinte);
  box-shadow: none;
}
.cta__box h2 {
  margin-bottom: 12px;
}
.cta__box h2 em {
  background: none;
}
.cta__box p {
  margin: 0;
  max-width: 48ch;
  font-weight: 500;
}
.cta__actions {
  display: grid;
  gap: 10px;
}
@media (min-width: 900px) {
  .cta__box {
    grid-template-columns: 1.3fr auto;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(-1 * (var(--kopf-h) + var(--kopf-abstand)));
  padding: calc(var(--kopf-h) + var(--kopf-abstand) + clamp(32px, 6vw, 72px)) 0 clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--linie);
}
.page-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -300px;
  right: -260px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--akzent) 32%, transparent), transparent 62%);
}
.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 7.5vw, 4.2rem);
}
.page-hero__lead {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--grau);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
}
.hero-actions,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.page-hero .btn--ghost {
  --b-fg: var(--text);
  --b-bd: var(--linie);
  background: var(--flaeche);
}
.page-hero .btn--ghost:hover {
  --b-bd: var(--text);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--grau);
  font-size: 0.85rem;
  font-weight: 600;
}
.breadcrumbs li + li::before {
  content: '→';
  margin-right: 6px;
  color: var(--grau-hell);
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text);
}

/* ---------- Leistungsseite ---------- */
.leistung {
  display: grid;
  gap: 40px;
}
.leistung__main > .foto {
  margin-bottom: 36px;
  border-radius: var(--r-gross);
}
.leistung__side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.leistung__preise {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--linie);
}
.leistung__preise .ticket::before,
.leistung__preise .ticket::after {
  background: var(--grund);
}
@media (min-width: 1000px) {
  .leistung {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: start;
  }
  .leistung__side {
    position: sticky;
    top: calc(var(--kopf-h) + var(--kopf-abstand) + 24px);
  }
}
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin-top: 1.5em;
  font-size: clamp(1.6rem, 4.4vw, 2.1rem);
}
.prose h2:first-child {
  margin-top: 0;
}
.split > .prose h2:first-child {
  font-size: clamp(2rem, 6.4vw, 3rem);
}
.prose > p:first-child {
  font-size: 1.15rem;
  color: var(--text);
}
.prose p {
  color: var(--grau);
}
.prose strong {
  color: var(--text);
}
.prose ul {
  display: grid;
  gap: 10px;
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
}
.prose li {
  position: relative;
  padding-left: 30px;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--akzent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121210' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.side-card,
.card {
  padding: 26px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.side-card h2,
.card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
}
.side-card--dark {
  background: var(--tinte);
  color: var(--flaeche);
}
.side-card--dark p {
  color: var(--grau-hell);
  font-size: 0.96rem;
}
.checklist {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 0.96rem;
}
.checklist svg {
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--akzent-text);
  stroke-width: 3;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--linie-dunkel);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.side-link svg {
  color: var(--akzent-dunkel, var(--akzent));
}
.side-link:hover {
  color: var(--akzent-dunkel, var(--akzent));
}
.side-nav {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-klein);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
}
.side-nav a:hover {
  background: var(--grund);
}
.side-nav svg {
  color: var(--akzent-tief);
}

/* ---------- Über uns ---------- */
.licht {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-gross);
  background: var(--tinte);
}
.licht::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%, color-mix(in srgb, var(--akzent) 12%, transparent) 0deg 1.5deg, transparent 1.5deg 10deg),
    radial-gradient(circle, color-mix(in srgb, var(--akzent) 35%, transparent), transparent 60%);
}
.licht :is(img, svg) {
  position: relative;
  width: 58%;
  height: auto;
}
.wert {
  padding: 28px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.wert h3 {
  font-size: 1.4rem;
}
.wert p {
  margin: 0;
  color: var(--grau);
  font-size: 0.96rem;
}
.vorteil__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--akzent-hell);
  color: var(--tinte);
}
.mission {
  max-width: 920px;
  text-align: center;
}
.mission .eyebrow {
  justify-content: center;
}
.mission__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Kontakt ---------- */
.kanaele {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.kanal {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 18px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  text-decoration: none;
  transition: transform 0.25s var(--kurve), box-shadow 0.25s;
}
.kanal:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-gross);
}
.kanal__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--akzent);
}
.kanal__titel {
  color: var(--grau);
  font-size: 0.82rem;
  font-weight: 700;
}
.kanal__wert {
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-word;
}
.kontakt {
  display: grid;
  gap: 16px;
}
.kontakt__side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.zeiten dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0 0 12px;
}
.zeiten dt {
  font-weight: 700;
}
.zeiten dd {
  margin: 0;
}
@media (min-width: 960px) {
  .kanaele {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .kanal {
    padding: 24px;
  }
  .kontakt {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---------- Formulare ---------- */
.form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  gap: 16px;
}
.form-row--2 {
  grid-template-columns: 1fr 1fr;
}
.form-row--3 {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 700px) {
  .form-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 420px) {
  .form-row--2,
  .form-row--3 {
    grid-template-columns: 1fr;
  }
}
.field {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-weight: 700;
  font-size: 0.9rem;
}
.opt {
  color: var(--grau);
  font-weight: 500;
}
.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-klein);
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* mindestens 16 px: verhindert das automatische Hineinzoomen auf dem iPhone */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea {
  min-height: 120px;
  resize: vertical;
}
.select {
  appearance: none;
  padding-right: 42px;
  background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1916' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.input[type='date'],
.input[type='time'] {
  -webkit-appearance: none;
  appearance: none;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: color-mix(in srgb, var(--linie) 70%, var(--tinte));
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--tinte);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--akzent) 40%, transparent);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--tinte);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  margin: 0;
  font-weight: 700;
}
.form-status:empty {
  display: none;
}
.form-status[data-state='error'] {
  padding: 12px 16px;
  border-radius: var(--r-klein);
  background: color-mix(in srgb, var(--rot) 9%, var(--flaeche));
  color: var(--rot);
}
.form-status[data-state='sending'] {
  color: var(--grau);
}
.hinweis {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-klein);
  background: var(--grund);
}
.hinweis p {
  margin: 0;
}
.hinweis--warnung {
  background: var(--akzent-hell);
}
.hinweis--warnung a {
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Mehrstufige Anfrage ---------- */
.af-wrap {
  display: grid;
  gap: 16px;
}
/* Formular in einer Karte: kein zweiter Rahmen in der Karte */
.card > .af {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 700px) {
  .af-wrap > .card {
    padding: 40px;
  }
}
.af-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
@media (min-width: 960px) {
  .af-wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
  }
  .af-side {
    position: sticky;
    top: calc(var(--kopf-h) + var(--kopf-abstand) + 24px);
  }
}
.af {
  padding: 22px 18px;
  border-radius: var(--r-gross);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
@media (min-width: 700px) {
  .af {
    padding: 40px;
  }
}
.af__progress {
  display: none;
}
.af--steps .af__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.af__progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 3px solid var(--linie);
  color: var(--grau);
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.3s, color 0.3s;
}
.af__progress span {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grund-2);
  font-size: 0.78rem;
}
.af__progress li.is-active,
.af__progress li.is-done {
  border-color: var(--akzent-dunkel, var(--akzent));
  color: var(--text);
}
.af__progress li.is-active span,
.af__progress li.is-done span {
  background: var(--tinte);
  color: var(--akzent-dunkel, var(--akzent));
}
@media (max-width: 420px) {
  .af__progress li {
    font-size: 0;
    gap: 0;
  }
}
.af__step {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.af__legend {
  float: left;
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.af__hinweis {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--grau);
  font-size: 0.88rem;
}
.af__nav {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}
.af__nav [data-weiter],
.af__nav [data-senden] {
  flex: 1;
}
@media (min-width: 700px) {
  .af__nav {
    justify-content: flex-end;
  }
  .af__nav [data-weiter],
  .af__nav [data-senden] {
    flex: 0 0 auto;
  }
  .af__nav [data-zurueck] {
    margin-right: auto;
  }
}
.af__choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input,
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice__box {
  display: grid;
  gap: 10px;
  justify-items: start;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-klein);
  background: var(--flaeche);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.choice__box svg {
  width: 26px;
  height: 26px;
  color: var(--akzent-tief);
}
.choice__box strong {
  font-size: 0.95rem;
  line-height: 1.3;
}
/* Schmales Handy: kompakte Liste mit Symbol links statt hoher Kacheln */
@media (max-width: 420px) {
  .af__choices {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .choice__box {
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }
}
.choice:hover .choice__box {
  border-color: var(--grau-hell);
}
.choice input:checked + .choice__box {
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent);
}
.choice input:focus-visible + .choice__box,
.pill input:focus-visible + span {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
}
.label {
  font-weight: 700;
  font-size: 0.9rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  position: relative;
  cursor: pointer;
}
.pill span {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  font-size: 0.9rem;
  font-weight: 600;
}
.pill input:checked + span {
  border-color: var(--tinte);
  background: var(--tinte);
  color: var(--flaeche);
}
.af__hint {
  margin: 0;
  color: var(--grau);
  font-size: 0.95rem;
}
.af__hint[hidden],
.af__wunsch[hidden] {
  display: none;
}
.af__ort {
  grid-template-columns: minmax(90px, 1fr) 3fr;
}
.af__wunsch {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid var(--linie);
  border-radius: 12px;
}
.af__fehler {
  margin: 0;
  color: var(--rot);
  font-size: 0.9rem;
  font-weight: 600;
}
.af__fehler:empty {
  display: none;
}
.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 32px 20px;
  border: 2px dashed var(--linie);
  border-radius: var(--r);
  background: var(--grund);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.drop:hover,
.drop.is-over {
  border-color: var(--akzent);
  background: var(--akzent-hell);
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drop svg {
  width: 32px;
  height: 32px;
  color: var(--akzent-tief);
}
.drop span {
  color: var(--grau);
  font-size: 0.85rem;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thumbs:empty {
  display: none;
}
.thumbs li {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-klein);
  background: var(--grund-2);
  font-size: 0.75rem;
  text-align: center;
  word-break: break-all;
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--flaeche);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.form-note {
  margin: 12px 0 0;
  color: var(--grau);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Häkchen im Titelbereich ---------- */
.haekchen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--grau);
  font-size: 0.95rem;
  font-weight: 600;
}
.haekchen li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.haekchen svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--akzent-text);
  stroke-width: 3;
}
.hero .hero-actions {
  margin-top: 0;
}

/* ---------- Preisliste ---------- */
.preisliste {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 8px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  list-style: none;
}
.preisliste li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
}
.preisliste li + li {
  border-top: 1px solid var(--linie);
}
.preisliste__name {
  display: grid;
}
.preisliste__name small {
  color: var(--grau);
  font-size: 0.85rem;
}
.preisliste__linie {
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted var(--linie);
}
.preisliste__preis {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: var(--titel-gewicht, 500);
  white-space: nowrap;
}
.preisliste__hinweis {
  margin: 14px 0 0;
  color: var(--grau);
  font-size: 0.9rem;
}
.preise-seite {
  max-width: 820px;
}
.preise-seite > .muted {
  margin-top: 28px;
}

/* ---------- Referenzen ---------- */
.referenzen {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .referenzen {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .referenzen {
    grid-template-columns: repeat(3, 1fr);
  }
}
.referenz {
  display: grid;
  align-content: start;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.referenz__foto {
  display: block;
  overflow: hidden;
}
.referenz__foto .foto {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--kurve);
}
a.referenz__foto:hover .foto {
  transform: scale(1.04);
}
.referenz__text {
  padding: 18px 20px 22px;
}
.referenz__text h3 {
  margin-bottom: 6px;
}
.referenz__text p {
  margin: 0;
  color: var(--grau);
  font-size: 0.95rem;
}
.referenz__text .referenz__meta {
  margin-bottom: 6px;
  color: var(--akzent-tief);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter[hidden] {
  display: none;
}
.filter__btn {
  padding: 9px 16px;
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.filter__btn[aria-pressed='true'] {
  border-color: var(--tinte);
  background: var(--tinte);
  color: var(--flaeche);
}
.lightbox {
  max-width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: var(--tinte);
  color: var(--flaeche);
}
.lightbox::backdrop {
  background: color-mix(in srgb, var(--tinte) 80%, transparent);
}
.lightbox img {
  max-height: 80vh;
  margin: 0 auto;
}
.lightbox p {
  margin: 0;
  padding: 12px 18px;
  font-weight: 600;
}
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--flaeche);
  color: var(--tinte);
  cursor: pointer;
}
.lightbox__close svg {
  width: 20px;
  height: 20px;
}

/* ---------- Team: Rolle ---------- */
.person__rolle {
  margin: -6px 0 8px;
  color: var(--akzent-tief);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Kopfleiste hell (thema.kopf = „hell“ in app/kunde.json) ---------- */
.kopf-hell .kopf__insel {
  background: color-mix(in srgb, var(--flaeche) 94%, transparent);
  color: var(--text);
  box-shadow: var(--schatten), inset 0 0 0 1px var(--linie);
}

/* ---------- Danke ---------- */
.danke {
  padding: calc(var(--kopf-h) + 64px) 0 clamp(72px, 12vw, 140px);
  margin-top: calc(-1 * (var(--kopf-h) + var(--kopf-abstand)));
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--akzent) 25%, transparent), transparent 70%);
}
.danke__inner {
  max-width: 680px;
  text-align: center;
}
.danke__icon {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--akzent);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--akzent) 20%, transparent);
}
.danke__icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 3;
}
.danke__lead {
  font-size: 1.2rem;
  color: var(--grau);
}
.danke__wichtig {
  display: inline-flex;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-klein);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  text-align: left;
}
.danke__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0;
}
.danke__review {
  color: var(--grau);
}

/* ---------- Footer ---------- */
.footer {
  padding: clamp(56px, 9vw, 96px) 0 calc(100px + env(safe-area-inset-bottom));
  background: var(--tinte);
  color: rgb(255 255 255 / 0.7);
  font-size: 0.96rem;
}
.footer__oben {
  display: grid;
  gap: 20px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--linie-dunkel);
}
.footer__satz {
  margin: 0;
  color: var(--flaeche);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.footer__satz em {
  background: none;
  color: var(--akzent-dunkel, var(--akzent));
}
.footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--flaeche);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--akzent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
  padding-bottom: 40px;
}
.footer__brand {
  grid-column: 1 / -1;
}
.footer__brand .logo :is(img, svg) {
  height: 52px;
  margin-bottom: 16px;
}
.footer__brand p {
  max-width: 36ch;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--flaeche);
  font-weight: 700;
  text-decoration: none;
}
.footer__social:hover {
  color: var(--akzent-dunkel, var(--akzent));
}
.footer__title {
  margin-bottom: 14px;
  color: var(--flaeche);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__list a {
  text-decoration: none;
}
.footer__list a:hover {
  color: var(--akzent-dunkel, var(--akzent));
}
.footer__contact {
  grid-column: 1 / -1;
}
.footer__grid > div:last-child {
  grid-column: 1 / -1;
}
.footer__contact li {
  display: flex;
  gap: 10px;
  word-break: break-word;
}
.footer__contact svg {
  margin-top: 4px;
  color: var(--akzent-dunkel, var(--akzent));
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--linie-dunkel);
  font-size: 0.85rem;
}
.footer__bottom p {
  margin: 0;
}
.footer__bottom ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__bottom a {
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--akzent-dunkel, var(--akzent));
}
@media (min-width: 900px) {
  .footer {
    padding-bottom: 32px;
  }
  .footer__oben {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 40px;
  }
  .footer__brand,
  .footer__grid > div:last-child {
    grid-column: auto;
  }
}

/* ---------- Schnellkontakt (Handy) und WhatsApp (Desktop) ---------- */
.actionbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: column;
  grid-auto-columns: 68px;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tinte) 94%, transparent);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.06);
  transition: transform 0.35s var(--kurve), opacity 0.3s;
}
.actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: var(--flaeche);
  font-weight: 700;
  text-decoration: none;
}
.actionbar a svg {
  width: 22px;
  height: 22px;
}
/* Neben dem Hauptknopf: Symbol mit kurzer Beschriftung darunter, damit jeder Knopf ohne Raten verständlich ist */
.actionbar a:not(.actionbar__main) {
  flex-direction: column;
  gap: 3px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.actionbar a:not(.actionbar__main) svg {
  width: 20px;
  height: 20px;
}
.actionbar .actionbar__main {
  background: var(--akzent);
  color: var(--akzent-text);
}
/* WhatsApp in den Farben der Seite: erkennbar am Symbol, nicht am Markengrün */
.actionbar .actionbar__wa svg {
  color: var(--akzent);
}
.nav-open .actionbar,
.actionbar.is-versteckt {
  transform: translateY(140%);
  opacity: 0;
}
.wa-float {
  display: none;
}
@media (min-width: 1024px) {
  .actionbar {
    display: none;
  }
  .wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--tinte);
    color: var(--flaeche);
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1.5px var(--akzent), 0 16px 34px -12px rgb(0 0 0 / 0.4);
    transition: transform 0.25s var(--kurve);
  }
  .wa-float svg {
    color: var(--akzent);
  }
  .wa-float:hover {
    transform: translateY(-2px);
  }
}

/* ---------- Aktuelles & Events ---------- */
/* Hinweis auf das hervorgehobene Event über der Überschrift der Startseite */
.hinweis-aktuell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--flaeche);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--schatten);
}
.hinweis-aktuell > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hinweis-aktuell__marke {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hinweis-aktuell svg {
  flex: none;
  color: var(--akzent-dunkel, var(--akzent));
  transition: transform 0.25s var(--kurve);
}
.hinweis-aktuell:hover svg {
  transform: translateX(3px);
}
.hinweis-aktuell + .status {
  display: none;
}

.beitraege {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 360px);
  gap: 12px;
  margin-inline: calc(-1 * var(--rand));
  padding: 4px var(--rand) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rand);
  scrollbar-width: none;
}
.beitraege::-webkit-scrollbar {
  display: none;
}
.beitraege > * {
  scroll-snap-align: start;
}
@media (min-width: 760px) {
  .beitraege {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: auto;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}
@media (min-width: 1100px) {
  .beitraege {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bk {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  text-decoration: none;
  transition: transform 0.3s var(--kurve), box-shadow 0.3s;
}
.bk:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten-gross);
}
.bk__bild {
  position: relative;
  display: block;
  overflow: hidden;
}
.bk__bild .foto {
  border-radius: 0;
  transition: transform 0.8s var(--kurve);
}
.bk:hover .bk__bild .foto {
  transform: scale(1.04);
}
.bk__datum {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: 8px 10px 6px;
  border-radius: var(--r-klein);
  background: var(--flaeche);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--schatten);
}
.bk__datum strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.bk__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 8px;
  padding: 20px 22px 22px;
}
.bk__art {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--akzent-hell);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bk__titel {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.bk__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--grau);
  font-size: 0.85rem;
  font-weight: 600;
}
.bk__meta svg {
  width: 1em;
  height: 1em;
  color: var(--akzent-tief);
}
.bk__text {
  color: var(--grau);
  font-size: 0.95rem;
}
.bk__mehr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.92rem;
}
.bk__mehr svg {
  transition: transform 0.25s var(--kurve);
}
.bk:hover .bk__mehr svg {
  transform: translateX(4px);
}
.archiv__titel {
  font-size: 1.5rem;
}
.archiv {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linie);
}
.archiv a {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
}
.archiv span {
  color: var(--grau);
  font-size: 0.85rem;
}
@media (min-width: 700px) {
  .archiv a {
    grid-template-columns: 260px 1fr;
    gap: 20px;
  }
}

/* Beitrag und eigene Seite */
.artikel {
  display: grid;
  gap: 32px;
}
.artikel__bild {
  margin-bottom: 32px;
  border-radius: var(--r-gross);
}
.artikel__haupt .hinweis {
  margin-bottom: 24px;
}
.artikel__seite {
  display: grid;
  gap: 16px;
  align-content: start;
}
.artikel--voll .prose {
  max-width: 72ch;
}
/* Am Handy stehen Termin, Ort und Knopf vor dem Text */
@media (max-width: 999px) {
  .artikel__seite:has(.event-karte) {
    order: -1;
  }
}
@media (min-width: 1000px) {
  .artikel {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
  }
  .artikel--voll {
    grid-template-columns: minmax(0, 860px);
  }
  .artikel__seite {
    position: sticky;
    top: calc(var(--kopf-h) + var(--kopf-abstand) + 24px);
  }
}
.event-karte {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r);
  background: var(--flaeche);
  box-shadow: var(--schatten-gross);
}
.event-karte .eyebrow {
  margin-bottom: 4px;
}
.event-karte dl {
  display: grid;
  gap: 4px;
  margin: 0 0 8px;
}
.event-karte dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--grau);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-karte dt svg {
  color: var(--akzent-tief);
}
.event-karte dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
}
.event-karte dd small {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--grau);
}

/* „clip“ statt „hidden“: Bereiche mit überstehendem Lichtschein dürfen nicht seitlich mitscrollen,
   wenn ein Eingabefeld darin den Fokus bekommt (sonst verschiebt sich die Seite beim Tippen am Handy) */
.hero,
.page-hero,
.licht-sektion,
.cta__box {
  overflow: clip;
}

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--kurve), transform 0.8s var(--kurve);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .kopf,
  .menue,
  .actionbar,
  .wa-float,
  .cta,
  .footer {
    display: none;
  }
}
@media (min-width: 1024px) {
  .kopf-hell .nav__link {
    color: var(--grau);
  }
  .kopf-hell .nav__link:hover {
    color: var(--text);
    background: var(--grund-2);
  }
  .kopf-hell .nav__link.is-active {
    color: var(--akzent-tief);
  }
}
.kopf-hell .kopf__burger {
  background: var(--grund-2);
  color: var(--text);
}

/* ---------- Fußzeile: Orte des Einsatzgebiets (Links auf die Ortsseiten) ---------- */
.footer__orte {
  padding: 28px 0 8px;
  border-top: 1px solid var(--linie-dunkel);
}
.footer__orte ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__orte a {
  display: inline-block;
  padding-block: 6px;
  color: var(--grau-hell);
  font-size: 0.92rem;
  text-decoration: none;
}
.footer__orte a:hover {
  color: var(--akzent-dunkel, var(--akzent));
}

/* ---------- Betriebsurlaub: Hinweisband über der Kopfleiste (Verwaltung → Betriebsurlaub, site.js blendet nach Datum ein) ---------- */
.urlaub-band {
  position: relative;
  z-index: 101;
  background: var(--tinte);
  color: var(--flaeche);
  border-bottom: 3px solid var(--akzent);
  font-size: 0.9rem;
  line-height: 1.45;
}
.urlaub-band[hidden] {
  display: none;
}
.urlaub-band__inhalt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 10px;
}
.urlaub-band__zeichen {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-klein);
  background: var(--akzent);
  color: var(--akzent-text);
}
.urlaub-band__zeichen svg {
  width: 16px;
  height: 16px;
}
.urlaub-band p {
  margin: 3px 0 0;
}
.urlaub-band strong {
  color: var(--akzent-dunkel, var(--akzent));
}
