:root {
  --color-primary: #3E5C6B;
  --color-secondary: #BF4D28;
  --color-accent-light: #E6AC27;
  --color-cta: #3aace2;
  --color-cta-dark: #81caec;
  --color-bg: #F7F7F2;
  --color-surface: #EEEEEE;
  --color-slate: #3E5C6B;
  --color-text: #333333;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-cta); text-decoration-color: currentColor; }
a:hover { color: var(--color-secondary); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p, li, a, span { overflow-wrap: break-word; }

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.4rem; margin-bottom: 10px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-secondary);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--color-accent-light); }

.lede {
  font-size: 1.15rem;
  max-width: 60ch;
  color: #3A4E56;
}
.lede.light { color: #D9EAEE; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-cta {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(58, 172, 226, 0.35);
}
.btn-cta:hover { background: var(--color-cta-dark); color: #2E4855; transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 22px 0;
}
.site-header.scrolled, .site-header.no-hero {
  background: rgba(250, 251, 251, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(14,36,48,0.08);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img { height: 84px; width: auto; display: block; border-radius: 0; }

.main-nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.main-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}
.main-nav a:hover { opacity: 1; }
.site-header.scrolled .main-nav a, .site-header.no-hero .main-nav a { color: var(--color-text); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-cta);
}

.nav-cta { padding: 11px 22px; font-size: 0.9rem; }
.nav-toggle { display: none; }

/* ---------- Nav dropdown ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > a { display: flex; align-items: center; gap: 5px; }
.nav-item > a::before {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
  margin-top: -2px;
}
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(14,36,48,0.16);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.main-nav .nav-dropdown a {
  color: var(--color-text);
  opacity: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.main-nav .nav-dropdown a:hover { background: var(--color-surface); }
.main-nav .nav-dropdown a.active { color: var(--color-cta); font-weight: 700; }
.main-nav .nav-dropdown a.active::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media .ph { transform: scale(1.05); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,92,107,0.4) 0%, rgba(62,92,107,0.28) 40%, rgba(45,68,79,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 32px 120px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 55ch;
  color: #E7F1F3;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}
.scroll-hint span {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, #fff, transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

.intro { text-align: center; }
.intro .lede { margin: 0 auto 64px; }
.intro h2 { margin-left: auto; margin-right: auto; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 20px;
}
.stat {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num, .stat-num-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-primary);
}
.stat-label { font-size: 0.88rem; color: #52666D; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(14,36,48,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(14,36,48,0.14); }
.card-img { height: 260px; overflow: hidden; }
.card-img .ph { transition: transform 0.6s ease; }
.card:hover .card-img .ph { transform: scale(1.06); }
.card-body { padding: 28px 26px 32px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: #52666D; margin: 0 0 18px; }
.card-link {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.card-link:hover { color: var(--color-primary); }

/* ---------- Spenden ---------- */
.spenden {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.spenden-media { position: absolute; inset: 0; }
.spenden-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(62,92,107,0.92) 0%, rgba(62,92,107,0.8) 55%, rgba(62,92,107,0.55) 100%);
}
.spenden-content { position: relative; z-index: 2; max-width: 640px; }
.spenden-content h2 { color: #fff; }

.progress-block { margin: 40px 0 32px; max-width: 560px; }
.progress-bar {
  width: 100%; height: 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-cta));
  border-radius: 999px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #DCEEF1;
}
.progress-note { font-size: 0.82rem; color: #CBDDE3; margin-top: 14px; line-height: 1.55; }

/* ---------- Probetraining ---------- */
.probe-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.info-card {
  background: var(--color-slate);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.info-card h3 { color: #fff; }
.times { list-style: none; margin: 0 0 24px; padding: 0; }
.times li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 1rem;
}
.times li span:first-child { font-weight: 600; }
.info-address { color: #B7CFD5; font-size: 0.9rem; margin: 0; }

/* ---------- Instagram ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 20px;
}
.insta-tile {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.insta-tile .ph { transition: transform 0.5s ease; }
.insta-tile:hover .ph { transform: scale(1.08); }
.insta-cta {
  background: linear-gradient(135deg, var(--color-cta), var(--color-secondary));
  display: flex; align-items: center; justify-content: center;
}
.insta-cta a {
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.insta-cta span { display: block; font-size: 0.85rem; font-weight: 500; opacity: 0.85; margin-top: 6px; }
.insta-note { font-size: 0.82rem; color: #8AA0A7; margin-top: 20px; }

/* ---------- Geschichte ---------- */
.geschichte-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 60px;
  align-items: center;
}
.geschichte-img { border-radius: var(--radius-lg); overflow: hidden; }
.chips { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Sponsoren ---------- */
.sponsoren { text-align: center; }
.sponsoren .lede { margin: 0 auto 50px; }
.sponsor-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.sponsor-slot {
  width: 160px; height: 90px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #9AAAB0;
  font-weight: 600;
  font-size: 0.85rem;
}
.sponsoren .hero-buttons { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-slate);
  color: #fff;
  padding: 100px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}
.site-footer h2 { color: #fff; }
address { font-style: normal; color: #CFE3E7; line-height: 1.9; margin-bottom: 28px; }
/* ---------- Karten-Kachel (verlinkt nach Google Maps) ----------
   Bewusst KEINE eingebettete Google-Karte: die wuerde beim Seitenaufruf
   ungefragt Daten an Google senden und einen Consent-Hinweis noetig machen.
   Stattdessen eine gestaltete Kachel, die erst auf Klick zu Google Maps geht. */
.map-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid rgba(62,92,107,0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 28px;
  isolation: isolate;
}
/* stilisierter Kartenhintergrund: Raster + Elbe-Bogen, reines CSS */
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(62,92,107,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,92,107,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  top: 8%;
  height: 62%;
  border-radius: 50%;
  border-bottom: 26px solid rgba(58,172,226,0.22);
  transform: rotate(-9deg);
}
.map-card-pin {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--color-secondary);
  box-shadow: 0 8px 20px rgba(191,77,40,0.35);
  flex: none;
}
.map-card-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-slate);
}
.map-card-adresse { margin: 2px 0 18px; color: var(--color-text); line-height: 1.6; }
.map-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.map-card-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-slate);
  border-bottom: 1px solid currentColor;
}
.map-card-link:hover { color: var(--color-secondary); }

