/* ============================================================
   PSYCHOTHERAPIE RÖDINGHAUSEN — Design System
   ============================================================ */

/* FONTS — Bunny Fonts (DSGVO-konform, EU-gehostet) */
@import url('https://fonts.bunny.net/css?family=dm-sans:300,400,500,700&display=swap');

/* TOKENS */
:root {
  --teal:       #2A9D8F;
  --teal-dark:  #1B7A6F;
  --teal-light: #E6F5F3;
  --bg:         #FAFAF8;
  --surface:    #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #5A5A5A;
  --text-faint: #8A8A8A;
  --border:     #E5E5E0;
  --footer-bg:  #1A2E2B;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --nav-h:      70px;
  --max-w:      1120px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }

.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
#site-nav.scrolled {
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  transition: filter 0.3s;
}
.hero-present #site-nav:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.hero-present #site-nav:not(.scrolled) .nav-links > li > a { color: rgba(255,255,255,0.88); }
.nav-links > li > a:hover { background: var(--teal-light); color: var(--teal-dark); }
.nav-links > li > a.active { color: var(--teal); }
.hero-present #site-nav:not(.scrolled) .nav-links > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* Dropdown */
.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0 0.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  /* delay hiding so mouse can bridge the gap */
  transition: opacity 0.18s 0.12s, transform 0.18s 0.12s, pointer-events 0s 0.12s;
  z-index: 10;
}
/* invisible bridge fills gap between trigger and dropdown */
.submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.has-submenu:hover > a::after { transform: rotate(180deg); }
.submenu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.1s, color 0.1s;
}
.submenu a:hover { background: var(--teal-light); color: var(--teal-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hero-present #site-nav:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 30% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(18,30,26,0.55) 0%, rgba(18,30,26,0.32) 55%, rgba(18,30,26,0) 85%),
    linear-gradient(
      to bottom,
      rgba(18,30,26,0.48) 0%,
      rgba(18,30,26,0.32) 50%,
      rgba(18,30,26,0.68) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 780px;
}
.hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}
.hero-title strong { font-weight: 500; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.25rem;
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.04em;
  animation: scrollpulse 2s ease-in-out infinite;
  cursor: default;
}
.hero-scroll svg { opacity: 0.8; }
@keyframes scrollpulse { 0%,100%{opacity:0.5; transform:translateX(-50%) translateY(0)} 50%{opacity:1; transform:translateX(-50%) translateY(4px)} }

/* ============================================================
   PAGE HEADER (Unterseiten)
   ============================================================ */
.page-header {
  padding-top: var(--nav-h);
  background: var(--teal-light);
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  padding: 3rem 0 3.5rem;
}
.page-header-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.page-header .lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.btn-teal-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-teal-outline:hover { background: var(--teal-light); }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: transparent;
  padding: 0;
  font-size: 14px;
}
.btn-ghost:hover { color: var(--teal-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 0.5rem; }
.lead { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }
.section-alt { background: var(--teal-light); }
.section-white { background: var(--surface); }
.section-dark { background: var(--footer-bg); color: rgba(255,255,255,0.85); }
.section-dark .kicker { color: rgba(255,255,255,0.45); }
.section-dark h2 { color: #fff; }

/* ============================================================
   INTRO GRID
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-grid-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 80%;
  margin-inline: auto;
}
.intro-grid-image img { width: 100%; height: auto; display: block; }

/* ============================================================
   FEATURE BAND
   ============================================================ */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.feature-band.reverse .feature-media { order: 2; }
.feature-band.reverse .feature-copy { order: 1; }
.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-media:hover img { transform: scale(1.04); }
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--surface);
}
.section-alt .feature-copy { background: var(--teal-light); }

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(42,157,143,0.1), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-3px);
  border-color: rgba(42,157,143,0.25);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal);
  transition: background 0.2s;
}
.card:hover .card-icon { background: rgba(42,157,143,0.18); }
.card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.2s;
}
.card .card-link:hover { gap: 0.5rem; color: var(--teal-dark); }
.card .card-link::after { content: "→"; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2.5rem 0;
}
.stat-item { flex: 1; min-width: 100px; }
.stat-value {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   STACKED LIST
   ============================================================ */
.stacked-list { display: flex; flex-direction: column; }
.stacked-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.stacked-item:first-child { border-top: 1px solid var(--border); }
.stacked-label { font-size: 14px; font-weight: 500; }
.stacked-value { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  padding: 1.25rem 1.5rem;
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.info-box p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-detail { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-top: 1px;
}
.contact-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-row-text strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.contact-row-text span, .contact-row-text p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-placeholder {
  background: var(--teal-light);
  aspect-ratio: 16/7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.map-placeholder p { font-size: 13px; color: var(--text-muted); max-width: 260px; margin: 0; }
.map-placeholder small { font-size: 11px; color: var(--text-faint); line-height: 1.5; }
.map-placeholder .map-icon { color: var(--teal); }
.map-placeholder .map-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.map-frame { display: none; width: 100%; aspect-ratio: 16/7; border: none; }
.map-frame.visible { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 13px; font-weight: 500; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  color: var(--text-muted);
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--teal);
  margin-top: 3px;
}
.form-check a { color: var(--teal); text-decoration: underline; }
.form-feedback {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-feedback.success { background: var(--teal-light); color: var(--teal-dark); display: block; }
.form-feedback.error { background: #FEF2F2; color: #B91C1C; display: block; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(18,30,26,0.78));
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,18,0.95);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  display: block;
}
#lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}
#lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   REFERENCES
   ============================================================ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.ref-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ref-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--teal-light); }
