/* ==========================================================
   Naturheilpraxis Beitat – Design-System
   Farben aus den Original-Dateien (Visitenkarte, Hintergrundvorlage)
   per Pixel-Sampling ausgelesen, siehe docs/seitenstruktur-bauanleitung.md

   Responsive-Strategie: Mobile First.
   Basis-Regeln gelten für schmale Bildschirme, @media (min-width: …)
   schaltet ab da schrittweise auf mehrspaltige/Desktop-Layouts um.
   Breakpoints: 640px (kleines Tablet/große Phablet-Landschaft),
   1000px (Tablet quer/Desktop). Typografie und Abstände sind zusätzlich
   über clamp() fluid, damit sie nicht hart an den Breakpoints springen.
   ========================================================== */

:root {
  --gruen-dunkel: #0a5a16;      /* Headlines, Marke, Nav-Links */
  --bordeaux: #7a2e29;          /* Fließtext-Akzent, Icons, Kontakt */
  --gold: #f6c004;              /* Trennlinie, Akzent */
  --lind-hell: #f3ffa0;         /* Band-Verlauf hell */
  --lind-mittel: #d9eb87;       /* Band-Verlauf dunkler */
  --creme: #f6f0da;             /* Seitenhintergrund – wärmer/beiger als die Zwischenversion, aber ohne das zu satte Gelb-Grün der Originaldatei (#fcfed7) */
  --gruen-aquarell: #6db664;    /* Illustrations-Akzent */
  --orange-dunkel: #b5560f;     /* Fließtext-Akzent 2 (Hero-Unterzeile), aus der Farbpalette */
  --text-dunkel: #2b2b1f;

  --font-headline: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1160px;
  --radius: 14px;

  /* Fluide Typografie: skaliert zwischen den Grenzwerten mit der Viewport-Breite */
  --fs-brand: clamp(1.25rem, 1rem + 1.6vw, 2rem);
  --fs-hero-h1: clamp(1.9rem, 1.3rem + 3vw, 3rem);
  --fs-page-h1: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  --fs-h2: clamp(1.4rem, 1.1rem + 1.5vw, 2.2rem);
  --fs-h2-sm: clamp(1.25rem, 1.05rem + 1vw, 1.8rem);

  /* Fluide Abstände */
  --space-section: clamp(28px, 5vw, 72px);
  --space-container: clamp(16px, 5vw, 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dunkel);
  background: var(--creme);
  line-height: 1.6;
  overflow-x: hidden; /* Sicherheitsnetz gegen versehentliches horizontales Scrollen */
}

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

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-container);
}

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

/* ---------- Bänder (oben/unten) – echte Aquarell-Hintergrundvorlage,
   zugeschnitten aus HG-A4-quer-hell-leer.jpg (siehe assets/img/bg-top.jpg / bg-bottom.jpg) ---------- */
.band {
  background-image: url('../img/bg-top.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: var(--lind-mittel);
  position: relative;
  min-height: clamp(200px, 46vw, 360px);
  display: flex;
  flex-direction: column;
}
.band-footer {
  background-image: url('../img/bg-bottom.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-color: var(--lind-mittel);
}
@media (min-width: 640px) {
  .band { min-height: clamp(260px, 34vw, 360px); }
}

/* ---------- Header / Navigation ----------
   Mobile: Logo + Hamburger-Button, Nav per Klick als Dropdown darunter.
   Ab 1000px: Button verschwindet, Nav wird permanent inline angezeigt. */
header.site-header {
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-headline);
  /* Gleiche Größe wie die Hero-Überschrift "Naturheilpraxis Beitat" auf der Startseite. */
  font-size: var(--fs-hero-h1);
  color: var(--gruen-dunkel);
  text-decoration: none;
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 90, 22, 0.25);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--gruen-dunkel);
  border-radius: 2px;
}