/* dunkle Variante im Footer */
.site-footer .map-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.site-footer .map-card::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
}
.site-footer .map-card::after { border-bottom-color: rgba(129,202,236,0.35); }
.site-footer .map-card-label { color: #fff; }
.site-footer .map-card-adresse { color: #CFE3E7; }
.site-footer .map-card-link { color: #CFE3E7; }
.site-footer .map-card-link:hover { color: #fff; }

@media (max-width: 640px) {
  .map-card { min-height: 240px; padding: 22px; }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: #9DBAC0;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #9DBAC0; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .probe-grid, .geschichte-grid, .footer-grid { grid-template-columns: 1fr; }
  .geschichte-img { order: -1; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
  .site-header.scrolled .nav-toggle span, .site-header.no-hero .nav-toggle span { background: var(--color-primary); }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 32px 28px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .main-nav.open a { color: var(--color-text); }
  .main-nav.open .nav-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .main-nav.open .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .main-nav.open a.active::after { display: none; }
}

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insta-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-content { padding-bottom: 90px; }
}

/* ---------- Image placeholders (replace with real photos before launch) ---------- */
.ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .ph { transform: none !important; }
}

/* =================================================================
   SUBPAGE COMPONENTS
   ================================================================= */

/* ---------- Active nav state ---------- */
.main-nav a.active { opacity: 1; font-weight: 700; }
.main-nav a.active::after { content: ""; }

/* ---------- Page hero (smaller than homepage hero) ---------- */
.page-hero {
  position: relative;
  min-height: 56vh;
  padding-top: 150px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media .ph { width: 100%; height: 100%; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,92,107,0.38) 0%, rgba(62,92,107,0.28) 40%, rgba(45,68,79,0.8) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 32px 64px;
  margin: 0 auto;
  width: 100%;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: #CFE3E7;
  margin-bottom: 18px;
}
.breadcrumb a { color: #CFE3E7; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.page-hero p {
  font-size: 1.1rem;
  max-width: 60ch;
  color: #E7F1F3;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* ---------- Content helpers ---------- */
.content-narrow { max-width: 760px; margin: 0 auto; }
.content-narrow.center { text-align: center; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Split layout (image + text, reusable) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 60px;
  align-items: center;
}
.split.reverse .split-img { order: 2; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }

/* ---------- Timeline (Geschichte) ---------- */
.timeline { position: relative; padding-left: 40px; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--color-surface);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-cta);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.timeline-item p { margin: 0; color: #52666D; max-width: 60ch; }

/* ---------- FAQ / Accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-surface);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-secondary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 22px;
  padding: 0 4px;
  color: #52666D;
  max-width: 65ch;
}

/* ---------- Team / Trainer cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.team-grid-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 640px;
  margin: 0 auto;
}
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.team-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.team-role { color: var(--color-secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.team-card p:last-child { color: #52666D; font-size: 0.95rem; margin: 0; }

/* ---------- Times table (generalized) ---------- */
.times-card {
  background: var(--color-slate);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.times-card h3 { color: #fff; }
.times-card .times li span:first-child { font-weight: 700; }
.times-card .times li span:last-child { color: #CFE3E7; }
.times-group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-light);
  font-weight: 700;
  margin: 24px 0 4px;
}
.times-group-label:first-of-type { margin-top: 0; }

/* ---------- Forms ---------- */
.form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin-bottom: 20px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.9rem; font-weight: 600; color: var(--color-primary); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--color-surface);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #52666D;
  margin: 24px 0 28px;
}
.form-consent input { margin-top: 4px; flex: none; }
.form-consent span { flex: 1; }
.form-note {
  font-size: 0.82rem;
  color: #8AA0A7;
  margin-top: 16px;
}

/* ---------- News grid (Aktuelles) ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(14,36,48,0.08);
}
.news-img { aspect-ratio: 16/10; }
.news-body { padding: 24px 24px 28px; }
.news-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.news-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-body p { color: #52666D; font-size: 0.95rem; margin: 0 0 14px; }

/* ---------- Sponsor tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.tier-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(14,36,48,0.06);
  text-align: left;
  border: 2px solid transparent;
}
.tier-card.featured { border-color: var(--color-cta); position: relative; }
.tier-card.featured::before {
  content: "Beliebt";
  position: absolute;
  top: -14px; left: 32px;
  background: var(--color-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; }
.tier-price { color: var(--color-secondary); font-weight: 700; margin-bottom: 20px; }
.tier-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.tier-list li { padding-left: 26px; position: relative; color: #3A4E56; font-size: 0.95rem; }
.tier-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* ---------- Result / stat table (Slalom Erfolge) ---------- */
.result-list { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
.result-row {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--color-surface);
}
.result-row:nth-child(even) { background: transparent; }
.result-year { font-family: var(--font-display); font-weight: 800; color: var(--color-primary); }
.result-desc { color: #3A4E56; }
.result-badge {
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Simple two-col info list (e.g. Bootsverleih) ---------- */
.info-list { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 16px; }
.info-list li {
  display: flex; justify-content: space-between; gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-surface);
  font-size: 0.98rem;
}
.info-list li span:first-child { color: #52666D; }
.info-list li span:last-child { font-weight: 700; text-align: right; }

/* ---------- Pill filter (Aktuelles / Wettkampfkalender) ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.filter-pill.active, .filter-pill:hover { background: var(--color-primary); color: #fff; }

/* ---------- CTA banner (reusable closing section) ---------- */
.cta-banner {
  background: linear-gradient(120deg, #47697A, var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-left: auto; margin-right: auto; }
.cta-banner .lede { color: #DCEEF1; margin: 0 auto 32px; }
.cta-banner .hero-buttons { justify-content: center; }

/* ---------- Photo stack (clickable gallery) ---------- */
.split-img.has-stack { overflow: visible; background: none; }
.photo-stack {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.photo-stack img {
  position: absolute;
  width: 80%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid #fff;
  box-shadow: 0 14px 34px rgba(14,36,48,0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.photo-stack img:nth-child(1) { top: 2%; left: 1%; transform: rotate(-7deg); z-index: 1; }
.photo-stack img:nth-child(2) { top: 12%; left: 18%; transform: rotate(4deg); z-index: 2; }
.photo-stack img:nth-child(3) { top: 20%; left: 8%; transform: rotate(-2deg); z-index: 3; }
.photo-stack:hover img:nth-child(1) { transform: rotate(-11deg) translate(-8px, 4px); }
.photo-stack:hover img:nth-child(2) { transform: rotate(8deg) translate(8px, -4px); box-shadow: 0 20px 44px rgba(14,36,48,0.3); }
.photo-stack:hover img:nth-child(3) { transform: rotate(-2deg) translateY(-8px); box-shadow: 0 20px 44px rgba(14,36,48,0.3); }
.photo-stack-hint {
  position: absolute;
  bottom: 4%; right: 4%;
  z-index: 4;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(14,36,48,0.25);
  pointer-events: none;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(6,19,26,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 84vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .photo-stack img { width: 72%; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split-img { order: -1 !important; }
  .team-grid, .news-grid, .tier-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 28px; }
  .result-row { grid-template-columns: 1fr; text-align: left; }
}

/* =========================================================================
   ERWEITERUNGEN 2026-08
   ========================================================================= */

/* ---------- Sponsorenlogos (echte Logos statt Platzhalter) ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 40px 0;
}
.logo-tile {
  background: #fff;
  border: 1px solid rgba(62,92,107,0.08);
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}






/* Trainerkachel ohne Foto: Initialen statt "Foto folgt"-Platzhalter, damit
   die Kachel dieselbe Groesse behaelt und die Seite nicht unfertig wirkt. */
.team-photo.team-initialen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #56808F, var(--color-primary));
}
.team-photo.team-initialen span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.92);
}

/* ---------- Handy-Korrekturen ---------- */
@media (max-width: 640px) {
  /* Preistabellen: Bezeichnung und Preis untereinander statt gequetscht
     nebeneinander - "7,00 EUR / Nacht (DKV: 5,00 EUR)" passt sonst nicht. */
  .info-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .info-list li span:last-child { text-align: left; }

  /* Team-Hero der Spendenseite: quer liegendes Foto im Hochformat-Display.
     Statt es auf ein Drittel zu beschneiden, liegt es hier vollstaendig
     oben und der Text steht darunter auf der Farbflaeche. */
  .page-hero-team {
    display: block;
    min-height: 0;
    padding-top: 0;
    background: var(--color-primary);
  }
  .page-hero-team .page-hero-media {
    position: relative;
    inset: auto;
    padding-top: 84px;      /* Platz fuer den fixierten Header */
  }
  .page-hero-team .ph {
    height: auto;
    object-fit: contain;
  }
  .page-hero-team .page-hero-overlay { display: none; }
  .page-hero-team .page-hero-content { padding: 28px 24px 52px; }
}

/* ---------- Team-Hero Spendenseite (99-Funken-Bild) ---------- */
.page-hero-team { min-height: 62vh; }
/* Bildausschnitt so setzen, dass die Mannschaft im Bild bleibt */
.page-hero-team .ph { object-position: center 38%; }
/* oben fast klar, damit das Foto zu sehen ist - unten dunkel fuer die Schrift */
.page-hero-team .page-hero-overlay {
  background: linear-gradient(180deg,
              rgba(62,92,107,0.15) 0%,
              rgba(62,92,107,0.12) 42%,
              rgba(45,68,79,0.86) 100%);
}

/* ---------- Logo-Wall: gestaffeltes Einblenden + Hover ---------- */
.logo-tile {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.55s ease,
              transform 0.55s cubic-bezier(0.22, 0.8, 0.28, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.logo-wall.in-view .logo-tile { opacity: 1; transform: translateY(0) scale(1); }
.logo-wall.in-view .logo-tile:nth-child(1) { transition-delay: 0.00s; }
.logo-wall.in-view .logo-tile:nth-child(2) { transition-delay: 0.07s; }
.logo-wall.in-view .logo-tile:nth-child(3) { transition-delay: 0.14s; }
.logo-wall.in-view .logo-tile:nth-child(4) { transition-delay: 0.21s; }
.logo-wall.in-view .logo-tile:nth-child(5) { transition-delay: 0.28s; }
.logo-wall.in-view .logo-tile:nth-child(6) { transition-delay: 0.35s; }
.logo-wall.in-view .logo-tile:nth-child(7) { transition-delay: 0.42s; }
.logo-wall.in-view .logo-tile:nth-child(8) { transition-delay: 0.49s; }
.logo-wall.in-view .logo-tile:nth-child(9) { transition-delay: 0.56s; }
.logo-wall.in-view .logo-tile:nth-child(10) { transition-delay: 0.63s; }
.logo-wall.in-view .logo-tile:nth-child(11) { transition-delay: 0.70s; }
.logo-wall.in-view .logo-tile:nth-child(12) { transition-delay: 0.77s; }
.logo-wall.in-view .logo-tile:nth-child(13) { transition-delay: 0.84s; }
.logo-wall.in-view .logo-tile:nth-child(14) { transition-delay: 0.91s; }

.logo-tile img { transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1); }
.logo-tile:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 38px rgba(62,92,107,0.16);
  border-color: rgba(62,92,107,0.18);
  transition-delay: 0s;
}
.logo-tile:hover img { transform: scale(1.06); }

/* ---------- Freie Kachel: "Ihr Platz für Werbung" ---------- */
.logo-tile-frei {
  border-style: dashed;
  border-color: rgba(62,92,107,0.22);
  background: transparent;
  color: #7C8C93;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.35;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  animation: freiPulse 3.6s ease-in-out infinite;
}
.logo-tile-frei .frei-plus {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-cta);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.logo-tile-frei .frei-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cta);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.logo-tile-frei:hover {
  animation-play-state: paused;
  border-style: solid;
  border-color: var(--color-cta);
  background: rgba(58, 172, 226, 0.06);
  color: var(--color-primary);
}
.logo-tile-frei:hover .frei-plus { transform: rotate(90deg) scale(1.1); }
.logo-tile-frei:hover .frei-cta { opacity: 1; transform: translateY(0); }

@keyframes freiPulse {
  0%, 100% { border-color: rgba(62,92,107,0.22); }
  50%       { border-color: rgba(58,172,226,0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-tile { opacity: 1; transform: none; transition: none; }
  .logo-tile:hover { transform: none; }
  .logo-tile-frei { animation: none; }
  .logo-tile-frei .frei-cta { opacity: 1; transform: none; }
}

.logo-wall-note { font-size: 0.85rem; color: #7C8C93; text-align: center; margin-top: -20px; }

/* ---------- DKV Kanu-Station Hervorhebung ---------- */
.dkv-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(58,172,226,0.28);
}
.dkv-badge::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.dkv-band {
  background: linear-gradient(120deg, var(--color-primary), #56808F);
  color: #fff;
}
.dkv-band h2, .dkv-band h3 { color: #fff; }
.dkv-band .lede, .dkv-band p { color: #DCE9EF; }
.dkv-band .eyebrow { color: var(--color-accent-light); }
.dkv-band .info-list li { border-bottom-color: rgba(255,255,255,0.18); }
.dkv-band .info-list li span:first-child { color: #B9CEDA; }
.dkv-band .info-list li span:last-child { color: #fff; }
.dkv-band .dkv-badge { background: var(--color-accent-light); color: var(--color-primary); box-shadow: none; }
.dkv-band .dkv-badge::before { background: var(--color-primary); }
.dkv-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.dkv-fact {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 22px;
}
.dkv-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent-light);
  margin-bottom: 4px;
}
.dkv-fact span { font-size: 0.92rem; color: #DCE9EF; }

/* ---------- Feature-Block (Mitpaddel-Mittwoch) ---------- */
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-cta), var(--color-primary));
  color: #fff;
  box-shadow: 0 24px 60px rgba(62,92,107,0.18);
}
.feature-block-text { padding: 64px 56px; }
.feature-block .eyebrow { color: var(--color-accent-light); }
.feature-block h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}
.feature-block .lede { color: #E4F1F8; }
.feature-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--color-accent-light);
  margin: 0 0 22px;
}
.feature-block-media { position: relative; min-height: 340px; }
.feature-block-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-block .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.feature-block .btn-ghost:hover { background: rgba(255,255,255,0.16); }

/* ---------- Beitragstabelle ---------- */
.beitrag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 36px 0 22px;
  text-align: left;
}
.beitrag-card {
  background: #fff;
  border: 1px solid rgba(62,92,107,0.08);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.beitrag-card .beitrag-gruppe {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: 10px;
}
.beitrag-card .beitrag-preis {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-primary);
}
.beitrag-card .beitrag-preis small {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6C8089;
  margin-top: 8px;
  letter-spacing: 0;
}
.beitrag-card p { font-size: 0.94rem; color: #52666D; margin: 14px 0 0; }

/* ---------- "Worauf wir stolz sind" ---------- */
.stolz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.stolz-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(62,92,107,0.08);
  padding: 32px 28px;
}
.stolz-zahl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-secondary);
  margin-bottom: 12px;
  display: block;
}
.stolz-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.stolz-card p { font-size: 0.94rem; color: #52666D; margin: 0; }

/* ---------- Live-Indikator Spendenstand ---------- */
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9FBECC;
}
.live-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6C8089;
  flex: none;
}
.live-tag.is-live::before {
  background: #48D18B;
  box-shadow: 0 0 0 0 rgba(72,209,139,0.7);
  animation: livePuls 2.4s infinite;
}
.live-tag.on-light { color: #6C8089; }
@keyframes livePuls {
  70%  { box-shadow: 0 0 0 9px rgba(72,209,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(72,209,139,0); }
}
.spenden-zahlen {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
  margin: 26px 0 6px;
}
.spenden-zahl strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}
.spenden-zahl span { font-size: 0.88rem; opacity: 0.8; }
.termin-unsicher { color: #7C8C93; font-style: italic; font-size: 0.9em; }

/* ---------- Dokument gross und vollstaendig zeigen ---------- */
.dokument-schau {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  justify-content: center;
}
.dokument-schau img {
  width: auto;
  max-width: 100%;
  max-height: 900px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(62,92,107,0.16);
  background: #fff;
}
.page-hero.page-hero-flach { min-height: auto; padding: 190px 0 90px; background: var(--color-primary); }

@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-block-media { min-height: 260px; order: -1; }
  .feature-block-text { padding: 44px 28px; }
  .dokument-schau { padding: 18px; }
}

/* Photo-Stack: nur die obersten drei Bilder liegen sichtbar auf dem Stapel,
   weitere Bilder bleiben im Markup und erscheinen in der Lightbox. */
.photo-stack img:nth-of-type(n+4) { display: none; }
