/* ============================================================
   HORN-LINDEN · REDESIGN-VORSCHAU · base.css
   Struktur & Komponenten (variantenneutral). Farben/Schriften/Form
   kommen aus css/tokens-<variante>.css. Signaturen je Variante stehen
   am Ende unter body.hlv-<v> bzw. Feature-Klassen (hl-gold/hl-cwave/
   hl-cwave-plus/hl-dark/hl-cwave-dark).
   ============================================================ */

:root {
  --nav-h: 74px;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.hl-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }

/* ---------- Typografie ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 600; line-height: 1.18; letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600; line-height: 1.3;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img, .nav__logo-img { height: 46px; max-width: 210px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav__links > li { position: relative; display: flex; align-items: center; height: var(--nav-h); }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  transition: color var(--transition); position: relative; letter-spacing: 0.01em;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width var(--transition);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after,
.nav__links .current-menu-item > a::after,
.nav__links .current-menu-parent > a::after { width: 100%; }
.nav__links .current-menu-item > a,
.nav__links .current-menu-parent > a,
.nav__links .current-menu-ancestor > a { color: var(--accent); }

/* Dropdowns */
.nav__links .menu-item-has-children > a { padding-right: 15px; }
.nav__links .menu-item-has-children > a::before {
  content: ''; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: 0.6;
}
.nav__links .sub-menu {
  list-style: none; margin: 0; padding: 0.4rem 0;
  position: absolute; top: 100%; left: -0.6rem; min-width: 232px;
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 1001;
}
.nav__links .menu-item-has-children:hover > .sub-menu,
.nav__links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__links .sub-menu li { display: block; width: 100%; }
.nav__links .sub-menu a { display: block; padding: 0.6rem 1.1rem; font-size: 0.86rem; white-space: nowrap; border-left: 2px solid transparent; }
.nav__links .sub-menu a::after { display: none; }
.nav__links .sub-menu a:hover { color: var(--accent); background: var(--lila-light); border-left-color: var(--gold); }

.nav__cta { display: flex; gap: 0.6rem; align-items: center; }
.nav__tel-badge {
  display: inline-block; background: rgba(255,255,255,0.25); color: #fff;
  font-size: 0.62rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px; letter-spacing: 0.04em;
}
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }

/* Mobile */
.nav__mobile { display: none; }
.nav__mobile.open {
  display: flex; flex-direction: column;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--grey-border);
  padding: 0.5rem 1.25rem 1.25rem; gap: 0;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg);
}
.nav__mobile-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.nav__mobile-list > li { border-bottom: 1px solid var(--grey-border); }
.nav__mobile-list > li:last-child { border-bottom: none; }
.nav__mobile.open .nav__mobile-list > li > a { display: block; padding: 0.95rem 0.25rem; font-size: 1.05rem; font-weight: 500; color: var(--text); }
.nav__mobile.open .btn { width: 100%; justify-content: center; margin-top: 0.85rem; }
.nav__mobile-list .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.nav__mobile-list .menu-item-has-children > a { flex: 1 1 auto; }
.nav__mobile-toggle { flex: 0 0 auto; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--accent); }
.nav__mobile-toggle .caret { display: inline-block; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .25s ease; }
.nav__mobile-list .menu-item-has-children.open > .nav__mobile-toggle .caret { transform: rotate(225deg); margin-top: 3px; }
.nav__mobile-list .sub-menu { list-style: none; margin: 0; padding: 0; flex-basis: 100%; max-height: 0; overflow: hidden; opacity: 0; background: var(--lila-light); border-radius: var(--radius-lg); transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
.nav__mobile-list .menu-item-has-children.open > .sub-menu { max-height: 560px; opacity: 1; margin: 0 0 0.85rem; }
.nav__mobile.open .nav__mobile-list .sub-menu a { display: block; padding: 0.72rem 1rem 0.72rem 1.6rem; font-size: 0.98rem; font-weight: 400; color: var(--accent-deep); position: relative; }
.nav__mobile-list .sub-menu li + li a { border-top: 1px solid color-mix(in srgb, var(--accent) 14%, transparent); }
.nav__mobile-list .sub-menu a::before { content: ''; position: absolute; left: 0.75rem; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.78rem 1.6rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); border: 1.5px solid transparent;
  white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { background: var(--white); color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--lila-light); }
