/* TRAU TANJA, neue Variante 2026-10-26. Hell, romantisch, ruhig. Apple-Standard: Glas nur in der Kopfzeile,
   Radien 28 / 20 / 12 / 8, Abstaende aus 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96, Bewegung 150 bis 400 ms. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/fonts/jost-latin.woff2") format("woff2"); }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/marck-script-latin.woff2") format("woff2"); }

:root {
  --bg: #FBF7F4;          /* Elfenbein */
  --flaeche: #FFFFFF;     /* Karten */
  --rose: #F6E8E6;        /* zarte Rosé-Flaeche */
  --rose-2: #EBD3D0;      /* Rosé kraeftiger, Linien und Chips */
  --mauve: #B08091;       /* Herz, Schmuck, nie fuer Text */
  --akzent: #74545F;      /* Mauve, nur die fuehrende Aktion */
  --akzent-hover: #63464F;
  --text: #2F2726;
  --text-2: #5E4F4D;      /* 7,3 : 1 auf Elfenbein */
  --link: #7B5B67;
  --linie: #EADDD9;
  --nacht: #4A3B3F;       /* dunkle Flaeche Herzensempfehlungen */
  --r-gross: 28px; --r-karte: 20px; --r-knopf: 12px; --r-chip: 8px;
  --kurve: cubic-bezier(.4, 0, .2, 1);
  --kopf: 64px;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift: "Marck Script", "Snell Roundhand", cursive;
  color-scheme: light;
}
@media (prefers-contrast: more) { :root { --text-2: #3E3332; --link: #5A3F49; --linie: #BFA9A4; --akzent: #5A3F49; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--akzent-hover); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 16px; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 2.1rem + 3.2vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.7rem + 2vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 1.35rem + .7vw, 1.85rem); font-weight: 600; line-height: 1.2; }
.skript { font-family: var(--schrift); font-weight: 400; color: var(--link); }
.oberzeile { display: inline-block; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.6; color: var(--text-2); max-width: 40em; }
.leise { color: var(--text-2); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--akzent); color: #fff; padding: 12px 16px; border-radius: var(--r-knopf); }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1184px; margin-inline: auto; padding-inline: 16px; }
.wrap-schmal { max-width: 736px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }
.abschnitt { padding-block: 64px; }
@media (min-width: 900px) { .abschnitt { padding-block: 96px; } }
.abschnitt-rose { background: var(--rose); }
.kopf-abschnitt { max-width: 720px; margin-bottom: 32px; }
@media (min-width: 900px) { .kopf-abschnitt { margin-bottom: 48px; } }
.kopf-mitte { margin-inline: auto; text-align: center; }
.kopf-mitte .lead { margin-inline: auto; }

/* Knoepfe: einer fuehrt (Mauve), die anderen ruhig */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font: 500 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s var(--kurve), color .2s var(--kurve), border-color .2s var(--kurve), translate .2s var(--kurve); }
.knopf-haupt { background: var(--akzent); color: #fff; }
.knopf-haupt:hover { background: var(--akzent-hover); color: #fff; }
.knopf-ruhig { background: transparent; color: var(--text); border-color: var(--rose-2); }
.knopf-ruhig:hover { background: var(--rose); color: var(--text); }
.knopf:active { translate: 0 1px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.pfeil::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 2px; }

/* Kopfzeile: einzige Glasflaeche */
.kopf { position: sticky; top: 0; z-index: 50; height: var(--kopf); border-bottom: 1px solid transparent;
  transition: border-color .25s var(--kurve), background-color .25s var(--kurve); }
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 247, 244, .78);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .kopf::before { background: var(--bg); } }
@media (prefers-reduced-transparency: reduce) { .kopf::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopf-marke { display: flex; align-items: center; min-height: 44px; }
.kopf-marke img { width: 184px; height: auto; }
.kopf-nav { display: none; }
.kopf-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.kopf-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-knopf); color: var(--text); text-decoration: none; font-size: .9375rem; }
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { background: var(--rose); }
.kopf-rechts { display: flex; align-items: center; gap: 8px; }
.kopf .knopf { min-height: 44px; padding: 8px 18px; font-size: .9375rem; }
.menue-knopf { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-knopf); color: var(--text); cursor: pointer; }
.menue-knopf svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; }
@media (min-width: 1000px) { .kopf-nav { display: block; } .menue-knopf { display: none; } }
@media (max-width: 420px) { .kopf-marke img { width: 136px; } .kopf .knopf { padding: 8px 14px; } }
dialog.blatt { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(88vw, 360px); border: 0; padding: 16px 24px 32px; background: var(--bg);
  box-shadow: -24px 0 64px rgba(47, 39, 38, .16); }
