/* ==========================================================================
   ASM – Ambulante Sozialstation Mannheim
   Eigenes Stylesheet. Keine externen Abhängigkeiten.
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Maße ---------- */
:root {
  --pink: #ba135f;
  --pink-hell: #e2306f;
  --pink-zart: #fbe9f1;
  --wein: #681d49;
  --wein-dunkel: #4a1534;
  --text: #2a2127;
  --text-mild: #5e4d57;
  --linie: #e6dfe2;
  --bg: #ffffff;
  --bg-warm: #f2eeeb;
  --bg-soft: #f7f5f5;
  --gruen-wa: #25d366;

  --verlauf: linear-gradient(135deg, #c3175f 0%, #8d1650 100%);
  --verlauf-footer: linear-gradient(120deg, #f2357a 0%, #c0175a 100%);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 22px;
  --radius-gross: 40px;
  --schatten: 0 14px 40px rgba(104, 29, 73, .14);
  --breite: 1180px;
  --header-h: 72px;
  --mobilleiste-h: 0px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-bottom: var(--mobilleiste-h);
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); }
a:hover { color: var(--wein); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wein);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); color: var(--pink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.35rem; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--wein); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--warm { background: var(--bg-warm); }
.section--soft { background: var(--bg-soft); }
.zentriert { text-align: center; }
.zentriert .lead { margin-inline: auto; }

.dachzeile {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--pink);
  letter-spacing: .01em;
  margin-bottom: .35rem;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.2rem); max-width: 46rem; color: var(--text); }
.betont { color: var(--pink); font-weight: 700; }