.nav-wrapper {
  display: none;
  flex-basis: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 4px;
}
.nav-wrapper.is-open { display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  display: block;
  text-decoration: none;
  color: var(--gruen-dunkel);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 10px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-color: var(--gold);
}
@media (min-width: 1000px) {
  /* Logo + Reiterzeile als Einheit linksbündig, in der Höhe mittig (nicht über
     die ganze Breite verteilt und nicht zentriert). */
  /* Der große Logo-Schriftzug (Größe der Hero-Überschrift) passt bei normalen
     Desktop-Breiten nicht mehr neben die volle Reiterzeile in eine Zeile –
     daher zweizeilig: Logo oben, Reiterzeile darunter, beides linksbündig. */
  .header-inner { justify-content: flex-start; gap: 10px; }
  .nav-toggle { display: none; }
  .nav-wrapper {
    display: flex !important;
    flex-basis: 100%;
    width: 100%;
    background: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    align-items: center;
    gap: 20px;
  }
  nav.main-nav ul { flex-direction: row; gap: 20px; flex-wrap: wrap; }
  nav.main-nav a { padding: 0 0 4px; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-section) 0;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero .container { width: 100%; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-headline);
  font-size: var(--fs-hero-h1);
  color: var(--gruen-dunkel);
  margin: 0 0 12px;
  line-height: 1.1;
}
.hero .tagline {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  color: var(--gruen-dunkel);
  margin: 0 0 16px;
  line-height: 1.3;
}
.hero .claim {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: var(--bordeaux);
  margin: 0 0 24px;
}
.hero-subline {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-subline strong {
  font-family: var(--font-headline);
  color: var(--gruen-dunkel);
  font-size: 1.05rem;
  line-height: 1.3;
}
.hero-subline span {
  font-size: 0.9rem;
  color: var(--orange-dunkel);
}
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  order: -1; /* Foto zuerst auf Mobile – Blickfang vor Text */
}
.hero-photo > img {
  /* echter Freisteller (transparenter Hintergrund) -> Schatten folgt der
     Silhouette; gleiche Rundung wie die restlichen Bilder/Karten der Seite,
     damit die Ecken dort, wo die Jacke bis an den Bildrand reicht, nicht hart wirken */
  filter: drop-shadow(0 18px 30px rgba(10, 90, 22, 0.28));
  border-radius: var(--radius);
  width: 100%;
  max-width: 320px;
  transform: scaleX(-1);
}
.hero-photo-name {
  margin: 0;
  max-width: 320px;
  text-align: center;
  font-family: var(--font-headline);
  color: var(--gruen-dunkel);
  font-size: 1.05rem;
  line-height: 1.3;
}
.hero-verify-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  text-align: left;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--lind-mittel);
  box-shadow: 0 4px 12px rgba(10, 90, 22, 0.08);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hero-verify-badge:hover {
  box-shadow: 0 8px 18px rgba(10, 90, 22, 0.14);
  transform: translateY(-2px);
}
.hero-verify-badge img { flex-shrink: 0; border-radius: 50%; }
.hero-verify-badge span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-dunkel);
}
@media (min-width: 640px) {
  .hero-photo > img { max-width: 380px; }
  .hero-photo-name { max-width: 380px; }
  .hero-verify-badge { max-width: 380px; }
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    text-align: left;
  }
  .hero-photo { order: 0; }
  .hero-photo > img { max-width: 440px; }
  .hero-photo-name { max-width: 440px; }
  .hero-verify-badge { max-width: 440px; }
}

.btn {
  display: inline-block;
  background: var(--gruen-dunkel);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 90, 22, 0.25);
}
.btn.btn-gold {
  background: var(--gold);
  color: var(--text-dunkel);
}

/* ---------- Bedürfnis-Sektion ---------- */
.needs {
  padding: var(--space-section) 0;
}
.needs h2 {
  font-family: var(--font-headline);
  font-size: var(--fs-h2);
  color: var(--gruen-dunkel);
  text-align: center;
  margin: 0 0 8px;
}
.needs .lead {
  text-align: center;
  color: var(--bordeaux);
  max-width: 640px;
  margin: 0 auto 40px;
}
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.need-card {
  background: #fff;
  border: 1px solid var(--lind-mittel);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.need-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lind-hell);
  color: var(--gruen-dunkel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.need-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.need-card h3 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.35rem;
  color: var(--gruen-dunkel);
}
.need-card p {
  margin: 0;
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--text-dunkel);
}
.need-card .cta {
  align-self: flex-start;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0; /* größere Tapzone auf Touch */
}
.need-card .cta:hover { text-decoration: underline; }
.needs-grid--titles {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.need-card--title-only {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.need-card--title-only:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 90, 22, 0.14);
}
.need-card--title-only h3 { font-size: 1.2rem; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; justify-content: center; margin: 0; }

