/* ─────────────────────────────────────────────
   Bestattungshaus Otten — Design System
   Pietätvoll, modern, Linear-Stil, Mühlenmotiv
   ───────────────────────────────────────────── */

:root {
  /* Papier & Tinte */
  --paper:        #FBFAF8;
  --paper-2:      #F4F1ED;
  --paper-3:      #E8E3DE;
  --ink:          #1B1620;
  --ink-soft:     #5A5260;
  --mute:         #8B8390;
  --rule:         #DDD7DC;
  --rule-soft:    #ECE7E9;

  /* Lila Akzente */
  --purple-900:   #2E1140;
  --purple-800:   #3D1E4F;
  --purple-700:   #50296A;
  --purple-500:   #7B4DA0;
  --purple-300:   #B8A1C9;
  --purple-100:   #ECE3F2;
  --purple-50:    #F6F0FA;

  /* Type */
  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --body:    "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --max:      1280px;
  --pad-x:    clamp(20px, 4vw, 56px);
  --section:  clamp(80px, 10vw, 160px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ── Seitenweiter Mühlen-Hintergrund (fixiert) ── */
html {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(251,250,248,0.88), rgba(251,250,248,0.88)),
    url('/assets/muehle.png');
  background-attachment: scroll, fixed;
  background-repeat: no-repeat;
  background-position: top left, center center;
  background-size: auto, clamp(900px, 90vw, 1400px) auto;
}

/* ── Cursor-Follower: Mühlenrad zieht der Maus nach ── */
#cursor-wheel-follow {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  pointer-events: none;
  z-index: 9999;
  color: var(--purple-800);
  opacity: 0;
  will-change: transform;
}

body {
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ───────── Typografie ───────── */
.h-display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--ink);
}
.h-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--purple-800);
}
.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--purple-700);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--purple-700);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.kicker {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--purple-800);
}

/* Helpers */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.rule { height: 1px; background: var(--rule); width: 100%; }

/* ───────── Top Navigation ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,248,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
/* ── Desktop: 2-Zeilen-Header (Logo links, oben Telefon/CTA, unten Nav) ── */
.nav {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0;
  /* padding kommt vom .container — kein padding: 0 hier, sonst überschreibt es var(--pad-x) */
}
.nav-logo {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 16px 40px 16px 0;
  transition: padding 0.35s ease;
}
.nav-logo img {
  height: 104px;
  width: auto;
  transition: height 0.35s ease;
}
/* Beim Scrollen: Logo + Padding schrumpfen mit der oberen Zeile */
/* Logo-Schrumpfen nur auf Desktop */
@media (min-width: 981px) {
  .topbar.is-scrolled .nav-logo {
    padding: 8px 32px 8px 0;
  }
  .topbar.is-scrolled .nav-logo img {
    height: 60px;
  }
}

/* Obere Zeile: nur Telefon — verschwindet beim Scrollen */
.nav-upper {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  /* Scroll-Transition */
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.2s ease, border-color 0.35s ease;
}
.topbar.is-scrolled .nav-upper {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-color: transparent;
}

/* Untere Zeile: Navigation zentriert + CTA rechts */
.nav-bottom {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  padding: 14px 0;
  transition: padding 0.35s ease;
}
.topbar.is-scrolled .nav-bottom {
  padding: 10px 0;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 14px;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--purple-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--purple-700);
}

/* Burger: auf Desktop unsichtbar */
.nav-burger { display: none; }

.nav-phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
}
.nav-phone strong { color: var(--ink); font-weight: 500; letter-spacing: 0.02em; }

/* Social-Media-Icons (nav-upper + mobile) */
.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  line-height: 1;
}
.nav-social a:hover { color: var(--purple-700); }
.mobile-nav-social {
  gap: 20px;
  padding: 4px 0 2px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  background: var(--purple-800);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background .25s ease;
}
.nav-cta:hover { background: var(--purple-900); }
.nav-cta .dot,
.mobile-nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #B8A1C9; box-shadow: 0 0 0 0 rgba(184,161,201,0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,161,201,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(184,161,201,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,161,201,0); }
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 10vw, 150px);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.hero-left { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(48px, 6.6vw, 96px);
  margin: 28px 0 24px;
  max-width: 14ch;
}
.hero-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--purple-800); color: #fff; }
.btn-primary:hover { background: var(--purple-900); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--purple-700); color: var(--purple-800); }
.btn .arrow {
  width: 16px; height: 1px; background: currentColor;
  position: relative;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-right {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-mill {
  width: 100%;
  max-width: 720px;
  opacity: 0.72;
  filter: saturate(0.85);
  mix-blend-mode: multiply;
  transform: translateY(8px);
}
.hero-meta {
  display: flex;
  gap: 56px;
  margin-top: clamp(60px, 8vw, 96px);
  padding-top: 28px;
  align-items: flex-start;
  justify-content: center;
}
.hero-meta .item { max-width: 240px; }
.hero-meta .item .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  color: var(--purple-500);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.hero-meta .item .lbl {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

/* Decorative water-wheel mark, top right of hero */
.hero-wheel {
  position: absolute;
  top: 36px; right: var(--pad-x);
  width: 80px; height: 80px;
  color: var(--purple-300);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero-wheel svg { width: 100%; height: 100%; animation: turn 80s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* ───────── Statement / Trauerspruch ───────── */
.statement {
  padding: var(--section) 0;
  text-align: center;
  position: relative;
}
.statement-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.35;
  max-width: 22ch;
  margin: 22px auto 0;
  color: var(--ink);
}
.statement-quote::before,
.statement-quote::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: var(--purple-300);
  margin: 0 auto 22px;
}
.statement-quote::after { margin: 22px auto 0; }
.statement-attr {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ───────── Bestattungsarten ───────── */
.services { padding-bottom: var(--section); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 60px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 18px 0 0;
}
.section-head h2 em { font-style: italic; color: var(--purple-800); }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 48ch; }

.cards-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.card {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--rule);
  background: transparent;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 320px;
  transition: background .35s ease;
}
.card:last-child { border-right: none; }
.card:hover { background: var(--purple-50); }
.card-icon {
  width: 44px; height: 44px;
  color: var(--purple-800);
  margin-bottom: 24px;
}
.card-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
}
.card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 14px;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
  flex: 1;
}
.card-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--purple-800);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.card-link .arrow { width: 18px; }
.card:hover .card-link .arrow { width: 26px; transition: width .25s ease; }