dialog.blatt::backdrop { background: rgba(47, 39, 38, .35); }
dialog.blatt[open] { animation: blatt-rein .3s var(--kurve); }
@keyframes blatt-rein { from { translate: 24px 0; opacity: 0; } }
.blatt-kopf { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.blatt ul { list-style: none; margin: 0 0 24px; padding: 0; }
.blatt li a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--linie);
  font-family: var(--serif); font-size: 1.5rem; color: var(--text); text-decoration: none; }
.blatt li a::after { content: "›"; color: var(--mauve); }

/* Kopf der Startseite */
.held { padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 900px) { .held { padding-top: 56px; padding-bottom: 64px; } }
.held-text { text-align: center; max-width: 820px; margin-inline: auto; }
.logo-gross { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 24px; width: min(86%, 520px); }
.logo-gross img { height: auto; }
.logo-gross .l-trau { width: 37%; }
.logo-gross .l-herz { width: 18.5%; }
.logo-gross .l-tanja { width: 44.5%; }
.held h1 { margin-bottom: 16px; }
.held h1 .skript { display: block; font-size: .5em; line-height: 1.3; margin-top: 4px; }
.held .lead { margin: 0 auto 24px; }
.held .knopfreihe { justify-content: center; }
.held-bild { position: relative; margin-top: 40px; }
.held-bild .foto { border-radius: var(--r-gross); overflow: hidden; aspect-ratio: 3 / 2; background: var(--rose); }
@media (min-width: 900px) { .held-bild .foto { aspect-ratio: 16 / 8; } }
.held-bild .foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.stempel { position: absolute; width: clamp(88px, 14vw, 150px); right: clamp(8px, 3vw, 40px); bottom: clamp(-36px, -3vw, -20px); rotate: -8deg; filter: drop-shadow(0 8px 20px rgba(47, 39, 38, .18)); }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 56px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.fakten li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 16px; }
.fakten strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.fakten span { font-size: .9375rem; color: var(--text-2); line-height: 1.45; display: block; }

/* Logo-Bewegung: TRAU von links, TANJA von rechts, Herz von oben, einmal beim Laden */
.bewegt .l-trau { animation: von-links 1.4s cubic-bezier(.16, 1, .3, 1) .1s both; }
.bewegt .l-tanja { animation: von-rechts 1.4s cubic-bezier(.16, 1, .3, 1) .1s both; }
.bewegt .l-herz { animation: von-oben 1.6s cubic-bezier(.22, 1, .36, 1) .4s both; }
.bewegt .held-text > :not(.logo-gross) { animation: hoch .9s cubic-bezier(.16, 1, .3, 1) both; }
.bewegt .held-text > :nth-child(2) { animation-delay: .25s; }
.bewegt .held-text > :nth-child(3) { animation-delay: .4s; }
.bewegt .held-text > :nth-child(4) { animation-delay: .55s; }
.bewegt .held-bild .foto img { animation: aufklaren 1.3s var(--kurve) both; }
.bewegt .stempel { animation: stempel 1.1s cubic-bezier(.34, 1.4, .64, 1) 1.5s both; }
@keyframes von-links { from { translate: -40vw 0; opacity: 0; filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } }
@keyframes von-rechts { from { translate: 40vw 0; opacity: 0; filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } }
@keyframes von-oben { from { translate: 0 -40vh; rotate: -120deg; scale: .5; opacity: 0; filter: blur(8px); }
  55% { translate: 0 6%; rotate: 8deg; scale: 1.08; opacity: 1; filter: blur(0); } 75% { translate: 0 -2%; rotate: -3deg; scale: .97; } }