.btn--white { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn--white:hover { background: var(--lila-light); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); }
.btn--lg { padding: 0.95rem 2.1rem; font-size: 0.98rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   NOTFALL-BAND
   ============================================================ */
.notfall { background: var(--accent-deep); color: #fff; padding: 0.95rem 0; }
.notfall__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.notfall__text { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.notfall__tel { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.notfall__tel:hover { color: var(--gold); }
.notfall__badge { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; background: rgba(255,255,255,0.2); padding: 0.2rem 0.5rem; border-radius: 3px; letter-spacing: 0.05em; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.hero__content {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 3rem;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) var(--pad) 0;
  width: 100%;
}
.hero__text { align-self: start; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__eyebrow { margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--gold); display: inline-block; }
.hero__title { margin-bottom: 1.5rem; color: var(--accent-deep); }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__subtitle { color: var(--text-muted); max-width: 480px; margin-bottom: 2.5rem; font-size: 1.08rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
/* Engel unten bündig zum nächsten Abschnitt, vor den Wellen */
.hero__image { display: flex; justify-content: center; align-items: flex-end; align-self: end; }
.hero__image img { max-height: clamp(360px, 40vw, 560px); width: auto; display: block; margin-bottom: 0; }

/* ============================================================
   STERBEFALL-CTA
   ============================================================ */
.cta-sterbefall { background: linear-gradient(150deg, var(--accent-deep) 0%, var(--accent) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-sterbefall::before { content: ''; position: absolute; top: -40%; left: -8%; width: 320px; height: 320px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.cta-sterbefall::after { content: ''; position: absolute; bottom: -45%; right: -6%; width: 360px; height: 360px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta-sterbefall__inner { position: relative; z-index: 1; }
.cta-sterbefall .eyebrow { color: rgba(255,255,255,0.72); margin-bottom: 1rem; }
.cta-sterbefall h2 { margin-bottom: 1rem; color: #fff; }
.cta-sterbefall > .container > .cta-sterbefall__inner > p { max-width: 580px; margin: 0 auto 2.5rem; opacity: 0.9; font-size: 1.05rem; line-height: 1.8; }
.cta-sterbefall__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-sterbefall__promise { margin: 2rem auto 0; max-width: 620px; font-size: 0.98rem; color: #fff; display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; opacity: 0.96; }
.cta-sterbefall__promise .hl-icon { width: 1.2em; height: 1.2em; color: var(--gold); }
.erste-schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 900px; margin: 0 auto 2.5rem; text-align: left; }
.erste-schritte__step { background: rgba(255,255,255,0.96); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; color: var(--text); }
.erste-schritte__num { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.8rem; }
.erste-schritte__step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--accent-deep); margin: 0 0 0.4rem; }
.erste-schritte__step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen { background: var(--grey-bg); }
.leistungen__header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.leistungen__header .eyebrow { margin-bottom: 0.85rem; }
.leistungen__header p { color: var(--text-muted); margin-top: 1rem; }
.leistungen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.leistung-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.1rem; transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); border: 1px solid var(--grey-border); }
.leistung-card:hover { box-shadow: var(--shadow-lg); border-color: var(--lila-mid); transform: translateY(-3px); }
.leistung-card__icon { width: 54px; height: 54px; border-radius: var(--radius-lg); background: var(--lila-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.3rem; }
.leistung-card__title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--accent-deep); }
.leistung-card__text { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.leistung-card__link { font-size: 0.86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.leistung-card__link:hover { gap: 0.6rem; }

/* ============================================================
   STANDORTE
   ============================================================ */
.standorte { background: var(--white); }
.standorte__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.standort-card { border: 1px solid var(--grey-border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); background: var(--white); }
.standort-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.standort-card__header { background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%) !important; padding: 2rem 2rem 1.6rem; color: #fff; }
.standort-card__header--photo { display: flex; align-items: center; gap: 14px; }
.standort-card__thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gold); }
.standort-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.standort-card__headtext { min-width: 0; }
.standort-card__header .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }
.standort-card__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; }
.standort-card__adresse { font-size: 0.9rem; opacity: 0.88; }
.standort-card__body { padding: 1.8rem 2rem 2rem; }
.standort-card__body > p:first-child { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; }
.standort-card__features { list-style: none; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }
.standort-card__features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; }
.standort-card__features li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.standort-card__tel { font-weight: 600; color: var(--accent); font-size: 1.05rem; display: block; margin-bottom: 0.4rem; }
.standort-card__hours { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ============================================================
   KOLUMBARIUM
   ============================================================ */
.kolumbarium { background: var(--accent-deep); color: #fff; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.kolumbarium__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.kolumbarium__text .eyebrow { color: var(--gold); margin-bottom: 0.85rem; }
.kolumbarium__text h2 { color: #fff; margin-bottom: 1.25rem; }
.kolumbarium__text p { opacity: 0.86; line-height: 1.8; margin-bottom: 1rem; }
.kolumbarium__text p:last-of-type { margin-bottom: 2rem; }
.kolumbarium__features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.kol-feature { background: rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 1.1rem; border: 1px solid rgba(255,255,255,0.14); }
.kol-feature__icon { font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--gold); }
.kol-feature__label { font-size: 0.74rem; opacity: 0.72; text-transform: uppercase; letter-spacing: 0.1em; }
.kol-feature__val { font-size: 0.92rem; font-weight: 500; margin-top: 0.2rem; }
.kolumbarium__img { border-radius: var(--radius-lg); overflow: hidden; height: 400px; background: var(--accent); }
.kolumbarium__img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ÜBER UNS / TEAM
   ============================================================ */
.ueber-uns { background: var(--white); }
.ueber-uns__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ueber-uns__text .eyebrow { margin-bottom: 0.85rem; }
.ueber-uns__text h2 { margin-bottom: 1.5rem; }
.ueber-uns__text p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.ueber-uns__stats { display: flex; gap: 2.5rem; margin: 2rem 0 0; }
.stat__number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat__label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.08em; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.team-card { background: var(--grey-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--grey-border); transition: box-shadow var(--transition), transform var(--transition); }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-card__photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--lila-light); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: 1.1rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--accent-deep); }
.team-card__roles { list-style: none; margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.15rem; }
.team-card__roles li { font-size: 0.78rem; color: var(--text-muted); padding-left: 0.8rem; position: relative; }
.team-card__roles li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }

/* ============================================================
   NACHSORGE
   ============================================================ */
.nachsorge { background: var(--grey-bg); }
.nachsorge__header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.nachsorge__header .eyebrow { margin-bottom: 0.85rem; }
.nachsorge__header p { color: var(--text-muted); margin-top: 1rem; line-height: 1.7; }
.nachsorge__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nachsorge-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--grey-border); transition: box-shadow var(--transition), transform var(--transition); display: flex; flex-direction: column; }
.nachsorge-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.nachsorge-card__icon { width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--lila-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; flex-shrink: 0; }
.nachsorge-card__eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.nachsorge-card__title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--accent-deep); margin-bottom: 0.75rem; line-height: 1.3; }
.nachsorge-card__text { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.nachsorge-card__link { font-size: 0.86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; transition: gap var(--transition); }
.nachsorge-card__link:hover { gap: 0.6rem; }
.nachsorge__hint { margin-top: 2.5rem; background: var(--lila-light); border-radius: var(--radius-lg); padding: 1.5rem 2rem; border-left: 4px solid var(--gold); display: flex; align-items: flex-start; gap: 1rem; }
.nachsorge__hint-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; color: var(--accent); }
.nachsorge__hint p { font-size: 0.93rem; color: var(--text); line-height: 1.7; }
.nachsorge__hint strong { color: var(--accent-deep); }

/* ============================================================
   VORSORGE-CTA (Startseite)
   ============================================================ */
.vorsorge-cta { background: var(--white); }
.vorsorge-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.vorsorge-cta__text .eyebrow { margin-bottom: 0.85rem; }
.vorsorge-cta__text h2 { margin-bottom: 1rem; }
.vorsorge-cta__text p { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.8; }
.vorsorge-cta__box { background: var(--grey-bg); border-radius: var(--radius-lg); padding: 2.1rem; border: 1px solid var(--grey-border); box-shadow: var(--shadow); }
.vorsorge-cta__box h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; color: var(--accent-deep); }
.vorsorge-list { list-style: none; margin-bottom: 1.5rem; }
.vorsorge-list li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--grey-border); font-size: 0.92rem; color: var(--text-muted); }
.vorsorge-list li:last-child { border-bottom: none; }
.vorsorge-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   PARTNER-STRIP
   ============================================================ */