.ref-card-media {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ref-card-media img { max-height: 42px; max-width: 140px; width: auto; object-fit: contain; }
.ref-card-title {
  height: 56px;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: -0.005em;
}
.ref-card p { font-size: 14px; color: var(--text-muted); margin: 0; flex: 1; line-height: 1.6; }
.ref-link { font-size: 13px; color: var(--teal); font-weight: 500; margin-top: auto; display: inline-flex; align-items: center; gap: 4px; transition: gap .18s; }
.ref-card:hover .ref-link { gap: 8px; color: var(--teal-dark); }

/* ============================================================
   NEWS / AKTUELLES
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.news-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.news-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── News Highlight ── */
.news-highlight-section { padding-top: 4rem; padding-bottom: 4rem; }
.news-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 3rem;
  box-shadow: 0 4px 24px rgba(26,46,43,.05);
}
.news-highlight-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C0392B;
  background: rgba(192,57,43,.09);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}
.news-highlight-copy h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.22;
  margin-bottom: 0.9rem;
}
.news-highlight-copy .accent-teal { color: var(--teal); }
.news-highlight-copy .lead { margin-bottom: 0.85rem; }
.news-highlight-copy p { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.85rem; }
.news-highlight-copy p strong { color: var(--text); font-weight: 600; }
.news-highlight-hint { font-size: 14px; margin-bottom: 1.5rem !important; }
.news-highlight-hint a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.news-highlight-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.news-highlight-visual svg {
  width: 100%;
  height: auto;
  max-width: 420px;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 6px 18px rgba(26,46,43,.08));
}

@media (max-width: 900px) {
  .news-highlight { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.75rem; }
  .news-highlight-visual { order: -1; }
  .news-highlight-visual svg { max-width: 340px; }
}
@media (max-width: 480px) {
  .news-highlight-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .news-highlight { padding: 1.5rem 1.25rem; }
  .news-highlight-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   PORTRAIT / ABOUT
   ============================================================ */
.portrait-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}
.portrait-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.portrait-img img { width: 100%; display: block; }
.qual-list { display: flex; flex-direction: column; }
.qual-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.qual-item:first-child { border-top: 1px solid var(--border); }
.qual-dot {
  width: 8px; height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
}
.qual-text strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.qual-text span { font-size: 13px; color: var(--text-muted); }
.signature { height: 48px; width: auto; margin-top: 2rem; opacity: 0.65; }

/* ============================================================
   TEAM CARD
   ============================================================ */
.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-card-img img { width: 200px; height: 100%; object-fit: cover; object-position: center 18%; }
.team-card-body { padding: 2rem 2rem 2rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.team-card-body h3 { font-size: 1.25rem; font-weight: 500; }
.team-card-body .lead { font-size: 14px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--teal);
  padding: 4.5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 15px; }
.btn-white { background: #fff; color: var(--teal); border: 1.5px solid #fff; }
.btn-white:hover { background: rgba(255,255,255,0.88); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.72);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}
.footer-brand img {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 1.25rem;
}
.footer-brand p { font-size: 14px; line-height: 1.75; }
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
  line-height: 1.9;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-logos { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-logos img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.35; transition: opacity 0.2s; }
.footer-logos a:hover img { opacity: 0.65; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--footer-bg);
  color: rgba(255,255,255,0.82);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.07);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); pointer-events: none; }
#cookie-banner p { font-size: 13px; line-height: 1.6; max-width: 700px; }
#cookie-banner a { color: rgba(255,255,255,0.65); text-decoration: underline; }
#cookie-banner a:hover { color: #fff; }
#cookie-accept {
  flex-shrink: 0;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