@keyframes hoch { from { translate: 0 20px; opacity: .01; filter: blur(4px); } }
@keyframes aufklaren { from { filter: blur(14px); scale: 1.04; } }
@keyframes stempel { from { opacity: 0; rotate: -40deg; scale: .6; } }

/* Zitat */
.zitat { text-align: center; padding-block: 48px; }
.zitat blockquote { margin: 0 auto; max-width: 820px; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.7rem); line-height: 1.25; }
.zitat figcaption { margin-top: 12px; color: var(--text-2); font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; }

/* Karten und Kacheln */
.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 900px) { .raster { gap: 24px; } }
.raster-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.raster-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.raster-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); }
.karte { position: relative; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .karte { padding: 32px; } }
.karte h3 { margin-bottom: 8px; }
.karte > p { color: var(--text-2); }
.karte .marke { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px;
  background: var(--rose); color: var(--akzent); font: 600 1.125rem/1 var(--serif); margin-bottom: 16px; }
.karte-rose { background: var(--rose); border-color: transparent; }
.karte-rose .marke { background: var(--flaeche); }
.karte-bild { padding: 0; overflow: hidden; }
.karte-bild .foto { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--rose); }
.karte-bild .foto img { width: 100%; height: 100%; object-fit: cover; }
.karte-bild .karte-text { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
@media (min-width: 900px) { .karte-bild .karte-text { padding: 32px; } }
.karte a.flaeche-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.karte:has(a.flaeche-link):hover { border-color: var(--rose-2); }

/* Weiterlesen: Hoehe weich animiert, ohne Skript ist alles offen */
.mehr { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--kurve), opacity .3s var(--kurve); width: 100%; }
.mehr > .mehr-innen { overflow: hidden; min-height: 0; }
.mehr-innen > :first-child { margin-top: 12px; }
.mehr-innen p { color: var(--text-2); }
.js .mehr:not(.offen) { grid-template-rows: 0fr; opacity: 0; }
.weiter { display: none; }
.js .weiter { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 12px 0 0; min-height: 44px; border: 0; background: none;
  color: var(--link); font: 500 .9375rem/1.2 var(--sans); letter-spacing: .02em; cursor: pointer; }
.js .karte > .weiter { padding-top: 16px; }
.weiter svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: rotate .3s var(--kurve); }
.weiter[aria-expanded="true"] svg { rotate: 180deg; }
.weiter:hover { color: var(--akzent-hover); }
.mehr ul { padding-left: 20px; color: var(--text-2); margin: 0 0 16px; }

/* Zwei Spalten: Text und Bild */
.zwei { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .zwei { grid-template-columns: 1fr 1fr; gap: 64px; } .zwei-bild-rechts > .zwei-bild { order: 2; } }
.zwei-bild .foto { border-radius: var(--r-gross); overflow: hidden; background: var(--rose); aspect-ratio: 4 / 5; }
.zwei-bild .foto img { width: 100%; height: 100%; object-fit: cover; }
.zwei-bild figcaption { margin-top: 12px; font-size: .875rem; color: var(--text-2); }

.foto { isolation: isolate; position: relative; }
/* Fotonennung direkt am Bild: kleine helle Marke unten links, ueber der Flaechenverlinkung der Karten */
.credit { position: absolute; left: 12px; bottom: 12px; z-index: 2; margin: 0; padding: 2px 10px; border-radius: 999px;
  background: rgba(251, 247, 244, .92); color: var(--text); font-size: .75rem; line-height: 1.3; letter-spacing: .01em; }