/* ───────── About / Team ───────── */
.about {
  background: var(--paper-2);
  position: relative;
  padding: var(--section) 0;
  overflow: hidden;
}
.about-bg-mill {
  position: absolute;
  right: -120px; bottom: -80px;
  width: 880px;
  opacity: 0.18;
  pointer-events: none;
  filter: grayscale(0.3);
  mix-blend-mode: multiply;
}
.about-inner { position: relative; z-index: 2; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}
.about-text h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 18px 0 24px;
  max-width: 16ch;
}
.about-text h2 em { font-style: italic; color: var(--purple-800); }
.about-text p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 52ch;
}
.about-text .sig {
  margin-top: 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--purple-800);
}
.about-text .sig-role {
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}

/* Team portraits */
.team {
  position: relative;
  height: 540px;
}
.portrait {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(45, 17, 64, 0.18);
}
.portrait .ph {
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, var(--paper-2) 0, var(--paper-2) 8px, var(--paper-3) 8px, var(--paper-3) 16px);
  display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-soft); letter-spacing: 0.05em;
}
.portrait .badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(251,250,248,0.96);
  backdrop-filter: blur(6px);
  padding: 12px 16px;
  border-left: 2px solid var(--purple-700);
}
.portrait .badge .nm {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
}
.portrait .badge .rl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
}
/* Portrait-Fotos (Startseite & Unterseiten) */
.portrait img,
.sp-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
/* Edwin: Fokus etwas tiefer, da Ganzkörperbild */
.portrait.edwin img {
  object-position: center 10%;
}

/* Lucas - groß, unten links, hinter Edwin */
.portrait.lucas {
  left: 0; bottom: 0;
  width: 64%; height: 460px;
  z-index: 1;
}
/* Edwin - kleiner, oben rechts, komplett sichtbar */
.portrait.edwin {
  right: 0; top: 0;
  width: 46%; height: 320px;
  z-index: 2;
}

/* ───────── Vorsorge banner ───────── */
.vorsorge {
  background: var(--purple-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vorsorge-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.vorsorge-inner .wheel-bg {
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  opacity: 0.16;
  color: #fff;
  pointer-events: none;
}
.vorsorge-inner .wheel-bg svg { animation: turn 120s linear infinite; }
.vorsorge h3 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0;
  max-width: 18ch;
  line-height: 1.15;
}
.vorsorge .vorsorge-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-300);
  display: block;
  margin-bottom: 12px;
}
.vorsorge p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 36ch;
  position: relative; z-index: 2;
}
.vorsorge .btn {
  background: #fff;
  color: var(--purple-900);
  position: relative; z-index: 2;
}
.vorsorge .btn:hover { background: var(--purple-100); }

/* ───────── Notfall strip ───────── */
.emergency {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 48px 0;
}
.emergency-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.emergency .col .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.emergency .col .val {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}
.emergency .col .val.phone {
  color: var(--purple-800);
  font-style: italic;
}

/* ───────── Footer ───────── */
.footer {
  padding: 100px 0 40px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.footer-bg-wheel {
  position: absolute;
  left: -200px; bottom: -200px;
  width: 600px; height: 600px;
  color: var(--purple-100);
  opacity: 0.7;
  pointer-events: none;
  animation: turn 90s linear infinite;
  transform-origin: center center;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.footer-logo img { height: 64px; width: auto; }
.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-top: 24px;
  max-width: 30ch;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 8px 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; color: var(--ink-soft); }
.footer-col li a:hover { color: var(--purple-800); }
.footer-base {
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--mute);
  position: relative; z-index: 2;
}
.footer-base .sep { margin: 0 12px; }

/* ───────── Unterseiten-Hero (Photo) ───────── */
.page-hero {
  position: relative;
  height: clamp(300px, 38vh, 460px);
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Gradient + Foto kommen als inline-style direkt auf das Element,
     damit jede Seite ihr eigenes Bild setzen kann. */
  background-size: cover;
  background-position: center 42%;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.page-hero-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--purple-300);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--purple-300);
  flex-shrink: 0;
}

/* H1-Titel */
.page-hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  color: #fff;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.page-hero-title em {
  font-style: italic;
  color: var(--purple-300);
}

/* Minimaler Abstand auf leeren Seiten */
.subpage-main:empty {
  min-height: 120px;
}

/* ───────── Unterseiten-Content (sp-* Namespace) ───────── */

/* Basis-Sections */
.sp-section          { padding: var(--section) 0; }
.sp-section--tinted  { background: var(--paper-2); }
.sp-section--following {     padding-top: 0 !important; }

/* Unterseiten-H2 */
.sp-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin: 20px 0 28px;
  max-width: 20ch;
}
.sp-h2 em { font-style: italic; color: var(--purple-800); }

/* Fließtext */
.sp-prose p {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 54ch;
}
.sp-prose p:last-child { margin-bottom: 0; }

/* Volle-Breite-Intro über sp-two-col (Überschrift nie neben Inhalt) */
.sp-section-intro {
  margin-bottom: clamp(32px, 4vw, 52px);
}
.sp-section-intro .sp-h2 { max-width: 28ch; }

/* Lead-Text (Einleitung vor Value-Grid etc.) */
.sp-lead-text {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  max-width: 58ch;
  margin: 0 0 8px;
}

/* Intro-Zeile: Text links, Adresskarte rechts */
.sp-intro-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.sp-intro-text {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  max-width: 50ch;
  margin: 0;
}

