/* =========================================================
   Logopädische Praxis Jasmin Sieburg – Stylesheet
   Layout: ruhige, helle Fläche; Petrol als Leitfarbe,
   Sonnengelb als einziger Akzent; Schallwellen-Motiv.
   ========================================================= */

/* ---------- Schriften (lokal eingebunden, DSGVO-freundlich) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #FAFBF9;
  --white: #FFFFFF;
  --mint: #E5EFEA;
  --mint-deep: #C9DED5;
  --ink: #16313A;
  --petrol: #1E5A68;
  --petrol-dark: #143F4A;
  --muted: #52686E;
  --line: #D6E2DD;
  --sun: #F2B53A;
  --sun-soft: #FCEFD2;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 3.9rem);

  --radius: 18px;
  --wrap: 72rem;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }
.eyebrow {
  font-family: var(--f-display); font-weight: 600; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--petrol);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--mint { background: var(--mint); }
.section--ink { background: var(--petrol-dark); color: #E8F1EE; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--sun); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.section-head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; max-width: 42rem; }

/* ---------- Schallwellen-Marke ---------- */
.wave { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.wave i { display: block; width: 4px; border-radius: 4px; background: var(--petrol); }
.wave i:nth-child(1) { height: 30%; }
.wave i:nth-child(2) { height: 70%; }
.wave i:nth-child(3) { height: 100%; background: var(--sun); }
.wave i:nth-child(4) { height: 55%; }
.wave i:nth-child(5) { height: 25%; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; }
.brand-sub { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.98rem;
}
.main-nav a:hover { background: var(--mint); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--mint); color: var(--petrol-dark); }
.main-nav .nav-call a { background: var(--petrol); color: var(--white); margin-left: 0.5rem; }
.main-nav .nav-call a:hover { background: var(--petrol-dark); color: var(--white); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem var(--gutter-r) 1.25rem var(--gutter-l); }
  .main-nav a { padding: 0.8rem 1rem; border-radius: 12px; }
  .main-nav .nav-call a { margin: 0.5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, transform .15s;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-dark); color: var(--white); }
.btn--ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--ghost:hover { background: var(--petrol); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #E7A626; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.hero h1 span { color: var(--petrol); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual .ph { align-items: flex-start; }
.hero-note {
  position: absolute; left: -1.5rem; bottom: -1.5rem; max-width: 17rem;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.2rem;
  box-shadow: 0 14px 40px rgba(22, 49, 58, 0.14); font-size: 0.95rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.hero-note strong { font-family: var(--f-display); font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--muted); font-size: 0.95rem; padding-top: 0.5rem; }
.facts span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 0.5rem; vertical-align: middle; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { position: static; margin-top: -2rem; margin-left: 1rem; margin-right: 1rem; max-width: none; }
}

/* Große Schallwelle im Hero */
.soundbar { display: flex; align-items: center; gap: 6px; height: 64px; }
.soundbar i { flex: 1; max-width: 8px; border-radius: 8px; background: var(--mint-deep); height: var(--h, 40%); }
.soundbar i.on { background: var(--petrol); }
.soundbar i.hi { background: var(--sun); }
@media (prefers-reduced-motion: no-preference) {
  .soundbar i { animation: pulse 2.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 90ms); transform-origin: center; }
  @keyframes pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }
}

/* ---------- Bild-Platzhalter (werden durch echte Fotos ersetzt) ---------- */
.ph {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.35) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--mint-deep), var(--mint));
  display: flex; align-items: flex-end; padding: 1rem;
}
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph-label {
  background: var(--white); color: var(--muted); font-size: 0.85rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.ph-label::before { content: ""; width: 14px; height: 11px; border: 2px solid currentColor; border-radius: 3px; }
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0;
}
.card p { color: var(--muted); }
.card .tag { font-size: 0.8rem; font-weight: 700; color: var(--petrol); text-transform: uppercase; letter-spacing: 0.08em; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; color: var(--petrol); }
.card-icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--petrol); transform: translateY(-2px); color: inherit; }