/* Schräge Abschnittskanten (ASM-Stil) */
.schraeg-unten { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - clamp(28px, 5vw, 80px))); }
.schraeg-oben  { clip-path: polygon(0 clamp(28px, 5vw, 80px), 100% 0, 100% 100%, 0 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1.05rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--voll { background: var(--verlauf); color: #fff; box-shadow: 0 8px 22px rgba(186, 19, 95, .28); }
.btn--voll:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(186, 19, 95, .34); }
.btn--rand { border-color: var(--wein); color: var(--wein); background: transparent; }
.btn--rand:hover { background: var(--wein); color: #fff; }
.btn--weiss-rand { border-color: #fff; color: #fff; background: transparent; }
.btn--weiss-rand:hover { background: #fff; color: var(--wein); }
.btn--glas { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--glas:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: .8rem; }
.zentriert .btn-reihe { justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.header.ist-gescrollt { box-shadow: 0 6px 24px rgba(74, 21, 52, .08); border-bottom-color: var(--linie); }
.header__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.header__logo img { height: 52px; width: auto; }

.nav { display: none; }
.nav__liste { display: flex; align-items: center; gap: .3rem; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .9rem; border-radius: 999px;
  color: var(--wein); text-decoration: none; font-size: 1.05rem; font-weight: 500;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--pink); background: var(--pink-zart); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }

.nav__dropdown { position: relative; }
.nav__untermenue {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border-radius: 16px; box-shadow: var(--schatten);
  padding: .5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__dropdown.ist-offen .nav__untermenue,
.nav__dropdown:focus-within .nav__untermenue { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown.ist-offen .nav__link svg { transform: rotate(180deg); }
.nav__untermenue a {
  display: block; padding: .6rem .9rem; border-radius: 10px;
  color: var(--text); text-decoration: none; font-size: 1rem;
}
.nav__untermenue a:hover { background: var(--bg-soft); color: var(--pink); }

.header__tel {
  display: none; align-items: center; gap: .45rem;
  color: var(--pink); font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--pink); border-radius: 999px; padding: .5rem 1.05rem;
}
.header__tel:hover { background: var(--pink); color: #fff; }
.header__tel svg { width: 18px; height: 18px; }

.menue-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: transparent; color: var(--wein); cursor: pointer;
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
  display: block; width: 26px; height: 2.5px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s, background-color .2s;
}
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -8px; }
.menue-knopf span::after { top: 8px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobiles Menü */
.mobilmenue {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto;
  padding: 1rem 1.25rem calc(2rem + var(--mobilleiste-h));
  opacity: 0; transform: translateY(-10px); visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mobilmenue.ist-offen { opacity: 1; transform: none; visibility: visible; }
.mobilmenue ul { list-style: none; }
.mobilmenue > ul > li { border-bottom: 1px solid var(--linie); }
.mobilmenue > ul a { display: block; padding: 1rem .25rem; color: var(--wein); text-decoration: none; font-size: 1.2rem; font-weight: 600; }
.mobilmenue > ul .unterpunkte a { padding: .6rem .25rem .6rem 1rem; font-size: 1.05rem; font-weight: 400; color: var(--text); }
.mobilmenue .unterpunkte { padding-bottom: .6rem; }
.mobilmenue__kontakt { margin-top: 1.5rem; display: grid; gap: .7rem; }
.mobilmenue__kontakt .btn { width: 100%; }
body.menue-offen { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #faf8f8 0%, var(--bg-warm) 100%);
  padding: 2rem 0 clamp(4rem, 9vw, 7rem);
}
.hero__raster { display: grid; gap: 2.25rem; align-items: center; }
.hero__text .lead { color: var(--text-mild); margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: .35em; }
.hero__vorteile { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-top: 1.5rem; list-style: none; color: var(--wein); font-size: .98rem; font-weight: 600; }
.hero__vorteile li { display: flex; align-items: center; gap: .4rem; }
.hero__vorteile svg { width: 20px; height: 20px; color: var(--pink); flex: none; }

.hero__medien { position: relative; padding-bottom: 3.5rem; }
.hero__bild {
  position: relative; border-radius: var(--radius-gross); overflow: hidden;
  aspect-ratio: 4 / 3; background: #d9c7d0;
}
.hero__bild video, .hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(186, 19, 95, 0) 55%, rgba(226, 48, 111, .22)); pointer-events: none; }

.hero__kreis {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(86%, 330px); padding: 1.5rem 1.4rem 1.6rem;
  background: var(--verlauf); color: #fff; text-align: center;
  border-radius: 46% 46% 44% 44% / 52% 52% 48% 48%;
  box-shadow: 0 22px 50px rgba(186, 19, 95, .35);
}
.hero__kreis p {
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin: 0 0 .9rem;
}
.hero__kreis .btn { min-height: 46px; padding: .55rem 1.3rem; font-size: 1rem; }

/* ---------- Leistungskacheln ---------- */
.kacheln { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.kachel {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 10; color: #fff; text-decoration: none; box-shadow: var(--schatten);
}
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kachel:hover img { transform: scale(1.04); }
.kachel__titel {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1rem 1.15rem;
  background: linear-gradient(180deg, rgba(42, 20, 33, 0) 0%, rgba(42, 20, 33, .78) 100%);
  font-weight: 700; font-size: 1.3rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.kachel__titel svg { width: 20px; height: 20px; transition: transform .2s; }
.kachel:hover .kachel__titel svg { transform: translateX(4px); }

/* ---------- Leistungs-Reiter ---------- */
.reiter { margin-top: 2.5rem; }
.reiter__liste {
  display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .2rem .2rem 0; margin: 0 -1.25rem; padding-inline: 1.25rem;
  list-style: none; scrollbar-width: thin;
}
.reiter__knopf {
  scroll-snap-align: start; flex: 0 0 auto; width: 150px;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: .9rem .5rem 1rem; background: none; border: 0; border-bottom: 3px solid var(--linie);
  color: var(--wein); font: 600 .95rem/1.25 var(--sans); text-align: center; cursor: pointer;
  opacity: .72; transition: opacity .15s, border-color .15s;
}
.reiter__knopf svg { width: 54px; height: 54px; color: var(--wein); }
.reiter__knopf:hover { opacity: 1; }
.reiter__knopf[aria-selected="true"] { opacity: 1; border-bottom-color: var(--pink); color: var(--pink); }
.reiter__knopf[aria-selected="true"] svg { color: var(--pink); }

.reiter__panel {
  display: grid; gap: 1.5rem; margin-top: 1.75rem; padding: clamp(1.4rem, 4vw, 2.5rem);
  background: #fff; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(104, 29, 73, .08);
  text-align: left;
}
.reiter__panel[hidden] { display: none; }
.reiter__panel h3 { margin-bottom: .4rem; }
.reiter__panel p { color: var(--text-mild); }

.hakenliste { list-style: none; display: grid; gap: .55rem; }
.hakenliste li { position: relative; padding-left: 1.9rem; }
.hakenliste li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--pink-zart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba135f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Warum ASM ---------- */
.merkmale { display: grid; gap: 1rem; margin: 2.25rem auto 2.25rem; max-width: 980px; list-style: none; }
.merkmal {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  background: #fff; border-radius: 18px; padding: 1.1rem 1.25rem;
  box-shadow: 0 6px 20px rgba(104, 29, 73, .06);
}
.merkmal__icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink-zart); color: var(--pink);
}
.merkmal__icon svg { width: 26px; height: 26px; }
.merkmal strong { display: block; color: var(--wein); font-size: 1.08rem; line-height: 1.3; }
.merkmal span { color: var(--text-mild); font-size: .97rem; }

/* ---------- Banner ---------- */
.banner { position: relative; color: #fff; overflow: hidden; background: var(--wein); }
.banner__medien { position: absolute; inset: 0; }
.banner__medien video, .banner__medien img { width: 100%; height: 100%; object-fit: cover; }
.banner__medien::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(104, 29, 73, .88) 0%, rgba(186, 19, 95, .55) 55%, rgba(226, 48, 111, .25) 100%);
}
.banner__inhalt { position: relative; padding-block: clamp(6rem, 14vw, 10rem) clamp(4rem, 10vw, 7rem); }
.banner h2 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); max-width: 14ch; }
.banner p { font-size: 1.15rem; max-width: 34rem; opacity: .95; }

/* ---------- Schritte ---------- */
.schritte { display: grid; gap: 1.1rem; margin: 2.5rem 0; list-style: none; counter-reset: schritt; text-align: left; }
.schritt { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.6rem; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; left: 1.25rem; top: 1.3rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--verlauf); color: #fff;
  font: 700 1.15rem/1 var(--serif);
}
.schritt strong { display: block; color: var(--wein); font-size: 1.1rem; margin-bottom: .2rem; }
.schritt span { color: var(--text-mild); }

/* ---------- Kosten ---------- */
.kosten { display: grid; gap: 2rem; align-items: center; }
.kosten__bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.kosten__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hinweisbox {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--pink-zart); border-left: 4px solid var(--pink); border-radius: 0 16px 16px 0;
  padding: 1rem 1.2rem; margin: 1.4rem 0 1.8rem; color: var(--wein); font-weight: 600;
}
.hinweisbox svg { width: 26px; height: 26px; flex: none; color: var(--pink); margin-top: .1rem; }

