/* =========================================================
   Tirsch & Schottland — Design System
   Palette inspired by highland heather, moss, morning mist.
   ========================================================= */

:root {
  /* Colors — highland palette */
  --bg:            #F4EFE6;   /* warm oat cream */
  --bg-soft:       #EBE4D6;   /* slightly deeper */
  --surface:       #FBF7EE;   /* card / raised */
  --ink:           #1F2A26;   /* deep moss-ink */
  --ink-soft:      #3A443E;   /* body secondary — WCAG AA on --bg */
  --ink-muted:     #5F5A4D;   /* labels — WCAG AA on --bg (4.9:1) */
  --line:          #D8D0BE;   /* hairlines */
  --accent:        #3E5A48;   /* moss green */
  --accent-hover:  #2C4234;
  --heather:       #7A5570;   /* accent for eyebrow / italic */
  --thistle:       #B5A6C4;

  /* Typography */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "General Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm:   clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --text-lg:   clamp(1.15rem, 1.1rem + 0.3vw, 1.35rem);
  --text-xl:   clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --text-hero: clamp(2.75rem, 2rem + 4.5vw, 5.75rem);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;
  --sp-20: 10rem;

  --radius: 4px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alias-Layer: die neu ergänzten Blöcke verwenden --color-* Namen.
   Wir mappen sie auf das bestehende Design-System. */
:root {
  --color-bg: var(--surface);
  --color-bg-soft: var(--bg-soft);
  --color-cream: var(--bg);
  --color-line: var(--line);
  --color-ink: var(--ink);
  --color-ink-soft: var(--ink-soft);
  --color-accent: var(--accent);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

/* Focus visible — accessible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Programmatischer Fokus auf Landmark-Container zeigt keinen Ring —
   Landmarks sind keine echten Interaktionsziele und ein full-width Outline
   erscheint sonst als grüne Linie unter dem sticky Header. */
header[tabindex="-1"]:focus,
main[tabindex="-1"]:focus,
nav[tabindex="-1"]:focus,
section[tabindex="-1"]:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heather);
  margin: 0 0 var(--sp-2);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
  max-width: 24ch;
}
.section-title em {
  font-style: italic;
  color: var(--heather);
  font-weight: 400;
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 55ch;
  margin: 0;
}

.section-head { margin-bottom: var(--sp-8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 0.65rem 1.15rem; font-size: var(--text-xs); }
.btn-full { width: 100%; justify-content: center; padding: 1.05rem 1.5rem; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 0.5rem;
}
.btn-ghost:hover { color: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.logo svg { color: var(--accent); flex-shrink: 0; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.logo-text em { font-style: italic; color: var(--heather); font-weight: 400; }

.main-nav {
  margin-left: auto;
  margin-right: var(--sp-2);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.main-nav a:not(.btn) {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible { color: var(--accent); }
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--accent); }
.main-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .main-nav a:not(.btn)::after { transition: none; }
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .logo-text { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: var(--sp-8) 0 0;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Original overlay replaced with a stronger dual gradient for WCAG contrast */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,26,24,0.78) 0%, rgba(20,26,24,0.55) 35%, rgba(20,26,24,0.15) 65%, rgba(20,26,24,0) 100%),
    linear-gradient(to top, rgba(20,26,24,0.55) 0%, rgba(20,26,24,0) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--sp-16) clamp(1.25rem, 4vw, 2.5rem) var(--sp-12);
  color: var(--bg);
  width: 100%;
}
.hero .eyebrow { color: #F4EFE6; opacity: 0.95; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 var(--sp-4);
  max-width: 15ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #E8D5C4;
}
.hero-lede {
  font-size: var(--text-lg);
  max-width: 44ch;
  line-height: 1.55;
  color: #FBF7EE;
  margin: 0 0 var(--sp-4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hero-cta { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero .btn-ghost { color: var(--bg); }
.hero .btn-ghost:hover { color: #E8D5C4; }

.hero-marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(244,239,230,0.25);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  color: #F4EFE6;
  background: linear-gradient(to top, rgba(20,26,24,0.55), rgba(20,26,24,0.25));
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  text-align: center;
}
.hero-marquee > span {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}
.hero-marquee > span + span::before {
  content: "·";
  opacity: 0.6;
  margin-right: 0.25rem;
}
@media (max-width: 640px) {
  .hero-marquee > span + span::before { content: none; }
}

/* ---------- Values ---------- */
.values {
  padding: var(--sp-20) 0 var(--sp-12);
}
.values .section-title {
  max-width: 20ch;
  margin-bottom: var(--sp-8);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.value-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(58,68,62,0.04), 0 4px 12px rgba(58,68,62,0.05);
}
.value-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-2);
}
.value-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,68,62,0) 55%, rgba(58,68,62,0.15) 100%);
  pointer-events: none;
}
.value-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.value-card:hover .value-photo img,
.value-card:focus-within .value-photo img {
  transform: scale(1.03);
}
.value-body {
  padding: var(--sp-3);
}
.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--heather);
  display: block;
  margin-bottom: var(--sp-2);
}
.value-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-lg);
  margin: 0 0 var(--sp-1);
  line-height: 1.2;
}
.value-card p {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Weddings ---------- */
.weddings {
  padding: var(--sp-12) 0 var(--sp-16);
  background: var(--bg-soft);
}
.wedding-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.wedding-item {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--sp-8);
  align-items: center;
}
.wedding-item--reverse .wedding-image { order: 2; }
.wedding-item--reverse .wedding-text  { order: 1; }

.wedding-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.wedding-tag {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heather);
  margin: 0 0 var(--sp-2);
}
.wedding-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-2);
  max-width: 22ch;
}
.wedding-text p {
  color: var(--ink-soft);
  margin: 0 0 var(--sp-3);
  max-width: 52ch;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: var(--text-sm);
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 0.75rem;
  height: 1px;
  background: var(--accent);
}
.from-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--ink-soft);
  margin: 0;
}
.from-price strong {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
}