/* ---------- Generic content sections (für Unterseiten) ---------- */
.page-hero {
  padding: clamp(24px, 5vw, 32px) 0 clamp(28px, 5vw, 40px);
  flex: 1;
  display: flex;
  align-items: center;
}
.page-hero .container { width: 100%; }
.page-hero h1 {
  font-family: var(--font-headline);
  font-size: var(--fs-page-h1);
  color: var(--gruen-dunkel);
  margin: 0 0 12px;
}
.content-section {
  padding: var(--space-section) 0;
}
.content-section h2 {
  font-family: var(--font-headline);
  color: var(--gruen-dunkel);
  font-size: var(--fs-h2-sm);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1000px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.quote {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  color: var(--bordeaux);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 32px 0;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  margin-top: 8px;
  color: var(--text-dunkel);
}
.placeholder-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  background: var(--lind-hell);
  color: var(--gruen-dunkel);
  padding: 2px 10px;
  border-radius: var(--radius);
}

/* ---------- Wissen &amp; Blog (Coming-Soon-Layout) ---------- */
.coming-soon-banner {
  background: #fff;
  border: 1px dashed var(--bordeaux);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.coming-soon-banner .badge {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--text-dunkel);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.coming-soon-banner p { margin: 0; font-size: 0.95rem; }
@media (min-width: 640px) {
  .coming-soon-banner { flex-direction: row; align-items: center; padding: 22px 26px; }
}
.entry-meta {
  font-size: 0.78rem;
  color: var(--bordeaux);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.thumb-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--lind-hell), var(--lind-hell) 10px, var(--creme) 10px, var(--creme) 20px);
  color: var(--gruen-dunkel);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.article-body {
  max-width: 720px;
  font-size: 1.02rem;
}
.article-body p { margin: 0 0 18px; }
.article-body h3 {
  font-family: var(--font-headline);
  color: var(--gruen-dunkel);
  font-size: 1.1rem;
  margin: 24px 0 6px;
}
.article-body .legal-intro {
  color: var(--bordeaux);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  padding: clamp(32px, 6vw, 48px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  color: var(--gruen-dunkel);
}
.footer-grid h4 {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  color: var(--gruen-dunkel);
  margin: 0 0 10px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid a {
  color: var(--gruen-dunkel);
  text-decoration: none;
}
.footer-grid a:hover { text-decoration: underline; }
.footer-instagram {
  margin: 28px 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-instagram a { color: var(--gruen-dunkel); text-decoration: none; }
.footer-instagram a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 90, 22, 0.2);
  font-size: 0.82rem;
  color: var(--text-dunkel);
}

/* ---------- Karten mit Bild (Schwerpunkte / Therapieangebot) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.img-card {
  background: #fff;
  border: 1px solid var(--lind-mittel);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.img-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 90, 22, 0.16);
}
.img-card .thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--lind-hell);
  display: flex;
  padding: 20px;
  cursor: zoom-in;
  text-decoration: none;
}
.img-card .thumb img {
  flex: 1;
  min-height: 0;
  width: 100%;
  /* contain statt cover: Flyer sind textlastig - lieber komplett zeigen
     (mit Luft links/rechts) als die Hälfte abzuschneiden, dafür wie ein
     aufgelegtes Blatt mit eigenem Schatten statt als rohes Scan-Rechteck. */
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(10, 90, 22, 0.2);
}
.img-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
}
.img-card .thumb:hover .img-zoom-hint { background: #fff; }
.flyer-other-side {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--lind-hell);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
  cursor: zoom-in;
}
.flyer-other-side:hover { background: var(--lind-mittel); }
.flyer-other-side img { display: none; }
.img-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.img-card h3 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  color: var(--gruen-dunkel);
}
.img-card p { margin: 0; flex-grow: 1; font-size: 0.95rem; }
.img-card > h3 {
  text-align: center;
  padding: 18px 16px 4px;
  font-size: 1.25rem;
  line-height: 1.3;
  /* min-height muss das Padding mit einrechnen (box-sizing: border-box) –
     sonst ist bei zweizeiligen Überschriften zu wenig Platz und die Box
     wächst über einzeilige Karten hinaus (uneinheitliche Kachelhöhen). */
  min-height: calc(2 * 1.25rem * 1.3 + 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-card .card-actions {
  display: flex;
  justify-content: center;
  padding: 16px 16px 20px;
  margin-top: auto;
}

/* ---------- Filter-Layout (Therapieangebot) ---------- */
.filter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--lind-mittel);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-sidebar h3 {
  margin: 0 0 14px;
  font-family: var(--font-headline);
  color: var(--gruen-dunkel);
  font-size: 1.15rem;
}
.filter-group { margin-bottom: 18px; }
.filter-group legend {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bordeaux);
  margin-bottom: 6px;
  padding: 0;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  cursor: pointer;
  min-height: 24px; /* Tapzone */
}
.filter-note {
  font-size: 0.75rem;
  color: var(--text-dunkel);
  opacity: 0.75;
}
#verfahren-filter-reset {
  display: inline-block;
  border: none;
  background: var(--lind-hell);
  color: var(--gruen-dunkel);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