/* Adresskarte */
.sp-address-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 26px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--purple-700);
  font-style: normal;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 8px;
}
.sp-section--tinted .sp-address-card { background: var(--paper-3); }
.sp-address-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.sp-address-card strong { color: var(--ink); font-weight: 500; display: block; }
.sp-address-phone {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--purple-800);
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.sp-address-hours {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* Intro-Rechte-Spalte: Bild füllt gesamte Höhe, Adresskarte liegt drüber */
.sp-intro-right {
  position: relative;
  min-height: 300px;
}
/* Bild füllt die gesamte rechte Spalte */
.sp-intro-building {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.sp-intro-building img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Adresskarte liegt oben drüber */
.sp-intro-right .sp-address-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
}

/* Zwei-Spalten-Layout */
.sp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: stretch;
}
.sp-two-col .sp-prose .sp-h2 { max-width: 22ch; }

/* Geschichte: Jahres-Marker */
.sp-history-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.sp-history-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.sp-history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-year {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(72px, 8vw, 108px);
  color: var(--purple-800);
  line-height: 1;
  display: block;
}
.sp-year-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: block;
  margin-top: 8px;
  max-width: 24ch;
}
.sp-history-line {
  width: 1px;
  height: 48px;
  background: var(--rule);
  margin: 20px 0;
}
.sp-origin-name {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

/* Werte-Grid (3 Spalten) */
.sp-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 48px;
}
.sp-value-item {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--rule);
}
.sp-value-item:last-child { border-right: none; }
.sp-value-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 20px;
}
.sp-value-item h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.1;
}
.sp-value-item h3 em { font-style: italic; color: var(--purple-800); }
.sp-value-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* Person-Sektion: Portrait + Text */
.sp-person-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}
.sp-portrait-wrap { position: relative; padding-bottom: 24px; }
.sp-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(45,17,64,0.15);
}
.sp-portrait .ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--paper-2) 0, var(--paper-2) 8px,
    var(--paper-3) 8px, var(--paper-3) 16px
  );
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.sp-portrait-badge {
  position: absolute;
  bottom: 0;
  left: -16px;
  background: rgba(251,250,248,0.97);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
  border-left: 2px solid var(--purple-700);
  box-shadow: 0 8px 24px rgba(27,22,32,0.10);
}
.sp-portrait-badge .nm {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}
.sp-portrait-badge .rl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
}
.sp-person-text .sp-h2 { max-width: 22ch; }
.sp-person-text .sp-prose p { max-width: 52ch; }

/* Zitat-Block */
.sp-quote {
  margin: 36px 0 0;
  padding: 26px 30px;
  border-left: 2px solid var(--purple-300);
  background: var(--purple-50);
}
.sp-quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 12px;
}
.sp-quote cite {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
}

/* Räume: 2×2 Kachel-Grid */
.sp-rooms-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}
.sp-room-card {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.sp-room-card:nth-child(2n)        { border-right: none; }
.sp-room-card:nth-last-child(-n+2) { border-bottom: none; }
.sp-room-card svg {
  width: 30px; height: 30px;
  color: var(--purple-700);
  margin-bottom: 14px;
  display: block;
}
.sp-room-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}
.sp-room-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Mühlenstadt-Band (dunkel) */
.sp-muehle-band {
  background: var(--purple-900);
  color: #fff;
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sp-muehle-wheel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  opacity: 0.07;
  color: #fff;
  pointer-events: none;
}
.sp-muehle-wheel svg { width: 100%; height: 100%; animation: turn 120s linear infinite; }
.sp-muehle-inner { position: relative; z-index: 2; }
.sp-muehle-band .eyebrow          { color: var(--purple-300); justify-content: center; }
.sp-muehle-band .eyebrow::before  { background: var(--purple-300); }
.sp-muehle-band h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px);
  color: #fff;
  margin: 20px auto 24px;
  max-width: 28ch;
  line-height: 1.25;
}
.sp-muehle-band h2 em { font-style: italic; color: var(--purple-300); }
.sp-muehle-band p {
  font-size: clamp(15px, 1.05vw, 17px);
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.72;
}

/* ── YouTube Facade ── */
.sp-video-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.sp-video-header { margin-bottom: 0; }
.sp-video-header .sp-h2 { margin-bottom: 16px; }
.sp-video-intro {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.yt-facade {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #0f0f0f;
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.3s ease;
  display: block;
}
.yt-facade:hover img,
.yt-facade:focus img { opacity: 0.55; }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.93);
  color: var(--purple-800);
  border: none;
  border-radius: 50%;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s ease;
  pointer-events: none;
}
.yt-facade:hover .yt-play,
.yt-facade:focus .yt-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
.yt-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
}
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* CTA-Abschnitt */
.sp-cta-section {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}
.sp-cta-inner {
  display: grid;
  grid-template-columns: clamp(180px, 22vw, 280px) 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.sp-cta-image {
  align-self: stretch;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.sp-cta-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sp-cta-text .sp-h2 { max-width: 22ch; }
.sp-cta-text p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 0 24px;
}
.sp-cta-address {
  font-style: normal;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.7;
  border-left: 2px solid var(--rule);
  padding-left: 16px;
  margin: 0;
}
.sp-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
}
.sp-cta-actions .btn { justify-content: center; }

/* ───────── Bestattungsarten-Seite (ba-* Namespace) ───────── */

/* Scroll-Offset für Sticky-Header */
section[id] { scroll-margin-top: calc(var(--topbar-h, 96px) + 20px); }
.ba-infobox[id] { scroll-margin-top: calc(var(--topbar-h, 96px) + 20px); }

/* Seiten-Hintergrund: dezentes Mühlenrad */
.ba-main { position: relative; overflow: hidden; }
.ba-page-wheel {
  position: absolute;
  right: -220px; top: 60px;
  width: 680px; height: 680px;
  opacity: 0.035;
  color: var(--purple-300);
  pointer-events: none;
  z-index: 0;
}
.ba-page-wheel svg { width: 100%; height: 100%; }