/* Zweispaltig: Text + Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Ablauf (echte Reihenfolge) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 3px solid rgba(255,255,255,0.18); min-width: 0; }
.steps li::before {
  content: counter(step); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sun); color: var(--ink);
  display: grid; place-items: center;
}
.steps p { color: #C9DCD7; font-size: 0.98rem; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.person + .person { margin-top: clamp(3rem, 6vw, 5rem); }
.person-info { display: flex; flex-direction: column; gap: 1rem; }
.person-role { color: var(--petrol); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--mint); color: var(--petrol-dark); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.9rem; font-weight: 700; }
@media (max-width: 720px) { .person { grid-template-columns: 1fr; } .person .ph { max-width: 22rem; } }

.team-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.team-teaser .card { flex-direction: row; align-items: center; gap: 1rem; }
.team-teaser .ph { width: 88px; flex: none; aspect-ratio: 1; border-radius: 50%; padding: 0; }
.team-teaser .ph-label { display: none; }
@media (max-width: 600px) { .team-teaser { grid-template-columns: 1fr; } }

/* ---------- Räume-Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.gallery figcaption { color: var(--muted); font-size: 0.92rem; }
.gallery .g-a { grid-column: span 4; }
.gallery .g-b { grid-column: span 2; }
.gallery .g-c { grid-column: span 2; }
.gallery .g-d { grid-column: span 2; }
.gallery .g-e { grid-column: span 2; }
.gallery .g-a .ph, .gallery .g-b .ph { height: 100%; aspect-ratio: auto; min-height: 16rem; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-a { grid-column: span 2; }
  .gallery .g-b, .gallery .g-c, .gallery .g-d, .gallery .g-e { grid-column: span 1; }
  .gallery .g-a .ph, .gallery .g-b .ph { min-height: 12rem; }
}

/* ---------- Info-Listen ---------- */
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.25rem; margin: 0; }
.info-list dt { font-weight: 700; color: var(--ink); }
.info-list dd { margin: 0; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; width: 40%; }
.hours td { color: var(--muted); }