.pricing-note {
  margin: var(--sp-8) 0 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Callout — wiederverwendbare Komponente zum Herausheben
   zentraler Aussagen. Deutlich sichtbar, aber sekundär
   gegenüber Section-Headings und CTAs.

   Markup:
     <aside class="callout" role="note">
       <p class="callout__eyebrow">Optionaler Eyebrow</p>
       <p class="callout__text">Kernaussage …</p>
     </aside>

   Varianten (optional):
     .callout--center   → zentriert
     .callout--compact  → kleinerer Text (var für kürzere Sätze)
   ========================================================= */
.callout {
  --callout-bg: color-mix(in srgb, var(--accent) 6%, var(--surface));
  --callout-border: color-mix(in srgb, var(--accent) 22%, var(--line));

  position: relative;
  margin: var(--sp-8) auto 0;
  max-width: 68ch;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-6);
  background: var(--callout-bg);
  border: 1px solid var(--callout-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.callout__eyebrow {
  margin: 0 0 var(--sp-1);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.callout__text {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

.callout__text em,
.callout__text i {
  font-style: italic;
  color: var(--accent);
}

.callout--center {
  text-align: center;
  border-left-width: 1px;
  border-top: 3px solid var(--accent);
  padding: var(--sp-6) var(--sp-4);
}

.callout--compact .callout__text {
  font-size: var(--text-base);
}

@media (max-width: 780px) {
  .callout {
    padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4);
    margin-top: var(--sp-6);
  }
  .callout__text { font-size: var(--text-base); }
}

/* ---------- Promise (full-bleed Bild-Break) ---------- */
.promise {
  --promise-photo: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #1c2a22;
  background-image: var(--promise-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin: 0 0 var(--sp-12);
}
/* Nahtloser Übergang vom Hochzeitsformen-Bereich zum Promise-Bild —
   nur den margin oberhalb entfernen, das padding-bottom des
   Hochzeitsformen-Bereichs bleibt für die letzte Karte erhalten. */
.weddings + .promise {
  margin-top: 0;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(20, 32, 26, 0.78) 0%,
      rgba(20, 32, 26, 0.58) 55%,
      rgba(20, 32, 26, 0.38) 100%);
  z-index: 0;
}
.promise-inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-12) 0;
  max-width: 62ch;
}
.promise__eyebrow {
  margin: 0 0 var(--sp-2);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e6d9b0;
}
.promise__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.promise__text em,
.promise__text i {
  color: #f2e8c9;
  font-style: italic;
}
@media (max-width: 780px) {
  .promise {
    min-height: 360px;
    margin: 0 0 var(--sp-8);
  }
  .promise::before {
    background:
      linear-gradient(180deg,
        rgba(20, 32, 26, 0.75) 0%,
        rgba(20, 32, 26, 0.65) 100%);
  }
  .promise-inner {
    padding: var(--sp-8) var(--sp-1);
  }
  .promise__text { font-size: 1.15rem; }
}

/* ---------- Callout mit Foto-Hintergrund ---------- */
.callout--photo {
  --callout-photo: none;
  position: relative;
  padding: 0;
  background: #1c2a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  max-width: 780px;
}
.callout--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--callout-photo);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.callout--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(20, 32, 26, 0.86) 0%,
      rgba(20, 32, 26, 0.72) 55%,
      rgba(20, 32, 26, 0.55) 100%);
  z-index: -1;
}
.callout--photo .callout__inner {
  padding: var(--sp-6) var(--sp-6);
  max-width: 60ch;
}
.callout--photo .callout__eyebrow {
  color: #d9e6dd;
}
.callout--photo .callout__text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.callout--photo .callout__text em,
.callout--photo .callout__text i {
  color: #f2e8c9;
  font-style: italic;
}

@media (max-width: 780px) {
  .callout--photo { padding: 0; }
  .callout--photo .callout__inner {
    padding: var(--sp-4) var(--sp-4);
  }
  .callout--photo::after {
    background:
      linear-gradient(180deg,
        rgba(20, 32, 26, 0.82) 0%,
        rgba(20, 32, 26, 0.72) 100%);
  }
}