/* Cards als Links (a.card) — Farbe erben */
a.card { text-decoration: none; color: inherit; cursor: pointer; }

/* EVERTREE Bild via <img> */
.ba-evertree-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Quick-Navigation */
.ba-quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}
.ba-quick-item {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 22px;
  border-right: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: background .25s ease;
}
.ba-quick-item:last-child { border-right: none; }
.ba-quick-item:hover { background: var(--purple-50); }
.ba-quick-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.ba-quick-item h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.1;
}
.ba-quick-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.ba-quick-arrow {
  display: block;
  margin-top: 16px;
  width: 20px; height: 1px;
  background: var(--purple-300);
  position: relative;
  transition: width .2s ease;
}
.ba-quick-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--purple-300);
  border-right: 1px solid var(--purple-300);
  transform: rotate(45deg);
}
.ba-quick-item:hover .ba-quick-arrow { width: 28px; }

/* Intro-Textblock (zentriert) */
.ba-intro-block {
  text-align: center;
  max-width: 62ch;
  margin: clamp(60px, 8vw, 96px) auto 0;
}
.ba-intro-block .eyebrow { justify-content: center; }
.ba-intro-block .sp-h2 {
  margin-left: auto; margin-right: auto;
  max-width: 26ch;
}
.ba-intro-block p {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  margin: 0 0 18px;
}
.ba-intro-block p:last-child { margin-bottom: 0; }

/* Bestattungsart-Sektion */
.ba-section {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}

.ba-section#besondere-erinnerungsformen{
  border-top: none;
  padding-top: 0;
}

.ba-section#naturbestattung-region{
  border-top: none;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: stretch;
}
.ba-image-col {
  display: flex;
}

/* Bild — füllt die Textspalte in voller Höhe */
.ba-image {
  flex: 1;
  width: 100%;
  min-height: 400px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: block;
}
.ba-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ba-image .ph {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end;
  padding: 16px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--paper-2) 0, var(--paper-2) 8px,
    var(--paper-3) 8px, var(--paper-3) 16px
  );
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* Kurzbeschreibung / Subtitle unter der H2 */
.ba-label {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--purple-800);
  margin: -16px 0 24px;
  line-height: 1.35;
}

/* Kolumbarium-Infobox */
.ba-infobox {
  margin-top: 40px;
  padding: 28px 30px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--purple-500);
}
.ba-infobox-image {
  width: calc(100% + 60px);
  margin: -28px -30px 28px;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.ba-infobox-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-infobox-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 12px;
}
.ba-infobox h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.1;
}
.ba-infobox p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.68;
  margin: 0 0 14px;
}
.ba-infobox p:last-child { margin-bottom: 0; }

/* Entscheidungshilfe */
.ba-decision-section {
  padding: var(--section) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.ba-decision-inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.ba-decision-list {
  list-style: none; padding: 0; margin: 0;
}
.ba-decision-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(14px, 0.95vw, 16px);
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ba-decision-list li:first-child { border-top: 1px solid var(--rule-soft); }
.ba-decision-list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple-500);
  margin-top: 9px;
}

/* EVERTREE®-Section */
.ba-evertree {
  background: var(--purple-900);
  color: #fff;
  padding: var(--section) 0;
}
.ba-evertree-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: stretch;
}
.ba-evertree-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-300);
  border: 1px solid var(--purple-700);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.ba-evertree h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.12;
}
.ba-evertree h2 em { font-style: italic; color: var(--purple-300); }
.ba-evertree-sub {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.2vw, 19px);
  color: rgba(255,255,255,0.6);
  margin: 0 0 28px;
  line-height: 1.45;
}
.ba-evertree p {
  font-size: clamp(15px, 1.05vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin: 0 0 20px;
  max-width: 50ch;
}
.ba-evertree p:last-of-type { margin-bottom: 0; }
.ba-evertree .btn {
  display: none;
}
.ba-evertree-image {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.ba-evertree-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-evertree-image .ph {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end;
  padding: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ─── Naturbestattung: Regional-Section (ba-region-*, ba-location-*) ─── */
.ba-region-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.15;
}

.ba-region-intro {
  max-width: 780px;
  margin-bottom: 36px;
}

.ba-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 32px);
  margin-bottom: 36px;
}

.ba-location-card {
  padding: 28px 30px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--purple-500);
}

.ba-location-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.1;
}

.ba-location-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.68;
  margin: 0 0 20px;
}

.ba-location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ba-location-link:hover { color: var(--purple-800); }

.ba-location-link .arrow {
  width: 16px; height: 1px; background: currentColor;
  position: relative; flex-shrink: 0;
  transition: width 0.2s ease;
}

.ba-location-link .arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.ba-location-link:hover .arrow { width: 24px; }

.ba-region-cta-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 32px 36px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--purple-500);
}

.ba-region-cta-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.ba-region-cta-block p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  grid-column: 1;
  grid-row: 2;
}

.ba-region-cta-block .btn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

/* ─── Besondere Erinnerungsformen (be-* Namespace) ─── */
.be-intro {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.be-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(32px, 4vw, 44px);
}

.be-card {
  display: grid;
  grid-template-columns: clamp(200px, 30%, 360px) 1fr;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--purple-500);
  overflow: hidden;
  scroll-margin-top: calc(var(--topbar-h, 96px) + 20px);
}

.be-card-image {
  overflow: hidden;
  background: var(--paper-3);
  margin: 0;
}

.be-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.be-card-body {
  padding: 28px 32px;
}

.be-card-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin: 4px 0 10px;
  line-height: 1.1;
}

.be-card-body .ba-label {
  margin-bottom: 18px;
}

.be-card-partner-note {
  display: block;
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--paper-3);
  border-left: 2px solid var(--rule);
  font-size: 13px;
  color: var(--mute);
  font-style: italic;
  line-height: 1.55;
}