.notice {
  background: var(--sun-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.notice strong { font-family: var(--f-display); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); background: var(--mint); }
.page-head .wrap { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Fließtext (Impressum, Datenschutz) ---------- */
.prose { max-width: 44rem; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose h3 { margin-top: 0.75rem; }
.prose ul { margin: 0; padding-left: 1.25rem; }
.todo { background: var(--sun-soft); padding: 0 0.3em; border-radius: 4px; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--sun); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.cta-band h2 { font-size: var(--step-2); }
.cta-band .btn--primary { background: var(--ink); }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--ink); color: #B9CCC7; font-size: 0.95rem; }
.site-footer a { color: #E4EEEA; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2rem; }
.footer-grid > * { min-width: 0; }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-sub { color: #9FB6B0; }
.site-footer .wave i { background: #7FA7A0; }
.site-footer .wave i:nth-child(3) { background: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Erweiterungen v2 (Muster aus Praxis-Websites)
   ========================================================= */

/* Infoleiste über dem Kopf */
.topbar { background: var(--petrol-dark); color: #CFE0DB; font-size: 0.88rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.45rem; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--sun); }
@media (max-width: 600px) { .topbar .tb-hours { display: none; } }

/* Dropdown-Navigation */
.main-nav li { position: relative; }
.main-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 15rem; padding: 0.5rem; flex-direction: column; align-items: stretch; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(22,49,58,.12);
  display: none;
}
.main-nav .sub a { border-radius: 10px; font-weight: 400; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: flex; }
@media (max-width: 880px) {
  .main-nav .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: transparent; }
  .main-nav .has-sub > a::after { display: none; }
  .main-nav { max-height: calc(100vh - 110px); overflow-y: auto; }
}

/* Breadcrumb */
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 700; }

/* Hero-Merkmale als Pills */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pills li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.92rem; font-weight: 700; color: var(--petrol-dark); }

/* Aktuelles-Hinweis */
.news { display: flex; gap: 1rem; align-items: flex-start; background: var(--sun-soft); border-radius: var(--radius); padding: 1.1rem 1.4rem; }
.news-badge { flex: none; background: var(--sun); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; padding: 0.3rem 0.7rem; border-radius: 999px; }
@media (max-width: 520px) { .news { flex-direction: column; } }

/* Kennzahlen-/Merkmalsreihe */
.features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
.feature { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1rem; border-left: 3px solid var(--sun); min-width: 0; }
.feature strong { font-family: var(--f-display); font-size: 1.15rem; }
.feature span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* Zielgruppen-Kacheln Kinder / Erwachsene */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.audience a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; transition: border-color .15s, transform .15s; }
.audience a:hover { border-color: var(--petrol); transform: translateY(-2px); color: inherit; }
.audience .ph { aspect-ratio: 16 / 9; }
.audience .more { font-weight: 700; color: var(--petrol); }
@media (max-width: 720px) { .audience { grid-template-columns: 1fr; } }

/* Stichwort-Tags in Karten */
.kw { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0.25rem 0 0; padding: 0; }
.kw li { font-size: 0.82rem; background: var(--mint); color: var(--petrol-dark); padding: 0.15rem 0.6rem; border-radius: 999px; }

/* Unternavigation (Sprungmarken) */
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subnav a { text-decoration: none; padding: 0.5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.subnav a:hover { border-color: var(--petrol); }
[id] { scroll-margin-top: 110px; }

/* FAQ-Akkordeon */
.faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-size: 1.5rem; color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--petrol); }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.6rem; }
.faq-group { display: flex; flex-direction: column; gap: 1rem; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: var(--step-2); }

/* Tabellen (Diagnosegruppen) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.dg { width: 100%; border-collapse: collapse; min-width: 32rem; }
.dg th, .dg td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dg thead th { background: var(--mint); font-family: var(--f-display); }
.dg td:first-child { font-family: var(--f-display); font-weight: 700; color: var(--petrol); white-space: nowrap; }
.dg tr:last-child td { border-bottom: 0; }

/* Lexikon */
.lexikon { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 2rem; margin: 0; }
.lexikon div { padding-block: 0.75rem; border-bottom: 1px solid var(--line); min-width: 0; }
.lexikon dt { font-family: var(--f-display); font-weight: 700; }
.lexikon dd { margin: 0.2rem 0 0; color: var(--muted); }
@media (max-width: 640px) { .lexikon { grid-template-columns: 1fr; } }

/* Nach oben */
.to-top {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 50%; background: var(--petrol); color: var(--white); border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(22,49,58,.25); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* Echte Fotos (v3) */
.photo { background: var(--mint); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.hero-visual .photo { box-shadow: 0 20px 50px rgba(22,49,58,.14); }
.audience .photo { aspect-ratio: 16 / 9; }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .g-a .photo, .gallery .g-b .photo { aspect-ratio: auto; height: 100%; min-height: 22rem; }
.gallery figure { justify-content: stretch; }
.gallery .g-a, .gallery .g-b { display: grid; grid-template-rows: 1fr auto; }
.gallery .g-c, .gallery .g-d { grid-column: span 3; }
.gallery figcaption strong { color: var(--ink); }
@media (max-width: 720px) {
  .gallery .g-a .photo, .gallery .g-b .photo { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .gallery .g-a, .gallery .g-b, .gallery .g-c, .gallery .g-d { grid-column: span 2; }
}
.gallery .g-a .photo, .gallery .g-b .photo { height: 26rem; min-height: 0; }
@media (max-width: 720px) { .gallery .g-a .photo, .gallery .g-b .photo { height: auto; } }
