/* =============================================================
   Anna Prädel · Hundetraining – Haupt-Stylesheet
   Aufbau:
     1. Design-Tokens (Custom Properties, Themes)
     2. Reset & Basis
     3. Layout-Helfer
     4. Header / Navigation (fixiert)
     5. Buttons, Pills, Badges
     6. Sektionen (Hero, Beziehung, Rassen, Angebot, …)
     7. FAQ, Kontakt, Footer
     8. Skip-Link, Scroll-up-Button
     9. Barrierefreiheits-Panel
    10. Scroll-Reveal & Reduced Motion
    11. A11y-Zustände (Schriftgröße, Kontrast, Links)
    12. Rechtsseiten (Fließtext)
    13. Responsive / Mobile-Menü
   ============================================================= */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --bg: #FBF7F4;
  --surface: #FFFFFF;
  --surface-2: #F3E9E3;
  --surface-3: #EDE0D9;
  --fg: #231A18;
  --muted: #6E5C57;
  --border: #E8DBD4;
  --wine: #7E1F2D;
  --wine-tint: rgba(126, 31, 45, .10);
  --on-wine: #FFFFFF;
  --shadow: 0 1px 2px rgba(60, 30, 25, .05), 0 10px 34px rgba(60, 30, 25, .07);

  --maxw: 1200px;
  --radius: 20px;
  --header-h: 70px;

  --fontscale: 1; /* per A11y-Panel veränderbar */
}

[data-theme="dark"] {
  --bg: #16100F;
  --surface: #211918;
  --surface-2: #2A201E;
  --surface-3: #342824;
  --fg: #F3E9E4;
  --muted: #BCA9A2;
  --border: #3A2C28;
  --wine: #E07A8B;
  --wine-tint: rgba(224, 122, 139, .14);
  --on-wine: #2A1013;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 34px rgba(0, 0, 0, .38);
}

/* Hoher Kontrast (A11y-Panel) */
[data-contrast="high"] {
  --muted: var(--fg);
  --border: var(--fg);
}
[data-contrast="high"][data-theme="dark"] {
  --muted: var(--fg);
  --border: var(--fg);
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  font-size: calc(100% * var(--fontscale));
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* kappt horizontalen Overflow inkl. off-canvas fixed-Elemente; bricht position:sticky nicht */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DejaVu Sans', 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  /* KEIN overflow-x hier: "hidden" macht <body> zum Scroll-Container und
     setzt jedes position:sticky ausser Kraft. Der horizontale Overflow wird
     bereits von html{overflow-x:clip} gekappt (s. o.). */
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { text-wrap: balance; }

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

::selection { background: var(--wine); color: var(--on-wine); }

/* ---------- 3. Layout-Helfer ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 56px);
}

.section { padding-block: clamp(56px, 9vw, 128px); }

.section--band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
}

.lead { color: var(--muted); }

/* ---------- 4. Header / Navigation (fixiert) ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
/* Platz schaffen, da der Header fixiert ist */
body { padding-top: var(--header-h); }

.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px clamp(18px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--fg);
}
.brand__mark {
  width: 34px; height: 34px; flex: 0 0 auto;
  background-color: var(--wine);
  -webkit-mask: url('../icons/heart-paw-mark.svg') center / contain no-repeat;
  mask: url('../icons/heart-paw-mark.svg') center / contain no-repeat;
}
/* alter innerer Punkt nicht mehr nötig (Logo ist jetzt das Herz-mit-Pfote) */
.brand__mark > span { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 16px; }
.brand__sub {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a.navlink {
  padding: 9px 13px; border-radius: 9px; text-decoration: none;
  font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-desktop a.navlink:hover { color: var(--fg); background: var(--wine-tint); }

.theme-toggle {
  margin-left: 6px; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border); color: var(--fg);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 14px;
  transition: border-color .2s;
}
.theme-toggle:hover { border-color: var(--wine); }
.theme-toggle__dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--wine); background: transparent;
}
[data-theme="dark"] .theme-toggle__dot { background: var(--wine); }

.nav-mobile-controls { display: none; align-items: center; gap: 10px; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: transparent;
  border: 1px solid var(--border); color: var(--fg);
  border-radius: 999px; cursor: pointer;
}
.icon-btn .theme-toggle__dot { width: 15px; height: 15px; }
.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center; background: transparent;
  border: 1px solid var(--border); border-radius: 12px; cursor: pointer; padding: 0;
}
.burger span { width: 20px; height: 2px; background: var(--fg); border-radius: 2px; }