@media (max-width: 780px) {
  .wedding-item {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .wedding-item--reverse .wedding-image { order: 0; }
  .wedding-item--reverse .wedding-text  { order: 1; }
  .wedding-image img { aspect-ratio: 4/3 !important; }
}

/* ---------- Places ---------- */
.places {
  padding: var(--sp-16) 0;
  background: var(--bg-soft);
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  /* Reset für <ul class="places-grid"> */
  list-style: none;
  padding: 0;
  margin: 0;
}
.places-grid > li {
  display: contents;
}

/* Wenn die Karten mit Fotos befüllt sind, wird das Grid zum echten
   Card-Grid mit Abstand — kein durchgehender Border-Look. */
.places-grid--photos {
  gap: var(--sp-3);
  border: 0;
}
.places-grid--photos > li {
  display: block;
}
.place {
  padding: var(--sp-3);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  transition: background 0.25s var(--ease);
}
.place:hover { background: var(--surface); }
.place-region {
  font-size: var(--text-xs);
  color: var(--heather);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.place-name {
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.15;
  color: var(--ink);
}
@media (max-width: 780px) {
  .places-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .places-grid { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  padding: var(--sp-6) 0 var(--sp-16);
  background: var(--bg-soft);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
.step {
  padding: var(--sp-3) var(--sp-2) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--heather);
  margin-bottom: var(--sp-2);
}
.step-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-lg);
  margin: 0 0 0.5rem;
}
.step-body p {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Full-bleed with pull quote ---------- */
.fullbleed {
  position: relative;
  height: clamp(400px, 70vh, 720px);
  overflow: hidden;
}
.fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.fullbleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(31,42,38,0.55), rgba(31,42,38,0.15) 60%);
}
.pullquote {
  position: absolute;
  left: clamp(1.5rem, 6vw, 5rem);
  bottom: clamp(2rem, 8vh, 5rem);
  right: clamp(1.5rem, 6vw, 5rem);
  max-width: 640px;
  color: var(--bg);
  margin: 0;
  z-index: 2;
}
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-2);
}
.pullquote cite {
  font-style: normal;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: rgba(244,239,230,0.85);
}

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--sp-16) 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.testimonial {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-3);
}
.testimonial blockquote {
  margin: 0;
}
.testimonial blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.testimonial blockquote p::before {
  content: "“";
  font-family: var(--serif);
  color: var(--heather);
  font-size: 1.2em;
  line-height: 0;
  margin-right: 0.1em;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--ink);
}
.testimonial figcaption span {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about {
  padding: var(--sp-16) 0;
  background: var(--bg-soft);
}
.about-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--sp-8);
  align-items: center;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-text p {
  color: var(--ink-soft);
  margin: 0 0 var(--sp-3);
  max-width: 55ch;
}
.about-text .btn { margin-top: var(--sp-2); }
@media (max-width: 780px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  padding: var(--sp-16) 0;
  background: var(--ink);
  color: var(--bg);
}
.contact .section-title { color: var(--bg); max-width: 18ch; }
.contact .section-title em { color: #E8D5C4; }
.contact .eyebrow { color: #E8D5C4; }
.contact-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-lede {
  font-size: var(--text-lg);
  color: rgba(244,239,230,0.85);
  max-width: 45ch;
  margin: 0 0 var(--sp-6);
}
.contact-details {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
}
.contact-details > div {
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(244,239,230,0.2);
}
.contact-details dt {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8D5C4;
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.contact-details dd {
  margin: 0;
  color: var(--bg);
}
/* Variante A: Prominente Kontakt-Links in Serif, gut klickbar */
.contact-details dd a {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bg);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-bottom: 2px solid #E8D5C4;
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  min-height: 44px; /* Touch-Target WCAG 2.5.5 */
}
.contact-details dd a:hover,
.contact-details dd a:focus-visible {
  border-color: var(--bg);
  color: var(--bg);
}
/* E-Mail etwas kleiner, weil länger */
.contact-details dd a[href^="mailto:"],
.contact-details dd a[data-obf="email"] {
  font-size: 1.15rem;
}
.contact-details dd .hours {
  display: block;
  font-size: var(--text-xs);
  color: rgba(244,239,230,0.65);
  margin-top: 0.55rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .contact-details dd a { font-size: 1.3rem; }
  .contact-details dd a[href^="mailto:"],
  .contact-details dd a[data-obf="email"] { font-size: 1.05rem; word-break: break-all; }
}

.contact-form {
  background: var(--surface);
  color: var(--ink);
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--sp-3);
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.field label span { color: var(--heather); }
.field label .field-hint {
  color: var(--ink-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
  font-size: 0.72rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--sp-8) 0 var(--sp-4);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-brand { max-width: 40ch; }
.footer-brand .logo-text { font-size: 1.25rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin: 0;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--sp-3);
}
.footer-nav a {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  width: 100%;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

/* ---------- Motion (subtle) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .value-card, .wedding-item, .testimonial, .step, .place, .about-inner {
    animation: fade-up 0.7s var(--ease) both;
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
/* ============================================================
   ERWEITERUNGEN: Logo, Referenzen, Bildquellen
   ============================================================ */

/* Logo-Bild im Header + Footer */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.logo-text-inline {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.logo-text-inline em {
  font-style: italic;
  color: var(--heather);
  font-weight: 400;
}
@media (max-width: 640px) {
  .logo-text-inline { font-size: 17px; }
}

/* About ohne Foto: Zitat-Layout */
.about--quote {
  background: var(--bg);
  padding: 96px 0 120px;
}
.about-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-quote-inner .eyebrow { margin-bottom: 24px; }
.about-quote-inner h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.about-quote-inner h2 em { font-style: italic; color: var(--heather); }
.about-quote-inner p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
}
.about-signature {
  display: inline-flex;
  gap: 24px;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-signature strong {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
}
.about-signature span {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Referenzen-Übersicht */
.refs-overview {
  padding: 96px 0 120px;
  background: var(--bg);
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.ref-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease;
}
.ref-card:hover { transform: translateY(-4px); }
.ref-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ref-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
  border-radius: 2px;
  margin-bottom: 20px;
}
.ref-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.ref-card:hover .ref-card-image img { transform: scale(1.03); }
.ref-card-tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heather);
  margin: 0 0 8px;
}
.ref-card-title {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.ref-card-title em { font-style: italic; color: var(--heather); }
.ref-card-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Referenz-Detailseite */
.ref-hero {
  padding: 60px 0 40px;
}
.ref-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.ref-hero .eyebrow { margin-bottom: 16px; }
.ref-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.ref-hero h1 em { font-style: italic; color: var(--heather); }
.ref-hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--ink-soft);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 500px;
  margin: 24px auto 0;
}
.ref-hero-meta strong { color: var(--ink); font-weight: 500; }

.ref-lead-image {
  margin: 40px auto;
}
.ref-lead-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.ref-lead-image figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 12px;
  text-align: center;
  font-style: italic;
}

.ref-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.ref-body p {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 24px;
}
.ref-body blockquote {
  border-left: 3px solid var(--heather);
  padding: 16px 0 16px 28px;
  margin: 40px 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
.ref-body blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: "General Sans", sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Referenz-Galerie: quadratisches Grid mit 512x512 Center-Crop-Thumbnails.
   Lightbox oeffnet das Originalbild. Indikator immer sichtbar.
   Wenige Bilder werden im Grid zentriert (auto-fit fuellt keine leeren Spalten). */
.ref-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 48px auto;
  max-width: calc(4 * 220px + 3 * 12px);   /* max. vier Kacheln pro Reihe */
}
@media (max-width: 1000px) {
  .ref-gallery { max-width: calc(3 * 220px + 2 * 12px); }
}
@media (max-width: 720px) {
  .ref-gallery { max-width: calc(2 * 220px + 1 * 12px); }
}
.ref-gallery-item {
  display: block;
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.ref-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox-Indikator (Plus-Icon rechts unten) — immer sichtbar, damit
   auch auf Desktop klar ist, dass die Bilder klickbar sind. */
.ref-gallery-item[data-lightbox-src] {
  cursor: zoom-in;
}
.ref-gallery-item[data-lightbox-src]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    linear-gradient(currentColor, currentColor) center/12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 12px no-repeat,
    rgba(31, 42, 38, 0.78);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  opacity: 1;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
  pointer-events: none;
}
.ref-gallery-item[data-lightbox-src]:hover::after,
.ref-gallery-item[data-lightbox-src]:focus-visible::after {
  transform: scale(1.08);
}
.ref-gallery-item[data-lightbox-src]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ref-location {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  margin-top: 56px;
}
.ref-location-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) {
  .ref-location-inner { grid-template-columns: 1fr; }
}
.ref-location-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.ref-location-image figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  padding-top: 8px;
  font-style: italic;
}
.ref-location-text .eyebrow { margin-bottom: 12px; }
.ref-location-text h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--ink);
}
.ref-location-text h2 em { font-style: italic; color: var(--heather); }
.ref-location-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Navigation zurück zu Referenzen */
.ref-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px clamp(1.25rem, 4vw, 2.5rem) 80px;
  /* border-top entfernt — Farbwechsel zur .ref-outro trennt bereits */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.ref-nav a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ref-nav a:hover,
