/* ── Self-hosted fonts (variable, latin subset) — no Google Fonts requests (DSGVO) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/dancing-script-var.woff2') format('woff2');
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  font-family: 'Inter', sans-serif;
  background: #FAFAF8;
  color: #1A1A1A;
  line-height: 1.6;
}

/* ── Design Tokens ── */
:root {
  --red:    #8B1A2B;
  --red-dk: #6B1220;
  --red-btn:  #8B1A2B;   /* buttons & logo — zurück auf Original-Bordeaux */
  --teal-btn: #5DA7A8;   /* buttons & logo — zurück auf Original-Türkis */
  --teal:   #5DA7A8;
  --teal-lt:#E8F2F2;
  --bg:     #FAFAF8;
  --bg2:    #F2F0ED;
  --txt:    #1A1A1A;
  --muted:  #6B7280;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  /* oben transparent über dem Hero; Leiste erscheint erst beim Scrollen.
     solid translucent — no backdrop-filter (keeps scroll smooth) */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(250,250,248,.97);
  border-bottom-color: rgba(0,0,0,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none;
  transition: opacity .3s;
}
/* im Hero ausgeblendet (JS setzt die Klasse auf Seiten mit Hero);
   erscheint zusammen mit der Leiste, sobald gescrollt wird (nav.scrolled) */
.nav-logo.logo-waiting { opacity: 0; pointer-events: none; }
nav.scrolled .nav-logo.logo-waiting { opacity: 1; pointer-events: auto; }
.nav-logo img {
  height: 44px; width: 44px; display: block;
}
.nav-logo-text {
  font-size: 1.25rem; font-weight: 700; color: var(--red-btn);
  letter-spacing: -.02em;
}
.nav-logo-text em { color: var(--teal-btn); font-style: normal; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--txt); font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--red-btn); color: #fff !important;
  padding: .45rem 1.2rem; border-radius: 999px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-dk) !important; color: #fff !important; }

/* burger hidden by default */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: .3s; }

/* nav-shadow sentinel (invisible) */
#nav-sentinel { position: absolute; top: 0; left: 0; height: 1px; width: 1px; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 140px 5vw 200px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
/* filter is baked into hero.jpg — no runtime filter */
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: translateZ(0);   /* own compositor layer — raster once, cheap scroll */
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  transform: translateZ(0);
  /* Ganzbild-Behandlung statt Text-Schatten — heller Schleier, 50% */
  background: rgba(250,248,245,.50);
}
/* bottom fade — smooth transition into #willkommen (#F2F0ED) */
.hero-bg::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateZ(0);
  height: 30vh;
  background: linear-gradient(to bottom,
    rgba(242,240,237,0)    0%,
    rgba(242,240,237,.10)  15%,
    rgba(242,240,237,.25)  30%,
    rgba(242,240,237,.40)  42%,
    rgba(242,240,237,.50)  50%,
    rgba(242,240,237,.65)  60%,
    rgba(242,240,237,.82)  75%,
    rgba(242,240,237,.94)  88%,
    #F2F0ED                100%);
  z-index: 1; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 800px;
  /* Inhalt sichtbar über die Mitte anheben (+ Compositor-Layer) */
  transform: translateY(-7vh) translateZ(0);
}
/* Logo über der Headline — gefüllt ohne Weiß, 60% Deckkraft */
.hero-logo-outline {
  width: clamp(88px, 12vw, 130px); height: auto;
  opacity: .6;
  /* größerer Abstand nach unten rückt das Logo (zentriertes Layout) etwas höher */
  margin-bottom: 2.6rem;
}
/* Lesbarkeit kommt vom Ganzbild-Overlay — keine Text-Schatten mehr */
/* Bold/M variant — giant Physio Bergauf headline */
.hero-content h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700; line-height: .95;
  letter-spacing: -.04em; color: var(--txt);
  margin-bottom: 1.5rem;
}
.hero-content h1 em {
  display: block; font-style: normal;
  color: var(--red);
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.15em;          /* script reads smaller — scale up vs the caps line */
  letter-spacing: 0;
  line-height: 1.05;
  margin-top: .1rem;
}
/* Line-Art: Puls-Linie wird Bergsilhouette — zwischen Ortsangabe und Quote */
.hero-art {
  width: clamp(220px, 34vw, 330px); height: auto;
  margin: -0.4rem 0 1.4rem;
  opacity: .85;
}
/* hero location pin (Batschuns) under the headline */
.hero-loc {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: -.3rem 0 2.2rem;
  font-size: 1rem; font-weight: 700; color: #1A1A1A;
}
.hero-loc svg { color: var(--red); flex-shrink: 0; }