.nav-mobile {
  border-top: 1px solid var(--border); background: var(--surface);
  padding: 10px clamp(18px, 5vw, 56px) 18px;
  display: none; flex-direction: column; gap: 2px;
}
.nav-mobile[data-open="true"] { display: flex; }
.nav-mobile a {
  padding: 13px 8px; text-decoration: none; font-weight: 600; font-size: 17px;
  border-bottom: 1px solid var(--border); color: var(--fg);
}
.nav-mobile a.nav-mobile__cta {
  margin-top: 12px; background: var(--wine); color: var(--on-wine);
  padding: 14px; border-radius: 12px; text-align: center; border-bottom: 0;
}

/* ---------- 5. Buttons, Pills, Badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; white-space: nowrap;
  text-decoration: none; font-weight: 700; font-size: 17px; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: filter .2s, background .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--wine); color: var(--on-wine); }
.btn--primary:hover { filter: brightness(1.07); }
.btn--ghost { border-color: var(--border); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--wine); }
.btn--on-photo { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn--on-photo:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: 10px 18px; font-size: 15px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wine-tint); color: var(--wine);
  padding: 7px 15px; border-radius: 999px; font-weight: 700;
  font-size: 13.5px; letter-spacing: .02em;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); }
.pill--on-photo {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff;
  backdrop-filter: blur(6px);
}

.badge {
  align-self: flex-start; background: var(--wine-tint); color: var(--wine);
  font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px;
}

/* ---------- 6. Sektionen ---------- */

/* Bild-Container (Seitenverhältnis reserviert, dezenter Ton bis das Bild geladen ist – kein Streifen-Platzhalter) */
.media {
  position: relative; overflow: hidden; border-radius: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.media picture { position: absolute; inset: 0; border-radius: inherit; }
/* Foto-Variante: deutlich sichtbar abgerundete Ecken */
.media--photo { border-radius: 28px; }

/* ---------- Tierschutz: Bild-Akkordeon (aufklappende Streifen) ---------- */
.ts-gallery { position: absolute; inset: 0; display: flex; gap: 4px; border-radius: inherit; }
.ts-panel {
  position: relative; flex: 1 1 0; min-width: 0; height: 100%;
  margin: 0; padding: 0; border: 0; cursor: pointer; outline: none; overflow: hidden;
  background-color: var(--surface-3); /* Platzhalter, bis das <img> geladen ist */
  transition: flex-grow .55s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
  filter: saturate(.92) brightness(.97);
}
.ts-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-panel::after { /* Scrim für die Lesbarkeit der Bildunterschrift */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 12, 11, .66) 0%, rgba(20, 12, 11, 0) 46%);
  opacity: .55; transition: opacity .45s ease;
}
/* Zeigegeräte: Drüberfahren öffnet, Weggehen schließt */
@media (hover: hover) {
  .ts-gallery:hover .ts-panel { flex-grow: .6; }
  .ts-gallery .ts-panel:hover { flex-grow: 4.6; filter: none; }
  .ts-gallery .ts-panel:hover::after { opacity: .85; }
}
/* Tastatur: fokussiertes Panel öffnet */
.ts-gallery:focus-within .ts-panel { flex-grow: .6; }
.ts-gallery .ts-panel:focus-visible { flex-grow: 4.6; filter: none; box-shadow: inset 0 0 0 3px var(--wine); }
.ts-gallery .ts-panel:focus-visible::after { opacity: .85; }
/* Reduced Motion: kein Schieben, nur Ein-/Ausblenden */
@media (prefers-reduced-motion: reduce) {
  .ts-panel, .ts-panel::after { transition: opacity .2s ease; }
}
/* Touch / kein Hover: ehrliche 2-Spalten-Galerie statt Akkordeon */
@media (hover: none) {
  /* Touch: das 2×2-Raster deckt den Container nicht voll ab -> reservierte Höhe (aspect-ratio 5/4)
     und Platzhalter-Schraffur (.split2 .media) entfernen, sonst scheint sie in Lücken/Ecken durch.
     Höhere Spezifität als „.split2 .media--wide", damit es auch wirklich greift. */
  .split2 .media--wide.ts-media { aspect-ratio: auto; background: none; }
  .ts-gallery { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: auto; }
  .ts-panel { flex: none; aspect-ratio: 4/3; border-radius: 16px; filter: none; }
  .ts-panel::after { opacity: .32; }
}