.ref-nav a:focus-visible {
  color: var(--accent-hover, var(--heather));
}
.ref-nav-prev,
.ref-nav-next {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
  max-width: 320px;
}
.ref-nav-prev { justify-self: start; text-align: left; }
.ref-nav-next {
  justify-self: end;
  text-align: right;
  grid-template-columns: auto auto;
}
.ref-nav-next .ref-nav-label { grid-column: 1; }
.ref-nav-next .ref-nav-name  { grid-column: 1; }
.ref-nav-next .ref-nav-arrow { grid-column: 2; }
.ref-nav-arrow {
  font-size: 22px;
  line-height: 1;
  grid-row: span 2;
  align-self: center;
  color: var(--accent);
  transition: transform .2s var(--ease);
}
.ref-nav-prev:hover .ref-nav-arrow { transform: translateX(-3px); }
.ref-nav-next:hover .ref-nav-arrow { transform: translateX(3px); }
.ref-nav-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ref-nav-name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  color: var(--ink);
}
.ref-nav-index {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.ref-nav-index:hover,
.ref-nav-index:focus-visible {
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .ref-nav {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .ref-nav-prev,
  .ref-nav-next {
    justify-self: center;
    max-width: none;
  }
  .ref-nav-index { justify-self: center; }
}

/* Bildnachweise-Fußzeile */
.image-credits {
  background: var(--paper);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.image-credits .container { max-width: 900px; }
.image-credits h3 {
  font-family: "General Sans", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}
.image-credits a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.image-credits a:hover { color: var(--accent); }

/* Bildnachweise – eigenständige Seite */
.credits { padding: 40px 0 96px; background: var(--paper); }
.credits-inner { max-width: 780px; margin: 0 auto; }
.credits h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.credits h2:first-of-type { margin-top: 8px; }
.credit-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 14px;
}
.credit-item:last-child { margin-bottom: 0; }

.credit-thumb img,
.credit-thumb-grid img {
  display: block;
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-line);
}
.credit-thumb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.credit-body { min-width: 0; }

.credit-badge {
  display: inline-block;
  margin: 12px 0 0;
  padding: 4px 10px;
  font-family: "General Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  background: var(--color-cream);
}

@media (max-width: 620px) {
  .credit-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .credit-thumb img,
  .credit-thumb-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
.credit-item h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.credit-usage {
  font-family: "General Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 6px;
}
.credit-usage-list {
  font-family: "General Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 14px;
}
.credit-usage-list li { margin: 2px 0; }

/* -------------------------------------------------------------------
   Back-to-Top-Button (WCAG-konform)
   ------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent-hover);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--bg);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}
@media print {
  .back-to-top { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.15s linear; transform: none; }
  .back-to-top.is-visible { transform: none; }
}
.credit-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 16px;
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.credit-list dt {
  font-family: "General Sans", sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.credit-list dd {
  margin: 0;
  color: var(--ink-soft);
}
.credit-list dd a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.credit-list dd a:hover { color: var(--accent); }
.credit-footer {
  font-family: "General Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}
@media (max-width: 620px) {
  .credit-list { grid-template-columns: 1fr; gap: 2px 0; }
  .credit-list dt { margin-top: 8px; }
}

/* Orte-Karten mit Bildern — zweite Regel (frühere Definition überschreibt
   grid-template-columns nicht, weil oben bereits gap + Reset gesetzt sind). */
.place--photo {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--paper);
  /* Button-Reset für <button class="place--photo"> */
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-lg);
}
.place--photo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Visueller Hinweis: Karte lässt sich als Lightbox öffnen.
   Regel ist an [data-lightbox-src] gebunden — gilt automatisch
   für alle aktuellen und künftigen Lightbox-Trigger. */
.place--photo[data-lightbox-src]::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 3h6v6'/><path d='M9 21H3v-6'/><path d='M21 3l-7 7'/><path d='M3 21l7-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.place--photo[data-lightbox-src]:hover::after,
.place--photo[data-lightbox-src]:focus-visible::after {
  transform: scale(1.12);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 3h6v6'/><path d='M9 21H3v-6'/><path d='M21 3l-7 7'/><path d='M3 21l7-7'/></svg>");
}
.place--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.place--photo:hover img { transform: scale(1.04); }
.place--photo .place-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(31,42,38,0.85) 0%, rgba(31,42,38,0) 100%);
  color: #FFF;
}
.place--photo .place-region {
  color: #EBD9CE;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.place--photo .place-name {
  color: #FFF;
  font-family: "Fraunces", serif;
  font-size: 20px;
  line-height: 1.2;
}

/* Hero-Bild nutzt jetzt echtes Foto */
.hero-image img {
  filter: none;
}

/* Sekundäre Sub-Seiten-Hero */
.subpage-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.subpage-header .eyebrow { margin-bottom: 12px; }
.subpage-header h1 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.subpage-header h1 em { font-style: italic; color: var(--heather); }
.subpage-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

/* =========================================================
   Ergänzungen: Werte-Illustrationen, Referenzkarten, Mobile-Nav
   ========================================================= */