#verfahren-filter-reset:hover { background: var(--lind-mittel); }
.verfahren-group {
  margin-bottom: 32px;
}
.verfahren-group h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bordeaux);
  border-bottom: 2px solid var(--lind-mittel);
  padding-bottom: 6px;
  margin: 0 0 12px;
}
@media (min-width: 1000px) {
  .filter-layout { grid-template-columns: 250px 1fr; gap: 40px; }
  .filter-sidebar { position: sticky; top: 20px; }
}

/* ---------- Events ---------- */
.event-card {
  background: #fff;
  border: 1px solid var(--lind-mittel);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.event-card-thumb {
  display: block;
  justify-self: center;
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 90, 22, 0.2);
}
.event-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card h3 { margin: 0 0 6px; font-family: var(--font-headline); color: var(--gruen-dunkel); font-size: 1.3rem; }
.event-card p { margin: 0; font-size: 0.9rem; }
@media (min-width: 640px) {
  .event-card {
    grid-template-columns: 180px 1fr auto;
    text-align: left;
  }
  .event-card-thumb { justify-self: start; width: 180px; height: 180px; }
}

/* position:relative auf JEDEM Lightbox-Link, nicht nur den bekannten Wrapper-
   Klassen – sonst positioniert sich ein enthaltenes .img-zoom-hint (position:
   absolute) am nächsten irgendwo weiter oben liegenden Vorfahren statt am
   Bild selbst. */
a.lightbox-link { position: relative; }

/* Anklickbare Dokument-Bilder: öffnen in Originalgröße im neuen Tab (doc-page). */
.doc-image-block > a {
  display: inline-block;
  text-decoration: none;
  cursor: zoom-in;
}
/* Lesbare Text-Variante des Zoom-Hinweises (statt der kleinen Icon-Kreis-Badge
   .img-zoom-hint, die für einzelne Emojis auf Katalog-Kacheln gedacht ist) –
   für große, freistehende Flyer-/Dokumentbilder mit sichtbarem Hinweistext. */
.img-zoom-hint--label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bordeaux);
  white-space: nowrap;
}
.doc-image-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.doc-image-block > a { max-width: 480px; width: 100%; }
.doc-image-block img.doc-page {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(10, 90, 22, 0.18);
}
/* Bild mit Vorder-/Rückseite (z.B. Flyer): mehrere Seiten in einer Slide-Leiste,
   die per Pfeil-Buttons mit einem Wisch-Übergang (transform) durchgeblättert
   werden – kein eigener "Zweite Seite"-Button/Lightbox-Sprung nötig. Klick auf
   das sichtbare Bild öffnet weiterhin die Lightbox (Vollbild-Zoom). */
.doc-page-wrap {
  position: relative;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(10, 90, 22, 0.18);
}
.doc-page-track {
  display: flex;
  transition: transform 0.45s ease;
}
.doc-page-track > a {
  flex: none;
  width: 100%;
  display: block;
  cursor: zoom-in;
}
.doc-page-track img {
  width: 100%;
  display: block;
}
.doc-page-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--gruen-dunkel);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.doc-page-nav:hover { background: #fff; }
.doc-page-nav-prev { left: 10px; }
.doc-page-nav-next { right: 10px; }
.swipe-hint {
  max-width: 480px;
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--bordeaux);
  text-align: right;
}