/* hero quote — same look as the Über-mich quote (teal left border + italic, no box) */
/* sits on the left, vertically aligned with the centered CTA buttons */
.hero-quote-box {
  position: absolute; left: 5vw; right: auto;
  top: 50%; bottom: auto; transform: translateY(-50%) translateZ(0);
  margin: 175px 0 0; z-index: 2;
  width: min(340px, calc(50% - 224px - 5vw));
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem); line-height: 1.5; color: #1A1A1A;
  padding: .4rem 0 .4rem 1.2rem;
  border-left: 3px solid var(--teal);
  font-weight: 500;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red-btn); color: #fff;
  padding: .8rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--red-dk); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--teal-btn); color: #fff;
  padding: .8rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 2px solid var(--teal);
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-secondary:hover {
  background: #4A8E8F; border-color: #4A8E8F;
  transform: translateY(-1px);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--muted); font-size: .78rem; text-decoration: none;
  animation: bounce 2.5s infinite; z-index: 3;
}
.hero-scroll svg { opacity: .5; }
@keyframes bounce { 0%,100%{ transform:translateX(-50%) translateY(0)} 50%{ transform:translateX(-50%) translateY(6px)} }

/* ── Banner hero (alternative homepage: full-width portrait banner) ── */
#hero.hero-banner {
  min-height: auto; padding: 68px 0 0; display: block; overflow: visible;
}
.hero-banner-img img { width: 100%; height: auto; display: block; }
.hero-banner-actions {
  max-width: 820px; margin: 0 auto;
  padding: 2.2rem 5vw 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
  text-align: center;
}
.hero-banner-actions > p {
  font-size: 1.12rem; color: var(--txt); font-weight: 500;
  max-width: 560px; line-height: 1.7; margin: 0;
}
.hero-banner .btn-group { justify-content: center; }
.hero-banner .hero-trust { margin-top: 0; }
.hero-banner .trust-item {
  background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: rgba(93,167,168,.3);
}

/* ── Section Shared ── */
section { padding: 96px 5vw; }
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted); max-width: 520px;
  margin-bottom: 3rem;
}

/* ── Map watermark (decorative Austria journey map: Kärnten → Tirol → Vorarlberg) ── */
/* Add the `map-bg` class to any section to show the map faintly behind its content.
   Currently on #willkommen and #ueber-mich for comparison — remove the class from
   whichever placement(s) you don't want to keep. */
.map-bg { position: relative; isolation: isolate; }
.map-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../img/austria-map.svg') no-repeat;
  background-size: 90%;
  background-position: center;
  opacity: .09;                                    /* very transparent — single subtlety knob */
  pointer-events: none;
}
.map-bg > * { position: relative; z-index: 1; }    /* keep real content above the watermark */
/* per-section placement tweaks — large, faint background texture */
/* Round 4b — full Austria bleeding off the right edge (Kärnten at the right; the eastern
   states run off-screen, clipped in the SVG viewBox). The 3 journey states are slightly
   highlighted. One glass option per placement, each with a shadow so it reads on the light
   bg; compare in context. */
/* Map: full Austria — Vorarlberg ~30% from the left, Kärnten just above each section's
   following red banner. Thin white outline, journey states slightly filled. (Willkommen
   has no map.) */
#ueber-mich.map-bg::before,
#ueber-mich-2.map-bg::before {
  background-image: url('../img/austria-full-white-thin.svg');
  background-size: 72% auto; background-position: 104% calc(100% + 6px); opacity: .5;
  filter: drop-shadow(0 2px 5px rgba(28,38,40,.45));
  transform: translateZ(0);   /* drop-shadow rasters once instead of on every scroll frame */
}
@media (max-width: 640px) {
  /* Handy: Österreich-Karte volle Deckkraft — ging sonst fast unter */
  #ueber-mich.map-bg::before { opacity: 1; background-size: 88% auto; }
}

/* ── Section Banner ── */
.has-banner { padding-top: 0; }
.section-banner {
  position: relative;
  width: calc(100% + 10vw);
  margin-left: -5vw; margin-right: -5vw;
  height: 200px; overflow: hidden;
  margin-bottom: 4rem;
}
.section-banner-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.4rem 5vw;
}
.section-banner-overlay .section-label { color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.section-banner-overlay .section-title { color: #fff; margin-bottom: 0; }

/* photo banner (Kontakt) */
.banner-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.banner-photo .section-banner-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.58) 100%);
}