/* ---------- Werte-Karten (Foto + Text) ---------- */
.value-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(58,68,62,0.06), 0 10px 24px rgba(58,68,62,0.08);
}
@media (prefers-reduced-motion: reduce) {
  .value-card:hover { transform: none; }
  .value-card:hover .value-photo img { transform: none; }
}
.value-num { display: none; } /* alte Nummerierung ausblenden */

/* ---------- Referenz-Preview auf Startseite ---------- */
.ref-preview { padding: var(--sp-16) 0; }
.ref-preview .section-head { text-align: center; }
.ref-preview .section-title,
.ref-preview .section-lede { margin-left: auto; margin-right: auto; }
.ref-preview .section-title { max-width: 22ch; }
.ref-preview .section-lede { max-width: 55ch; }

.ref-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.ref-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}
.ref-card:hover,
.ref-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(31,42,38,0.25);
  border-color: var(--accent);
  color: inherit;
}
.ref-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.ref-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ref-card:hover .ref-card-image img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .ref-card:hover .ref-card-image img { transform: none; }
  .ref-card:hover { transform: none; }
}
.ref-card-body {
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* Padding fuer Uebersichtskarten ohne .ref-card-body-Wrapper */
.ref-card > .ref-card-tag,
.ref-card > .ref-card-title,
.ref-card > .ref-card-meta {
  padding-left: var(--sp-3);
  padding-right: var(--sp-3);
}
.ref-card > .ref-card-tag { padding-top: var(--sp-3); }
.ref-card > .ref-card-meta { padding-bottom: var(--sp-4); }
@media (min-width: 780px) {
  .ref-card > .ref-card-tag,
  .ref-card > .ref-card-title,
  .ref-card > .ref-card-meta {
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
  }
  .ref-card > .ref-card-tag { padding-top: var(--sp-4); }
  .ref-card > .ref-card-meta { padding-bottom: var(--sp-5, 40px); }
}
.ref-card-meta {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.ref-card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}
.ref-card-quote {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0.25rem 0 auto;
  font-size: 1.05rem;
  line-height: 1.5;
}
.ref-card-link {
  margin-top: var(--sp-2);
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ref-card-link span { transition: transform 0.25s var(--ease); }
.ref-card:hover .ref-card-link span { transform: translateX(4px); }

.ref-preview-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-6);
}
.ref-preview-cta .btn-outline {
  font-size: 1rem;
  padding: 1rem 1.75rem;
}

@media (max-width: 900px) {
  .ref-preview-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .ref-preview-grid .ref-card { flex-direction: row; }
  .ref-preview-grid .ref-card-image { flex: 0 0 40%; aspect-ratio: 1 / 1; }
  .ref-preview-grid .ref-card-body { padding: var(--sp-3); }
}
@media (max-width: 560px) {
  .ref-preview-grid .ref-card { flex-direction: column; }
  .ref-preview-grid .ref-card-image { flex: none; aspect-ratio: 4 / 3; width: 100%; }
}

/* ---------- Mobile Navigation ---------- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible { background: var(--bg-soft); border-color: var(--ink); }
.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
body.nav-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-cta { display: none; } /* nur im mobilen Overlay sichtbar */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,26,24,0.35);
  backdrop-filter: blur(4px);
  z-index: 45;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
body.nav-open .nav-backdrop { opacity: 1; }

@media (max-width: 780px) {
  .header-inner { gap: 0.75rem; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: min(85vw, 340px);
    height: 100dvh;
    background: var(--bg);
    box-shadow: -10px 0 30px -10px rgba(31,42,38,0.25);
    padding: 5rem 1.75rem 2rem;
    z-index: 60;
    margin: 0;
    overflow-y: auto;
    flex-direction: column;
    gap: var(--sp-3);
  }
  body.nav-open .main-nav {
    display: flex;
    animation: nav-slide-in 0.3s var(--ease);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) {
    display: block;
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--ink);
    padding: 1rem 0;
  }
  .nav-cta {
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    text-align: center;
    margin-top: var(--sp-3);
    color: var(--bg);
  }
  .nav-cta:hover,
  .nav-cta:focus-visible { color: var(--bg); }
}
@keyframes nav-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.nav-open .main-nav { animation: none; }
}

/* Logo-Text bei sehr schmalen Viewports zurücknehmen */
@media (max-width: 460px) {
  .logo-text-inline { font-size: 15px; }
  .logo-img { height: 36px; }
}
@media (max-width: 360px) {
  .logo-text-inline { font-size: 14px; }
  .logo-img { height: 32px; }
}

/* ---------- Section-Lede + eyebrow Kontrastfeinschliff ---------- */
.eyebrow { color: var(--heather); } /* bereits AA auf --bg (5.4:1) */

/* =========================================================
   Lightbox — wiederverwendbare, WCAG-konforme Bild-Ansicht
   Trigger: beliebiges Element mit data-lightbox-src (+ optionalen
   data-lightbox-region / -title / -alt / -text Attributen).
   Markup / Focus-Trap / Escape werden vom Inline-Skript verwaltet.
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--sp-2), 3vw, var(--sp-6));
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(31, 42, 38, 0.88);
  animation: lb-fade 0.2s var(--ease);
}

.lightbox__panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lb-rise 0.25s var(--ease);
}

/* Bild + Caption teilen sich den Restplatz zwischen Close-Button und Toolbar.
   Das Bild schrumpft automatisch, damit KEIN vertikaler Scrollbalken entsteht.
   Nur wenn die Caption ausnahmsweise so lang wird, dass sie selbst nicht mehr
   passt, greift der interne Scroll — sonst nie. */