/* Hero – Vollbild (Foto als Hintergrund über die gesamte Breite) */
.hero-full {
  position: relative;
  min-height: clamp(460px, 82vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--surface-2);
}
.hero-full__media { position: absolute; inset: 0; }
.hero-full__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20,12,11,.82) 0%, rgba(20,12,11,.45) 38%, rgba(20,12,11,.08) 72%, transparent 100%);
}
.hero-full__inner {
  position: relative; z-index: 3; max-width: var(--maxw); width: 100%; margin-inline: auto;
  padding: clamp(36px, 6vw, 84px) clamp(18px, 5vw, 56px);
}
.hero-full h1 {
  color: #fff; font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02;
  letter-spacing: -.03em; font-weight: 800; margin: 18px 0 0; max-width: 18ch;
}
.hero-full p {
  color: rgba(255, 255, 255, .9); font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 46ch; margin: 18px 0 0; line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero-Foto ist statisch (ein <picture>) – Styling über .hero-full__media img (oben). */

/* Beziehung */
.beziehung__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.beziehung__sticky { position: sticky; top: calc(var(--header-h) + 26px); }
.beziehung__sticky h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08;
  letter-spacing: -.02em; font-weight: 800; margin: 14px 0 0;
}
.beziehung__body { display: flex; flex-direction: column; gap: 22px; }
.beziehung__body p { margin: 0; }
.beziehung__body .lead-strong { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; font-weight: 500; }
.beziehung__body .lead-strong strong { color: var(--wine); }
.beziehung__body .muted { font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.65; color: var(--muted); }

/* Rassen-Band */
.breeds { text-align: center; }
.breeds h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.breeds p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; margin: 14px auto 28px; }
.breeds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.breeds li { background: var(--surface); border: 1px solid var(--border); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* Angebot – Karten */
.section__intro { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section__intro h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin: 14px 0 0; }
.section__intro p { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.15rem); margin: 16px 0 0; }

/* Positionierung "mobiles Training / Hausbesuch" – bewusst vor den Angebot-Akkordeons */
.mobil-box {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--wine);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px); margin: 0 0 clamp(28px, 4vw, 44px); max-width: 72ch;
}
.mobil-box h3 { margin: 0 0 10px; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.2; }
.mobil-box p { margin: 0 0 10px; color: var(--muted); line-height: 1.6; }
.mobil-box p:last-child { margin-bottom: 0; }
.mobil-box strong { color: var(--fg); }

.cards {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: 1fr; /* schmal: gestapelt */
  gap: clamp(14px, 1.8vw, 22px);
}
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .cards { grid-template-columns: repeat(4, 1fr); } } /* reguläres Fenster: 4 nebeneinander */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.card__icon {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--wine);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; }
.card p { color: var(--muted); font-size: .99rem; line-height: 1.55; margin: 0; }
a.card { text-decoration: none; color: inherit; }

/* Angebot: Kategorien als einklappbare Akkordeons */
.offer-acc {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); margin-top: 16px; overflow: hidden;
}
.offer-acc__summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 30px);
}
.offer-acc__summary::-webkit-details-marker { display: none; }
.offer-acc__summary:focus-visible { outline: 3px solid var(--wine); outline-offset: -3px; }
.offer-acc__titles { display: flex; flex-direction: column; gap: 3px; }
.offer-acc__titles h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.offer-acc__titles .tagline { color: var(--muted); font-size: .98rem; }
.offer-acc__sign {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--wine);
  color: var(--wine); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  line-height: 1; transition: transform .2s;
}
.offer-acc[open] .offer-acc__sign { transform: rotate(45deg); }
.offer-acc__body {
  padding: 0 clamp(20px, 2.6vw, 30px) clamp(22px, 2.8vw, 30px);
  display: flex; flex-direction: column; gap: 16px;
}
.offer-acc__body > p { margin: 0; color: var(--muted); line-height: 1.6; }
.offer-acc__body > p strong { color: var(--fg); }
.offer-acc__body .btn { align-self: flex-start; }

/* Preis-Block (einheitlich in allen Angebots-Rubriken) */
.preise { border-top: 1px solid var(--border); padding-top: 14px; }
.preise__label { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.preise__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.preise__list li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.preise__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.preise__leistung { color: var(--fg); }
.preise__betrag { font-weight: 800; white-space: nowrap; color: var(--wine); }
.preis-hinweis { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }

/* Über mich / Tierschutz – zweispaltig */
.split2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.split2 h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin: 14px 0 0; }
.split2 .intro { font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.6; margin: 18px 0 0; }
.split2 .muted { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.65; color: var(--muted); margin: 16px 0 0; }
.split2 .media { max-width: 480px; aspect-ratio: 4/5; background-color: var(--surface); }
.split2 .media--wide { aspect-ratio: 5/4; max-width: none; }