.partner-strip { background: var(--white); border-top: 1px solid var(--grey-border); }
.partner-strip__seals { display: flex; align-items: center; justify-content: center; gap: 2.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.partner-strip__seals img { height: 54px; width: auto; }
.partner-strip__textseal { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-deep); }
.partner-strip__sublabel { text-align: center; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin: 0 auto 1.1rem; }
.partner-strip__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; background: linear-gradient(150deg, var(--accent-deep), color-mix(in srgb, var(--accent) 70%, var(--accent-deep))); border-radius: var(--radius-lg); padding: 1.85rem 2rem; max-width: 900px; margin: 0 auto; }
.partner-strip__logos img { height: 30px; width: auto; opacity: 0.92; filter: brightness(0) invert(1); transition: opacity .18s ease; }
.partner-strip__logos a { display: inline-flex; align-items: center; }
.partner-strip__logos a:hover img { opacity: 1; }

/* ============================================================
   PAGE-HERO / GENERISCHE SEITEN (page.php)
   ============================================================ */
.page-hero { background: var(--hero-bg); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; color: var(--accent-deep); letter-spacing: -0.02em; line-height: 1.12; }
.page-content { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.entry-content { max-width: 820px; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--accent-deep); margin: 2rem 0 1rem; font-weight: 600; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-deep); margin: 1.5rem 0 0.75rem; font-weight: 600; }
.entry-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.2rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem 1.25rem; color: var(--text-muted); line-height: 1.8; }
.entry-content img { border-radius: var(--radius-lg); margin: 1.5rem 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--accent-deep); color: rgba(255,255,255,0.85); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand img { height: 46px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer__col-title { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: #fff; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__links a, .footer__contact a { font-size: 0.88rem; color: rgba(255,255,255,0.72); transition: color var(--transition); }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__contact p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.2rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer__bottom a { color: rgba(255,255,255,0.55); }
.footer__bottom a:hover { color: rgba(255,255,255,0.9); }

/* ============================================================
   FIXE ANRUF-LEISTE (mobil)
   ============================================================ */
.callbar { display: none; }

/* ============================================================
   SCROLL-ANIMATION
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .leistungen__grid, .nachsorge__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 880px) {
  .hero__content { grid-template-columns: 1fr; gap: 2rem; }
  .hero__image { display: none; }
  .kolumbarium__inner, .ueber-uns__inner, .vorsorge-cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .standorte__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .leistungen__grid, .nachsorge__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .erste-schritte { grid-template-columns: 1fr; gap: 0.75rem; }
  .ueber-uns__stats { gap: 1.5rem; flex-wrap: wrap; }
  .nachsorge__hint { flex-direction: column; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    background: var(--accent); color: #fff; font-size: 1.05rem; font-weight: 500;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
  }
  .callbar strong { font-weight: 700; }
  .callbar .hl-icon { width: 1.25em; height: 1.25em; }
  body { padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .hero__actions, .cta-sterbefall__actions { flex-direction: column; align-items: stretch; }
  .team-grid { grid-template-columns: 1fr; }
  .kolumbarium__features { grid-template-columns: 1fr; }
}

/* ============================================================
   WELLEN-MOTIV (Marken-Signatur · lila/gold, tokenisiert per Maske)
   ============================================================ */
.hero { isolation: isolate; }
.hero__content { position: relative; z-index: 2; }
/* dekorative Wellenlinie im unteren Hero-Bereich */
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(150px, 16vw, 300px); z-index: 0;
  background: var(--wave, var(--lila-mid)); opacity: 0.45;
  -webkit-mask: url(../svg/wave-line.svg) center bottom / 100% 100% no-repeat;
          mask: url(../svg/wave-line.svg) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
/* Übergangswelle vom Hero in die folgende (dunkle) Sektion */
.hero::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: -1px; height: 60px; z-index: 1;
  background: var(--accent-deep);
  -webkit-mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
          mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
  pointer-events: none;
}
/* Übergangswelle am unteren Rand der Unterseiten-Hero */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: -1px; height: 52px;
  background: var(--white);
  -webkit-mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
          mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.page-content { position: relative; }
/* Übergangswelle in den Footer */
.footer::before {
  content: ''; position: absolute; left: -2px; right: -2px; top: 0; transform: translateY(-59px);
  height: 60px; background: var(--accent-deep);
  -webkit-mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
          mask: url(../svg/wave-sep.svg) bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* ============================================================
   VARIANTEN-SIGNATUREN (alle auf der Markenfarbe Lila)
   ============================================================ */

/* (Varianten A & B verworfen — entfernt.) */

/* GOLD-AKZENTE — Feature-Klasse hl-gold (Variante C „Veredelte Tradition" und E) */
body.hl-gold .eyebrow { color: var(--gold); }
body.hl-gold .hero__title em, body.hl-gold .display-lg em { color: var(--gold); font-style: italic; }
body.hl-gold .leistung-card__link, body.hl-gold .nachsorge-card__link { color: var(--gold); }
body.hl-gold .leistung-card { border-top: 3px solid var(--gold); }
body.hl-gold .leistungen__header .display-lg::after, body.hl-gold .nachsorge__header .display-lg::after {
  content: ''; display: block; width: 54px; height: 2px; background: var(--gold); margin: 1.1rem auto 0;
}

/* BUNTE BRIEFKOPF-WELLE — Feature-Klasse hl-cwave (Variante D und E).
   Die wellen*.png haben weißen Grund -> mix-blend-mode:multiply blendet das Weiß
   aus, nur die bunte Welle bleibt als Highlight über dem hellen Lila. */
body.hl-cwave .hero::before { display: none; }
/* Bunte Welle als Hintergrund-Band: 100%×100% -> ganze Welle, niemals zoomen/
   beschneiden (4K-sicher). Liegt hinter dem Inhalt (z-index 1 < Inhalt z-index 2),
   also hinter dem Engel. */
body.hl-cwave .hero::after {
  background: url(../assets/images/wellen.png) center bottom / 100% 100% no-repeat;
  -webkit-mask: none; mask: none;
  mix-blend-mode: multiply;
  height: clamp(150px, 16vw, 340px); opacity: 0.85; z-index: 1;
}
body.hl-cwave .page-hero::after {
  background: url(../assets/images/wellen.png) center bottom / 100% 100% no-repeat;
  -webkit-mask: none; mask: none;
  mix-blend-mode: multiply;
  height: clamp(110px, 12vw, 240px); opacity: 0.85;
}
body.hl-cwave .page-content { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
/* bunter Akzentstrich unter dem Notfallband – Briefkopf-Anmutung */
body.hl-cwave .notfall { border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #EBD94B 0%, #5BC457 50%, #2F8FE0 100%) 1; }

/* nur reines D (ohne Gold): lila Kartenkante + bunte Eyebrow-Linie.
   E nutzt stattdessen die Gold-Akzente aus hl-gold. */
body.hlv-d .leistung-card { border-top: 3px solid var(--lila); }
body.hlv-d .hero__eyebrow::before {
  background: linear-gradient(90deg, #EBD94B, #5BC457, #2F8FE0); width: 40px; height: 3px; border-radius: 2px;
}

/* ============================================================
   GLOBALE WIDGETS aus hl-helpers (mu-plugin, fest lila) – in der
   Vorschau auf die Variantenfarben umstellen. Höhere Spezifität
   (body.hl-redesign …), damit die Inline-Styles des mu-plugins
   überschrieben werden. Live-Theme bleibt unberührt.
   ============================================================ */
body.hl-redesign .hl-map-consent { background: var(--lila-light); }
body.hl-redesign .hl-map-consent__title { font-family: var(--font-display); color: var(--accent-deep); }
body.hl-redesign .hl-map-consent__text { color: var(--text-muted); }
body.hl-redesign .hl-map-consent__text a { color: var(--accent); }
body.hl-redesign .hl-map-consent__btn { background: var(--accent); border-radius: var(--radius); }
body.hl-redesign .hl-map-consent__btn:hover { background: var(--accent-deep); }
body.hl-redesign .hl-map-consent__remember { color: var(--text-muted); }

body.hl-redesign .hl-fbpost { border-color: var(--grey-border); border-radius: var(--radius-lg); }
body.hl-redesign .hl-fbpost__date { color: var(--text-muted); }
body.hl-redesign .hl-fbpost__text { color: var(--text); }
body.hl-redesign .hl-fbpost__link,
body.hl-redesign .hl-fbfeed__all { color: var(--accent); }
body.hl-redesign .hl-fbfeed--empty { color: var(--text-muted); }
body.hl-redesign .hl-fbfeed__btn { background: var(--accent); border-radius: var(--radius); }

/* ============================================================
   VARIANTE F — „Bunte Welle · mehrfach" (Feature-Klasse hl-cwave-plus)
   Bunte Welle (multiply) zusätzlich an mehreren HELLEN Sektions-
   übergängen. Nur auf hellen Flächen (sonst schluckt multiply die
   Farbe). Liegt hinter dem Inhalt; .container wird angehoben.
   ============================================================ */
body.hl-cwave-plus .leistungen,
body.hl-cwave-plus .standorte,
body.hl-cwave-plus .nachsorge,
body.hl-cwave-plus .partner-strip { position: relative; overflow: hidden; }
body.hl-cwave-plus .leistungen > .container,
body.hl-cwave-plus .standorte > .container,
body.hl-cwave-plus .nachsorge > .container,
body.hl-cwave-plus .partner-strip > .container { position: relative; z-index: 1; }
body.hl-cwave-plus .leistungen::after,
body.hl-cwave-plus .standorte::after,
body.hl-cwave-plus .nachsorge::after,
body.hl-cwave-plus .partner-strip::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: -1px; z-index: 0;
  background: url(../assets/images/wellen.png) center bottom / 100% 100% no-repeat;
  mix-blend-mode: multiply; pointer-events: none;
  height: clamp(64px, 8vw, 150px);
}
body.hl-cwave-plus .leistungen::after   { opacity: 0.62; }
body.hl-cwave-plus .standorte::after    { opacity: 0.80; height: clamp(80px, 9vw, 170px); }
body.hl-cwave-plus .nachsorge::after    { opacity: 0.55; }
body.hl-cwave-plus .partner-strip::after{ opacity: 0.68; }

/* ============================================================
   DARK-THEME — Feature-Klasse hl-dark (Varianten G + H)
   Fängt alle hartkodierten Hell-Stellen ab, sonst „Hell-Inseln".
   Signatur: durchgehende Gold-Haarlinie als „andächtiger Saum".
   ============================================================ */
/* Layout-wirksame Dark-Feinheiten NUR für die reinen Dark-Varianten G/H –
   NICHT für den Toggle (I), sonst springt das Layout beim Umschalten. */
body.hlv-g .display-xl, body.hlv-g .display-lg, body.hlv-g .display-md,
body.hlv-h .display-xl, body.hlv-h .display-lg, body.hlv-h .display-md { font-weight: 600; }
body.hlv-g .section, body.hlv-h .section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.hl-dark .hero__title { color: #F6F0E8; }
.hl-dark .hero__title em { color: var(--lila); }
.hl-dark .eyebrow { color: var(--gold); letter-spacing: 0.20em; }

/* Übergangswellen dunkel (accent-deep ist in G hell) + Gold-Saum */
.hl-dark .hero::after { background: #2A1738; box-shadow: 0 1px 0 0 var(--gold); }
.hl-dark .footer::before { background: #0F0816; }

/* erste-schritte: weiße Kacheln -> Glas */
.hl-dark .erste-schritte__step { background: rgba(255,255,255,0.06); color: var(--text); }
.hl-dark .erste-schritte__step h3 { color: #F6F0E8; }
.hl-dark .erste-schritte__step p { color: var(--text-muted); }

/* Buttons */
.hl-dark .btn--white { background: rgba(142,111,184,0.18); color: var(--text); border-color: var(--gold); }
.hl-dark .btn--white:hover { background: rgba(142,111,184,0.30); }
.hl-dark .btn--outline { background: #221530; border-color: var(--gold); color: var(--text); }
.hl-dark .btn--outline:hover { background: rgba(142,111,184,0.22); }

/* dunkle Sektionen neu differenzieren (sonst Hell-Inseln) */
.hl-dark .cta-sterbefall { background: linear-gradient(150deg,#3A1F4D 0%,#2A1738 100%); }
.hl-dark .kolumbarium { background: #211433; }
.hl-dark .notfall { background: #3A1F4D; border-bottom: 1px solid var(--gold); }
.hl-dark .footer { background: #0F0816; }
.hl-dark .partner-strip__logos { background: linear-gradient(150deg,#211433,#2A1738); }

/* standort-card__header: base !important-Gradient + Widdert Inline-Gradient */
.hl-dark .standort-card__header { background: linear-gradient(150deg,#3A1F4D 0%,#2A1738 100%) !important; }
.hl-dark .standort-card__header[style] { background: linear-gradient(150deg,#3A1F4D 0%,#2A1738 100%) !important; }

/* Karten dunkel anheben + Gold-Haarlinie (Signatur) */
.hl-dark .leistung-card, .hl-dark .nachsorge-card, .hl-dark .standort-card,
.hl-dark .team-card, .hl-dark .vorsorge-cta__box {
  background: #221530; border-color: rgba(201,169,110,0.22); border-top: 1.5px solid var(--gold);
}
.hl-dark .leistung-card:hover, .hl-dark .nachsorge-card:hover, .hl-dark .standort-card:hover { border-color: var(--gold); }

/* Card-Icons: Lila-Glas */
.hl-dark .leistung-card__icon, .hl-dark .nachsorge-card__icon { background: rgba(142,111,184,0.16); color: var(--lila); }

/* Logo auf dunklem Nav sichtbar machen */
.hl-dark .nav__logo-img { filter: brightness(0) invert(1); }

/* ============================================================
   VARIANTE H — bunte Welle auf Dunkel (Feature-Klasse hl-cwave-dark)
   Nutzt das transparente Farbverlauf-SVG (kein multiply nötig), liegt
   sich also direkt auf das Dunkel und leuchtet als Akzent. Kommt NACH
   dem hl-dark-Block, überschreibt daher dessen dunkle Hero-Welle.
   ============================================================ */
body.hl-cwave-dark .hero::before { display: none; }
body.hl-cwave-dark .hero::after {
  background: url(../svg/wellen-color.svg) center bottom / 100% 100% no-repeat;
  -webkit-mask: none; mask: none; mix-blend-mode: normal; box-shadow: none;
  height: clamp(150px, 16vw, 320px); opacity: 0.95; z-index: 1;
}
body.hl-cwave-dark .leistungen,
body.hl-cwave-dark .standorte,
body.hl-cwave-dark .nachsorge,
body.hl-cwave-dark .partner-strip { position: relative; overflow: hidden; }
body.hl-cwave-dark .leistungen > .container,
body.hl-cwave-dark .standorte > .container,
body.hl-cwave-dark .nachsorge > .container,
body.hl-cwave-dark .partner-strip > .container { position: relative; z-index: 1; }
body.hl-cwave-dark .leistungen::after,
body.hl-cwave-dark .standorte::after,
body.hl-cwave-dark .nachsorge::after,
body.hl-cwave-dark .partner-strip::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: -1px; z-index: 0;
  background: url(../svg/wellen-color.svg) center bottom / 100% 100% no-repeat;
  pointer-events: none; height: clamp(70px, 8vw, 150px);
}
body.hl-cwave-dark .leistungen::after    { opacity: 0.78; }
body.hl-cwave-dark .standorte::after     { opacity: 0.9; height: clamp(80px, 9vw, 170px); }
body.hl-cwave-dark .nachsorge::after     { opacity: 0.7; }
body.hl-cwave-dark .partner-strip::after { opacity: 0.8; }

/* Variante I: Gold-Akzente (hl-gold) in BEIDEN Modi gleich – Karten-Goldkante
   konstant 3px, damit der Hell/Dunkel-Toggle nicht springt (Dark würde sonst
   1.5px setzen). */
body.hlv-i .leistung-card { border-top: 3px solid var(--gold); }

/* Dunkelmodus: Verbände-Siegel der Startseiten-Leiste auf helle Logo-Plates,
   damit die farbigen Logos & der Text-Siegel lesbar bleiben (wie Partnerseite). */
.hl-dark .partner-strip__seals a,
.hl-dark .partner-strip__textseal {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
}
.hl-dark .partner-strip__textseal { color: #4A3470; }

/* ===== Feedback 2026-06-25: Team-Platzhalter + Hero-Badge-Kontrast ===== */
.team-card__photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--lila-light); color: var(--accent);
}
.team-card__photo--placeholder span {
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 700;
  line-height: 1; opacity: 0.5;
}
.team-card__text {
  margin-top: 0.5rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.55;
}
.team-card--coming { border-style: dashed; }
/* Hero-Badges: kontrastreich & modus-adaptiv (auf hellem Hero-Verlauf / über den Wellen lesbar) */
.hero .hero-badge {
  background: rgba(34, 21, 48, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