.lightbox__scroll {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.lightbox__close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  z-index: 2;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox__close:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lightbox__close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Prev/Next-Buttons + Bild-Zaehler: gemeinsame Toolbar unten, immer gleiche Höhe */
.lightbox__toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.lightbox__nav {
  position: static;
  transform: none;
  z-index: 2;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__nav:hover,
.lightbox__nav:focus-visible { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lightbox__nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav svg { width: 22px; height: 22px; display: block; }

.lightbox__counter {
  position: static;
  transform: none;
  z-index: 2;
  height: 48px;
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font-family: "General Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.lightbox__counter[hidden] { display: none; }

@media (max-width: 640px) {
  .lightbox__toolbar { padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__counter { height: 44px; min-width: 60px; font-size: 0.8rem; }
}

.lightbox__figure {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  /* Freiraum für den Close-Button oben, moderate Innenränder unten —
     Toolbar liegt außerhalb der Figur, deshalb kein Padding nach unten. */
  padding: clamp(56px, 6vh, 72px) clamp(16px, 3vw, 24px) 0;
}

.lightbox__image {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
}

.lightbox__caption {
  flex: 0 0 auto;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  background: var(--bg);
}

.lightbox__region {
  margin: 0 0 var(--sp-1);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lightbox__title {
  margin: 0 0 var(--sp-2);
  font-family: var(--serif);
  font-size: var(--text-xl);
  line-height: 1.2;
  color: var(--ink);
}

.lightbox__text {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink-soft);
}

@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox__backdrop,
  .lightbox__panel { animation: none; }
}

@media (max-width: 780px) {
  .lightbox { padding: 0; }
  .lightbox__panel {
    border-radius: 0;
    height: 100%;
    max-height: 100%;
  }
  .lightbox__figure {
    border-radius: 0;
    padding: clamp(48px, 5vh, 64px) 12px 0;
  }
  .lightbox__caption { padding: var(--sp-3); }
}

/* Sehr niedrige Viewports (Handy quer): Toolbar kompakter, das Bild rechnet
   sich seine Höhe selbst aus dem Flex-Restplatz aus — keine feste Deckelung. */
@media (max-height: 500px) {
  .lightbox__figure { padding: 40px 12px 0; }
  .lightbox__toolbar { padding: 8px 12px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__counter { height: 40px; }
}

/* ============================================================
   RATGEBER / CONTENT-SEITEN — Longform-Layout
   ============================================================ */

.article-hero {
  padding: 4.5rem 0 2rem;
  border-bottom: 1px solid var(--color-line);
}

.article-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.article-hero-inner > * {
  max-width: 68ch;
}

.article-hero .eyebrow {
  margin-bottom: 0.75rem;
}

.article-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  color: var(--color-ink);
}

.article-hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.article-hero p.lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--color-ink-soft);
  max-width: 65ch;
  margin: 0;
}

.article-body {
  padding: 3rem 0 4.5rem;
}

.article-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.article-inner > p,
.article-inner > ul,
.article-inner > ol,
.article-inner > blockquote,
.article-inner > h2,
.article-inner > h3,
.article-inner > h4,
.article-inner > .callout {
  max-width: 68ch;
}

.article-inner h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 1rem;
  color: var(--color-ink);
}

.article-inner h2:first-child {
  margin-top: 0;
}

.article-inner h3 {
  font-family: "General Sans", -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 2rem 0 0.75rem;
  color: var(--color-ink);
}

.article-inner p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0 0 1.15rem;
}

.article-inner ul,
.article-inner ol {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.article-inner li {
  margin-bottom: 0.5rem;
}

.article-inner a:not(.btn) {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-inner a:not(.btn):hover,
.article-inner a:not(.btn):focus-visible {
  text-decoration-thickness: 2px;
}

/* Buttons behalten ihre eigenen Farben und keine Unterstreichung. */
.article-inner a.btn {
  text-decoration: none;
}
.article-inner a.btn-primary {
  color: var(--bg);
}
.article-inner a.btn-primary:hover,
.article-inner a.btn-primary:focus-visible {
  color: var(--bg);
  text-decoration: none;
}

.article-inner strong {
  font-weight: 600;
  color: var(--color-ink);
}

/* Info-Box in Ratgeber-Artikeln */
.article-inner .callout {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 4px 4px 0;
  max-width: none;
}

.article-inner .callout p:last-child {
  margin-bottom: 0;
}

.article-inner .callout > strong:first-child {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

/* Checklisten */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* Timeline für Countdown */
.timeline {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
  border-left: 2px solid var(--color-line);
}

.timeline > li {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
  margin-bottom: 0;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
}

.timeline .timeline-when {
  display: block;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.timeline .timeline-what {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  color: var(--color-ink);
}

/* Faktenkasten */
.factbox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--color-bg-soft, #F9F8F5);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .factbox {
    grid-template-columns: repeat(2, 1fr);
  }
}

.factbox dt {
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.2rem;
}

.factbox dd {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-ink);
  font-weight: 500;
}

/* FAQ Accordion (details/summary) */
.faq-list {
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 1.25rem 0;
}

.faq-item[open] {
  padding-bottom: 1.5rem;
}

.faq-item summary {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.faq-item .faq-answer {
  padding-top: 1rem;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.5rem 0 0;
  font-size: 0.9rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-ink-soft);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--color-ink-soft);
}

.breadcrumb a {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-ink);
}

/* Related / Weiterlesen */
.related {
  border-top: 1px solid var(--color-line);
  padding: 3rem 0 4rem;
  background: var(--color-cream);
}

.related-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.related h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--color-ink);
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .related-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-list a {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-list a:hover,
.related-list a:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.related-list strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.related-list span {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

/* Ratgeber-Übersicht (Hub) */
.hub-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

@media (min-width: 640px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub-card {
  display: block;
  padding: 1.75rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hub-card:hover,
.hub-card:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.hub-card .eyebrow {
  color: var(--color-accent);
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

.hub-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.hub-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin: 0;
}

/* =========================================================
   GUIDES-Sektion (Startseite — Ratgeber-Teaser)
   Angelehnt an schottland-fuer-alle.com:
   • Klarer Rahmen, ausgezeichneter Kicker
   • Text-Karten ohne Bilder
   • dezenter „Mehr erfahren →“-Pfeil via ::after
   • sanfter Hover-Lift + Schatten
   ========================================================= */
.guides {
  padding: 5.5rem 0 4.5rem;
  background: var(--color-cream);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.guides__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
}

.guides__kicker {
  margin: 0 0 0.75rem;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.guides__title {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  color: var(--color-ink);
}

.guides__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-ink-soft);
}

.guides__group-title {
  margin: 2.75rem 0 1rem;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-line);
}
.guides__group-title:first-of-type { margin-top: 0; }

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.guide-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--color-ink);
}

