/* ============================================================
   Friedhof-Stuttgart.de — Design-System
   Warm, würdevoll, grün. Optimiert für gute Lesbarkeit
   (ältere Zielgruppe): große Schrift, hohe Kontraste,
   große Klickflächen, klare Struktur.
   ============================================================ */

/* ---------- Design-Tokens ---------- */
:root {
  /* Grüntöne */
  --green-900: #1c3527;
  --green-800: #244635;
  --green-700: #2f5d43;   /* Primär */
  --green-600: #3c7253;
  --green-500: #4f8a65;
  --green-400: #6ba37f;
  --sage:      #8fae98;
  --sage-200:  #c9ddce;
  --sage-100:  #e3efe6;

  /* Warme Neutraltöne */
  --cream:     #f6f2e9;   /* Seitenhintergrund */
  --cream-2:   #efe9db;
  --card:      #fffdf8;   /* Kartenflächen */
  --ink:       #283027;   /* Fließtext */
  --ink-soft:  #4d564c;
  --muted:     #6f7768;
  --line:      #e4ddcc;

  /* Warmer Akzent (Honig/Gold) */
  --accent:    #c98a3c;
  --accent-700:#a96f29;
  --accent-100:#f6e8cf;

  /* Funktional */
  --focus:     #1c3527;
  --shadow-sm: 0 2px 8px rgba(40, 48, 39, .06);
  --shadow:    0 10px 30px rgba(31, 53, 39, .10);
  --shadow-lg: 0 24px 60px rgba(31, 53, 39, .16);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container:  1180px;
  --container-narrow: 820px;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.18rem;      /* ~19px Basis für gute Lesbarkeit */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--green-900);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }
a  { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

strong { color: var(--green-900); }

/* ---------- Zugänglichkeit ---------- */
:focus-visible {
  outline: 3px solid var(--accent-700);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  background: var(--green-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 36px); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.2rem, 4vw, 3.4rem); }
.section--sage { background: var(--sage-100); }
.section--cream2 { background: var(--cream-2); }
.center { text-align: center; }
.lead { font-size: 1.28rem; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: .92rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  font-family: var(--font-sans);
  font-size: 1.1rem; font-weight: 700;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 56px;        /* große Klickfläche */
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-accent { background: var(--accent); color: #2a1c06; box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--accent-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--green-800); border-color: var(--sage-200); }
.btn-ghost:hover { background: var(--sage-100); color: var(--green-900); }
.btn-lg { font-size: 1.18rem; padding: 1.15rem 2rem; min-height: 62px; }
.btn-block { width: 100%; }
.btn svg { width: 22px; height: 22px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 233, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: .7rem;
  padding-block: .7rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--green-900);
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.28rem; line-height: 1.1;
  white-space: nowrap;
}
.brand .logo-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .72rem; letter-spacing: .04em; color: var(--green-600); text-transform: uppercase; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: inline-block;
  padding: .55rem .55rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--green-800);
  font-weight: 600;
  font-size: .96rem;
}
.main-nav a:hover { background: var(--sage-100); color: var(--green-900); }
.main-nav a[aria-current="page"] { background: var(--green-700); color: #fff; }

.header-phone {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none;
  background: var(--green-700);
  color: #fff;
  padding: .58rem .9rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.header-phone:hover { background: var(--green-800); color: #fff; }
.header-phone svg { width: 20px; height: 20px; }
.header-phone .ph-label { font-size: .68rem; font-weight: 600; opacity: .85; display:block; line-height:1; margin-bottom:2px; text-transform: uppercase; letter-spacing:.06em;}
.header-phone .ph-num { font-size: 1.06rem; line-height:1; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: #fff; border: 2px solid var(--sage-200);
  border-radius: 12px; width: 52px; height: 52px;
  align-items: center; justify-content: center; cursor: pointer;
  color: var(--green-800);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(79,138,101,.20), transparent 60%),
    linear-gradient(180deg, var(--sage-100), var(--cream) 75%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 1.8rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; }
.hero-trust .t-item { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; }
.hero-trust svg { width: 24px; height: 24px; color: var(--green-600); flex:0 0 auto;}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--green-600), var(--green-800));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-art svg { width: 78%; height: 78%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--card);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .8rem;
  max-width: 250px;
}
.hero-badge .num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--green-700); line-height: 1; }
.hero-badge .lbl { font-size: .9rem; color: var(--muted); line-height: 1.3; }

/* ---------- Such-/Filterleiste ---------- */
.searchbar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 2fr 1.3fr auto;
  gap: .8rem;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; color: var(--green-800); font-size: .98rem; }