.credit a { display: inline-block; padding-block: 4px; color: var(--text); }
.zwei-bild .foto.foto-hoch { aspect-ratio: 2 / 3; max-width: 460px; }
.bildnachweis a { color: var(--text-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.ablauf-intro .foto { border-radius: var(--r-gross); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 32px; max-width: 420px; background: var(--rose); }
@media (min-width: 900px) { .ablauf-intro { position: sticky; top: 96px; } .ablauf-intro .foto { aspect-ratio: 4 / 5; } }

/* Kurzantwort-Kasten fuer Leser und Maschinen */
.kurz { background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--mauve); border-radius: var(--r-knopf); padding: 16px 20px; margin: 24px 0; }
.kurz strong { font-weight: 600; }
dl.steckbrief { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 8px 16px; margin: 0; }
dl.steckbrief dt { font-weight: 600; }
dl.steckbrief dd { margin: 0; color: var(--text-2); }

/* Ablauf: Schritte mit wachsender Linie */
.schritte { list-style: none; margin: 0; padding: 0 0 0 32px; position: relative; display: grid; gap: 16px; }
@media (min-width: 900px) { .schritte { padding-left: 48px; gap: 24px; } }
.schritte::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px; width: 2px; background: var(--rose-2); border-radius: 2px; }
.schritte::after { content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px; width: 2px; background: var(--mauve); border-radius: 2px;
  transform-origin: top; transform: scaleY(var(--p, 1)); }
@media (min-width: 900px) { .schritte::before, .schritte::after { left: 19px; } }
.schritte > li { position: relative; }
.schritte > li::before { content: ""; position: absolute; left: -27px; top: 34px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--mauve); }
@media (min-width: 900px) { .schritte > li::before { left: -35px; } }
.abschnitt-rose .schritte > li::before { background: var(--rose); }

/* Rituale: waagrechte Kartenreihe mit Einrasten */
.reihe { list-style: none; margin-block: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 16px 16px; margin-inline: -16px; scrollbar-width: thin; overscroll-behavior-x: contain; scroll-padding-inline: 16px; }
.reihe > * { scroll-snap-align: start; }
@media (min-width: 640px) { .reihe { grid-auto-columns: minmax(300px, 46%); margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; } }
@media (min-width: 1024px) { .reihe { grid-auto-columns: calc((100% - 48px) / 3); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.reihe-steuer { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.reihe-steuer button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rose-2); background: var(--flaeche); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.reihe-steuer button:hover { background: var(--rose); }
.reihe-steuer button:disabled { opacity: .4; cursor: default; }
.reihe-steuer svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Trauorte */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 24px; }
.chips li { background: var(--rose); border-radius: var(--r-chip); padding: 6px 12px; font-size: .9375rem; line-height: 1.4; }
.karte-rose .chips li { background: var(--flaeche); }

/* Kundenstimmen */
.stimme { margin: 0; display: flex; flex-direction: column; flex: 1; width: 100%; }
.stimme-karte { min-height: 0; }
.stimme blockquote { margin: 0; }
.stimme .anfang { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--text); margin-bottom: 0; }
.stimme .anfang::before { content: "„"; color: var(--mauve); }
.stimme blockquote p.ende::after { content: "“"; }
.stimme .anfang.ende::after { content: "“"; color: var(--mauve); }
.stimme figcaption { margin-top: auto; padding-top: 16px; font-family: var(--schrift); font-size: 1.5rem; color: var(--akzent); }
.stimme-karte { background: var(--flaeche); }