.guide-card p {
  margin: 0 0 1rem;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

.guide-card::after {
  content: "Mehr erfahren →";
  display: inline-block;
  margin-top: auto;
  font-family: "General Sans", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: transform 200ms ease, color 200ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 40, 25, 0.10);
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-line));
  outline: none;
}

.guide-card:hover h3,
.guide-card:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.guide-card:hover::after,
.guide-card:focus-visible::after {
  transform: translateX(3px);
}

.guides__more {
  margin: 3rem 0 0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .guide-card,
  .guide-card::after { transition: none; }
  .guide-card:hover,
  .guide-card:focus-visible { transform: none; }
  .guide-card:hover::after,
  .guide-card:focus-visible::after { transform: none; }
}

/* Outline-Button (falls noch nicht vorhanden) */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-accent);
  color: #fff;
}

/* ==========================================================================
   Site-weite Rundung fuer Content-Bilder.
   Hero-, Marquee- und Logo-Bilder sowie Bilder in Lightbox-Overlays sind
   ausgenommen. Wirkt auf alle uebrigen <img> und die Ref-Gallery-Kacheln.
   ========================================================================== */
main img:not(.no-radius),
figure > img:not(.no-radius) {
  border-radius: var(--radius-lg);
}
/* Ausnahmen — mit Spezifität (0,2,1), schlägt `main img:not(.no-radius)` */
main .hero-image img,
main .hero img,
main .hero-marquee img,
.site-header img,
.site-footer img,
.lightbox__image,
.logo img,
.logo-img,
.ref-related-image img,
img.no-radius {
  border-radius: 0 !important;
}
.ref-gallery-item {
  border-radius: var(--radius-lg);
}
.ref-gallery-item img {
  border-radius: 0;   /* das umschliessende Item ist bereits gerundet + overflow:hidden */
}

/* ---------- Mobile Overflow-Fixes ---------- */
/* Grundschutz gegen horizontales Scrollen am Handy.
   Wichtig: overflow-x nur auf body, NICHT auf html — sonst verliert
   position:sticky auf .site-header seine Wirkung. */
body { overflow-x: clip; }

@media (max-width: 780px) {
  /* Footer-Nav umbrechen, damit lange Labels wie "Barrierefreiheit" nicht überlaufen. */
  .footer-nav {
    flex-wrap: wrap;
    row-gap: var(--sp-2);
  }
  /* Kontaktbereich auf mobilen Displays einspaltig. */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  /* Grid-Kinder dürfen schrumpfen (verhindert 380px-Overflow durch lange Telefonnummern/E-Mails). */
  .contact-inner > * { min-width: 0; }
  .contact-text,
  .contact-form,
  .contact-details dd,
  .contact-details a { overflow-wrap: anywhere; word-break: break-word; }
  /* Kontaktformular: Formularfelder dürfen nie breiter als Container werden. */
  .contact-form { min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr) !important; }
  .contact-form > *,
  .contact-form .field,
  .contact-form .field > *,
  .contact-form .form-note,
  .contact-form button,
  .contact-form .btn,
  .contact-form .btn-full { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; overflow-wrap: anywhere; }
  .contact-form .field-hint { display: inline-block; overflow-wrap: anywhere; word-break: break-word; }
  .contact-form input, .contact-form select, .contact-form textarea { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
  /* Referenzen-Grid bei sehr schmalen Viewports (<= 360 px innerer Breite) einspaltig ohne Mindestbreite. */
  .refs-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  /* Ratgeber-Hub-Grid: schmale Karten dürfen schrumpfen. */
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-card { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
  /* Fließtext in Artikeln, Referenzen, Datenschutz: lange IP-Adressen, URLs und Komposita umbrechen. */
  .article-body p, .article-body li, .article-body dd,
  .ref-body p, .ref-body li, .ref-body blockquote p,
  .ref-detail p, .ref-detail li,
  .datenschutz-body p, .datenschutz-body li,
  .credits dl,
  .credits dt,
  .credits dd,
  .credits a,
  main p, main li {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* ---------- Ratgeber: Quellenblock ---------- */
.article-sources {
  max-width: none;
  margin: var(--sp-8) 0 var(--sp-4);
  padding: var(--sp-6);
  background: color-mix(in srgb, var(--accent) 3%, var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .article-sources {
    padding: var(--sp-4);
  }
  .article-sources ul {
    padding-left: var(--sp-3);
  }
}
.article-sources h3 {
  margin: 0 0 var(--sp-2);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-sources ul {
  margin: 0;
  padding: 0 0 0 var(--sp-4);
  list-style: disc;
}
.article-sources li {
  margin-bottom: var(--sp-1);
  line-height: 1.5;
}
.article-sources a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 2px;
  word-break: break-word;
}
.article-sources a:hover { text-decoration-color: var(--accent); }
.article-sources p {
  margin: 0 0 var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* =========================================================
   SHORT-NOTICE HINWEIS (Startseite)
   Ruhiger Callout-Block zwischen Process und Ratgeber.
   Warmer Sand-Ton als leichter Kontrast, dünne Akzentlinie
   oben in Heather-Weinrot als Marken-Signal.
   ========================================================= */
.short-notice {
  padding: var(--sp-8) 0;
  background: var(--bg);
}

.short-notice__card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-6);
  overflow: hidden;
}

/* Feine Akzentlinie oben in Heather als visueller Marker */
.short-notice__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--heather);
}

.short-notice__kicker {
  margin: 0 0 var(--sp-1);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heather);
}

.short-notice__title {
  margin: 0 0 var(--sp-2);
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.short-notice__title em {
  font-style: italic;
  color: var(--heather);
}

.short-notice__lede {
  margin: 0;
  max-width: 60ch;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink-soft);
}

.short-notice__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.short-notice__cta .btn {
  min-width: 220px;
  justify-content: center;
  text-align: center;
}