.field input, .field select {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--sage-200);
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 56px;
}
.field input:focus, .field select:focus { border-color: var(--green-600); outline: none; }

/* Moderne Such-/Filterleiste (mit Icons & schicken Dropdowns) */
.searchbar--modern {
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, var(--card), var(--sage-100) 220%);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.sfield { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.sfield label { font-weight: 700; color: var(--green-800); font-size: .95rem; padding-left: .15rem; }
.sfield__control { position: relative; display: flex; align-items: center; }
.sfield__icon {
  position: absolute; left: .95rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; color: var(--green-600); pointer-events: none;
}
.sfield__icon svg { width: 20px; height: 20px; }
.sfield__control > input,
.sfield__control > select {
  width: 100%; font-family: var(--font-sans); font-size: 1.08rem; color: var(--ink);
  padding: .95rem 1.1rem .95rem 2.9rem; min-height: 58px;
  border: 2px solid var(--sage-200); border-radius: 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sfield__control > input:hover,
.sfield__control > select:hover { border-color: var(--sage); }
.sfield__control > input:focus,
.sfield__control > select:focus {
  border-color: var(--green-600); outline: none;
  box-shadow: 0 0 0 4px rgba(79, 138, 101, .16);
}
.sfield__control--select > select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.9rem; cursor: pointer;
}
.sfield__control--select::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700);
  transform: rotate(45deg); pointer-events: none;
}
.searchbar--modern .btn { align-self: stretch; min-height: 58px; }

/* ---------- Karten-Raster ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-200); }

/* Friedhof-Karte */
.fh-card { display: flex; flex-direction: column; gap: .7rem; height: 100%; }
.fh-card .fh-top { display:flex; align-items:flex-start; justify-content:space-between; gap:.6rem; }
.fh-card h3 { margin: 0; font-size: 1.32rem; }
.fh-card .fh-district { font-size: .92rem; font-weight: 700; color: var(--accent-700); text-transform: uppercase; letter-spacing: .04em; }
.fh-card .fh-addr { color: var(--ink-soft); font-size: 1rem; margin: 0; display:flex; gap:.5rem; align-items:flex-start;}
.fh-card .fh-addr svg { width:18px; height:18px; flex:0 0 auto; margin-top:4px; color: var(--green-500);}
.fh-card .fh-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap:.6rem; }
.fh-price { font-size: .98rem; color: var(--muted); }
.fh-price b { font-family: var(--font-serif); font-size: 1.3rem; color: var(--green-700); display:block; }
.fh-more { font-weight: 700; color: var(--green-700); display:inline-flex; align-items:center; gap:.3rem; }
.card-link:hover .fh-more { color: var(--green-900); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--green-800);
  border: 1px solid var(--sage-200);
}
.badge--accent { background: var(--accent-100); color: var(--accent-700); border-color: #ecd3a6; }
.badge--krem { background: #efe6f3; color: #6a4a86; border-color: #ddccea; }

/* Feature-/Vorteilskarten */
.feature { text-align: left; }
.feature .ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-700);
  margin-bottom: 1rem;
}
.feature .ico svg { width: 30px; height: 30px; }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Schritt-Liste */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.step .n { counter-increment: step; width: 48px; height: 48px; border-radius: 50%; background: var(--green-700); color:#fff; font-family: var(--font-serif); font-size: 1.35rem; display: grid; place-items: center; }
.step h3 { margin: .1rem 0 .3rem; font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--green-800), var(--green-700) 55%, var(--green-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; font-size: 1.15rem; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: .8rem; }
.cta-phone-big {
  display: inline-flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px; padding: 1rem 1.3rem; text-decoration: none; color:#fff;
}
.cta-phone-big svg { width: 34px; height: 34px; }
.cta-phone-big .lbl { font-size: .82rem; opacity: .85; text-transform: uppercase; letter-spacing:.06em; }
.cta-phone-big .num { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1; }

/* ---------- Detailseite ---------- */
.breadcrumb { font-size: .98rem; color: var(--muted); padding-block: 1rem; }
.breadcrumb a { color: var(--green-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: .4rem; color: var(--sage); }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.4rem; align-items: start; }
.detail-main > * + * { margin-top: 1.4rem; }
.detail-hero { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.detail-hero h1 { margin-bottom: .25em; }
.detail-hero .sub { font-size: 1.1rem; color: var(--accent-700); font-weight: 700; text-transform: uppercase; letter-spacing:.05em; margin-bottom: 1rem; }

.info-table { width: 100%; border-collapse: collapse; background: var(--card); border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: .95rem 1.2rem; vertical-align: top; }
.info-table tr + tr { border-top: 1px solid var(--line); }
.info-table th { width: 38%; color: var(--green-800); font-weight: 700; background: var(--sage-100); }
.info-table td a { font-weight: 600; }

/* Sticky Kontaktkarte */
.contact-card {
  position: sticky; top: 92px;
  background: var(--card);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.contact-card .cc-eyebrow { color: var(--green-600); font-weight: 800; text-transform: uppercase; letter-spacing:.08em; font-size:.82rem; }
.contact-card h3 { font-size: 1.45rem; margin: .3rem 0 .5rem; }
.contact-card p { font-size: 1.02rem; color: var(--ink-soft); }
.contact-card .cc-phone {
  display:flex; align-items:center; gap:.8rem;
  background: var(--sage-100); border-radius: 14px; padding: 1rem 1.1rem; text-decoration:none; color: var(--green-900); margin: 1rem 0;
}
.contact-card .cc-phone svg { width: 32px; height: 32px; color: var(--green-700); flex:0 0 auto;}
.contact-card .cc-phone .num { font-family: var(--font-serif); font-size: 1.55rem; line-height:1; }
.contact-card .cc-phone .lbl { font-size:.8rem; color: var(--muted); text-transform:uppercase; letter-spacing:.05em;}
.contact-card .hours { font-size: .92rem; color: var(--muted); margin-top: .8rem; text-align:center; }

/* ---------- Friedhof-Detailkopf (breit, Kontakt neben Überschrift) ---------- */
.detail-head {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 1.6rem 2.6rem;
  align-items: start;
  background-color: var(--green-800);
  background-size: cover; background-position: center 42%; background-repeat: no-repeat;
  border: 1px solid var(--green-900);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow);
}
.detail-head::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, rgba(18, 36, 26, .74) 0%, rgba(22, 44, 32, .50) 45%, rgba(28, 53, 39, .26) 100%);
}
.detail-head__main { position: relative; z-index: 1; min-width: 0; }
.detail-head .detail-contact { position: relative; z-index: 1; }
.detail-head__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem;
  font-weight: 700; color: #f1e4c8;
  text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
}
.detail-head__eyebrow svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.detail-head h1 { margin: 0 0 .6rem; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .38); }
.detail-head .badges { margin-top: .3rem; }