/* Herzensempfehlungen auf dunklem Mauve */
.nacht { background: var(--nacht); color: #F6EEEC; }
.nacht h2, .nacht h3 { color: #fff; }
.nacht .lead, .nacht p { color: #E9DCDA; }
.nacht .oberzeile { color: #E3CFCB; }
.empfehlungen-leiste { padding-block: 32px; }
.empfehlungen-leiste h2 { font-family: var(--sans); font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #E3CFCB; margin: 0 0 16px; }
.empfehlungen { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.empfehlung { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-knopf); padding: 12px 16px; display: grid; grid-template-columns: 112px 1fr; gap: 4px 16px; align-items: center; }
.empfehlung img { grid-row: span 2; width: 112px; height: 40px; object-fit: contain; object-position: left center; }
.empfehlung p { margin: 0; font-size: .875rem; line-height: 1.4; }
.empfehlung strong { color: #fff; font-weight: 500; }
.empfehlung a { color: #fff; font-size: .875rem; display: inline-flex; align-items: center; min-height: 24px; justify-self: start; }

/* Ich komme ueberall hin: kurze Kacheln */
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 900px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.kachel { background: var(--flaeche); border-radius: var(--r-karte); padding: 20px 22px; border-top: 3px solid var(--mauve); }
.kachel h3 { font-size: clamp(1.3rem, 1.2rem + .4vw, 1.55rem); margin-bottom: 6px; }
.kachel p { margin: 0; color: var(--text-2); font-size: .975rem; line-height: 1.5; }

/* FAQ mit details */
.fragen { display: grid; gap: 12px; }
details.frage { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); }
details.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; min-height: 64px; font-family: var(--serif); font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 600; line-height: 1.25; }
details.frage summary::-webkit-details-marker { display: none; }
details.frage summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--rose) no-repeat center / 14px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374545F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: rotate .3s var(--kurve); }
details.frage[open] summary::after { rotate: 45deg; }
details.frage .antwort { padding: 0 24px 24px; color: var(--text-2); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details.frage::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--kurve), content-visibility .35s allow-discrete; }
  details.frage[open]::details-content { block-size: auto; }
}

/* Kontakt */
.kontakt-raster { display: grid; gap: 32px; }
@media (min-width: 900px) { .kontakt-raster { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.formular { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 640px) { .formular { padding: 32px; grid-template-columns: 1fr 1fr; } .formular .breit { grid-column: 1 / -1; } }
.feld label { display: block; font-size: .9375rem; font-weight: 500; margin-bottom: 6px; }
.feld input, .feld textarea, .feld select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #D8C7C3; border-radius: var(--r-knopf); background: var(--bg);
  font: 400 1rem/1.4 var(--sans); color: var(--text); transition: border-color .15s var(--kurve), background-color .15s var(--kurve); }
.feld textarea { min-height: 132px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--akzent); background: #fff; box-shadow: 0 0 0 3px rgba(116, 84, 95, .18); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; }
.meldung { min-height: 1.5em; font-weight: 500; }
.meldung.ok { color: #3F6B4E; }
.meldung.fehler { color: #9A3B3B; }
.kontaktwege { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 8px; }
.kontaktwege a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--text); }
.kontaktwege svg { width: 22px; height: 22px; stroke: var(--akzent); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Unterseiten */
.seitenkopf { padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 900px) { .seitenkopf { padding-top: 56px; padding-bottom: 48px; } }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 24px; font-size: .875rem; color: var(--text-2); }
.krumen li + li::before { content: "›"; margin-right: 8px; color: var(--mauve); }
.krumen a { color: var(--text-2); }
.artikel-text { font-size: 1.0625rem; }
.artikel-text h2 { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.4rem); margin-top: 0; }
.abschnitt-karten { display: grid; gap: 16px; }
.textseite h2 { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.4rem); margin-top: 48px; }
.textseite h3 { font-size: 1.35rem; margin-top: 32px; }
.textseite p, .textseite li { color: var(--text-2); }
.textseite ul { padding-left: 20px; }
.download .datei { font-size: .875rem; color: var(--text-2); margin: auto 0 12px; padding-top: 16px; }
.js .download > .weiter { margin-top: 0; }

/* Fuss */
.fuss { background: var(--bg); border-top: 1px solid var(--linie); padding-block: 64px 32px; font-size: .9375rem; }
.fuss .sozial a { background: var(--rose); }
.fuss-raster { display: grid; gap: 32px; }
@media (min-width: 900px) { .fuss-raster { grid-template-columns: 2fr 1fr 1fr; } }
.fuss img.fuss-logo { width: 200px; margin-bottom: 16px; }
.fuss h2 { font-family: var(--sans); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: var(--text-2); }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.fuss li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); text-decoration: none; }
.fuss li a:hover { text-decoration: underline; }
.fuss-unten { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rose-2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--text-2); }
.fuss-unten a { color: var(--text-2); }
.sozial { display: flex; gap: 8px; margin-top: 16px; }
.sozial a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche); color: var(--akzent); }
.sozial svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Einblenden beim Erreichen: nur mit Skript, einmal, gestaffelt */
.js .zeigen { opacity: 0; translate: 0 20px; filter: blur(6px); transition: opacity .7s var(--kurve), translate .7s var(--kurve), filter .7s var(--kurve);
  transition-delay: calc(var(--i, 0) * 80ms); }