/* colour banners (no photo) */
.banner-teal {
  background: linear-gradient(135deg, #1a9090 0%, var(--teal) 55%, #52d4d4 100%);
}
.banner-red {
  background: linear-gradient(135deg, #5c0f1c 0%, var(--red) 55%, #b02338 100%);
}

/* ── Über mich ── */
#ueber-mich { background: var(--bg2); }
/* text/portrait left · timeline right */
.ueber-grid {
  display: grid; grid-template-columns: minmax(300px, .92fr) 1.08fr;
  gap: 3.5rem; align-items: start;
}
.ueber-timelinecol .werdegang { margin-top: 0; }
/* portrait + name form a header row above the bio text */
.ueber-head {
  display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.8rem;
}
.ueber-head .portrait-wrap { flex-shrink: 0; margin-bottom: 0; }
.portrait-wrap { position: relative; }
/* round avatar (the source photo is already a circular head) */
.portrait-img {
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 3px solid var(--teal);
  box-shadow: var(--shadow);
  background: var(--teal-lt);
}
.ueber-head-text .section-label { display: block; margin-bottom: .4rem; }
.ueber-head-text .section-title { margin-bottom: 0; }
@media (max-width: 640px) {
  .ueber-head { gap: 1rem; }
  .portrait-img { width: 96px; height: 96px; }
}
/* Über-mich banner — full-width, edges blended into the page (soft top/bottom fade) */
.ueber-banner {
  width: calc(100% + 10vw); margin: 0 -5vw 2rem;
}
.ueber-banner img {
  width: 100%; height: auto; max-height: 460px;
  object-fit: cover; object-position: center; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 30px, #000 calc(100% - 26px), transparent 100%);
}
/* Handy: rundes Porträt statt Breitbanner in Über mich */
.ueber-portrait-mobile { display: none; }

/* Porträt rechts vom Bio-Text (Desktop/Tablet), Text fließt darum */
.ueber-portrait-float {
  float: right;
  width: min(250px, 38%);
  margin: .4rem 0 1rem 1.6rem;
  position: relative; z-index: 0;
}
.ueber-portrait-float img {
  width: 100%; height: auto; display: block;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
/* türkiser Akzent-Kreis, unten rechts versetzt */
.ueber-portrait-float::before {
  content: '';
  position: absolute; bottom: -10px; right: -10px;
  width: 55%; height: 55%;
  background: var(--teal-lt);
  border: 3px solid var(--teal);
  border-radius: 50%; z-index: -1;
}
.ueber-quals { clear: both; }
@media (max-width: 640px) {
  .ueber-portrait-float { display: none; }
}
@media (max-width: 640px) {
  .ueber-banner { display: none; }
  .ueber-portrait-mobile {
    display: block; width: 190px; margin: 0 auto 1.6rem;
    position: relative; z-index: 0;
  }
  .ueber-portrait-mobile img {
    width: 190px; height: 190px; border-radius: 50%;
    box-shadow: var(--shadow); display: block;
  }
  /* türkiser Akzent-Kreis wie beim Desktop-Porträt */
  .ueber-portrait-mobile::before {
    content: '';
    position: absolute; bottom: -9px; right: -9px;
    width: 55%; height: 55%;
    background: var(--teal-lt);
    border: 3px solid var(--teal);
    border-radius: 50%; z-index: -1;
  }
}
/* temporary A/B comparison label */
.variant-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.ueber-text p { color: var(--muted); line-height: 1.85; margin-bottom: 1rem; font-size: .97rem; }
/* Kurzvorstellung: nur mobil im eingeklappten Zustand (Regel im 640er-Block) */
.ueber-intro-kurz { display: none; }
.ueber-quals {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem;
}
.qual-tag {
  background: #fff; border: 1px solid rgba(93,167,168,.35);
  color: var(--txt); font-size: .8rem; font-weight: 500;
  padding: .35rem .85rem; border-radius: 999px;
}
@media (max-width: 980px) {
  .ueber-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* stack order: bio → Werdegang → Fortbildungen (move accordion below the timeline) */
  .ueber-textcol { display: contents; }
  .ueber-head { order: 0; }
  .ueber-text { order: 1; }
  .ueber-timelinecol { order: 2; }
  /* Akkordeon-Paar kompakt: Grid-Gap + margin-top ergaben ~72px Abstand
     (höhere Spezifität nötig — die Basis-Regel .fb steht später im File) */
  .ueber-textcol > .fb { order: 3; margin-top: -1.4rem; }
}

/* ── Fortbildungen — expandable list (left column) ── */
.fb {
  margin-top: 2rem;
  border: 1px solid rgba(93,167,168,.3);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fb summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.2rem;
  font-weight: 700; font-size: .95rem; color: var(--txt);
}
.fb summary::-webkit-details-marker { display: none; }
.fb-count {
  background: var(--teal-lt); color: #2f7d7e;
  font-size: .72rem; font-weight: 700;
  padding: .12rem .5rem; border-radius: 999px;
}
.fb-chevron { margin-left: auto; color: var(--teal); transition: transform .3s; flex-shrink: 0; }
.fb[open] .fb-chevron { transform: rotate(180deg); }
.fb-list {
  list-style: none; display: grid; gap: .6rem;
  padding: 0 1.2rem 1.2rem;
}
.fb-list li {
  font-size: .85rem; color: var(--muted); line-height: 1.45;
  position: relative; padding-left: 1rem;
}
.fb-list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
/* Werdegang-Timeline im selben Akkordeon-Stil (rechte Spalte) */
.werdegang .fb { margin-top: 0; }
/* Desktop: Werdegang startet offen (JS setzt open) und die Box lässt die
   Österreich-Karte leicht durchscheinen */
@media (min-width: 981px) {
  .werdegang .fb { background: rgba(255,255,255,.72); }
}
.fb .vtl2 { padding: .2rem 1.2rem 1.2rem; }

/* ── Willkommen ── */
#willkommen { background: var(--bg2); padding: 96px 5vw 80px; }
.willkommen-content {
  max-width: 820px; margin: 0 auto; text-align: center;
}
/* Widescreen: Überschrift mittig über volle Breite, darunter Text links / Raumfoto rechts */
@media (min-width: 1100px) {
  .willkommen-content {
    max-width: 1280px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem; align-items: center;
    text-align: left;
  }
  .willkommen-head { grid-column: 1 / -1; text-align: center; margin-bottom: 2.2rem; }
  /* Reihenfolge im Markup: Bild vor Text — auf Widescreen bleibt Text links, Foto rechts */
  .willkommen-content .willkommen-text { grid-column: 1; grid-row: 2; }
  .willkommen-content .willkommen-img { grid-column: 2; grid-row: 2; margin: 0; }
}
.willkommen-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem) !important;
  line-height: 1.18; margin-bottom: 1.8rem;
}
.willkommen-title em {
  color: var(--red); font-style: normal;
}
.willkommen-content p {
  font-size: 1.05rem; color: var(--txt); line-height: 1.7;
  margin-bottom: 1.2rem;
}
.willkommen-cta {
  font-weight: 600; color: var(--red) !important;
  font-size: 1.08rem !important; margin-top: 1.2rem;
}
.willkommen-loc {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: -.6rem 0 1.6rem;
  font-size: .95rem; font-weight: 600; color: var(--txt);
}
.willkommen-loc svg { color: var(--red); flex-shrink: 0; }
.willkommen-img {
  /* Bild folgt direkt auf die Überschrift — Abstand nach unten zum Text */
  margin: 0 auto 2.2rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.willkommen-img img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
/* kleine Praxis-Galerie: 5er-Leiste, gleiche Breite wie der Inhalt darüber; kompaktes Raster mobil */
.willkommen-gallery {
  max-width: 1280px; margin: 1.5rem auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.willkommen-gallery img {
  width: 100%; height: clamp(220px, 17vw, 320px); object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.gallery-toggle { display: none; }
@media (max-width: 900px) {
  .willkommen-gallery { grid-template-columns: 1fr 1fr; gap: .8rem; grid-auto-flow: dense; }
  .willkommen-gallery img { height: auto; aspect-ratio: 1/1; }
  /* Fußmatte (4. Bild) als breite Kachel über beide Spalten */
  .willkommen-gallery img:nth-child(4) { grid-column: span 2; aspect-ratio: 21/10; }
  /* eingeklappt: erstes Kachelpaar, Rest hinter „Mehr zeigen" */
  .willkommen-gallery:not(.expanded) img:nth-child(n+3) { display: none; }
  .gallery-toggle {
    display: block; margin: 1rem auto 0;
    cursor: pointer; font-family: inherit;
    background: #fff; color: var(--teal);
    border: 1px solid rgba(93,167,168,.45);
    padding: .55rem 1.4rem; border-radius: 999px;
    font-size: .88rem; font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
  }
}

/* ── Über mich — Werdegang & Zusatzausbildungen ── */
.werdegang { margin-top: 2.2rem; }
.werdegang h3 {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
/* visual timeline — two-sided, central spine (Werdegang left · Fortbildung right) */
.vtl-head {
  display: grid; grid-template-columns: 1fr 72px 1fr; column-gap: 1.4rem;
  margin-bottom: 1.1rem;
}
.vtl-head span {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
}
.vtl-head .h-left  { text-align: right; color: var(--red); }
.vtl-head .h-right { text-align: left;  color: #2f7d7e; }

.vtl2 { list-style: none; position: relative; }
.vtl2::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  top: 8px; bottom: 8px; width: 2px; background: rgba(93,167,168,.3);
}
.vtl2-year {
  display: grid; grid-template-columns: 1fr 72px 1fr; column-gap: 1.4rem;
  align-items: start; margin-bottom: 1.5rem;
}
.vtl2-year:last-child { margin-bottom: 0; }
/* modern, subtle year pill */
.vtl2-marker {
  justify-self: center; align-self: start;
  background: #fff; color: var(--txt);
  border: 1px solid rgba(93,167,168,.45);
  font-weight: 700; font-size: .76rem; letter-spacing: .01em;
  padding: .22rem .6rem; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); white-space: nowrap; z-index: 1;
}
.vtl2-left, .vtl2-right { display: grid; gap: .55rem; align-content: start; }
.vtl2-left  { text-align: right; }
.vtl2-right { text-align: left; }
.vtl2-left.cols2, .vtl2-right.cols2 { grid-template-columns: 1fr 1fr; column-gap: 1.1rem; }
.vtl2-item { font-size: .875rem; color: var(--txt); line-height: 1.45; }
.vtl2-item .dur { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* collapsible timeline — show a slice, expand on demand */
.vtl2-collapse {
  position: relative; overflow: hidden;
  max-height: 430px; transition: max-height .5s ease;
}
.vtl2-collapse.expanded { max-height: 3200px; }
.tl-toggle {
  display: flex; align-items: center; gap: .4rem;
  width: fit-content; margin: 1.2rem auto 0;
  background: #fff; color: var(--teal);
  border: 1px solid rgba(93,167,168,.45);
  font: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: background .2s, color .2s, border-color .2s;
}
.tl-toggle:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.tl-toggle-chevron { transition: transform .3s; }
.tl-toggle[aria-expanded="true"] .tl-toggle-chevron { transform: rotate(180deg); }

@media (max-width: 760px) {
  .vtl-head { display: none; }
  /* Linie exakt mittig unter der 72px-Jahresspalte (links davor: 1.2rem List-Padding) */
  .vtl2::before { left: calc(1.2rem + 36px); transform: none; }
  .vtl2-year {
    grid-template-columns: 72px 1fr; column-gap: 1rem; row-gap: 0;
    align-items: center; padding-left: 0; margin-bottom: 1.1rem;
  }
  .vtl2-marker { position: static; grid-column: 1; grid-row: 1; justify-self: center; align-self: center; }
  .vtl2-left, .vtl2-right { grid-column: 2; grid-row: 1; text-align: left; }
  .vtl2-left:empty, .vtl2-right:empty { display: none; }
  .vtl2-left.cols2, .vtl2-right.cols2 { grid-template-columns: 1fr; }
}

/* ── Über mich — Einstein quote ── */
.einstein-quote {
  border-left: 3px solid var(--teal);
  padding: .6rem 0 .6rem 1.2rem;
  margin: 1.4rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; color: var(--txt);
  font-size: 1rem; line-height: 1.55;
}
.einstein-quote cite {
  display: block; margin-top: .5rem;
  font-style: normal; font-size: .85rem;
  color: var(--muted); font-family: 'Inter', sans-serif;
  letter-spacing: .02em;
}

/* ── Leistungen Intro ── */
#leistungen .section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.leistungen-intro {
  max-width: 70%; margin: -1.5rem auto 2.5rem;
  text-align: center;
}
.leistungen-intro p {
  font-size: 1rem; color: var(--txt); line-height: 1.7;
  margin-bottom: 1rem;
}
/* first line of the intro, highlighted as a pull-quote */
.leistungen-intro .intro-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45;
  color: var(--red);
  max-width: 640px; margin: 0 auto 1.6rem;
}
@media (max-width: 760px) { .leistungen-intro { max-width: 100%; } }

/* ── Leistungen ── */
#leistungen { background: var(--bg2); }
/* compact category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  /* offene und geschlossene Karten nebeneinander: jede nur so hoch wie ihr Inhalt */
  align-items: start;
}
.cat-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.1); }
.cat-card-img {
  width: 100%; height: 280px; object-fit: cover; display: block;
}
/* 4. Karte (Beratung): Tablet liegt im oberen Bilddrittel */
.cat-card:nth-child(4) .cat-card-img { object-position: center top; }
.cat-body { padding: 1.4rem; border-top: 3px solid var(--teal); }
.cat-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: .35rem; color: var(--txt);
  line-height: 1.4; text-transform: uppercase; letter-spacing: .04em;
}
/* Karten einzeln aufklappbar (alle Breiten): eingeklappt nur Titelzeile mit Chevron */
.cat-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  width: 100%; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit;
  text-align: left; cursor: pointer;
}
.cat-chevron {
  display: inline-block; width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg); transition: transform .25s;
}
.cat-card.open .cat-chevron { transform: rotate(225deg); }
/* zugeklappt: Bild als kleines rundes Thumbnail links neben dem Titel */
.cat-card:not(.open) { position: relative; }
.cat-card:not(.open) .cat-card-img {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0,0,0,.15);
}
.cat-card:not(.open) .cat-body > :not(h3) { display: none; }
.cat-card:not(.open) .cat-body { padding: 1.05rem 1.2rem 1.05rem calc(.85rem + 46px + .85rem); }
.cat-card:not(.open) h3 { margin-bottom: 0; }
.cat-card .cat-sub {
  font-size: .85rem; color: var(--muted); margin-bottom: .9rem; line-height: 1.5;
}
.cat-card ul { list-style: none; display: grid; gap: .45rem; }
.cat-card li {
  font-size: .875rem; color: var(--muted); line-height: 1.45;
  padding-left: 1.1rem; position: relative;
}
.cat-card li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
/* contextual external link on a category card */
.cat-link {
  display: inline-block; margin-top: .9rem;
  font-size: .85rem; font-weight: 600;
  color: var(--teal); text-decoration: none;
}
.cat-link:hover { color: #4A8E8F; text-decoration: underline; text-underline-offset: 2px; }
/* Beschreibungstexte in den Leistungs-Karten */
.cat-body > p {
  font-size: .875rem; color: var(--txt); line-height: 1.62;
  margin-bottom: .8rem;
}
/* „Anwendungsbereiche"-Überschrift über den Listen */
.cat-list-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin: 1.05rem 0 .55rem;
}
/* „Mehr anzeigen"-Buttons (nur mobil sichtbar) */
.text-toggle {
  display: none; margin: 1.1rem auto 0;
  cursor: pointer; font-family: inherit;
  background: #fff; color: var(--teal);
  border: 1px solid rgba(93,167,168,.45);
  padding: .55rem 1.4rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
@media (max-width: 640px) {
  /* Kurztexte: Willkommen & Über mich zeigen mobil nur den Einstieg */
  .collapsible .text-toggle { display: block; }
  .collapsible .more-text { display: none; }
  .collapsible.expanded p.more-text { display: block; }
  .collapsible.expanded .ueber-quals.more-text { display: flex; }
  /* Philosophie-Zitat rückt direkt unters Praxisbild */
  .willkommen-text { display: flex; flex-direction: column; }
  .willkommen-text .einstein-quote { order: -1; }
  /* Praxis-Galerie erst nach „Mehr anzeigen" sichtbar — dann komplett offen */
  #willkommen.collapsible:not(.expanded) .willkommen-gallery,
  #willkommen.collapsible:not(.expanded) .gallery-toggle { display: none; }
  #willkommen.collapsible.expanded .willkommen-gallery img:nth-child(n+3) { display: block; }
  #willkommen.collapsible.expanded .gallery-toggle { display: none; }
  /* Über mich eingeklappt: Kurzvorstellung statt Begrüßung + Langtext;
     Werdegang- und Fortbildungs-Akkordeons klappen mit auf */
  .collapsible:not(.expanded) .ueber-intro-kurz { display: block; }
  .collapsible.expanded h2.more-text { display: block; }
  #ueber-mich.collapsible:not(.expanded) .fb { display: none; }
  /* leere Timeline-Spalte eingeklappt ganz raus — sonst schiebt ihr Grid-Gap
     den „Mehr anzeigen"-Button unnötig weit nach unten */
  #ueber-mich.collapsible:not(.expanded) .ueber-timelinecol { display: none; }
}
/* Zusatzleistungen tag row */
.zusatz { margin-top: 2.5rem; }
.zusatz h3 {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.zusatz-list {
  list-style: none; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 2rem;
}
.zusatz-list li {
  font-size: .875rem; color: var(--muted); line-height: 1.45;
  padding-left: 1.1rem; position: relative;
}
.zusatz-list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
@media (max-width: 860px) { .zusatz-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zusatz-list { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; gap: .7rem; }
  .cat-card-img { height: 200px; }
}

/* ── Ablauf ── */
#ablauf { background: var(--red); color: #fff; }
#ablauf .section-label { color: rgba(255,255,255,.6); }
#ablauf .section-title { color: #fff; }
#ablauf .section-sub { color: rgba(255,255,255,.7); }
.steps {
  display: flex; align-items: flex-start; gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 70px; left: 36px; right: 36px; height: 5px;
  background: rgba(255,255,255,.3);
  border-radius: 3px;
}
.step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 1rem;
  position: relative;
}
/* reserve fixed space above every circle so all circles align on the line */
.step::before {
  content: ''; display: block; height: 32px; flex-shrink: 0;
}
.step-num {
  width: 76px; height: 76px; border-radius: 50%;
  background: #8B1A2B;
  border: 3px solid rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; margin-bottom: 1.1rem;
  position: relative; z-index: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: background .25s, transform .25s;
}
.step:hover .step-num { background: #a02035; transform: translateY(-3px); }
.step h3 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; color: #fff; }
.step p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.step-arrow {
  position: absolute; top: 70px; right: -18px; z-index: 2;
  transform: translateY(-50%);
  width: 34px; height: 34px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.step-arrow svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.step:last-child .step-arrow { display: none; }
/* badge floats absolutely within the reserved space */
.step-badge {
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px;
}
.step-optional {
  opacity: .8;
  outline: 2px dashed rgba(255,255,255,.35);
  outline-offset: 10px;
  border-radius: 12px;
}
/* Hinweis-Kasten: drei Punkte kompakt in EINER Box mit Trennlinien */
.ablauf-cards {
  margin-top: 3rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: .35rem 1.3rem;
}
.ablauf-card { padding: .95rem 0; }
.ablauf-card + .ablauf-card { border-top: 1px solid rgba(255,255,255,.16); }
.ablauf-card-icon { font-size: 1.2rem; line-height: 1; }
.ablauf-card h3 {
  font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .35rem;
  display: flex; align-items: center; gap: .6rem;
}
.ablauf-card p { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ── Kontakt ── */
#kontakt { background: var(--bg); }
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start;
}
.kontakt-info { display: flex; flex-direction: column; gap: 1.5rem; }
.kontakt-block h3 {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal); margin-bottom: .5rem;
}
.kontakt-block p, .kontakt-block a {
  font-size: .95rem; color: var(--txt); text-decoration: none; line-height: 1.8;
}
.kontakt-block a:hover { color: var(--red); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours-table td { padding: .2rem 0; font-size: .9rem; }
.hours-table td:last-child { color: var(--muted); text-align: right; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── Footer ── */
footer {
  background: #111; color: rgba(255,255,255,.55);
  padding: 2.6rem 5vw 1.6rem;
  font-size: .85rem;
}
footer a { color: rgba(255,255,255,.55); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem; flex-wrap: wrap;
  padding-bottom: 1.5rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img {
  width: 42px; height: 42px; display: block;
  border-radius: 50%; background: #fff; padding: 2px;
}
.footer-brand strong {
  display: block; font-size: 1.05rem; font-weight: 700;
  color: #fff; letter-spacing: -.02em;
}
.footer-brand strong em { font-style: normal; color: var(--teal); }
.footer-brand p { margin: .2rem 0 0; line-height: 1.5; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; row-gap: .6rem; }
.footer-bottom { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  #hero { padding: 120px 5vw 200px; }
}
@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  /* OSM-Kacheln sind sehr blass — am Handy deutlich kräftiger darstellen */
  .map-wrap iframe { filter: saturate(1.75) contrast(1.28) brightness(.96); }
  .steps { flex-direction: column; gap: 2.6rem; }
  .steps::before { display: none; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 1.2rem; }
  .step::before { display: none; }
  .step-num { flex-shrink: 0; position: relative; z-index: 1; }
  /* badge flows above the heading inside the text column → every icon stays first & aligned */
  .step-badge { position: static; transform: none; margin: 0 0 .5rem; }
  /* continuous connector line: this icon's centre → the next icon's centre */
  .step:not(:last-child)::before {
    content: ''; display: block; position: absolute;
    left: calc(1rem + 38px); transform: translateX(-50%);
    top: 38px; height: calc(100% + 2.6rem);
    width: 2px; background: rgba(255,255,255,.4); z-index: 0;
  }
  /* arrowhead riding the line, in the gap before the next icon */
  .step-arrow {
    top: calc(100% + .8rem); bottom: auto; right: auto;
    left: calc(1rem + 38px);
    transform: translateX(-50%);
    width: 30px; height: 30px;
  }
  .step-arrow svg { transform: none; }
}
@media (max-width: 900px) {
  .hero-quote-box {
    position: static; top: auto;
    /* halb angehoben — Mittelweg zwischen ganz oben (-7vh) und im Fluss (0) */
    transform: translateY(-4vh);
    margin: 1.5rem auto 0; width: 100%;
  }
  .hero-scroll { display: none; }
  /* Läufer mittig zwischen Batschuns und Quote: oben wie unten 1.5rem */
  .hero-loc { margin-bottom: 0; }
  .hero-art { margin: 1.5rem 0 0; }
}
@media (max-width: 640px) {
  /* Nav-Transparenz im Hero kommt aus der Basis-Regel (gilt für alle Breiten) */
  .burger { margin-left: auto; }
  /* Hero hochziehen: Bild reicht bis ganz oben, Inhalt startet höher */
  #hero { padding: 90px 5vw 140px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 68px 0 0 0;
    background: #FAFAF8;
    padding: 2rem 5vw; z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open li { width: 100%; }
  /* block layout — inline anchors ignore vertical padding and overlap */
  .nav-links.open a {
    display: block;
    padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 1.1rem;
  }
  .nav-links.open .nav-cta {
    display: block; text-align: center;
    margin-top: 1.5rem; padding: .9rem 1.1rem;
    border-bottom: none; border-radius: 10px;
  }
  .burger { display: flex; }
}

/* ── Mobile quick-contact bar (tap to call / email) ── */
.quick-contact { display: none; }
@media (max-width: 640px) {
  /* Hero-Buttons auf dem Handy komplett weg — CTA übernimmt die Leiste unten,
     der einzelne 'Meine Leistungen'-Button wirkte verloren */
  .hero-content .btn-group { display: none; }
  /* schwebende Pill-Buttons statt Vollbreite-Balken */
  .quick-contact {
    position: fixed; left: 14px; right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .quick-contact a {
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .95rem 0; font-size: .95rem; font-weight: 700;
    text-decoration: none; color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .quick-contact a:active { transform: scale(.97); }
  .quick-contact a svg { width: 17px; height: 17px; flex-shrink: 0; }
  .quick-contact a:first-child { background: var(--teal-btn); }
  .quick-contact a:last-child { background: var(--red-btn); }
  /* keep the bar from covering the footer's last line */
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ── Terminanfrage form (on-page, no mail client) ── */
.anfrage { margin-top: 3.5rem; max-width: 720px; scroll-margin-top: 80px; }
.anfrage h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .4rem; }
.anfrage-sub { font-size: .95rem; color: var(--muted); margin-bottom: 1.4rem; }
.anfrage form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.anfrage label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--txt);
}
.anfrage input[type="text"],
.anfrage input[type="email"],
.anfrage input[type="tel"],
.anfrage textarea {
  font-family: inherit; font-size: .95rem; color: var(--txt);
  padding: .7rem .9rem;
  border: 1px solid rgba(0,0,0,.14); border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.anfrage textarea { resize: vertical; min-height: 120px; }
.anfrage input:focus, .anfrage textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(93,167,168,.18);
}
.consent {
  flex-direction: row !important; align-items: flex-start; gap: .6rem;
  font-weight: 400 !important; font-size: .8rem !important; color: var(--muted) !important;
  line-height: 1.5;
}
.consent input { accent-color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.anfrage button.btn-primary { border: none; cursor: pointer; font-family: inherit; align-self: flex-start; }
.anfrage button.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.form-status { display: none; font-size: .92rem; font-weight: 600; margin: 0; }
.form-status.ok { display: block; color: #1a7f4e; }
.form-status.err { display: block; color: var(--red); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ── Nützliche Links ── */
#links { background: var(--bg2); }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.link-card {
  display: block; text-decoration: none;
  background: #fff; border-radius: var(--radius);
  border: 1px solid rgba(93,167,168,.18);
  padding: .95rem 1.15rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.link-card strong { display: block; font-size: .9rem; color: var(--txt); margin-bottom: .2rem; }
.link-card strong::after { content: ' ↗'; color: var(--teal); font-weight: 700; }
.link-card span { font-size: .78rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) {
  /* mobil: nur die Link-Titel als schlanke Zeilen */
  .links-grid { grid-template-columns: 1fr; gap: .7rem; }
  .link-card { padding: .8rem 1rem; }
  .link-card span { display: none; }
  .link-card strong { margin-bottom: 0; }
}

/* ── Fakten-Streifen ── */
#fakten {
  background: var(--bg);
  padding: 2.4rem 5vw;
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.fakten-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  text-align: center;
}
.fakten-item strong {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800;
  color: var(--red); letter-spacing: -.02em; line-height: 1.15;
}
.fakten-item span { font-size: .85rem; color: var(--muted); font-weight: 500; }
@media (max-width: 640px) {
  .fakten-grid { gap: .6rem; }
  .fakten-item span { font-size: .76rem; }
}

/* ── Sanfte Scroll-Einblendungen (JS setzt .reveal / .in) ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Galerie-Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox button {
  position: absolute; z-index: 1;
  background: rgba(255,255,255,.14); color: #fff;
  border: none; cursor: pointer; border-radius: 999px;
  width: 44px; height: 44px; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ── Legal subpages (Impressum / Datenschutz) ── */
.subpage { padding-top: calc(68px + 3.5rem); min-height: calc(100vh - 68px - 90px); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h3 { font-size: 1rem; font-weight: 700; margin: 1.8rem 0 .35rem; }
.legal-content p, .legal-content li { font-size: .95rem; line-height: 1.75; color: var(--txt); }
.legal-content ul { padding-left: 1.2rem; margin: .4rem 0; }
.legal-content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--red-dk); }
.legal-note {
  margin-top: 2.5rem; padding: 1rem 1.2rem;
  background: var(--teal-lt); border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  font-size: .85rem; color: var(--muted);
}