.heart-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.heart-eyebrow svg { width: 16px; height: 16px; fill: var(--wine); flex: 0 0 auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  border: 1px solid var(--wine); color: var(--wine); padding: 13px 22px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: background .2s, color .2s;
}
.link-arrow:hover { background: var(--wine); color: var(--on-wine); }

/* Kurse – CTA-Banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--wine); color: var(--on-wine); padding: clamp(34px, 5vw, 72px);
}
.cta-banner__ring { position: absolute; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-wine) 20%, transparent); }
.cta-banner__ring--1 { right: -60px; top: -60px; width: 280px; height: 280px; }
.cta-banner__ring--2 { right: 30px; bottom: -90px; width: 200px; height: 200px; }
.cta-banner__body { position: relative; max-width: 62ch; }
.cta-banner__body h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin: 16px 0 0; }
.cta-banner__body p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.55; margin: 16px 0 0; opacity: .92; }
.cta-banner .pill--soft { background: color-mix(in srgb, var(--on-wine) 16%, transparent); color: var(--on-wine); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.cta-banner .btn { margin-top: 28px; }

/* ---------- 7. FAQ, Kontakt, Footer ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.faq__head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin: 12px 0 0; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem); display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sign { color: var(--wine); font-size: 1.5em; line-height: 1; flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary .sign { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0; padding: 0 0 20px; }

.kontakt { max-width: 1100px; margin-inline: auto; }
.kontakt__head { text-align: center; max-width: 60ch; margin-inline: auto; }
.kontakt__head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 800; margin: 14px 0 0; }
.kontakt__head p { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin: 16px auto 0; }
.kontakt__grid {
  display: grid; grid-template-columns: 1fr;   /* schmal: 4×1 gestapelt */
  gap: 14px; margin-top: clamp(32px, 5vw, 52px);
}
@media (min-width: 560px)  { .kontakt__grid { grid-template-columns: 1fr 1fr; } }        /* mittel: 2×2 */
@media (min-width: 1000px) { .kontakt__grid { grid-template-columns: repeat(4, 1fr); } } /* breit: 1×4 */
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow); color: var(--fg);
  transition: border-color .2s, transform .2s, filter .2s;
}
.contact-card:hover { border-color: var(--wine); transform: translateY(-3px); }
.contact-card--mail { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.contact-card--mail:hover { filter: brightness(1.07); transform: translateY(-3px); }
.contact-card__title { font-weight: 700; font-size: 1.15rem; margin-top: 6px; }
.contact-card__hint { color: var(--muted); font-size: .98rem; }
.contact-card--mail .contact-card__hint { color: inherit; opacity: .9; }
.contact-card__icon { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--wine); color: var(--wine); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-card__icon svg { width: 23px; height: 23px; }
.contact-card--mail .contact-card__icon { border-color: var(--on-wine); color: var(--on-wine); }
.contact-note { text-align: center; color: var(--muted); font-size: 1rem; margin: clamp(28px, 4vw, 40px) 0 0; }
.contact-note strong { color: var(--fg); }

.site-footer { background: var(--bg); border-top: 1px solid var(--border); }
.site-footer__top {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 5vw, 64px) clamp(18px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start;
}
.site-footer__brand { max-width: 34ch; }
.site-footer__brand .row { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.site-footer__brand .row .brand__mark { width: 32px; height: 32px; }
.site-footer__brand .row .brand__mark span { width: 10px; height: 10px; }
.site-footer__brand p { color: var(--muted); font-size: .98rem; margin: 14px 0 0; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav__title { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--fg); transition: color .2s; }
.footer-nav a:hover { color: var(--wine); }
.site-footer__bottom { border-top: 1px solid var(--border); }
.site-footer__bottom p { max-width: var(--maxw); margin-inline: auto; padding: 20px clamp(18px, 5vw, 56px); color: var(--muted); font-size: .9rem; }
.site-footer__bottom p.site-footer__credit { padding-top: 0; padding-bottom: 3px; font-size: .82rem; opacity: .82; line-height: 1.5; }
.site-footer__bottom p.site-footer__credit:last-child { padding-bottom: 22px; }
.site-footer__credit a { color: var(--wine); }
/* Tiernotfall-Hinweis: eigener Service, steht deshalb VOR den Credits und
   etwas kräftiger – im Ernstfall soll er von jeder Seite aus auffindbar sein. */
.site-footer__bottom p.site-footer__notfall {
  padding-top: 0; padding-bottom: 14px; font-size: .92rem; color: var(--fg);
  display: flex; align-items: center; gap: 9px;
}
.site-footer__notfall svg { flex: 0 0 auto; width: 19px; height: 19px; fill: none; stroke: var(--wine); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__notfall a { color: var(--wine); font-weight: 700; }

/* ===== Ratgeber (Teaser + Karten) ===== */
.ratgeber-intro { max-width: 60ch; margin: 14px 0 0; }
.ratgeber-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 20px); margin-top: 24px; }
@media (min-width: 720px) { .ratgeber-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ratgeber-grid { grid-template-columns: repeat(3, 1fr); } }
.ratgeber-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.ratgeber-card:hover { border-color: var(--wine); transform: translateY(-3px); }
.ratgeber-card__tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--wine); background: var(--wine-tint); padding: 4px 11px; border-radius: 999px; }
.ratgeber-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 0; }
.ratgeber-card p { color: var(--muted); font-size: .98rem; line-height: 1.55; margin: 0; }
.ratgeber-card__more { color: var(--wine); font-weight: 700; margin-top: 4px; }
.ratgeber-all { margin-top: 26px; }
/* Qualifikation & Erfahrung (Über mich – E-E-A-T) */
.credentials { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow); }
.credentials h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 12px; }
.credentials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.credentials li { position: relative; padding-left: 26px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.credentials li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wine); font-weight: 800; }
.credentials strong { color: var(--fg); }
.credentials a { color: var(--wine); }