#cookie-accept:hover { background: var(--teal-dark); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--teal-light);
  border-bottom: 1px solid rgba(42,157,143,0.18);
  padding: 0.85rem 0;
}
.trust-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0;
  padding: 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
}
.trust-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.2rem; font-weight: 500; margin: 2.5rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 500; margin: 1.5rem 0 0.4rem; }
.legal-content p, .legal-content li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--teal); text-decoration: underline; }

/* Download-Karte (Selbstauskunftsbogen) */
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.25rem;
  box-shadow: 0 2px 12px rgba(26,46,43,.04);
}
.download-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.download-card-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.download-card-head .kicker { display: block; margin-bottom: 0.15rem; }
.download-card-head h3 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.download-card > p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.download-card .btn { display: inline-flex; align-items: center; }

.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.25rem;
  display: grid;
  gap: 0.85rem;
}
.workflow-steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--teal-light);
  border-radius: var(--radius);
}
.workflow-num {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.workflow-steps strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 0.15rem; }
.workflow-steps p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.fill-help {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.fill-help > summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fill-help > summary::-webkit-details-marker { display: none; }
.fill-help > summary::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
  transition: transform .2s;
}
.fill-help[open] > summary::before { transform: rotate(45deg); }
.fill-help-body { padding: 0 1rem 1rem; }
.fill-help-body > p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin: 0 0 .85rem; }
.fill-help-body dl { margin: 0.5rem 0 0.75rem; }
.fill-help-body dt { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 0.65rem; }
.fill-help-body dd { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0.15rem 0 0.5rem; }
.fill-help-note { font-size: 13px !important; color: var(--text-faint) !important; margin-top: 0.5rem !important; font-style: italic; }

.download-privacy {
  font-size: 12.5px !important;
  color: var(--text-faint) !important;
  line-height: 1.55;
  margin: 1.1rem 0 0 !important;
}
.download-privacy a { color: var(--teal); text-decoration: underline; }

@media (max-width: 620px) {
  .download-card { padding: 1.25rem; }
  .download-card .btn { width: 100%; justify-content: center; }
  .workflow-steps li { padding: 0.75rem; }
}

/* Datenschutz — Widerruf-Sektion */
.privacy-actions {
  background: var(--teal-light);
  border: 1px solid #CFE3DF;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}
.privacy-actions-head { margin-bottom: 0.75rem; }
.privacy-actions-head .kicker { display: block; margin-bottom: 0.25rem; }
.privacy-actions > p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; }
.privacy-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(42,157,143,.18);
}
.privacy-action-row:last-of-type { border-bottom: 1px solid rgba(42,157,143,.18); }
.privacy-action-row > div { flex: 1 1 auto; min-width: 0; }
.privacy-action-row strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 0.15rem; }
.privacy-action-row p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.privacy-action-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 4px; }
.privacy-action-row .btn { flex: 0 0 auto; white-space: nowrap; }
.privacy-feedback { min-height: 1.2em; font-size: 14px; margin: 1rem 0 0 !important; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm); display: none; }
.privacy-feedback.success { display: block; background: #ffffff; color: var(--teal-dark); border: 1px solid var(--teal); }
.privacy-feedback.error   { display: block; background: #fdecec; color: #b1372a; border: 1px solid #e4a9a3; }
@media (max-width: 620px) {
  .privacy-action-row { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .privacy-action-row .btn { width: 100%; text-align: center; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.gap-top { margin-top: 2.5rem; }
strong { font-weight: 500; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .portrait-grid { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-copy { padding: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    padding: 0.9rem 0.25rem;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
  }
  .has-submenu > a::after { float: right; margin-top: 10px; }
  .submenu {
    position: static;
    opacity: 1; pointer-events: auto;
    transform: none;
    box-shadow: none; border: none;
    padding: 0 0 0 1rem;
    background: transparent;
    display: none;
  }
  .has-submenu.open .submenu { display: block; }
  .submenu a {
    padding: 0.65rem 0.25rem;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
  }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-media { min-height: 260px; aspect-ratio: 16/9; }
  .feature-copy { padding: 2rem 1.5rem; }
  .feature-band.reverse .feature-media { order: 0; }
  .feature-band.reverse .feature-copy { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait-img { max-width: 280px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner { padding: 3rem 0; }
  .stats-row { gap: 1.5rem; padding: 1.5rem 0; }
  .stacked-item { grid-template-columns: 1fr; gap: 0.2rem; }
  #cookie-banner { flex-direction: column; text-align: center; padding: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .team-card { grid-template-columns: 1fr; }
  .team-card-img { padding: 1.75rem 1.75rem 0; display: flex; justify-content: center; }
  .team-card-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center 10%;
    border-radius: var(--radius);
  }
  .team-card-body { padding: 1.5rem 1.75rem 1.75rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