/* ---------- Zeitplan (z.B. Rahmenprogramm & Catering) ---------- */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.schedule-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  text-align: left;
}
.schedule-time {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--gruen-dunkel);
  white-space: nowrap;
}
.schedule-text { margin: 0; }
.doc-image-block .qr-block {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}
.doc-image-block .qr-block img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  flex-shrink: 0;
}
.doc-image-block .qr-block p {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  .doc-image-block { flex-direction: row; align-items: flex-start; }
}
.disclaimer-box {
  background: var(--lind-hell);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.85rem;
  margin-top: 18px;
}
.disclaimer-box--critical {
  background: rgba(122, 46, 41, 0.06);
  border-left-color: var(--bordeaux);
  font-weight: 700;
  color: var(--bordeaux);
}

/* ---------- Beschwerdebilder (lange Listen je Themenblock) ---------- */
.beschwerde-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 8px;
}
.beschwerde-quicknav a {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lind-hell);
  color: var(--gruen-dunkel);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.beschwerde-quicknav a:hover { background: var(--lind-mittel); }
.detail-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--lind-mittel);
}
.detail-block h2 {
  font-family: var(--font-headline);
  font-size: var(--fs-h2-sm);
  color: var(--gruen-dunkel);
  margin: 0 0 4px;
}
.detail-block .beschwerde-lead {
  color: var(--bordeaux);
  font-size: 1.05rem;
  margin: 0 0 16px;
}
.detail-block h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bordeaux);
  border-bottom: 2px solid var(--lind-mittel);
  padding-bottom: 6px;
  margin: 36px 0 14px;
}
/* Kompakte Listen für lange Aufzählungen (Beschwerdebilder, Therapieangebot) */
.detail-block ul,
.results ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.detail-block li,
.results li {
  margin-bottom: 4px;
  line-height: 1.4;
}
/* ul.two-col: wiederverwendbares zweispaltiges Layout für lange Listen
   (überall dort, wo viele kurze Einträge kompakter wirken sollen als
   eine lange einspaltige Liste) */
@media (min-width: 700px) {
  ul.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 4px;
  }
  /* row-gap übernimmt den vertikalen Abstand im Grid – das li-eigene
     margin-bottom würde sich sonst addieren (doppelter Abstand ggü.
     einspaltigen Listen ohne .two-col). */
  ul.two-col li { margin-bottom: 0; }
}

/* ---------- Kontaktformular ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-weight: 700; font-size: 0.9rem; color: var(--gruen-dunkel); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px; /* min. ~44px Tapzone inkl. Border/Line-height */
  border: 1px solid var(--lind-mittel);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem; /* verhindert Auto-Zoom beim Fokussieren auf iOS */
}
.contact-form textarea { min-height: 130px; resize: vertical; }
/* Honeypot-Feld gegen Formular-Spam: für Menschen unsichtbar, aber im DOM
   vorhanden, damit Bots (die oft blind alle Felder ausfüllen) reinfallen. */
.form-field-website {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  color: var(--text-dunkel) !important;
  cursor: pointer;
}
.form-privacy input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}
.form-status {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.form-status--success {
  background: var(--lind-hell);
  color: var(--gruen-dunkel);
  border: 1px solid var(--gruen-dunkel);
}
.form-status--error {
  background: #fff;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
}
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lind-hell); color: var(--gruen-dunkel);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* Google-Maps-Zwei-Klick-Lösung (Datenschutz, siehe docs/Kontext.md):
   .map-consent zeigt zunächst nur Hinweistext + Button, erst nach Klick
   ersetzt maps-consent.js den Inhalt durch das echte iframe. */
.map-consent {
  margin-top: 20px;
  border: 1px dashed var(--bordeaux);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.map-consent-text strong {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--gruen-dunkel);
  margin-bottom: 8px;
}
.map-consent-text p {
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.map-consent-loaded {
  padding: 0;
  border-style: solid;
  overflow: hidden;
  line-height: 0; /* iframe-Whitespace am unteren Rand vermeiden */
}
.map-consent-loaded iframe { display: block; }

/* ---------- Lightbox (Flyer-/Dokumentbilder vergrößert im selben Tab) ----------
   Wird per assets/js/lightbox.js für alle a.lightbox-link erzeugt: ein Overlay
   mit abgedunkeltem Hintergrund, Klick außerhalb des Bildes oder Escape schließt es. */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 15, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 6vh 5vw;
  cursor: zoom-out;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
body.lightbox-active { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, nav.main-nav a { transition: none; }
}