/* ===== Tiernotfall-Seite ===== */
.tiernotfall__intro { max-width: 65ch; margin: 14px 0 0; }
.notfall-sticky { position: sticky; top: 74px; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 34px; padding: 12px; background: var(--wine); border-radius: var(--radius); box-shadow: var(--shadow); }
.notfall-num { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; background: var(--on-wine); color: var(--wine); border-radius: 12px; text-decoration: none; text-align: center; transition: filter .15s; }
.notfall-num:hover { filter: brightness(.96); }
.notfall-num__n { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.notfall-num__l { font-size: .82rem; opacity: .85; }
.notfall-num__l-short { display: none; }
/* Mobil: Leiste bleibt sticky (Notfall-Nutzen), dafuer kompakt mit Kurzlabels */
@media (max-width: 640px) {
  /* dritte Spalte breiter: "030 4664 4664" soll einzeilig bleiben */
  .notfall-sticky { grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; padding: 8px; margin: 20px 0 28px; }
  .notfall-num { padding: 9px 3px; gap: 0; }
  .notfall-num__n { font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; }
  .notfall-num__l { font-size: .66rem; line-height: 1.2; }
  .notfall-num__l-full { display: none; }
  .notfall-num__l-short { display: inline; }
  .notfall-outro .btn { white-space: normal; text-align: center; max-width: 100%; }
}
.notfall-situations { display: flex; flex-direction: column; gap: 12px; }
.notfall-sit { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.notfall-sit > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; font-size: 1.1rem; }
.notfall-sit > summary::-webkit-details-marker { display: none; }
.notfall-sit > summary:focus-visible { outline: 3px solid var(--wine); outline-offset: -3px; border-radius: 16px; }
.notfall-sit[open] > summary { border-bottom: 1px solid var(--border); }
.notfall-sit .sign { flex: 0 0 auto; color: var(--wine); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.notfall-sit[open] .sign { transform: rotate(45deg); }
.notfall-steps { margin: 0; padding: 16px 22px 22px 42px; display: flex; flex-direction: column; gap: 16px; }
.notfall-steps > li { line-height: 1.55; }
.notfall-steps > li > p { margin: 0 0 8px; }
.notfall-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.notfall-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.notfall-card__name { font-weight: 700; }
.notfall-badge { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.notfall-badge--amtlich { background: var(--wine-tint); color: var(--wine); }
.notfall-badge--gemeinnuetzig { background: var(--surface-3); color: var(--muted); }
.notfall-badge--privat_kostenpflichtig { background: #F4D9A6; color: #6B4E12; }
.notfall-card__phone { font-size: 1.15rem; font-weight: 800; color: var(--wine); text-decoration: none; }
.notfall-card__avail { color: var(--muted); font-size: .92rem; }
.notfall-card__note { color: var(--fg); font-size: .92rem; margin: 4px 0 0; }
.notfall-card__link { color: var(--wine); font-size: .9rem; }
.notfall-card__verify { color: #8A5A00; font-size: .88rem; font-weight: 700; margin: 4px 0 0; }
[data-theme="dark"] .notfall-card__verify { color: #E7B24d; }
.notfall-warn, .notfall-neutral { display: block; background: var(--surface-3); border-left: 4px solid var(--wine); padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: .95rem; }
.notfall-neutral { font-size: .88rem; color: var(--muted); border-left-color: var(--border); }
.notfall-outro { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.notfall-stand { color: var(--muted); font-size: .95rem; margin: 0; }
.notfall-stand a, .notfall-disclaimer a { color: var(--wine); }
.notfall-disclaimer { color: var(--muted); font-size: .88rem; margin: 0; }
.notfall-teaser { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--wine); border-radius: 14px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s; }
.notfall-teaser:hover { transform: translateY(-2px); }
.notfall-teaser__icon { flex: 0 0 auto; display: flex; align-items: center; }
.notfall-teaser__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notfall-teaser strong { color: var(--wine); }
.notfall-teaser__cta { margin-left: auto; color: var(--wine); font-weight: 800; font-size: 1.2rem; flex: 0 0 auto; }
/* Mobil: Deko-Pfeil raus, damit der Text nicht in eine schmale Spalte gequetscht wird
   (ganze Kachel ist ohnehin der Link; der Pfeil ist aria-hidden) */
@media (max-width: 560px) {
  .notfall-teaser { gap: 10px; padding: 14px 16px; align-items: flex-start; }
  .notfall-teaser__cta { display: none; }
}

/* Druck: Nur der Notfall-Inhalt, Akkordeons offen, URLs ausgeschrieben */
@media print {
  .site-header, .site-footer, .a11y-fab, .a11y-panel, .scroll-top, .privacy-note, .notfall-outro .btn { display: none !important; }
  body { color: #000; background: #fff; }
  .tiernotfall { padding: 0 !important; }
  .notfall-sticky { position: static; background: none; box-shadow: none; padding: 0; margin: 6px 0 16px; }
  .notfall-num { border: 1.5px solid #000; color: #000; }
  .notfall-sit { break-inside: avoid; box-shadow: none; border: 1px solid #888; }
  .notfall-sit > summary .sign { display: none; }
  .notfall-sit:not([open]) > .notfall-steps { display: flex; }
  .notfall-card { background: #f7f7f7; border-color: #bbb; break-inside: avoid; }
  .notfall-card__link[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; color: #333; }
}
/* Artikel-Feinschliff (Ratgeber-Detailseiten nutzen .legal) */
.legal .article-meta { color: var(--muted); font-size: .9rem; margin: 0 0 1.5em; }
.legal .article-cta { margin: 2em 0 0; padding: clamp(20px, 3vw, 28px); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.legal .article-cta p { margin: 0 0 14px; }
.legal .article-answer { margin: 0 0 1.6em; padding: 14px 18px; background: var(--surface-2); border-left: 4px solid var(--wine); border-radius: 0 12px 12px 0; font-size: 1.05rem; line-height: 1.6; }
.legal .article-answer strong { color: var(--wine); }
.legal .article-more { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--border); }
.legal .article-more h2 { margin-top: 0; }
.legal .article-more ul { margin: 0; }

/* Herz-mit-Pfote-Icon (ersetzt das Wort „Herz" im Footer) */
.heart-icon {
  width: 1.35em; height: 1.35em; vertical-align: -0.28em;
  color: var(--wine); display: inline-block; margin: 0 .05em;
}

/* ---------- 8. Skip-Link & Scroll-up ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--wine); color: var(--on-wine); padding: 10px 18px;
  border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }

.scroll-top {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: var(--wine); color: var(--on-wine); border: none; cursor: pointer;
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, filter .2s;
}
.scroll-top[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { filter: brightness(1.08); }
.scroll-top svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; }

/* ---------- 9. Barrierefreiheits-Panel ---------- */
.a11y-fab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 300; width: 54px; height: 54px;
  border-radius: 14px 0 0 14px; border: 2px solid var(--wine); border-right: none;
  background: var(--wine); color: var(--on-wine); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: filter .2s, width .2s;
}
.a11y-fab:hover { filter: brightness(1.08); }
.a11y-fab svg { width: 30px; height: 30px; fill: currentColor; }

.a11y-panel {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) scale(.96);
  transform-origin: right center;
  z-index: 301; width: min(340px, 94vw); max-height: 92vh; overflow-y: auto;
  background: var(--surface); color: var(--fg); border: 1px solid var(--border);
  border-radius: 16px 0 0 16px; box-shadow: var(--shadow);
  padding: 20px; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  opacity: 0; visibility: hidden; pointer-events: none;
}
/* Wird in der Box ein-/ausgeblendet (kein Off-Canvas), damit kein horizontaler Scroll entsteht. */
.a11y-panel[data-open="true"] { transform: translateY(-50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-panel__head h2 { font-size: 1.1rem; margin: 0; font-weight: 800; }
.a11y-panel__close { background: transparent; border: 1px solid var(--border); border-radius: 8px; width: 34px; height: 34px; flex: 0 0 auto; cursor: pointer; color: var(--fg); font-size: 18px; line-height: 1; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.a11y-row:first-of-type { border-top: none; }
.a11y-row__label { font-weight: 600; font-size: .95rem; flex: 1 1 auto; min-width: 0; }
.a11y-controls { display: inline-flex; gap: 6px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.a11y-controls button, .a11y-toggle {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  min-width: 38px; height: 34px; padding: 0 10px; cursor: pointer; color: var(--fg);
  font-family: inherit; font-weight: 700; font-size: .9rem;
}
.a11y-toggle[aria-pressed="true"] { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.a11y-panel__reset { margin-top: 14px; width: 100%; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 10px; cursor: pointer; color: var(--muted); font-family: inherit; font-weight: 600; }

/* ---------- Datenschutz-Hinweis (reine Information, KEIN Consent-Gate) ---------- */
.privacy-note {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(150%);
  z-index: 94; width: min(680px, calc(100vw - 32px));
  background: var(--surface); color: var(--fg); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1); visibility: hidden;
}
.privacy-note[data-show="true"] { transform: translateX(-50%) translateY(0); visibility: visible; }
.privacy-note__text { flex: 1 1 280px; font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0; }
.privacy-note__text strong { color: var(--fg); }
.privacy-note__text a { color: var(--wine); font-weight: 600; }
.privacy-note__ok {
  flex: 0 0 auto; background: var(--wine); color: var(--on-wine); border: none;
  border-radius: 999px; padding: 10px 20px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: filter .2s;
}
.privacy-note__ok:hover { filter: brightness(1.07); }
[data-motion="reduce"] .privacy-note { transition: none; }
/* Genug Abstand zum Scroll-up-Button auf schmalen Schirmen */
@media (max-width: 560px) { .privacy-note { bottom: 78px; } }

/* ---------- 10. Scroll-Reveal & Reduced Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
/* Ohne JS bleibt alles sichtbar */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* A11y-Panel: Animationen reduzieren */
[data-motion="reduce"] [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
[data-motion="reduce"] * { animation: none !important; transition: none !important; scroll-behavior: auto; }

/* ---------- 11. A11y-Zustände ---------- */
[data-underline="true"] main a,
[data-underline="true"] footer a { text-decoration: underline; text-underline-offset: 3px; }

/* Dyslexie-Modus: OpenDyslexic + etwas mehr Laufweite/Zeilenhöhe */
[data-dyslexia="true"] body,
[data-dyslexia="true"] h1, [data-dyslexia="true"] h2, [data-dyslexia="true"] h3,
[data-dyslexia="true"] p, [data-dyslexia="true"] li, [data-dyslexia="true"] a,
[data-dyslexia="true"] summary, [data-dyslexia="true"] button,
[data-dyslexia="true"] input, [data-dyslexia="true"] textarea,
[data-dyslexia="true"] select, [data-dyslexia="true"] option, [data-dyslexia="true"] optgroup {
  font-family: 'OpenDyslexic', 'DejaVu Sans', 'Figtree', system-ui, sans-serif !important;
  letter-spacing: .01em;
}
[data-dyslexia="true"] p, [data-dyslexia="true"] li { line-height: 1.8; }
[data-dyslexia="true"] h1, [data-dyslexia="true"] h2, [data-dyslexia="true"] h3 { letter-spacing: 0; }

/* Vorlese-Status: aktiver Button hervorgehoben */
.a11y-fab[data-speaking="true"] { animation: apht-pulse 1.4s ease-in-out infinite; }
@keyframes apht-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }
[data-motion="reduce"] .a11y-fab[data-speaking="true"] { animation: none; }
.a11y-reading-hint { font-size: .82rem; color: var(--muted); margin: 2px 0 0; }

/* ---------- 12. Rechtsseiten (Fließtext) ---------- */
.legal { max-width: 820px; margin-inline: auto; padding-block: clamp(40px, 7vw, 88px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .4em; }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.legal h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
.legal p, .legal li { color: var(--fg); font-size: 1.02rem; line-height: 1.7; }
.legal .muted { color: var(--muted); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal a { color: var(--wine); }
.legal a.btn { text-decoration: none; }
.legal a.btn--primary { color: var(--on-wine); }
.legal a.btn--ghost { color: var(--fg); }
.legal .back { display: inline-block; margin-bottom: 1.5em; font-weight: 600; text-decoration: none; color: var(--wine); }
.legal .updated { color: var(--muted); font-size: .92rem; }
.todo { background: var(--wine-tint); border: 1px dashed var(--wine); border-radius: 10px; padding: 4px 10px; color: var(--wine); font-weight: 700; }

/* ---------- 13. Responsive / Mobile-Menü ---------- */
/* Desktop-Navigation braucht ~1293px (7 Punkte + Toggle + Button). Darunter
   sofort Burger-Menü, damit die Leiste nie abgeschnitten wird. */
@media (max-width: 1320px) {
  .nav-desktop { display: none; }
  .nav-mobile-controls { display: flex; }
}
@media (min-width: 1321px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 880px) {
  .beziehung__sticky { position: static; }
}

/* Sehr kleine Bildschirme: Hero-Überschrift passend skalieren. */
@media (max-width: 480px) {
  .hero-full h1 { font-size: clamp(1.7rem, 8.2vw, 2.4rem); }
}

/* ===== E-Mail-Konfigurator (Dialog) ===== */
/* Nicht-modal (dialog.show()), damit der Barrierefreiheits-Button erreichbar bleibt.
   Eigener Backdrop statt ::backdrop; A11y-FAB/Panel liegen per z-index darüber. */
.maildlg { border: none; padding: 0; background: transparent; width: min(560px, calc(100% - 32px)); border-radius: var(--radius); color: var(--fg); position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 201; }
.maildlg:not([open]) { display: none; }
.maildlg-backdrop { position: fixed; inset: 0; background: rgba(20, 8, 10, .55); backdrop-filter: blur(2px); z-index: 200; display: none; }
.maildlg-backdrop.is-visible { display: block; }
.maildlg__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; max-height: 88vh; overflow-y: auto; }
.maildlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.maildlg__title { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.maildlg__close { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s; }
.maildlg__close:hover { border-color: var(--wine); }
.maildlg__intro { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.5; }
.maildlg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.maildlg__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.maildlg__field--full { grid-column: 1 / -1; }
.maildlg__field label { font-weight: 600; font-size: .95rem; }
.maildlg__opt { font-weight: 400; color: var(--muted); }
.maildlg input[type="text"], .maildlg textarea { font: inherit; color: var(--fg); background: var(--surface-2); border: 1px solid var(--muted); border-radius: 12px; padding: 10px 12px; width: 100%; }
.maildlg input[type="text"]:focus, .maildlg textarea:focus { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }
/* Themenauswahl als Radio-Gruppe (Dyslexie-Schrift greift, keine native Popup-Grenze) */
.maildlg__topics { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px 14px; margin: 0; min-width: 0; }
.maildlg__topics legend { font-weight: 600; font-size: .95rem; padding: 0 4px; }
.maildlg__topicgroup { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 2px; }
.maildlg__radio { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1.35; }
.maildlg__radio:hover { background: var(--surface-2); }
.maildlg__radio input[type="radio"] { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--wine); cursor: pointer; }
.maildlg__radio:focus-within { outline: 2px solid var(--wine); outline-offset: 1px; background: var(--surface-2); }
.maildlg textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.maildlg__preview { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.maildlg__preview-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.maildlg__preview-line { margin: 0 0 4px; font-size: .95rem; }
.maildlg__preview-body { font: inherit; font-size: .95rem; white-space: pre-wrap; word-break: break-word; margin: 8px 0 0; color: var(--fg); }
.maildlg__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.maildlg__actions .btn { flex: 1 1 auto; justify-content: center; }
.maildlg__copied { color: var(--wine); font-weight: 700; }
.maildlg__fallback { color: var(--muted); font-size: .9rem; margin: 0; text-align: center; line-height: 1.5; }
.maildlg__fallback a { color: var(--wine); }
@media (max-width: 460px) { .maildlg__grid { grid-template-columns: 1fr; } }