.be-card-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}

/* Naturbestattung: section nahtlos nach Waldabschnitt */
.ba-section--no-top { padding-top: 0; }

.ba-region-image {
  width: 100%;
  aspect-ratio: 21 / 7;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-3);
  margin-bottom: 40px;
}

.ba-region-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Startseiten-Teaser: Erinnerungsformen-Link */
.be-discover-link {
  text-align: center;
  margin-top: clamp(20px, 3vw, 28px);
}

.be-discover-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.be-discover-link a:hover { color: var(--purple-700); }

.be-discover-link a .arrow {
  width: 14px; height: 1px; background: currentColor;
  position: relative; flex-shrink: 0;
  transition: width 0.2s ease;
}

.be-discover-link a .arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.be-discover-link a:hover .arrow { width: 20px; }

/* ───────── Vorsorge-Seite (vs-* Namespace) ───────── */

/* Pull-Quote (rechte Spalte Intro) */
.vs-pullquote {
  padding-left: 28px;
  border-left: 2px solid var(--purple-300);
  margin-top: 8px;
}
.vs-pullquote-text {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  color: var(--purple-800);
  line-height: 1.38;
  margin-bottom: 20px;
}
.vs-pullquote-note {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.6;
  display: block;
}

/* Feature-Paar (z. B. Treuhand / Sterbegeld) */
.vs-feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 36px;
}
.vs-feature {
  padding: 28px 28px 24px;
  background: var(--paper);
}
.sp-section--tinted .vs-feature { background: var(--paper-2); }
.vs-feature svg {
  width: 32px; height: 32px;
  color: var(--purple-700);
  margin-bottom: 14px;
  display: block;
}
.vs-feature h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}
.vs-feature p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* Icon für Value-Items in Verfügungen */
.vs-icon {
  width: 34px; height: 34px;
  color: var(--purple-700);
  margin-bottom: 16px;
  display: block;
}

/* Digitaler-Nachlass-Grid */
.vs-digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 36px;
}
.vs-digital-item {
  padding: 18px 20px 16px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.vs-digital-item svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--purple-700);
}
.vs-digital-item span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Checkliste */
.vs-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  margin-top: 40px;
}
.vs-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: clamp(13px, 0.95vw, 15px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.vs-check-item:nth-last-child(-n+2) { border-bottom: none; }
.vs-check-box {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  margin-top: 1px;
  background: var(--paper);
}
.vs-check-note {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--purple-800);
  line-height: 1.45;
  max-width: 54ch;
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

/* Hinweis-Box */
.vs-hinweis {
  padding: 26px 30px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-left: 3px solid var(--purple-700);
}
.vs-hinweis-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-700);
  font-weight: 500;
  margin-bottom: 10px;
}
.vs-hinweis p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.68;
  margin: 0;
}

/* ───────── Burger-Button ───────── */
.nav-burger {
  display: none; /* nur mobil sichtbar */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color .2s ease;
}
.nav-burger:hover { border-color: var(--purple-300); }
.nav-burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ───────── Mobile-Nav-Panel ───────── */
/* Auf Desktop: vollständig unsichtbar */
.mobile-nav {
  display: none;
}
/* Overlay-Verdunklung hinter dem Menü */
body.nav-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(27, 22, 32, 0.35);
  z-index: 38;
  pointer-events: none;
}

/* ───────── Responsive — Tablet (≤ 980px) ───────── */
@media (max-width: 980px) {

  /* Nav: Mobile — 1-Zeile, Logo links, Burger rechts */
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    padding: 12px var(--pad-x);
  }
  .nav-logo        { grid-column: 1; grid-row: 1; align-self: center; padding: 0; }
  .nav-logo img    { height: 60px; }
  .nav-upper       { display: none; }
  .nav-bottom      { display: none; }
  .nav-links       { display: none; }
  .nav-burger      { grid-column: 2; grid-row: 1; display: flex; }

  /* Mobile-Nav: fixed unter dem Header, per JS-Variable positioniert */
  .mobile-nav {
    display: block;
    position: fixed;
    top: var(--topbar-h, 96px);
    left: 0; right: 0;
    z-index: 39;
    background: rgba(251, 250, 248, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
    padding: 16px var(--pad-x) 32px;
    /* Anfangszustand: unsichtbar, leicht nach oben verschoben */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, visibility .22s, transform .26s ease;
    pointer-events: none;
  }
  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  /* Mobile-Nav-Links */
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
  }
  .mobile-nav-links a {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    padding: 13px 0;
    border-bottom: 1px solid var(--rule-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color .18s ease;
  }
  .mobile-nav-links a:first-child { border-top: 1px solid var(--rule-soft); }
  .mobile-nav-links a:hover,
  .mobile-nav-links a.active { color: var(--purple-800); }
  .mobile-nav-links a::after {
    content: "→";
    font-size: 18px;
    color: var(--purple-300);
    font-family: var(--body);
    transition: transform .18s ease;
  }
  .mobile-nav-links a:hover::after { transform: translateX(4px); }

  /* Mobile-Nav-Bottom (Telefon + CTA) */
  .mobile-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .mobile-nav-phone span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 4px;
  }
  .mobile-nav-phone strong {
    display: block;
    font-family: var(--display);
    font-style: italic;
    font-size: 22px;
    color: var(--ink);
    font-weight: 400;
  }
  .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--purple-800);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .2s ease;
  }
  .mobile-nav-cta:hover { background: var(--purple-900); }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { justify-content: flex-start; }
  .hero-mill { max-width: 640px; opacity: 0.4; }
  .hero-meta { flex-direction: column; gap: 24px; }

  /* Services */
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .cards-row .card:nth-child(2) { border-right: none; }
  .cards-row .card:nth-child(1),
  .cards-row .card:nth-child(2) { border-bottom: 1px solid var(--rule); }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .team { height: 520px; }

  /* Vorsorge */
  .vorsorge-inner { grid-template-columns: 1fr; padding: 40px; gap: 24px; }

  /* Emergency */
  .emergency-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-base { flex-wrap: wrap; gap: 10px; }
}

