/* ==========================================================================
   Bestattungshaus & Grabmale Focke – Stylesheet
   Look: hell, viel Weißraum, klare Typografie, Gold als Akzent (#BA9248)
   ========================================================================== */

:root {
  --gold: #ba9248;
  --gold-dark: #826226;   /* Text und Flächen mit weißer Schrift: Kontrast ≥ 4.5:1 (WCAG AA) */
  --gold-deep: #66491a;
  --gold-soft: #f4ecdc;
  --gold-line: #e3d3b0;
  --ink: #1c1b19;
  --ink-soft: #55514a;
  --paper: #ffffff;
  --paper-warm: #faf7f1;
  --night: #0b0a09;
  --shadow: 0 2px 10px rgba(40, 30, 10, .12);
  --shadow-lg: 0 14px 40px rgba(40, 30, 10, .14);
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 96px;
  --font: "Avenir Next", Avenir, "Avenir LT Std", "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(17px, 1.05vw + 12px, 20px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
p, li, summary, blockquote, .btn { overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 2.4vw, 36px); }
h3 { font-size: clamp(20px, 1.5vw, 25px); }
strong { font-weight: 600; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 900px); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--warm { background: var(--paper-warm); }
.center { text-align: center; }
.gold { color: var(--gold-dark); }
.eyebrow {
  display: block; margin-bottom: 12px;
  font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
}
.lead { font-size: 1.08em; color: var(--ink-soft); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.5em; border-radius: 999px;
  border: 2px solid var(--gold-dark); background: var(--gold-dark); color: #fff;
  font: inherit; font-size: .92em; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 0 0 2px #fff inset;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--gold-dark); box-shadow: none; }
.btn--ghost:hover { background: var(--gold-dark); color: #fff; }
.btn--light { background: #fff; color: var(--gold-dark); border-color: #fff; box-shadow: none; }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--plain { text-transform: none; letter-spacing: .02em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center .btn-row { justify-content: center; }
.link-arrow { color: var(--gold-dark); text-decoration: none; font-size: .95em; letter-spacing: .04em; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header__inner {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 32px);
  min-height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto;
}
.brand { flex: none; display: flex; align-items: center; min-height: 44px; }
.brand img { height: 74px; width: auto; }
.brand .logo-white { display: none; }

.call-pill {
  display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
  padding: .3em 1.1em; border-radius: 999px;
  border: 2px solid var(--gold); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-line), var(--shadow);
  background: #fff; color: var(--ink); text-decoration: none; font-size: .95em;
}
.call-pill strong { font-weight: 700; }
.call-pill a { display: inline-flex; align-items: center; gap: .4em; color: inherit; text-decoration: none; min-height: 36px; }
.call-pill a:hover { color: var(--gold-dark); }
.call-pill__sep { width: 1px; height: 1.3em; margin: 0 .55em; background: var(--gold-line); }
.call-pill__mobil { color: var(--ink-soft); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 2px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-dark);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__item { position: relative; }
.nav__caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav__sub {
  position: absolute; left: -18px; top: 100%; min-width: 270px;
  list-style: none; margin: 0; padding: 10px 0;
  background: #fff; border-top: 2px solid var(--gold); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font-size: 16px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--gold-soft); color: var(--gold-dark); }
.nav .btn { font-size: 15px; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  border: 1.5px solid var(--gold); border-radius: 50%; background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; margin: auto; background: var(--gold-dark); position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Unterseiten: goldener Header mit weißem Logo */
.site-header--gold { background: var(--gold-dark); box-shadow: none; }
.site-header--gold .brand .logo-gold { display: none; }
.site-header--gold .brand .logo-white { display: block; }
.site-header--gold .nav__link { color: #fff; }
.site-header--gold .nav__link:hover, .site-header--gold .nav__link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-header--gold .nav .btn { background: #fff; color: var(--gold-dark); border-color: #fff; box-shadow: none; }
.site-header--gold .nav .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header--gold .call-pill { border-color: #fff; box-shadow: none; }
.site-header--gold .nav-toggle { border-color: #fff; }

/* ---------- Hero Startseite ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(78vh, 760px); display: flex; align-items: flex-end;
  padding-block: clamp(48px, 7vw, 96px);
  background: #e9e2d6;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  /* wie im Wix-Entwurf: gleichmäßiger heller Schleier über dem ganzen Foto, unten weicher Übergang ins Weiß */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, #fff 0%, rgba(255, 255, 255, .8) 7%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .4));
}
.hero__text { text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 3px rgba(255, 255, 255, .7); }
.hero__text .btn { text-shadow: none; }
.hero__text { max-width: 900px; }
.hero__text p { max-width: 58ch; }

/* Desktop wie Vorlage (Wix): breites Bildformat mit großen Urnen, Foto oben klar, weicher Weißverlauf nach unten,
   zweizeilige Überschrift, breiter Text, Knöpfe im hellen Gold mit weißem Ring */
@media (min-width: 901px) {
  .hero { min-height: clamp(520px, 42.6vw, 860px); padding-block: 0 clamp(56px, 4.6vw, 96px); background: #fff; }
  .hero > .wrap { width: 100%; padding-inline: 10.3vw 6vw; }
  .hero__img { object-position: 50% 96%; }
  .hero::after {
    background:
      linear-gradient(to top, #fff 0%, rgba(255, 255, 255, .92) 12%, rgba(255, 255, 255, .55) 34%, rgba(255, 255, 255, 0) 62%),
      linear-gradient(to right, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08) 60%, rgba(255, 255, 255, 0));
  }
  .hero__text { max-width: 56vw; text-shadow: 0 0 18px rgba(255, 255, 255, .9); }
  .hero__text h1 { font-size: clamp(24px, 1.95vw, 40px); font-weight: 400; letter-spacing: 0; line-height: 1.22; margin-bottom: .75em; text-wrap: nowrap; hyphens: manual; -webkit-hyphens: manual; }
  .hero__text p { max-width: none; font-size: clamp(15px, 0.98vw, 19px); line-height: 1.7; }
  .hero__text .btn { background: var(--gold); border-color: var(--gold); padding: .55em 1.1em; letter-spacing: .04em; }
  .hero__text .btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
}

/* ---------- Vertrauensleiste ---------- */
.trust { border-block: 1px solid var(--gold-line); background: #fff; }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0 auto; padding: 0; }
.trust__list li { padding: 22px 18px; text-align: center; font-size: .9em; letter-spacing: .04em; border-left: 1px solid var(--gold-line); }
.trust__list li:first-child { border-left: 0; }
.trust__list strong { display: block; hyphens: auto; -webkit-hyphens: auto; color: var(--gold-dark); font-size: 1.15em; font-weight: 500; letter-spacing: .02em; }

/* ---------- Goldene Aquarell-Fläche ---------- */
.gold-wash {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; /* clip: Sticky-Inhalte bleiben wirksam */
  background: linear-gradient(160deg, #f7efdd 0%, #fbf8f1 45%, #f3e6c9 100%);
}
.gold-wash::before {
  content: ""; position: absolute; inset: -10%; z-index: -1; opacity: .6;
  background:
    conic-gradient(from 20deg at 12% 18%, rgba(186, 146, 72, .28) 0 38deg, transparent 38deg 360deg),
    conic-gradient(from 200deg at 22% 70%, rgba(222, 190, 120, .30) 0 52deg, transparent 52deg 360deg),
    conic-gradient(from 110deg at 88% 22%, rgba(186, 146, 72, .20) 0 44deg, transparent 44deg 360deg),
    conic-gradient(from 300deg at 78% 86%, rgba(232, 205, 140, .34) 0 60deg, transparent 60deg 360deg),
    conic-gradient(from 60deg at 48% 40%, rgba(255, 255, 255, .55) 0 70deg, transparent 70deg 360deg);
  filter: blur(14px);
}

/* ---------- Karten ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: #fff; box-shadow: var(--shadow); padding: clamp(16px, 1.8vw, 26px);
  transition: box-shadow .25s, transform .25s;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gold-soft); display: grid; place-items: center; }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s; }
.card:hover .card__media img { filter: grayscale(0); transform: scale(1.03); }
.card__media--logo img { object-fit: contain; filter: none; padding: 8% 14%; }
.card__media svg { width: 34%; height: auto; color: var(--gold); }
.card__body { padding: 22px 8px 8px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.card__body p { color: var(--ink-soft); font-size: .92em; margin-bottom: 14px; }
.card__body .link-arrow { margin-top: auto; }

/* ---------- „Wir kümmern uns um alles“ (sticky) ---------- */
.care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 8vw, 140px); align-items: start; }
.care__intro { position: sticky; top: calc(var(--header-h) + 18vh); padding-block: 8vh; }
.care__intro p { letter-spacing: .04em; max-width: 26ch; }
.care__list { display: grid; gap: clamp(28px, 5vw, 72px); }
.care__list .card { padding: clamp(20px, 2.4vw, 34px); border: 1px solid rgba(0, 0, 0, .06); }
.care__list .card__body p { letter-spacing: .05em; font-size: 1em; color: var(--ink); margin: 0; }

/* ---------- Kerzen-Sektion ---------- */
.memorial-teaser { background: var(--night); color: #fff; overflow: hidden; }
.memorial-teaser__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: 520px; }
.memorial-teaser h2 { text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); }
.memorial-teaser p { max-width: 46ch; color: #ece6da; }

.candle { position: relative; width: 120px; height: 300px; margin: 40px auto; }
.candle__body { position: absolute; bottom: 0; left: 10px; width: 100px; height: 170px; border-radius: 8px 8px 4px 4px; background: linear-gradient(90deg, #d8cdb6, #fffaf0 40%, #e7dcc4 70%, #b9ab8d); }
.candle__body::before { content: ""; position: absolute; top: -8px; left: 0; width: 100%; height: 18px; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, #fff3cf, #e9dcbd 70%); }
.candle__wick { position: absolute; bottom: 170px; left: 58px; width: 4px; height: 18px; background: #2b2118; border-radius: 2px; }
.candle__flame {
  position: absolute; bottom: 182px; left: 40px; width: 40px; height: 84px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 78%, #fff 0 18%, #ffe9a6 34%, #ffb648 62%, rgba(255, 140, 40, 0) 78%);
  transform-origin: 50% 100%; animation: flicker 3.4s ease-in-out infinite;
  filter: blur(.6px);
}
.candle__glow { position: absolute; bottom: 110px; left: -140px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 72, .34), rgba(255, 176, 72, 0) 62%); animation: glow 3.4s ease-in-out infinite; pointer-events: none; }
.candle.is-off .candle__flame, .candle.is-off .candle__glow { display: none; }
@keyframes flicker {
  0%, 100% { transform: rotate(-1.5deg) scaleY(1); }
  25% { transform: rotate(1.6deg) scaleY(1.05) scaleX(.97); }
  50% { transform: rotate(-.6deg) scaleY(.96); }
  75% { transform: rotate(1deg) scaleY(1.03) scaleX(.98); }
}
@keyframes glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.review { margin: 0; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-bottom: 10px; }
.review__name { font-weight: 600; color: var(--gold-dark); font-size: 1.02em; }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.25em; line-height: 1; }
.review__badge { display: flex; align-items: center; gap: 6px; width: 100%; font-size: 13px; color: #625e57; }
.review__badge svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-style: italic; font-size: .93em; }
.reviews-note { margin-top: 32px; font-size: .85em; color: var(--ink-soft); }

/* ---------- Einzugsgebiet ---------- */
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.places li { padding: .35em 1.1em; border: 1px solid var(--gold-line); border-radius: 999px; background: #fff; font-size: .92em; }
.places li.is-home { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact h2 { color: var(--gold-dark); font-size: clamp(24px, 2vw, 30px); max-width: 24ch; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-dark); text-decoration: none; font-size: 1.05em; }
.contact__list a:hover { color: var(--ink); }
.contact__list svg { width: 30px; height: 30px; flex: none; color: var(--gold); }

.form h3 { color: var(--gold-dark); font-size: clamp(24px, 2vw, 30px); margin-bottom: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form__field { display: grid; gap: 4px; font-size: 14px; }
.form__field--full { grid-column: 1 / -1; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--gold); border-radius: 0; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form__check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.form__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.form .btn { border-radius: 0; box-shadow: none; text-transform: none; min-width: 190px; margin-top: 6px; }
.form__hint { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); margin: 0; }
.form__status { grid-column: 1 / -1; font-size: 15px; padding: 10px 14px; background: var(--gold-soft); border-left: 3px solid var(--gold); }
.form__status[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- FAQ / Akkordeon ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--gold); background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; font-size: 1.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 6px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { background: var(--paper-warm); }
.faq__answer { padding: 0 26px 24px; color: var(--ink-soft); max-width: 80ch; }
.faq__answer > :last-child { margin-bottom: 0; }
.faq--mini details { border-color: var(--gold-line); }
.faq--mini summary { padding: 14px 18px; font-size: .95em; }
.faq--mini .faq__answer { padding: 0 18px 16px; font-size: .95em; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 110px); overflow: hidden; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero__media { position: relative; padding: 0 12% 14% 0; }
.page-hero__media .img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-hero__media .img-inset {
  position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1 / 1; object-fit: cover;
  border: 12px solid #fff; box-shadow: var(--shadow);
}
.page-hero__media--single { padding: 0; }
.page-hero__text h1 { text-transform: none; font-size: clamp(30px, 3vw, 44px); color: var(--ink); }
.page-hero__text h1 span { display: block; }
.badge { display: inline-block; margin-bottom: 16px; padding: .25em 1em; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); font-size: 15px; letter-spacing: .06em; }

.quote {
  margin: 28px 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--paper-warm);
  font-size: .86em; letter-spacing: .07em; line-height: 1.75; text-transform: uppercase; color: var(--gold-dark);
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .85em; letter-spacing: .12em; color: var(--ink-soft); }
.tip { margin: 0; padding: 22px 26px; background: #fff; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); }
.tip__label { display: block; margin-bottom: 6px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.tip p { margin: 0; font-size: .95em; }

/* ---------- Inhaltselemente ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split--reverse > :first-child { order: 2; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

.steps { counter-reset: step; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { counter-increment: step; position: relative; background: #fff; box-shadow: var(--shadow); padding: 70px 26px 28px; text-align: left; }
.steps li::before {
  content: counter(step); position: absolute; top: 20px; left: 26px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-dark); color: #fff; font-weight: 600; font-size: 18px;
}
.steps h3 { font-size: 1.1em; margin-bottom: .4em; }
.steps p { margin: 0; font-size: .93em; color: var(--ink-soft); }
.steps a { font-weight: 600; white-space: nowrap; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 40px; }
.pillar { background: #fff; padding: 30px 26px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); text-align: left; }
.pillar svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.pillar h3 { font-size: 1.1em; }
.pillar .sub { display: block; font-size: .85em; color: var(--gold-dark); letter-spacing: .04em; margin-bottom: 8px; }
.pillar p { margin: 0; font-size: .93em; color: var(--ink-soft); }

.cta-band { background: var(--gold-dark); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(32px, 4vw, 52px); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 30px); }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-soft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 48px; padding: 22px 28px; background: var(--gold-soft); border-left: 3px solid var(--gold); }
.cta-soft p { margin: 0; }

/* ---------- Bestattungsvarianten ---------- */
.cat-title { display: flex; align-items: baseline; gap: 16px; margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--gold-line); }
.cat-title small { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.variant { background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.variant__icon { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(150deg, #f7efdd, #fbf8f1 55%, #f0e2c2); }
.variant__icon svg { width: 84px; height: 84px; color: var(--gold); }
.variant__body { padding: 24px 26px 26px; }
.variant__tag { display: inline-block; margin-bottom: 10px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.variant h3 { margin-bottom: .45em; }
.variant__teaser { color: var(--ink-soft); font-size: .93em; }
.variant details { margin-top: 6px; }
.variant details > summary { list-style: none; cursor: pointer; display: inline-flex; }
.variant details > summary::-webkit-details-marker { display: none; }
.variant details > summary .btn { pointer-events: none; font-size: 14px; }
.variant details[open] > summary .more { display: none; }
.variant details:not([open]) > summary .less { display: none; }
.variant__detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gold-line); font-size: .93em; }
.variant__detail ul { padding-left: 1.1em; }
.variant__detail li { margin-bottom: .6em; }
.variant__detail h4 { margin: 1.4em 0 .6em; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.variant__cta { display: block; margin-top: 18px; padding: 14px 16px; background: var(--gold-soft); color: var(--ink); text-decoration: none; font-size: .95em; }
.variant__cta:hover { background: var(--gold-dark); color: #fff; }
.variant--featured { outline: 2px solid var(--gold); }

/* ---------- Gedenkstätte ---------- */
.memorial-counter { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: .5em 1.4em; border: 1px solid var(--gold-line); border-radius: 999px; background: #fff; }
.memorial-counter strong { color: var(--gold-dark); font-size: 1.2em; }
.memorials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.memorial { background: #fff; box-shadow: var(--shadow); padding: clamp(16px, 1.8vw, 26px); text-align: center; }
.memorial__photo { aspect-ratio: 4 / 5; background: var(--gold-soft); display: grid; place-items: center; overflow: hidden; }
.memorial__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.memorial__photo svg { width: 38%; color: var(--gold); opacity: .7; }
.memorial h2 { margin: 20px 0 2px; font-size: clamp(20px, 1.5vw, 25px); color: var(--gold-dark); letter-spacing: .06em; }
.memorial__dates { font-size: .88em; color: var(--ink-soft); letter-spacing: .06em; }
.memorial__text { margin: 14px 0 18px; font-size: .93em; white-space: pre-line; overflow-wrap: anywhere; }
.memorials__leer { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); }
.memorial__candle { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.candle-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: .5em 1.2em;
  border: 1.5px solid var(--gold); border-radius: 999px; background: #fff; color: var(--gold-dark);
  font: inherit; font-size: 15px; cursor: pointer; transition: background .2s, color .2s;
}
.candle-btn svg { width: 18px; height: 24px; }
.candle-btn .flame { opacity: .25; transition: opacity .3s; }
.candle-btn:hover { background: var(--gold-soft); }
.candle-btn.is-lit { background: var(--night); border-color: var(--night); color: #ffd98a; cursor: default; }
.candle-btn.is-lit .flame { opacity: 1; animation: flicker 3s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.memorial__count { font-size: 14px; color: var(--ink-soft); }
.memorial__share { display: inline-block; margin-top: 10px; padding: 6px 0; font-size: 14px; }
.demo-note { margin: 0 0 36px; padding: 14px 18px; border: 1px dashed var(--gold); background: var(--paper-warm); font-size: 15px; color: var(--ink-soft); }

/* ---------- Downloads ---------- */
.downloads { display: grid; gap: 14px; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: #fff; border: 1px solid var(--gold-line); }
.download h2 { margin: 0 0 2px; font-size: 1.1em; }
.download p { margin: 0; font-size: .9em; color: var(--ink-soft); }
.download .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.download .btn { flex: none; }
.download__text { flex: 1; min-width: 0; }
.download__img { flex: none; width: 84px; height: 84px; object-fit: cover; }
.download .download__info { margin-top: 4px; font-size: 14px; letter-spacing: .04em; }

/* ---------- Karte ---------- */
.map { position: relative; min-height: 420px; background: var(--gold-soft); display: grid; place-items: center; text-align: center; padding: 30px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { max-width: 46ch; }
.map__consent p { font-size: .9em; color: var(--ink-soft); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 78ch; }
.legal h1 { text-transform: none; }
.legal h2 { font-size: clamp(20px, 1.6vw, 25px); margin-top: 1.8em; }
.todo { background: #fff6d6; outline: 1px dashed #c9a227; padding: 0 .3em; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 6vw, 90px); color: var(--gold-dark); font-size: 16px; }
.site-footer a { color: var(--gold-dark); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: clamp(28px, 4vw, 60px); padding-bottom: 48px; border-bottom: 2px solid var(--gold); }
.site-footer__logo img { width: min(100%, 340px); }
.site-footer h2 { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; color: var(--gold-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { font-style: normal; display: grid; gap: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-block: 28px 36px; font-size: 14.5px; }
.site-footer__bottom nav { display: flex; gap: 28px; }
.site-footer li a, .site-footer__bottom nav a, .site-footer address a { display: inline-block; padding: 3px 0; }

/* ---------- Mobile Anrufleiste ---------- */
.call-bar { display: none; }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .candle__flame, .candle__glow, .candle-btn.is-lit .flame { animation: none; }
}

/* ---------- Responsive ----------
   Desktop        > 1200 px   volle Navigation
   Tablet quer    901–1200    Menü als Schublade, Raster dreispaltig
   Tablet hoch    761–900     Raster zweispaltig, Kontakt untereinander
   Smartphone     ≤ 760       einspaltig, feste Anrufleiste
   ---------------------------------------------------------------- */
@media (max-width: 1800px) {
  .call-pill .call-pill__pre { display: none; }
}
@media (max-width: 1600px) {
  .call-pill .call-pill__post { display: none; }
  .nav__link { font-size: 15px; }
}
@media (max-width: 1440px) {
  .call-pill .call-pill__mobil { display: none; }
  .call-pill { padding-inline: .9em; }
  .call-pill__sep { margin: 0 .45em; }
}
@media (max-width: 1360px) {
  .nav__list { gap: 16px; }
  .call-pill { font-size: .88em; }
}
@media (min-width: 1201px) and (max-width: 1290px) {
  .nav__list { gap: 11px; }
  .nav__link { font-size: 14px; letter-spacing: .06em; }
  .call-pill { font-size: .82em; padding-inline: .75em; }
  .call-pill__sep { margin: 0 .35em; }
  .brand img { height: 64px; }
}

/* ===== Tablet und Smartphone ===== */
@media (max-width: 1200px) {
  :root { --header-h: 78px; }
  .brand img { height: 54px; }
  .nav-toggle { display: block; margin-left: 0; width: 48px; height: 48px; }
  .call-pill { margin-left: auto; font-size: .85em; min-height: 44px; }

  /* Menü: Schublade von rechts, daneben abgedunkelte Seite */
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: auto; width: min(100%, 440px); margin: 0;
    padding: 12px var(--gutter) calc(110px + env(safe-area-inset-bottom, 0px));
    background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    clip-path: inset(0 0 0 -100vmax);
    transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s, box-shadow .28s;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(20, 15, 5, .5); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--gold-line); }
  .nav__link, .site-header--gold .nav__link { width: 100%; min-height: 56px; justify-content: space-between; padding: 14px 2px; font-size: 18px; color: var(--ink); text-align: left; }
  .nav__link[aria-current="page"], .site-header--gold .nav__link[aria-current="page"] { color: var(--gold-dark); text-decoration: none; font-weight: 600; }
  .site-header--gold .nav__link:hover { color: var(--gold-dark); text-decoration: none; }
  .nav__caret { margin-right: 6px; transition: transform .2s; }
  .nav__item.is-open .nav__caret { transform: rotate(-135deg) translateY(-3px); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; display: none; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub, .nav__item.is-open:focus-within > .nav__sub { display: block; }
  .nav__sub a { padding: 12px 14px; font-size: 17px; }
  .nav__item--cta { border: 0; padding-top: 22px; }
  .nav .btn, .site-header--gold .nav .btn { width: 100%; min-height: 52px; background: var(--gold-dark); color: #fff; border-color: var(--gold-dark); font-size: 17px; }
  body.nav-open { overflow: hidden; }

  /* Bedienflächen für Finger: mindestens 44 px hoch */
  .link-arrow { display: inline-block; padding: 10px 0; }
  .candle-btn { min-height: 46px; }
  .memorial__share { padding: 12px 10px; margin-top: 4px; }
  .contact__list { gap: 2px; }
  .contact__list a, .contact__list span { min-height: 46px; }
  .form input[type="text"], .form input[type="email"], .form input[type="tel"] { min-height: 48px; }
  .form__field { font-size: 15px; gap: 6px; }
  .form__check { font-size: 15px; align-items: center; gap: 12px; padding-block: 6px; }
  .form__check input { flex: none; width: 24px; height: 24px; margin: 0; }
  .form .btn { min-height: 50px; }
  .site-footer ul { gap: 0; }
  .site-footer address { gap: 4px; }
  .site-footer address span { padding-bottom: 8px; }
  .site-footer li a, .site-footer__bottom nav a, .site-footer address a, .site-footer__bottom div a { display: inline-block; padding: 10px 0; }
  .site-footer h2 { margin-bottom: 10px; }
  .site-footer__bottom { align-items: center; padding-block: 16px 28px; }
  .review__badge { font-size: 14px; }
  .variant__tag { font-size: 14px; letter-spacing: .12em; }
  .variant details > summary .btn { font-size: 15px; }

  /* Startseiten-Hero: Text bleibt vor dem Foto lesbar */
  .hero { min-height: min(70vh, 640px); }
  .hero__text { max-width: min(60vw, 680px); }
  .hero h1, .cards .card__body h3 { hyphens: manual; -webkit-hyphens: manual; }

  .care { grid-template-columns: 1fr; gap: 28px; }
  .care__intro { position: static; padding-block: 0; }
  .care__intro p { max-width: none; }
  .care__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .care__list .card { padding: 16px; }
  .care__list .card__body p { letter-spacing: .02em; font-size: .95em; }
  .memorial-teaser__inner { min-height: 440px; }
}

/* ===== Tablet hochkant und Smartphone ===== */
@media (max-width: 900px) {
  /* Startseiten-Hero: Foto oben, Text darunter auf Weiß (keine Schrift mehr über den Urnen) */
  .hero { display: block; min-height: 0; padding: 0 0 44px; background: #fff; }
  .hero__img { position: relative; z-index: 0; height: auto; aspect-ratio: 16 / 8; object-position: 50% 40%; }
  .hero::after { inset: 0 0 auto 0; z-index: 0; aspect-ratio: 16 / 8; background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 30%); }
  .hero > .wrap { position: relative; z-index: 1; margin-top: -12px; }
  .hero__text { text-shadow: none; }
  .hero__text, .hero__text p { max-width: none; }

  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--gold-line); }

  .memorials, .reviews, .steps, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews > :last-child:nth-child(odd), .steps > :last-child:nth-child(odd), .pillars > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Bestattungsvarianten als Liste: Symbol links, Text rechts – aufgeklappte Details bleiben gut lesbar */
  .variants { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .variant { flex-direction: row; }
  .variant__icon { flex: 0 0 190px; aspect-ratio: auto; min-height: 170px; align-self: stretch; place-items: start center; padding-top: 44px; }
  .variant__body { flex: 1 1 0; min-width: 0; }

  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact h2 { max-width: none; }
  .contact__list { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__logo img { width: min(100%, 280px); }
}

/* ===== Smartphone ===== */
@media (max-width: 760px) {
  :root { --header-h: 66px; --gutter: 20px; }
  .brand img { height: 46px; }
  .nav-toggle { margin-left: auto; width: 46px; height: 46px; }
  .call-pill { display: none; }

  .section { padding-block: 52px; }
  .section--tight { padding-block: 36px; }
  .hero { padding-bottom: 36px; }
  .hero__img, .hero::after { aspect-ratio: 16 / 11; }
  .trust__list li { padding: 16px 8px; }

  .cards, .cards--2, .memorials, .reviews, .steps, .pillars, .split, .page-hero__inner, .memorial-teaser__inner { grid-template-columns: minmax(0, 1fr); }
  .reviews > :last-child:nth-child(odd), .steps > :last-child:nth-child(odd), .pillars > :last-child:nth-child(odd) { grid-column: auto; }
  .split--reverse > :first-child { order: 0; }
  .split { gap: 28px; }

  /* Angebotskarten: flacheres Bild, damit Titel und Link schneller sichtbar sind */
  .cards .card__media { aspect-ratio: 16 / 9; }
  .card__body { padding: 18px 6px 6px; }

  /* Leistungsübersicht: zwei kompakte Spalten statt sechs bildschirmhoher Karten */
  .care__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .care__list .card { padding: 10px; }
  .care__list .card__body { padding: 12px 2px 6px; }
  .care__list .card__body h3 { font-size: 17px; margin-bottom: .3em; }
  .care__list .card__body p { font-size: 14.5px; line-height: 1.45; letter-spacing: 0; }

  /* Unterseiten-Kopf: Bild randlos und flach, Überschrift im ersten Bildschirm */
  .page-hero { padding-block: 0 48px; }
  .page-hero__inner { gap: 26px; }
  .page-hero__media { max-width: none; padding: 0; margin-inline: calc(-1 * var(--gutter)); }
  .page-hero__media .img-main { aspect-ratio: 16 / 10; object-position: 50% 28%; }
  .page-hero__media .img-inset { width: 30%; right: var(--gutter); bottom: -18px; border-width: 5px; }
  .badge { margin-bottom: 12px; }

  /* Schritte: Nummer links neben dem Text */
  .steps { margin-top: 28px; gap: 12px; }
  .steps li { padding: 20px 18px 20px 72px; }
  .steps li::before { top: 18px; left: 18px; }
  .pillars { margin-top: 28px; gap: 12px; }
  .pillar { padding: 22px 20px; }
  .variant__body { padding: 20px 20px 22px; }
  .variant { flex-direction: column; }
  .variant__icon { flex: none; aspect-ratio: 5 / 2; min-height: 0; padding-top: 0; place-items: center; }
  .variant__icon svg { width: 64px; height: 64px; }

  .memorial-teaser__inner { padding-block: 52px 0; min-height: 0; gap: 0; }
  .memorial-teaser .candle { margin-top: 70px; }
  /* Gedenkeinträge: Foto klein links, Name daneben – sechs Einträge passen auf zwei Bildschirme */
  .memorials { gap: 12px; }
  .memorial { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 16px; text-align: left; }
  .memorial__photo { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
  .memorial h2 { margin: 0; align-self: end; font-size: 20px; }
  .memorial__dates { align-self: start; }
  .memorial__text, .memorial__candle, .memorial__share { grid-column: 1 / -1; }
  .memorial__text { margin: 14px 0 12px; }
  .memorial__candle { justify-content: flex-start; }
  .memorial__share { justify-self: start; padding-inline: 0; }
  .demo-note { margin-bottom: 24px; }

  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .contact__list { display: grid; gap: 0; }
  .cat-title { flex-direction: column; gap: 4px; margin-bottom: 20px; }
  .cta-soft, .cta-band__inner { flex-direction: column; align-items: stretch; }
  .cta-soft { margin-top: 32px; padding: 18px 20px; }
  .faq summary { padding: 16px 16px; gap: 14px; min-height: 60px; }
  .faq__answer { padding: 0 16px 20px; }
  .quote, .tip { padding: 18px 18px; }
  .quote { margin: 22px 0; font-size: .84em; letter-spacing: .04em; }
  .download { flex-wrap: wrap; align-items: flex-start; padding: 20px; gap: 14px 16px; }
  .download .btn { flex: 1 1 100%; }
  .download__img { width: 64px; height: 64px; }
  .map { min-height: 340px; padding: 24px 20px; }
  .places { gap: 8px; margin-top: 22px; }

  /* Footer: Logo kleiner, Navigation zweispaltig */
  .site-footer { padding-top: 44px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 28px; }
  .site-footer__logo img { width: 200px; }
  .site-footer__grid > div:nth-of-type(2) ul { grid-template-columns: auto auto; justify-content: start; column-gap: 28px; font-size: 15px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0; }

  .btn { text-align: center; letter-spacing: .05em; }
  .btn-row { gap: 10px; margin-top: 20px; }
  .btn-row .btn { flex: 1 1 auto; }

  /* Feste Anrufleiste (mit Abstand für die Home-Leiste von iPhones) */
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--gold-dark); box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
  }
  .call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px; color: #fff; text-decoration: none; font-size: 16px; letter-spacing: .04em; }
  .call-bar a + a { border-left: 1px solid rgba(255, 255, 255, .4); }
  .call-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open .call-bar { display: none; }
  .nav { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 420px) {
  h1 { font-size: 26px; }
  .page-hero__text h1 { font-size: 27px; }
  h2 { font-size: 23px; }
  .btn { padding-inline: 1.1em; }
  .call-bar a { font-size: 15px; }
}

@media (max-width: 370px) {
  .site-footer__grid > div:nth-of-type(2) ul { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 350px) {
  :root { --gutter: 16px; }
  .brand img { height: 42px; }
  .care__list .card__body h3 { font-size: 16px; }
  .trust__list li { font-size: .84em; }
}

/* Smartphone quer: Kopf- und Anrufleiste flacher, damit Inhalt sichtbar bleibt */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 1000px) {
  :root { --header-h: 56px; }
  .brand img { height: 38px; }
  .nav-toggle { width: 44px; height: 44px; }
  .call-bar a { min-height: 44px; padding-block: 6px; }
  body { padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); }
  .hero__img, .hero::after { aspect-ratio: 16 / 5; }
  .page-hero__media .img-main { aspect-ratio: 16 / 6; }
}

/* Geräte ohne Maus: keine „hängenden“ Hover-Effekte nach dem Antippen */
@media (hover: none) {
  .btn:hover { transform: none; }
  a.card:hover { transform: none; box-shadow: var(--shadow); }
  .card:hover .card__media img { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .call-bar, .nav-toggle, .skip-link, .form, .map, .memorial-teaser .candle, .btn-row { display: none !important; }
  body { padding-bottom: 0; font-size: 12pt; color: #000; background: #fff; }
  .reveal { opacity: 1; transform: none; }
  .hero, .page-hero, .section, .section--tight { padding: 12pt 0; }
  .hero__img { display: none; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  .cta-band, .gold-wash, .section--warm { background: #fff !important; color: #000; }
  details > .faq__answer { display: block; }
}

/* ---------- Cookie-Banner (Aufbau wie bohr.media; Focke-CI: dunkler Kasten, weiße Knöpfe, goldene Tab-Linie) ---------- */
html.cookie-offen, html.cookie-offen body { overflow: hidden; }
.cookie-modal {
  --cc-bg: #1c1b19; --cc-tabs-bg: #262420; --cc-line: rgba(255, 255, 255, .16);
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px;
  font-family: var(--font);
}
.cookie-modal.is-visible { display: flex; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 27, 25, .72); }
.cookie-modal__card {
  position: relative; width: 100%; max-width: 700px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--cc-bg); color: #fff; border: 1px solid var(--cc-line); border-radius: 14px; box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.cookie-tabs { display: flex; background: var(--cc-tabs-bg); border-bottom: 1px solid var(--cc-line); }
.cookie-tab {
  flex: 1; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500;
  padding: 16px 12px; min-height: 52px; border-bottom: 3px solid transparent; opacity: .72;
}
.cookie-tab.is-active { border-bottom-color: var(--gold); opacity: 1; }
.cookie-panel { display: none; padding: 24px 24px 12px; }
.cookie-panel.is-active { display: block; }
.cookie-panel h2 { color: #fff; font-size: 18px; margin: 0 0 12px; }
.cookie-scroll { max-height: 140px; overflow-y: auto; padding-right: 10px; }
.cookie-scroll p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .88); margin: 0 0 10px; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.cookie-links a { color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.cookie-links a:hover { color: var(--gold-line); }
.cookie-toggles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); margin-top: 12px; }
.cookie-toggle { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px; font-size: 14.5px; font-weight: 500; cursor: pointer; position: relative; }
.cookie-toggle + .cookie-toggle { border-left: 1px solid var(--cc-line); }
.cookie-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-toggle i { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #0b0a09; border: 1px solid rgba(255, 255, 255, .25); transition: background .15s; }
.cookie-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s, background .15s; }
.cookie-toggle input:checked + i { background: var(--gold); border-color: var(--gold); }
.cookie-toggle input:checked + i::after { transform: translateX(20px); }
.cookie-toggle input:disabled + i { background: #8a8579; border-color: #8a8579; }
.cookie-toggle input:disabled ~ * , .cookie-toggle:has(input:disabled) { cursor: not-allowed; }
.cookie-toggle input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 24px 24px; }
.cookie-btn {
  border: 0; border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  padding: 13px 10px; min-height: 48px; transition: background .15s;
}
.cookie-btn:hover { background: var(--gold-soft); }
.cookie-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie-modal { padding: 12px; align-items: flex-end; }
  .cookie-panel { padding: 18px 18px 8px; }
  .cookie-scroll { max-height: 110px; }
  .cookie-toggles { grid-template-columns: repeat(2, 1fr); }
  .cookie-toggle { padding: 14px 8px; }
  .cookie-toggle:nth-child(3) { border-left: 0; }
  .cookie-toggle:nth-child(n+3) { border-top: 1px solid var(--cc-line); }
  .cookie-actions { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px 18px; }
}
@media print { .cookie-modal { display: none !important; } }

/* Rückmeldung des Kontaktformulars */
.form__status.is-error { color: #9a2f1f; }

/* ---------- „Ein Licht der Erinnerung“: schwarzer Grund, Kerzen-Video rechts (wie Wix-Entwurf) ---------- */
.memorial-teaser { position: relative; isolation: isolate; background: #000; min-height: clamp(440px, 42.8vw, 860px); display: flex; align-items: center; }
.memorial-teaser__video { position: absolute; z-index: -1; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.memorial-teaser > .wrap { width: 100%; padding-inline: 12.7vw 6vw; }
.memorial-teaser__inner { display: block; min-height: 0; padding-block: 60px; }
.memorial-teaser__inner > div { max-width: min(40vw, 640px); }
.memorial-teaser h2 { text-transform: uppercase; font-weight: 400; letter-spacing: 0; font-size: clamp(24px, 1.9vw, 38px); color: #fff; margin-bottom: .8em; }
.memorial-teaser p { max-width: none; color: #fff; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.7; }
.memorial-teaser .btn { background: var(--gold); border-color: #fff; box-shadow: none; padding: .5em 1.1em; font-size: 1em; letter-spacing: .02em; }
.memorial-teaser .btn:hover { background: var(--gold-dark); border-color: #fff; }
@media (max-width: 900px) {
  .memorial-teaser { display: block; min-height: 0; }
  .memorial-teaser__video { position: relative; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .memorial-teaser > .wrap { padding-inline: var(--gutter); }
  .memorial-teaser__inner { padding-block: 8px 52px; }
  .memorial-teaser__inner > div { max-width: none; }
}

/* ---------- Bewertungen als Laufband (von rechts nach links) ---------- */
.reviews-band { background: #fff; overflow: hidden; }
.marquee { overflow: hidden; padding-block: 6px; }
.marquee:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.marquee__track { display: flex; width: max-content; animation: laufband 75s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: clamp(40px, 5.5vw, 110px); padding-right: clamp(40px, 5.5vw, 110px); }
@keyframes laufband { to { transform: translateX(-50%); } }
.marquee .review { flex: none; width: clamp(280px, 25vw, 480px); margin: 0; }
.marquee .review__head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 22px; row-gap: 4px; align-items: center; margin-bottom: 14px; }
.marquee .review__name { grid-column: 1; grid-row: 1; color: var(--gold); font-weight: 600; font-size: clamp(18px, 1.35vw, 24px); }
.marquee .review__badge { grid-column: 1; grid-row: 2; width: auto; font-size: 13.5px; color: #6f6b63; }
.marquee .review__badge a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.marquee .review__stars { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 2px; letter-spacing: 0; }
.marquee .review__stars svg { width: clamp(22px, 1.7vw, 30px); height: clamp(22px, 1.7vw, 30px); filter: drop-shadow(0 1px 1px rgba(90, 60, 10, .35)); }
.marquee .review blockquote { font-style: italic; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.reviews-note { margin: 28px 0 0; }
.reviews-note a { color: var(--gold-dark); }
@media (max-width: 760px) {
  .marquee .review { width: 82vw; }
  .marquee .review__head { grid-template-columns: 1fr; }
  .marquee .review__stars { grid-column: 1; grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee .review { scroll-snap-align: start; }
}

/* ---------- Hinweis-Box in den Seitenköpfen ---------- */
.note { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0; padding: 20px 22px; background: #fff; border: 1px solid var(--gold-line); box-shadow: 0 6px 22px rgba(40, 30, 10, .07); }
.note__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }
.note__icon svg { width: 22px; height: 22px; }
.note__label { display: block; margin: 2px 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.note p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
@media print { .marquee__group[aria-hidden="true"], .memorial-teaser__video { display: none; } .marquee__track { animation: none; flex-wrap: wrap; } }

/* ---------- Tree of Life: Seitenkopf mit Baum-Grafik und geschwungener Bodenlinie (wie Wix-Entwurf) ---------- */
.page-hero--baum { position: relative; padding-bottom: clamp(70px, 7vw, 120px); }
.page-hero--baum .page-hero__inner { align-items: end; }
.page-hero__media--baum { padding: 0; display: flex; justify-content: center; }
.page-hero__media--baum img { width: min(100%, 560px); height: auto; margin-bottom: calc(-1 * clamp(8px, 1.4vw, 24px)); }
.baum-linie { position: absolute; left: 0; right: 0; bottom: clamp(36px, 4vw, 70px); width: min(100% - 2 * var(--gutter), var(--wrap)); height: clamp(26px, 3vw, 46px); margin-inline: auto; color: var(--gold); pointer-events: none; }
@media (max-width: 900px) {
  .page-hero__media--baum { margin-inline: 0; }
  .page-hero__media--baum img { width: min(70%, 380px); margin-bottom: 0; }
  .baum-linie { position: relative; bottom: auto; margin-top: -6px; }
  .page-hero--baum { padding-bottom: 40px; }
}

/* Tree of Life auf Tablet und Smartphone: Bodenlinie direkt unter dem Stamm statt am Ende des Seitenkopfs */
@media (max-width: 900px) {
  .baum-linie { display: none; }
  .page-hero__media--baum { position: relative; padding-bottom: 16px; }
  .page-hero__media--baum img { position: relative; z-index: 1; margin-bottom: -4px; }
  .page-hero__media--baum::after {
    content: ""; position: absolute; left: 2%; right: 2%; bottom: 0; height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ba9248' d='M0 50 C110 58 230 54 330 40 C470 20 740 12 1000 4 C740 18 470 30 330 46 C230 60 110 64 0 50 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }
}

/* Startseiten-Kopf: Knöpfe auf allen Geräten im hellen Logo-Gold wie im Wix-Entwurf; Überschrift am Smartphone etwas kleiner */
.hero__text .btn { background: var(--gold); border-color: var(--gold); }
.hero__text .btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
@media (max-width: 760px) {
  .hero__text h1 { font-size: 26px; }
}
@media (max-width: 370px) {
  .hero__text h1 { font-size: 23px; }
}