/* ---------- Einsatzgebiet ---------- */
.gebiet { display: grid; gap: 2.25rem; align-items: center; margin-top: 2.25rem; }
.gebiet__karte { max-width: 340px; margin-inline: auto; }
.gebiet__karte img { width: 100%; }
@media (min-width: 900px) { .gebiet__karte { max-width: 500px; } }
.stadtteile { columns: 2; column-gap: 1.5rem; list-style: none; font-size: 1rem; }
.stadtteile li { overflow-wrap: anywhere; break-inside: avoid; padding: .3rem 0 .3rem 1.1rem; position: relative; color: var(--text); }
.stadtteile li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink-hell); }
.gebiet__zusatz { margin-top: 1.25rem; color: var(--text-mild); }

/* ---------- Über ASM / Abschluss ---------- */
.ueber { display: grid; gap: 2.25rem; align-items: center; }
.ueber h2 { color: var(--pink); }
.ueber__bild { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); max-width: 440px; margin-inline: auto; }
.ueber__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Footer ---------- */
.footer-oben { background: linear-gradient(180deg, var(--bg-warm) 0%, #faf8f8 100%); padding: 5rem 0 3rem; }
.footer-raster { display: grid; gap: 2.25rem; }
.footer-spalte h2 { font: 700 1.1rem/1.3 var(--sans); color: var(--pink); margin-bottom: 1rem; }
.footer-spalte ul { list-style: none; display: grid; gap: .55rem; }
.footer-spalte a { color: var(--wein); text-decoration: none; }
.footer-spalte a:hover { color: var(--pink); text-decoration: underline; }
.zeiten { display: grid; grid-template-columns: auto auto; gap: .3rem 1.2rem; justify-content: start; color: var(--wein); }

.siegel { display: flex; gap: 1rem; flex-wrap: wrap; }
.siegel__kreis {
  width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; line-height: 1.25;
}
.siegel__kreis--rand { border: 3px solid var(--wein); color: var(--wein); background: #fff; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7.5px var(--wein); }
.siegel__kreis--rand b { font: 700 2.6rem/1 var(--serif); }
.siegel__kreis--rand span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.siegel__kreis--voll { background: var(--verlauf); color: #fff; font-size: .86rem; font-weight: 600; box-shadow: 0 10px 26px rgba(186, 19, 95, .3); }
.siegel__kreis--voll svg { width: 30px; height: 30px; margin-bottom: .35rem; }

.footer-unten { background: var(--verlauf-footer); color: #fff; padding: 3rem 0 1.5rem; }
.footer-unten a { color: #fff; }
.footer-unten__raster { display: grid; gap: 2rem; }
.footer-unten__logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 6px; margin-bottom: 1rem; }
.footer-unten address { font-style: normal; line-height: 1.8; }
.footer-unten address a { text-decoration: none; }
.footer-unten address a:hover { text-decoration: underline; }
.sozial { display: flex; gap: .7rem; margin-top: .6rem; }
.sozial a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); transition: background-color .15s;
}
.sozial a:hover { background: rgba(255, 255, 255, .3); }
.sozial svg { width: 22px; height: 22px; }
.footer-recht {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .3); font-size: .93rem;
}
.footer-recht ul { display: flex; gap: 1.25rem; list-style: none; }

/* ---------- Kontakt-Schwebeknöpfe (Desktop) & Leiste (Handy) ---------- */
.schwebe { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 90; display: none; flex-direction: column; gap: .7rem; }
.schwebe a {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .15s;
}
.schwebe a:hover { transform: scale(1.07); }
.schwebe svg { width: 28px; height: 28px; }
.schwebe__tel { background: #fff; color: var(--pink); }
.schwebe__wa { background: var(--gruen-wa); color: #fff; }

.mobilleiste {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--linie);
  box-shadow: 0 -6px 20px rgba(74, 21, 52, .08);
}
.mobilleiste a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 1.02rem;
}
.mobilleiste svg { width: 22px; height: 22px; }
.mobilleiste__tel { background: var(--verlauf); color: #fff; }
.mobilleiste__wa { background: #fff; color: #128c4b; border: 2px solid var(--gruen-wa); }
.mobilleiste__tel:hover { color: #fff; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 899px) {
  :root { --mobilleiste-h: 74px; }
}

@media (min-width: 600px) {
  .kacheln { grid-template-columns: repeat(3, 1fr); }
  .kachel { aspect-ratio: 4 / 5; }
  .kachel__titel { font-size: 1.2rem; }
  .merkmale { grid-template-columns: repeat(3, 1fr); }
  .merkmal { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem; }
  .schritte { grid-template-columns: repeat(3, 1fr); }
  .schritt { padding: 4.4rem 1.4rem 1.5rem; }
  .schritt::before { top: 1.3rem; left: 1.4rem; }
  .footer-raster { grid-template-columns: repeat(2, 1fr); }
  .footer-unten__raster { grid-template-columns: repeat(2, 1fr); }
  .stadtteile { columns: 3; }
}

@media (min-width: 900px) {
  :root { --header-h: 100px; }
  body { font-size: 1.125rem; }               /* 18px */
  .header__logo img { height: 70px; }
  .header__tel { display: inline-flex; margin-left: auto; }
  .mobilleiste { display: none; }
  .schwebe { display: flex; }

  .hero { padding-top: 3.5rem; }
  .hero__raster { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .hero__medien { padding-bottom: 0; padding-left: 2.5rem; }
  .hero__bild { aspect-ratio: 1 / 1.02; }
  .hero__kreis { left: 0; transform: none; bottom: -2.5rem; width: 330px; padding: 2.4rem 1.8rem 2.6rem; }
  .hero__kreis p { font-size: 1.6rem; }

  .kachel { aspect-ratio: 1 / 1; }
  .kachel__titel { font-size: 1.35rem; }

  .reiter__panel { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.5rem; }

  .kosten { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .gebiet { grid-template-columns: 500px 1fr; gap: 4rem; }
  .gebiet__karte { margin: 0; }
  .ueber { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
  .ueber__bild { margin: 0 0 0 auto; }

  .footer-raster { grid-template-columns: 1fr 1fr 1.1fr auto; }
  .footer-unten__raster { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* Volle Navigation erst, wenn alle Punkte in eine Zeile passen */
@media (min-width: 1140px) {
  .nav { display: block; }
  .header__tel { margin-left: 0; }
  .menue-knopf, .mobilmenue { display: none; }
  .reiter__liste { justify-content: center; margin: 0; padding-inline: 0; overflow: visible; flex-wrap: wrap; row-gap: .5rem; }
  .reiter__knopf { width: auto; flex: 0 1 calc((100% - 2.5rem) / 6); min-width: 0; padding-inline: .25rem; font-size: .92rem; }
  .reiter__knopf svg { width: 46px; height: 46px; }
}

@media (min-width: 1200px) {
  .reiter__knopf { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.nav__link.ist-aktiv { color: var(--pink); background: var(--pink-zart); }

/* Seitenkopf */
.seitenkopf {
  background: linear-gradient(180deg, #faf8f8 0%, var(--bg-warm) 100%);
  padding: 1.75rem 0 clamp(4rem, 8vw, 6rem);
}
.seitenkopf__raster { display: grid; gap: 2rem; align-items: center; }
.seitenkopf h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); color: var(--wein); }
.seitenkopf h1 em { font-style: normal; color: var(--pink); }
.seitenkopf .lead { color: var(--text-mild); margin-bottom: 1.5rem; }
.seitenkopf__bild { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); }
.seitenkopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.krumen { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .92rem; color: var(--text-mild); margin-bottom: 1.25rem; }
.krumen li + li::before { content: "›"; margin-right: .3rem; color: var(--pink); }
.krumen a { color: var(--text-mild); text-decoration: none; }
.krumen a:hover { color: var(--pink); text-decoration: underline; }

/* Zweispaltiger Fließtext mit Bild */
.inhalt-raster { display: grid; gap: 2.25rem; align-items: start; }
.inhalt-bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.inhalt-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.text-max { max-width: 46rem; }
.text-max--mitte { margin-inline: auto; }

/* Bereichs-Überschrift links */
.bereich-kopf { margin-bottom: 2rem; }
.bereich-kopf .lead { color: var(--text-mild); }

/* Leistungskarten */
.karten { display: grid; gap: 1.25rem; list-style: none; }
.karte {
  display: flex; flex-direction: column; gap: .75rem;
  background: #fff; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: 0 8px 28px rgba(104, 29, 73, .08); border: 1px solid #f0e8ec;
}
.karte__kopf { display: flex; align-items: center; gap: .9rem; }
.karte__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--pink-zart); color: var(--pink); }
.karte__icon svg { width: 38px; height: 38px; }
.karte h3 { margin: 0; font-size: 1.3rem; }
.karte p { color: var(--text-mild); margin: 0; }
.karte .hakenliste { font-size: 1rem; }
.karte__link { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.karte__link svg { width: 18px; height: 18px; transition: transform .2s; }
.karte__link:hover svg { transform: translateX(3px); }
.marke { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--wein); background: var(--bg-warm); border-radius: 999px; padding: .2rem .7rem; }

/* Akkordeon (ASM-Pill-Stil) */
.akkordeon { display: grid; gap: .75rem; max-width: 52rem; }
.akkordeon details { border: 2px solid var(--wein); border-radius: 26px; background: #fff; transition: border-color .15s; }
.akkordeon details[open] { border-color: var(--pink); }
.akkordeon summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.25rem; font-weight: 600; color: var(--wein); font-size: 1.04rem;
}
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary svg { width: 22px; height: 22px; flex: none; color: var(--pink); transition: transform .2s; }
.akkordeon details[open] summary svg { transform: rotate(45deg); }
.akkordeon details > div { padding: 0 1.25rem 1.1rem; color: var(--text-mild); }
.akkordeon details > div p:last-child { margin-bottom: 0; }

/* Info-Kacheln (Zahlen/Fakten) */
.fakten { display: grid; gap: 1rem; list-style: none; margin: 1.5rem 0; }
.fakt { background: var(--bg-soft); border-radius: 18px; padding: 1.1rem 1.25rem; }
.fakt b { display: block; font-family: var(--serif); color: var(--pink); font-size: 1.25rem; line-height: 1.25; margin-bottom: .2rem; }
.fakt span { color: var(--text-mild); font-size: .98rem; }

/* CTA-Band */
.cta-band { background: var(--verlauf); color: #fff; border-radius: var(--radius-gross); padding: clamp(2rem, 5vw, 3.25rem); display: grid; gap: 1.5rem; align-items: center; box-shadow: 0 18px 44px rgba(186, 19, 95, .28); }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn--voll { background: #fff; color: var(--wein); box-shadow: none; }
.cta-band .btn--voll:hover { color: var(--pink); }

/* Kontakt */
.kontaktkarten { display: grid; gap: 1rem; list-style: none; }
.kontaktkarte {
  display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem;
  background: #fff; border-radius: 18px; border: 1px solid #f0e8ec; border-bottom: 3px solid var(--pink);
  box-shadow: 0 6px 22px rgba(104, 29, 73, .07); text-decoration: none; color: var(--text);
}
a.kontaktkarte:hover { border-color: var(--pink); color: var(--text); }
.kontaktkarte__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-zart); color: var(--pink); }
.kontaktkarte__icon svg { width: 24px; height: 24px; }
.kontaktkarte small { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mild); }
.kontaktkarte strong { color: var(--wein); font-size: 1.05rem; }

.kontakt-raster { display: grid; gap: 1.5rem; align-items: start; }
.zeitenbox { background: var(--verlauf); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; box-shadow: 0 14px 36px rgba(186, 19, 95, .25); }
.zeitenbox h2 { color: #fff; font: 700 1.2rem/1.3 var(--sans); display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.zeitenbox h2 svg { width: 22px; height: 22px; }
.zeitenbox dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.zeitenbox dt, .zeitenbox dd { margin: 0; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.zeitenbox dd { font-weight: 700; text-align: right; }
.zeitenbox p { margin: 1rem 0 0; font-size: .95rem; opacity: .9; }
.adressbox { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid #f0e8ec; }
.adressbox h2 { font: 700 1.2rem/1.3 var(--sans); color: var(--wein); margin-bottom: .6rem; }
.adressbox address { font-style: normal; margin-bottom: 1rem; }

/* Formular */
.formular { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: 0 14px 40px rgba(104, 29, 73, .1); border-top: 4px solid var(--pink); }
.formular h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.formular > p { color: var(--text-mild); }
.feld-raster { display: grid; gap: 1rem; }
.feld label { display: block; font-weight: 600; color: var(--wein); margin-bottom: .35rem; font-size: .98rem; }
.feld label .opt { font-weight: 400; color: var(--text-mild); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--text);
  padding: .8rem 1rem; border: 1.5px solid #dcd0d6; border-radius: 12px; background: #fdfbfc;
  transition: border-color .15s, box-shadow .15s;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(186, 19, 95, .12); background: #fff; }
.feld--zwei { display: grid; gap: 1rem; }
.hinweis-klein { font-size: .9rem; color: var(--text-mild); }
.einwilligung { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--text-mild); }
.einwilligung input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--pink); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .btn { width: 100%; }
.form-meldung { display: none; border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.25rem; font-weight: 600; }
.form-meldung.ist-ok { display: block; background: #e8f6ee; color: #135a32; border: 1px solid #b5e0c6; }
.form-meldung.ist-fehler { display: block; background: #fdecef; color: #8a1638; border: 1px solid #f3c0cd; }

/* Rechtstexte */
.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 2.2rem; }
.rechtstext h3 { font: 700 1.1rem/1.35 var(--sans); color: var(--wein); margin: 1.5rem 0 .4rem; }
.rechtstext ul { padding-left: 1.2rem; margin: 0 0 1em; }
.rechtstext li { margin-bottom: .35rem; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }

@media (min-width: 600px) {
  .karten--2, .karten--3 { grid-template-columns: repeat(2, 1fr); }
  .fakten { grid-template-columns: repeat(3, 1fr); }
  .kontaktkarten { grid-template-columns: repeat(2, 1fr); }
  .feld--zwei { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .seitenkopf { padding-top: 2.5rem; }
  .seitenkopf__raster { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
  .inhalt-raster { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; }
  .inhalt-raster--umgekehrt { grid-template-columns: 1fr 1.3fr; }
  .karten--3 { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; }
  .kontaktkarten { grid-template-columns: repeat(4, 1fr); }
  .kontaktkarte { flex-direction: column; align-items: flex-start; }
  .kontakt-raster { grid-template-columns: 1fr 1.35fr; gap: 2rem; }
}

/* Hilfsklassen */
.seitenkopf--klein { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.seitenkopf--klein h1 { margin-bottom: .2em; }
.fakten--eins { grid-template-columns: 1fr !important; margin-top: 0; }
.schritte--eins { grid-template-columns: 1fr !important; margin-top: 1rem; }
.schritte--eins .schritt { padding: 1.3rem 1.3rem 1.3rem 4.4rem; }
.schritte--eins .schritt::before { top: 1.2rem; left: 1.1rem; }
.merkmale--vier { max-width: none; }
.abstand-oben { margin-top: 1rem; }
.abstand-oben-gross { margin-top: 2.5rem; }
.ohne-abstand { margin: 0; }
.stapel { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .merkmale--vier { grid-template-columns: repeat(4, 1fr); } }

/* Fotos: Bildausschnitt auf die Personen ausrichten */
.bild-hero { object-position: 40% 35%; }
.bild-banner { object-position: 50% 30%; }

/* ---------- Hero: lebendiger ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {                       /* weicher Pink-Schimmer im Hintergrund */
  content: ""; position: absolute; right: -15%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; background: radial-gradient(circle, rgba(226, 48, 111, .14) 0%, rgba(226, 48, 111, 0) 65%); pointer-events: none;
}
.hero__deko {                         /* versetzter Rahmen hinter dem Bild */
  position: absolute; inset: 1.4rem -0.9rem 4.6rem 1.4rem; border: 3px solid var(--pink-hell); border-radius: var(--radius-gross);
  opacity: .5; pointer-events: none;
}
.hero__bild { z-index: 1; box-shadow: 0 30px 60px rgba(104, 29, 73, .22); }
.hero__karte {
  position: absolute; z-index: 2; top: 1rem; right: .6rem;
  display: flex; align-items: center; gap: .7rem; max-width: 250px;
  background: #fff; border-radius: 18px; padding: .75rem 1rem; box-shadow: 0 14px 34px rgba(74, 21, 52, .18);
  font-size: .86rem; line-height: 1.3; color: var(--text-mild);
}
.hero__karte strong { display: block; color: var(--wein); font-size: 1rem; }
.hero__karte-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-zart); color: var(--pink); }
.hero__karte-icon svg { width: 22px; height: 22px; }
.hero__kreis { z-index: 2; }
.ueber__bild img.bild-wer { aspect-ratio: 1 / 1; object-position: 76% 50%; }

@media (min-width: 900px) {
  .hero { padding-bottom: 8rem; }
  .hero__raster { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .hero__bild { aspect-ratio: 1.08 / 1; }
  .hero__deko { inset: 2rem -1.6rem -1.6rem 4.5rem; }
  .hero__karte { top: 2rem; right: -1.5rem; }
  .hero__kreis { left: -1rem; bottom: -3.5rem; }
}
@media (max-width: 899px) {
  .hero__deko, .hero__karte { display: none; }
}
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(3rem, 4.4vw, 4.1rem); }
}

/* ---------- Hero in Banner-Optik ---------- */
.banner--hero .banner__inhalt { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(6rem, 12vw, 10rem); }
.banner--hero .dachzeile { color: #fff; opacity: .92; }
.banner--hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 4.6rem); max-width: 12ch; text-shadow: 0 2px 18px rgba(74, 21, 52, .25); }
.banner--hero p { max-width: 32rem; margin-bottom: 1.6rem; }
.banner--hero .btn--voll { background: #fff; color: var(--wein); box-shadow: 0 10px 26px rgba(42, 20, 33, .25); }
.banner--hero .btn--voll:hover { color: var(--pink); }
.banner--hero .hero__vorteile { color: #fff; }
.banner--hero .hero__vorteile svg { color: #fff; }
.passt__bild { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); }
.passt__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.passt .btn-reihe { margin-top: .5rem; }
@media (max-width: 899px) {
  .banner--hero .banner__medien::after { background: linear-gradient(180deg, rgba(104, 29, 73, .55) 0%, rgba(104, 29, 73, .82) 55%, rgba(186, 19, 95, .9) 100%); }
  .banner--hero .bild-banner { object-position: 72% 30%; }
}
@media (min-width: 900px) {
  .passt { align-items: center; }
  .passt__bild img { aspect-ratio: 1 / 1.05; }
}
.schritte { padding: 0; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: calc(1rem + var(--mobilleiste-h));
  max-width: 560px; margin-left: auto; margin-right: auto;
  background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(42, 20, 33, .28); border-top: 4px solid var(--pink);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__innen { padding: 1.25rem 1.4rem 1.3rem; }
.cookie-banner__titel { font: 700 1.15rem/1.3 var(--serif); color: var(--wein); margin-bottom: .4rem; }
.cookie-banner p { font-size: .93rem; color: var(--text-mild); line-height: 1.55; }
.cookie-banner__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem; }
.cookie-banner__knoepfe .btn { min-height: 46px; padding: .55rem 1rem; font-size: .98rem; width: 100%; }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.link-knopf:hover { opacity: .85; }
@media (min-width: 900px) {
  .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; margin: 0; }
}