/* ───────── Responsive — Mobile (≤ 640px) ───────── */
@media (max-width: 640px) {
  :root { --pad-x: 24px; }

  /* Unterseiten-Hero mobile */
  .page-hero { height: clamp(220px, 50vw, 320px); }
  .page-hero-title { font-size: clamp(28px, 8vw, 42px); }
  .page-hero::after {
    background: linear-gradient(
      100deg,
      rgba(27, 22, 32, 0.88) 0%,
      rgba(27, 22, 32, 0.60) 60%,
      rgba(27, 22, 32, 0.30) 100%
    );
  }

  /* Homepage-Hero mobile */
  .hero { padding: 48px 0 64px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { margin-top: 48px; gap: 20px; align-items: center; }
  .hero-meta .item { text-align: center; max-width: none; }
  .hero-meta .item .num { font-size: 30px; }

  /* Statement */
  .statement { padding: 60px 0; }
  .statement-quote { font-size: clamp(20px, 6vw, 28px); }

  /* Services */
  .services { padding-bottom: 60px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .cards-row { grid-template-columns: 1fr; }
  .cards-row .card { border-right: none; border-bottom: 1px solid var(--rule); min-height: auto; }
  .cards-row .card:last-child { border-bottom: none; }

  /* About */
  .about { padding: 60px 0; }
  .about-text h2 { font-size: clamp(28px, 8vw, 40px); }
  .team { height: 420px; }
  .portrait.lucas { width: 70%; height: 360px; bottom: 0; top: auto; }
  .portrait.edwin { width: 50%; height: 250px; top: 0; }

  /* Vorsorge */
  .vorsorge { padding: 60px 0; }
  .vorsorge-inner { padding: 28px var(--pad-x); gap: 20px; }
  .vorsorge h3 { font-size: clamp(22px, 6vw, 30px); }

  /* Emergency */
  .emergency { padding: 40px 0; }
  .emergency-inner { grid-template-columns: 1fr 1fr; gap: 24px 20px; }

  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo img { height: 52px; }
  .footer-base {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-top: 40px;
  }

  /* Buttons touch-friendly */
  .btn { min-height: 44px; }
  .nav-burger { min-width: 44px; min-height: 44px; }
}

/* ───────── sp-* Responsive — Tablet (≤ 980px) ───────── */
@media (max-width: 980px) {
  .sp-intro-row                    { grid-template-columns: 1fr; align-items: start; }
  .sp-intro-right                  { min-height: 0; }
  .sp-intro-building               { position: relative; inset: auto; aspect-ratio: 3/2; }
  .sp-intro-right .sp-address-card { position: relative; top: auto; left: auto; right: auto; }
  .sp-two-col         { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); }
  .sp-person-row      { grid-template-columns: 1fr; }
  .sp-video-row       { grid-template-columns: 1fr; }
  .sp-cta-inner       { grid-template-columns: 1fr; }
  .sp-cta-image       { display: none; }
  .sp-cta-actions     { min-width: 0; flex-direction: row; flex-wrap: wrap; }

  .sp-values-grid     { grid-template-columns: 1fr; }
  .sp-value-item      { border-right: none; border-bottom: 1px solid var(--rule); }
  .sp-value-item:last-child { border-bottom: none; }

  .sp-portrait-badge  { left: 0; }

  /* Person portrait: max-width on tablet so it doesn't fill full column */
  .sp-portrait-wrap   { max-width: 380px; }

  .sp-history-aside {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 32px;
    padding-top: 0;
    margin-bottom: 40px;
  }
  .sp-history-line { display: none; }

  /* Mühlenband padding */
  .sp-muehle-band { padding: clamp(60px, 9vw, 100px) 0; }
}

/* ───────── sp-* Responsive — Mobile (≤ 640px) ───────── */
@media (max-width: 640px) {
  .sp-h2 { font-size: clamp(28px, 8vw, 40px); }

  .sp-section { padding: clamp(48px, 8vw, 80px) 0; }

  .sp-rooms-aside                 { grid-template-columns: 1fr; }
  .sp-room-card                   { border-right: none !important; }
  .sp-room-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .sp-room-card:last-child        { border-bottom: none !important; }

  .sp-muehle-band  { padding: 60px 0; }
  .sp-muehle-wheel { width: 280px; height: 280px; }

  .sp-cta-inner    { gap: 32px; }
  .sp-cta-actions  { flex-direction: column; }
  .sp-cta-actions .btn { width: 100%; justify-content: center; }

  /* Person row: portrait smaller on mobile */
  .sp-portrait-wrap { padding-bottom: 16px; }
  .sp-portrait-badge { left: 0; bottom: -8px; }

  /* Values grid already 1-col at 980px, ensure padding */
  .sp-value-item { padding: 24px 20px 20px; }

  /* History aside: full width stack */
  .sp-history-aside { gap: 4px 24px; }
  .sp-year { font-size: clamp(56px, 15vw, 80px); }

  /* Quote */
  .sp-quote { padding: 20px 22px; }
}

/* ───────── ba-* Responsive — Tablet (≤ 980px) ───────── */
@media (max-width: 980px) {
  .ba-quick-nav                 { grid-template-columns: 1fr 1fr; }
  .ba-quick-item:nth-child(2)   { border-right: none; }
  .ba-quick-item:nth-child(1),
  .ba-quick-item:nth-child(2)   { border-bottom: 1px solid var(--rule); }

  .ba-grid                      { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); }
  /* Auf Mobile: Text immer zuerst, dann Bild */
  .ba-grid--reverse .ba-text-col  { order: 1; }
  .ba-grid--reverse .ba-image-col { order: 2; }
  /* Auf Mobile: Bild im Querformat statt Texthöhe */
  .ba-image-col                 { display: block; }
  .ba-image                     { min-height: 0; aspect-ratio: 16 / 9; }

  .ba-section                   { padding: clamp(48px, 8vw, 80px) 0; }

  .ba-decision-inner            { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); }
  .ba-evertree-inner            { grid-template-columns: 1fr; }
  .ba-evertree-image            { display: none; }

  .ba-location-grid             { grid-template-columns: 1fr; }
  .ba-region-cta-block          { grid-template-columns: 1fr; gap: 6px 0; }
  .ba-region-cta-block .btn     { grid-column: 1; grid-row: auto; margin-top: 20px; }

  .be-card                      { grid-template-columns: 1fr; }
  .be-card-image                { aspect-ratio: 16 / 7; }
  .ba-region-image              { aspect-ratio: 16 / 6; border-radius: 6px; }
}