.short-notice__link {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.short-notice__link:hover,
.short-notice__link:focus-visible {
  color: var(--heather);
  border-bottom-color: var(--heather);
}

.short-notice__link:focus-visible {
  outline: 2px solid var(--heather);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 780px) {
  .short-notice {
    padding: var(--sp-6) 0;
  }
  .short-notice__card {
    grid-template-columns: 1fr;
    padding: var(--sp-4);
    gap: var(--sp-4);
  }
  .short-notice__cta {
    align-items: center;
    width: 100%;
  }
  .short-notice__cta .btn {
    width: 100%;
    min-width: 0;
  }
}

/* --- Kontaktformular Status --- */
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.45;
  min-height: 0;
}
.form-status:empty { display: none; }
.form-status.is-pending  { background: #ede7d5; color: var(--ink-soft); border: 1px solid var(--line); }
.form-status.is-success  { background: #e6efe0; color: #2c4a1c; border: 1px solid #b7cfa5; }
.form-status.is-error    { background: #f6dfd0; color: #7a2a13; border: 1px solid #e5b19a; }

/* --- Ratgeber: Bottom-CTA nur solange Mobile-Nav aktiv (Sticky-CTA nicht sichtbar) --- */
.article-bottom-cta {
  margin-top: 2.5rem;
}
@media (min-width: 781px) {
  .article-bottom-cta { display: none; }
}

/* Erfahrungen-Seite — Ratgeber-Zusammenfassung 22 Paare */
.erfahrung-toc {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2.5rem;
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 640px) {
  .erfahrung-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}
.erfahrung-toc li {
  border-left: 3px solid var(--color-accent, #7a5a2b);
  padding: 0.35rem 0 0.35rem 0.9rem;
  line-height: 1.4;
}
.erfahrung-toc a {
  font-weight: 600;
  text-decoration: none;
}
.erfahrung-toc a:hover,
.erfahrung-toc a:focus-visible {
  text-decoration: underline;
}
.erfahrung-toc-count {
  color: var(--color-text-muted, #6b665e);
  font-size: 0.92em;
  margin-left: 0.3rem;
}

.erfahrung-sub {
  color: var(--color-text-muted, #6b665e);
  margin-top: -0.4rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.erfahrung-cases {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 3rem;
}
.erfahrung-case {
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--color-surface-2, #faf6ee);
  border: 1px solid var(--color-border, #e0d9c8);
  border-radius: 6px;
}
.erfahrung-case h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.25;
}
.erfahrung-case h3 a {
  text-decoration: none;
  color: inherit;
}
.erfahrung-case h3 a:hover,
.erfahrung-case h3 a:focus-visible {
  text-decoration: underline;
}
.erfahrung-meta {
  margin: 0 0 0.9rem;
  color: var(--color-text-muted, #6b665e);
  font-size: 0.95rem;
}
.erfahrung-story {
  margin: 0 0 0.9rem;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--color-accent, #7a5a2b);
  font-style: normal;
}
.erfahrung-story p {
  margin: 0;
  line-height: 1.55;
}
.erfahrung-link {
  margin: 0;
  font-size: 0.95rem;
}
.erfahrung-link a {
  font-weight: 600;
}

/* ==========================================================
   Ratgeber: Als Deutsche in Schottland heiraten
   Vergleichs-Karten Deutschland vs. Schottland
   ========================================================== */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.compare-card {
  padding: 1.25rem 1.35rem;
  background: var(--color-surface-alt, #f4efe6);
  border: 1px solid var(--color-line, rgba(0,0,0,.1));
  border-radius: 8px;
}

.compare-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: var(--color-accent, #6b4a2b);
}

.compare-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 480px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================================
   In-Page TOC — Ratgeber-Sprunglinks („Auf dieser Seite")
   Erzeugt in Google die ausklappbaren Snippet-Sitelinks.
   ============================================================ */

.toc-inpage {
  margin: 2rem 0 2.5rem;
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.toc-inpage__title {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem 0;
}

.toc-inpage__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.toc-inpage__list li {
  padding: 0;
  margin: 0;
}

.toc-inpage__list a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.toc-inpage__list a:hover,
.toc-inpage__list a:focus-visible {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

.toc-inpage__list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sanftes Scroll-Verhalten + Offset für Sticky-Header (falls vorhanden) */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* H2 als Sprungziel: Abstand zum oberen Rand */
.article-body h2[id],
.article-inner h2[id] {
  scroll-margin-top: 5rem;
}

/* Sichtbarer Fokus-Marker beim Anspringen (WCAG) */
.article-body h2[id]:target,
.article-inner h2[id]:target {
  outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 6px;
  border-radius: 2px;
}


/* ============================================================
   Referenz-Fußblock: "Ähnliche Trauungen" + "Mehr zum Thema"
   Sitzt UNTER .ref-nav, in eigener Sektion mit --bg-soft
   Keine Doppelränder — die border-top des ref-related ersetzt
   die border-bottom von .ref-nav
   ============================================================ */
.ref-outro {
  background: var(--bg-soft);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.ref-outro-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.ref-outro-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.ref-outro-heading em {
  font-style: italic;
  color: var(--heather);
}

/* Ähnliche Trauungen — Bild-Karten */
.ref-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.ref-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.ref-related-card:hover,
.ref-related-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -14px rgba(31,42,38,0.22);
  color: inherit;
  outline: none;
}
.ref-related-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.ref-related-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;               /* keine eigene Bild-Rundung — Karte clippt */
  transition: transform .6s var(--ease);
}
.ref-related-card:hover .ref-related-image img {
  transform: scale(1.04);
}
.ref-related-body {
  padding: 0.9rem 1rem 1.1rem;
}
.ref-related-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.ref-related-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Mehr zum Thema — Ratgeber-Chips */
.ref-topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.ref-topics-list li { margin: 0; }
.ref-topics-list a {
  display: inline-block;
  padding: 0.55rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.3;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.ref-topics-list a:hover,
.ref-topics-list a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface);
  outline: none;
}

/* Mobil */
@media (max-width: 720px) {
  .ref-related-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* .ref-nav bekommt keinen border-bottom (hatte auch keinen), aber die
   padding-bottom auf .ref-nav wird reduziert, weil .ref-outro darunter
   sitzt und selbst padding-top hat */
.ref-page-container + .ref-outro { margin-top: 0; }