/* Kompakter Kontaktblock neben der Überschrift */
.detail-contact {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--sage-100); border: 1px solid var(--sage-200);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  width: 300px; max-width: 100%;
}
.detail-contact .cc-eyebrow { color: var(--green-600); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; }
.detail-contact .cc-phone {
  display: flex; align-items: center; gap: .7rem;
  background: var(--card); border: 1px solid var(--sage-200); border-radius: 14px;
  padding: .8rem 1rem; text-decoration: none; color: var(--green-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.detail-contact .cc-phone:hover { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.detail-contact .cc-phone svg { width: 30px; height: 30px; color: var(--green-700); flex: 0 0 auto; }
.detail-contact .cc-phone .lbl { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.detail-contact .cc-phone .num { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1; color: var(--green-900); }
.detail-contact__hours { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.detail-contact__hours svg { width: 18px; height: 18px; color: var(--green-600); flex: 0 0 auto; }

/* Preisleiste direkt unter dem Kopf – eine zusammenhängende Einheit */
.price-strip { margin-top: 1.3rem; }
.price-bar {
  display: flex; flex-wrap: wrap; align-items: stretch;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.price-bar__item {
  flex: 1 1 160px; min-width: 150px;
  display: flex; flex-direction: column; justify-content: center; gap: .15rem;
  padding: 1.35rem 1.6rem; border-left: 1px solid var(--line);
}
.price-bar__item:first-child { border-left: 0; }
.price-bar__item--lead { background: linear-gradient(160deg, var(--green-700), var(--green-800)); border-left: 0; }
.price-bar .po-label { font-weight: 700; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.price-bar__item--lead .po-label { color: rgba(255, 255, 255, .82); }
.price-bar .po-value { font-family: var(--font-serif); font-size: 1.95rem; line-height: 1.05; color: var(--green-700); }
.price-bar__item--lead .po-value { color: #fff; }
.price-bar .po-note { font-size: .82rem; color: var(--muted); }
.price-bar__item--lead .po-note { color: rgba(255, 255, 255, .8); }
.price-bar__cta {
  flex: 1 1 230px; display: flex; align-items: center; justify-content: center;
  padding: 1.1rem 1.4rem; background: var(--sage-100); border-left: 1px solid var(--line);
}
.price-bar__cta .btn { width: 100%; box-shadow: var(--shadow); }
.price-strip__foot {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: .95rem 0 0; font-size: .92rem; color: var(--muted);
}
.price-strip__foot svg { width: 17px; height: 17px; color: var(--green-600); flex: 0 0 auto; margin-top: 3px; }

@media (max-width: 760px) {
  .price-bar { flex-direction: column; }
  .price-bar__item, .price-bar__cta { border-left: 0; border-top: 1px solid var(--line); }
  .price-bar__item:first-child { border-top: 0; }
}

/* Breiter, einspaltiger Inhaltsbereich der Detailseite */
.detail-body > * + * { margin-top: 1.4rem; }
.detail-body { scroll-margin-top: 90px; }
#preise { scroll-margin-top: 90px; }

/* Prose-Bereiche */
.prose { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }

/* ---------- Tabellen (Preise) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border:1px solid var(--line); background: var(--card); }
table.price { width: 100%; border-collapse: collapse; min-width: 520px; }
table.price caption { text-align: left; padding: 1rem 1.2rem; font-family: var(--font-serif); font-size: 1.25rem; color: var(--green-900); }
table.price th, table.price td { padding: .85rem 1.2rem; text-align: left; }
table.price thead th { background: var(--green-700); color: #fff; font-weight: 700; }
table.price tbody tr:nth-child(even) { background: var(--sage-100); }
table.price td:last-child, table.price th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.price tbody td:first-child { font-weight: 600; color: var(--green-900); }

/* Preis-Zelle mit Info-Button (Wahlgrab-Herleitung) */
.price-cell { display: inline-flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.price-info {
  flex: 0 0 auto; display: inline-grid; place-items: center;
  width: 28px; height: 28px; padding: 0; margin: 0;
  border-radius: 50%; border: 1px solid var(--sage-200);
  background: var(--sage-100); color: var(--green-700);
  cursor: pointer; line-height: 0;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.price-info svg { width: 17px; height: 17px; }
.price-info:hover, .price-info[aria-expanded="true"] {
  background: var(--green-700); color: #fff; border-color: var(--green-700);
  box-shadow: var(--shadow-sm);
}
.price-pop {
  position: fixed;            /* entkommt dem overflow der .table-wrap */
  z-index: 80;
  display: none;
  max-width: min(300px, calc(100vw - 24px));
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .9rem 1.05rem;
  font-size: .98rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;        /* hebt das nowrap der Preisspalte auf */
}
.price-pop.open { display: block; animation: pricePopIn .14s ease-out; }
@keyframes pricePopIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hinweisboxen ---------- */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--accent-100);
  border: 1px solid #ecd3a6;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  color: #5c451f;
  font-size: 1.02rem;
}
.notice svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--accent-700); margin-top:2px;}
.notice strong { color: #5c451f; }
.notice--info { background: var(--sage-100); border-color: var(--sage-200); border-left-color: var(--green-600); color: var(--green-900); }
.notice--info svg { color: var(--green-600); }
.notice--info strong { color: var(--green-900); }
.notice--warn { background: #fbeedd; border-color: #f0d6b4; border-left-color: #c8821f; color: #6b4410; }
.notice--warn svg, .notice--warn strong { color: #a9650f; }

/* ---------- Akkordeon (FAQ / Glossar) ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.accordion details + details { border-top: 1px solid var(--line); }
.accordion summary {
  cursor: pointer; list-style: none;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; color: var(--green-900);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; width: 14px; height: 14px; flex:0 0 auto;
  border-right: 3px solid var(--green-600); border-bottom: 3px solid var(--green-600);
  transform: rotate(45deg); transition: transform .2s ease; margin-right:4px;
}
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion .acc-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Kontaktformular ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--green-800); }
.form-field label .req { color: var(--accent-700); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-sans); font-size: 1.1rem;
  padding: .9rem 1.05rem; border-radius: 12px;
  border: 2px solid var(--sage-200); background: #fff; color: var(--ink);
  min-height: 56px; width: 100%;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-600); outline: none; }
.checkbox-row { display: flex; gap: .7rem; align-items: flex-start; }
.checkbox-row input { width: 26px; height: 26px; min-height: auto; flex:0 0 auto; margin-top: 3px; accent-color: var(--green-700); }
.checkbox-row label { font-weight: 500; color: var(--ink-soft); font-size: 1rem; }
.form-note { font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #d9e4dc;
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem;
  margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 1.05rem; letter-spacing:.02em; margin-bottom: .9rem; }
.site-footer a { color: #cfe0d3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand { font-family: var(--font-serif); font-size: 1.4rem; color:#fff; display:flex; align-items:center; gap:.6rem; margin-bottom: .8rem; }
.footer-brand .logo-mark { width: 40px; height:40px; }
.footer-phone { display:inline-flex; align-items:center; gap:.6rem; background: rgba(255,255,255,.10); padding:.7rem 1rem; border-radius: 12px; color:#fff !important; font-weight:700; margin-top:.4rem; }
.footer-phone svg{width:22px;height:22px;}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.4rem; padding-top: 1.4rem; display:flex; flex-wrap:wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .92rem; color:#a9bdaf; }
.footer-bottom a { color:#a9bdaf; }

/* ---------- Sticky Anruf-Leiste (mobil) ---------- */
.call-bar { display: none; }

/* ---------- Statistik-Reihe ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.4rem 1rem; background: var(--card); border:1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--green-700); line-height: 1; }
.stat .lbl { color: var(--muted); font-weight: 600; margin-top: .3rem; }

/* Ergebnis-Zähler */
.result-meta { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; justify-content:space-between; margin: 1.6rem 0 1.2rem; }
.result-count { font-weight: 700; color: var(--green-800); font-size: 1.1rem; }
.empty-state { text-align:center; padding: 3rem 1rem; color: var(--muted); }
.empty-state svg { width: 56px; height: 56px; color: var(--sage); margin-bottom: 1rem; }

/* Letter-/Mini-Liste Umland */
.town-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.town-card { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.town-card h3 { margin-bottom:.2rem; }
.town-card .town-meta { color: var(--muted); font-size:.95rem; margin-bottom: 1rem; }
.town-card dl { margin:0; display:grid; grid-template-columns:auto 1fr; gap:.4rem 1rem; font-size:1rem; }
.town-card dt { font-weight:700; color: var(--green-800); }
.town-card dd { margin:0; color: var(--ink-soft); }

/* ---------- Bild-Banner (Unterseiten) ---------- */
.page-hero {
  position: relative;
  background: var(--green-800);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--green-900);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center 38%;
  transform: scale(1.03);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,53,39,.55) 0%, rgba(28,53,39,.66) 55%, rgba(28,53,39,.84) 100%);
}
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(2.6rem, 6vw, 5rem); }
.page-hero .breadcrumb { color: rgba(255,255,255,.82); padding-top: 0; }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.5); }
.page-hero__text { max-width: 760px; }
.page-hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.30); }
.page-hero .eyebrow { color: #f1e4c8; }
.page-hero .lead { color: rgba(255,255,255,.94); }

/* ---------- Hero mit Foto (Startseite) ---------- */
.hero-art--photo { background: var(--green-800); }
.hero-art--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bild-Karten ---------- */
.card-media {
  margin: -1.6rem -1.6rem 1.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 16 / 10; background: var(--sage-100);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-link:hover .card-media img { transform: scale(1.04); }

/* ---------- Text-/Bild-Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: .4em; }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; }
  .detail-contact { width: 100%; }
  .contact-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Hauptnavigation ins Burger-Menü klappen, bevor die 7 Menüpunkte mit Logo
   und Anruf-Button kollidieren (nebeneinander bräuchten sie > 1250px). Der
   Anruf-Button bleibt hier noch mit Nummer sichtbar, nur das Menü klappt weg. */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); margin: 0;
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; padding: 1rem; gap: .3rem; }
  .main-nav.open a { padding: .9rem 1rem; font-size: 1.15rem; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  body { font-size: 1.1rem; }
  .header-phone .ph-txt { display: none; }
  .header-phone { padding: .7rem; }
  .header-phone svg { width: 24px; height: 24px; }
  .searchbar { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; }
  /* Platz für Anruf-Leiste */
  body { padding-bottom: 76px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--card); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(31,53,39,.12);
  }
  .call-bar a { display:flex; align-items:center; justify-content:center; gap:.5rem; padding: .9rem; text-decoration:none; font-weight:800; font-size:1.05rem; min-height:60px;}
  .call-bar .cb-call { background: var(--green-700); color:#fff; }
  .call-bar .cb-form { color: var(--green-800); }
  .call-bar svg { width: 22px; height:22px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand small { display:none; }
}