/* ───────── ba-* Responsive — Mobile (≤ 640px) ───────── */
@media (max-width: 640px) {
  .ba-quick-nav               { grid-template-columns: 1fr; }
  .ba-quick-item              { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .ba-quick-item:last-child   { border-bottom: none; }
  .ba-evertree-wheel          { width: 240px; height: 240px; }

  /* Bild im Hochformat auf Mobile */
  .ba-image                   { aspect-ratio: 4 / 3; }

  /* Entscheidungsliste auf Mobile */
  .ba-decision-list li        { gap: 10px; }
  .ba-infobox                 { padding: 20px 20px; }
  .ba-infobox-image           { width: calc(100% + 40px); margin: -20px -20px 20px; }

  .be-card-body               { padding: 20px 20px; }
  .ba-region-image            { margin-bottom: 28px; }
}

/* ───────── vs-* Responsive — Tablet (≤ 980px) ───────── */
@media (max-width: 980px) {
  .vs-feature-pair  { grid-template-columns: 1fr; gap: 1px; }
  .vs-checklist     { grid-template-columns: 1fr; }
  .vs-check-item    { border-bottom: 1px solid var(--rule-soft) !important; }
  .vs-check-item:last-child { border-bottom: none !important; }
  .vs-digital-grid  { grid-template-columns: 1fr 1fr; }
}

/* ───────── vs-* Responsive — Mobile (≤ 640px) ───────── */
@media (max-width: 640px) {
  .vs-digital-grid  { grid-template-columns: 1fr; }
  .vs-feature       { padding: 22px 20px 18px; }
  .vs-hinweis       { padding: 20px 22px; }
}

/* ───────── Tweak-Varianten ───────── */
/* Helller Lila Akzent (mauve) */
body.accent-mauve {
  --purple-800: #6B3A86;
  --purple-900: #4E2566;
  --purple-700: #7B4DA0;
}
/* Mühle-Intensität */
body.mill-bold .hero-mill { opacity: 0.92; mix-blend-mode: normal; }
body.mill-bold .about-bg-mill { opacity: 0.34; }
body.mill-subtle .hero-mill { opacity: 0.42; }
body.mill-subtle .about-bg-mill { opacity: 0.10; }

/* Hero layout variant */
body.hero-centered .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}
body.hero-centered .hero-title { margin-left: auto; margin-right: auto; }
body.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
body.hero-centered .hero-actions { justify-content: center; }
body.hero-centered .eyebrow { justify-content: center; }
body.hero-centered .hero-right { display: none; }
/* Mühle im Hero wird jetzt durch den globalen html-Hintergrund geliefert */

/* ─────────────────────────────────────────────
   Kontakt-Seite (kt-*)
   ───────────────────────────────────────────── */

/* Notfall-Bereich */
.kt-notfall {
  background: var(--purple-900);
  color: #fff;
  padding: clamp(64px, 9vw, 112px) 0;
  text-align: center;
}
.kt-notfall-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kt-notfall-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-300);
  border: 1px solid var(--purple-700);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.kt-notfall-intro {
  font-size: clamp(15px, 1.1vw, 17px);
  color: rgba(255,255,255,0.65);
  max-width: 46ch;
  line-height: 1.7;
  margin: 0 0 36px;
}
.kt-notfall-phone {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(52px, 8vw, 96px);
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.kt-notfall-phone:hover { color: var(--purple-300); }
.kt-notfall-hint {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-300);
  margin-bottom: 44px;
}
.kt-notfall-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.kt-notfall .btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.kt-notfall .btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: none;
}
.kt-notfall .btn.btn-primary {
  background: #fff;
  color: var(--purple-900);
  border-color: #fff;
}
.kt-notfall .btn.btn-primary:hover {
  background: var(--purple-100);
  border-color: var(--purple-100);
  transform: none;
}

/* Standort-Intro */
.kt-standort-intro {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.68;
  max-width: 54ch;
  margin: 16px 0 clamp(40px, 5vw, 60px);
}

/* Wegberg: Featured Standort */
.kt-standort-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding: clamp(32px, 4vw, 52px);
  background: var(--purple-50);
  border: 1px solid var(--purple-300);
  border-top: 3px solid var(--purple-700);
  margin-bottom: clamp(2px, 0.5vw, 2px);
}
.kt-standort-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 5px 12px;
  margin-bottom: 18px;
}
.kt-standort-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.1;
}
.kt-standort-address {
  font-style: normal;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 24px;
}
.kt-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.kt-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.kt-contact-item:hover { color: var(--purple-700); }
.kt-contact-item svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--purple-700);
}
.kt-standort-hint {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.65;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-bottom: 28px;
}
.kt-standort-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Rechte Spalte: Text + Öffnungszeiten */
.kt-hours {
  margin-top: 32px;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.kt-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule-soft);
  gap: 16px;
}
.kt-hours-row:last-of-type { border-bottom: none; }
.kt-hours-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.kt-hours-value {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.2;
}
.kt-hours-value--emerg { color: var(--purple-700); }
.kt-hours-note {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--mute);
  background: var(--paper-2);
  border-top: 1px solid var(--rule-soft);
  line-height: 1.5;
}