.js .zeigen.da { opacity: 1; translate: 0 0; filter: none; }
.js .foto-zeigen img { filter: blur(12px); scale: 1.04; opacity: .6; transition: filter 1.1s var(--kurve), scale 1.1s var(--kurve), opacity 1.1s var(--kurve); }
.js .foto-zeigen.da img { filter: none; scale: 1; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bewegt .l-trau, .bewegt .l-tanja, .bewegt .l-herz, .bewegt .held-text > *, .bewegt .held-bild .foto img, .bewegt .stempel { animation: none !important; }
  .js .zeigen { translate: none; filter: none; transition: opacity .3s linear; transition-delay: 0s; }
  .js .foto-zeigen img { filter: none; scale: 1; transition: opacity .3s linear; }
  .mehr, .weiter svg, details.frage summary::after { transition: none !important; }
  details.frage::details-content { transition: none !important; }
  .schritte::after { transform: none; }
  dialog.blatt[open] { animation: none; }
}
@media print { .kopf, .fuss form, .weiter, .reihe-steuer { display: none !important; } .js .mehr:not(.offen) { grid-template-rows: 1fr; opacity: 1; } }

/* Kundenstimmen: offene Stimme dehnt die Nachbarn nicht */
#stimmen .reihe { align-items: start; }

/* Trauorte-Karte (tools/karte.py): Grund als SVG-Bild, Punkte als Links, Blase per Skript, Liste als Text */
.karte-titel { margin: 48px 0 16px; font-size: clamp(1.4rem, 1.25rem + .6vw, 1.8rem); }
.karte-trauorte { margin: 0; }
.karte-flaeche { position: relative; width: 100%; border-radius: var(--r-karte); overflow: hidden; background: #F3ECE9; border: 1px solid var(--linie); }
.karte-flaeche > img, .karte-punkte { position: absolute; inset: 0; width: 100%; height: 100%; }
.kp { cursor: pointer; }
.kp .treffer { fill: transparent; }
.kp .punkt { fill: var(--akzent); stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center;
  transition: transform .15s var(--kurve), fill .15s var(--kurve); }
.kp-ort .punkt { fill: var(--mauve); }
.kp:hover .punkt, .kp.aktiv .punkt { transform: scale(1.5); fill: var(--akzent-hover); }
.kp:focus { outline: none; }
.kp:focus-visible .punkt { transform: scale(1.6); stroke: var(--text); stroke-width: 2px; }
.karte-blase { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 10px)); background: var(--flaeche); color: var(--text);
  border-radius: var(--r-knopf); padding: 8px 12px; box-shadow: 0 6px 24px rgba(47, 39, 38, .16); font-size: .9rem; line-height: 1.35;
  width: max-content; max-width: min(240px, 80%); }
.karte-blase.unten { transform: translate(-50%, 14px); }
.karte-blase strong { display: block; font-weight: 600; }
.karte-blase a { display: inline-block; margin-top: 4px; }
.karte-legende { margin-top: 10px; font-size: .9rem; color: var(--text-2); }
.karte-liste { display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 8px; }
.karte-gruppe h3 { font-size: 1.25rem; margin-bottom: 6px; }
.karte-gruppe h3 a { font-family: var(--sans); font-size: .95rem; }
.karte-gruppe ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; line-height: 1.5; }
.karte-gruppe li { margin-bottom: 4px; }
.karte-gruppe strong { font-weight: 500; }
.karte-orte { color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .kp .punkt { transition: none; } }