/* Weitere Standorte */
.kt-further-head {
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.kt-further-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 4px;
}
.kt-further-sub {
  font-size: 13px;
  color: var(--mute);
  margin: 0;
}
.kt-standort-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-top: none;
}
.kt-standort-card {
  background: var(--paper);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kt-standort-card-name {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 12px;
}
.kt-standort-card-address {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}
.kt-standort-card-contact {
  margin-bottom: auto;
}
.kt-placeholder {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
  display: block;
}
.kt-standort-card-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}
.kt-contact-item--sm { font-size: 14px; margin-bottom: 12px; }
.kt-standort-card-locs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.kt-standort-card-address--sep { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.kt-standort-card-note { font-size: 13px; color: var(--mute); line-height: 1.55; margin: 12px 0 0; }
.kt-standort-card-sub {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.kt-standort-card-subname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.btn--sm {
  font-size: 12px;
  padding: 8px 16px;
}

/* Beratung */
.kt-beratung {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--section) 0;
}
.kt-beratung-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.kt-beratung-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.kt-beratung-note {
  font-size: 13px;
  color: var(--mute);
  margin: 8px 0 0;
  line-height: 1.55;
}

/* FAQ Accordion */
.kt-faq-list {
  border: 1px solid var(--rule);
  margin-top: clamp(32px, 4vw, 52px);
}
.kt-faq-item {
  border-bottom: 1px solid var(--rule);
}
.kt-faq-item:last-child { border-bottom: none; }

.kt-faq-q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 40px);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink);
  line-height: 1.25;
  user-select: none;
  transition: color 0.2s;
}
.kt-faq-q::-webkit-details-marker { display: none; }
.kt-faq-q::marker { display: none; }
.kt-faq-item:hover .kt-faq-q,
.kt-faq-item[open] .kt-faq-q { color: var(--purple-800); }

.kt-faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--purple-500);
  transition: transform 0.3s ease;
}
.kt-faq-item[open] .kt-faq-chevron { transform: rotate(180deg); }

.kt-faq-a {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 0;
  padding: 0 clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 28px);
  max-width: 64ch;
}

/* ── kt-* Responsive ── */
@media (max-width: 980px) {
  .kt-standort-primary  { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 52px); }
  .kt-beratung-inner    { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 52px); }
  .kt-standort-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .kt-notfall           { padding: clamp(48px, 9vw, 80px) 0; }
  .kt-notfall-phone     { font-size: clamp(40px, 12vw, 64px); }
  .kt-notfall-actions   { flex-direction: column; align-items: stretch; }
  .kt-standort-grid     { grid-template-columns: 1fr; }
  .kt-standort-primary  { padding: clamp(20px, 4vw, 36px); }
  .kt-hours-row         { flex-direction: column; gap: 4px; }
  .kt-beratung-actions  { align-items: stretch; }
  .kt-faq-q             { min-height: 44px; padding-top: 14px; padding-bottom: 14px; }
}

/* ─────────────────────────────────────────────
   Rechtliche Seiten (legal-*)
   ───────────────────────────────────────────── */

.legal-header {
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.legal-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--ink);
  margin: 10px 0 0;
  line-height: 1.1;
}
.legal-body {
  padding: clamp(40px, 6vw, 80px) 0 var(--section);
}
.legal-container {
  max-width: 780px;
}
.legal-intro {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 0 0 clamp(32px, 4vw, 52px);
  max-width: 60ch;
}
.legal-note {
  padding: 16px 20px;
  background: var(--purple-50);
  border-left: 3px solid var(--purple-500);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 40px;
}
.legal-toc {
  padding: 22px 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.legal-toc-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 12px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  break-inside: avoid;
}
.legal-toc a { color: var(--purple-700); }
.legal-toc a:hover { text-decoration: underline; }

.legal-section {
  padding-bottom: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--rule-soft);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 23px);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
.legal-section p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 6px;
}
.legal-section a { color: var(--purple-700); }
.legal-section a:hover { text-decoration: underline; }
.legal-ph {
  display: inline;
  background: #fff3cd;
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  color: #856404;
  font-style: normal;
}

@media (max-width: 640px) {
  .legal-toc ol   { columns: 1; }
  .legal-toc      { padding: 18px 20px; }
  .legal-section  { padding-bottom: clamp(24px, 5vw, 40px); margin-bottom: clamp(24px, 5vw, 40px); }
}

/* ───────── Sehr kleine Geräte (≤ 400px) ───────── */
@media (max-width: 400px) {
  :root { --pad-x: 16px; }

  /* Hero */
  .hero-title           { font-size: clamp(32px, 10vw, 44px); }
  .hero-mill            { display: none; }
  .hero-meta            { gap: 16px; }
  .hero-meta .item .num { font-size: 26px; }

  /* Navigation */
  .nav-logo img         { height: 48px; }

  /* Page-Hero */
  .page-hero            { height: clamp(180px, 48vw, 260px); }
  .page-hero-title      { font-size: clamp(24px, 8vw, 36px); }

  /* Buttons */
  .btn                  { font-size: 13px; padding: 12px 18px; }

  /* Notfall */
  .kt-notfall-phone     { font-size: clamp(34px, 10vw, 52px); }

  /* Footer */
  .footer               { padding: 40px 0 24px; }
  .footer-grid          { gap: 24px; }

  /* Statement */
  .statement-quote      { font-size: clamp(18px, 5vw, 24px); }
}

/* ═══════════════════════════════════════════════════════
   Cookie-Banner
   ═══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--purple-800);
  color: var(--paper);
  padding: 20px 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.22);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.92;
}
.cookie-banner-text a {
  color: var(--paper);
  text-decoration: underline;
  opacity: 0.7;
}
.cookie-banner-text a:hover { opacity: 1; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--paper);
}
.cookie-banner .btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .cookie-banner-inner  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; text-align: center; }
}
