/* ============================================================
   NEUROCHIRURGIE OGUTU — Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1f3c;
  --navy-light: #1a3560;
  --teal:       #00b09b;
  --teal-light: #00d4b8;
  --white:      #ffffff;
  --offwhite:   #f5f8fc;
  --gray-light: #e8edf4;
  --gray:       #8a9bb5;
  --text:       #1e2d45;
  --text-light: #5a6a82;
  --text-muted: #6b7a92;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --shadow-sm:  0 2px 8px rgba(13,31,60,.08);
  --shadow-md:  0 8px 32px rgba(13,31,60,.12);
  --shadow-lg:  0 20px 60px rgba(13,31,60,.18);

  --transition: .35s cubic-bezier(.4,0,.2,1);
  --section-padding: 100px 0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }

/* ---------- Google Fonts import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,176,155,.35);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,176,155,.45);
}
/* Navbar-Button kompakter */
.nav-cta .btn {
  padding: 10px 20px;
  font-size: .82rem;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ---------- Navbar Logo: Icon + Text ---------- */
.navbar-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-left: -28px;
}
.navbar-logo-icon {
  height: 72px;
  width: 72px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: var(--transition);
}
.navbar-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.navbar-logo-text .logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  transition: color var(--transition);
}
.navbar-logo-text .logo-sub {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--teal-light);
  text-transform: uppercase;
  transition: color var(--transition);
}
.navbar.scrolled .logo-name { color: var(--navy); }
.navbar.scrolled .logo-sub  { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  list-style: none;
  flex-shrink: 1;
}
.nav-links a {
  font-size: clamp(.76rem, 1.1vw, .88rem);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--text-light); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: -28px;
}
.nav-phone {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
  white-space: nowrap;
}
.navbar.scrolled .nav-phone { color: var(--text-light); }
.nav-phone:hover { color: var(--teal-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-size: 1.1rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.mobile-menu-cta:hover { background: var(--teal-light) !important; color: var(--navy) !important; }
.mobile-menu .mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--teal-light);
  font-weight: 600;
  margin-top: 8px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(6,12,28,.80) 0%, rgba(6,12,28,.60) 20%, rgba(10,22,50,.65) 55%, rgba(8,18,42,.78) 100%),
    url('../image/ogutu-operationssaal.jpg') center 25%/cover no-repeat;
  background-color: #06111e; /* Fallback */
}

/* Animated background shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  animation: floatBlob 8s ease-in-out infinite;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--teal);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: #4a90d9;
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}
.hero-blob-3 {
  width: 300px; height: 300px;
  background: var(--teal-light);
  top: 40%; right: 30%;
  animation-delay: 5s;
}
@keyframes floatBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-30px) scale(1.05); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 100px 0 80px;
}

/* ============================================================
   MEDICAL FRAME + TRIPTYCHON
   ============================================================ */
.hero-skeleton-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skeleton-frame {
  position: relative;
  width: 286px;
  padding: 26px 6px 20px;
  background: rgba(0,212,184,.03);
  border: 1px solid rgba(0,212,184,.14);
  border-radius: 6px;
  overflow: hidden;
}

/* Corner brackets */
.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--teal);
  border-style: solid;
}
.frame-corner.tl { top: -1px;    left: -1px;  border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.frame-corner.tr { top: -1px;    right: -1px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.frame-corner.bl { bottom: -1px; left: -1px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.frame-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* Frame labels */
.frame-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(0,212,184,.55);
  white-space: nowrap;
  z-index: 3;
}
.frame-label-top { top: 8px; }
.frame-label-bot { bottom: 7px; }

/* Scan line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,212,184,.07) 40%,
    rgba(0,212,184,.13) 50%,
    rgba(0,212,184,.07) 60%,
    transparent 100%);
  animation: scanDown 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanDown {
  0%        { top: -60px; opacity: 0; }
  8%        { opacity: 1; }
  92%       { opacity: 1; }
  100%      { top: 100%; opacity: 0; }
}

/* ---- Triptychon ---- */
.triptych-scene {
  perspective: 900px;
  perspective-origin: center center;
}

.triptych {
  display: flex;
  gap: 3px;
  cursor: pointer;
}

.tri-panel {
  flex: 1;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  border-radius: 3px;
  /* Auto-Rotation via CSS-Animation */
  animation-duration: 8s;
  animation-timing-function: cubic-bezier(.4,0,.2,1);
  animation-iteration-count: infinite;
}

/* Bild zeigt 1/3 des breiten Quellbildes */
.tri-panel img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 300%;
  object-fit: cover;
}
.tri-left  img { left: 0%;     }   /* linkes Drittel  = Rückenansicht  */
.tri-mid   img { left: -100%;  }   /* mittleres Drittel = Vorderansicht */
.tri-right img { left: -200%;  }   /* rechtes Drittel = Seitenansicht   */

/* Animations-Keyframes */
.tri-left  { animation-name: triLeft;  }
.tri-mid   { animation-name: triMid;   }
.tri-right { animation-name: triRight; }

@keyframes triLeft {
  0%,  10% { transform: rotateY(0deg); }
  35%, 65% { transform: rotateY(42deg); }
  90%,100% { transform: rotateY(0deg); }
}
@keyframes triMid {
  0%,  10% { transform: translateZ(0)   scale(1); }
  35%, 65% { transform: translateZ(30px) scale(1.05); }
  90%,100% { transform: translateZ(0)   scale(1); }
}
@keyframes triRight {
  0%,  10% { transform: rotateY(0deg); }
  35%, 65% { transform: rotateY(-42deg); }
  90%,100% { transform: rotateY(0deg); }
}

/* Hover → Animation pausieren */
.triptych:hover .tri-panel { animation-play-state: paused; }
.hero-badge-wrap {
  margin-bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,176,155,.15);
  border: 1px solid rgba(0,176,155,.3);
  color: var(--teal-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
}
.hero-badge strong { color: var(--white); font-weight: 700; }

/* Status-Punkt */
.hero-badge-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);          /* default grün */
  flex-shrink: 0;
  animation: pulse 2s infinite;
  transition: background .4s ease;
}
.hero-badge-dot.status-open   { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
.hero-badge-dot.status-pause  { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.6); animation-name: pulseYellow; }
.hero-badge-dot.status-closed { background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6);  animation-name: pulseRed; }

@keyframes pulse       { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.6)}  70%{box-shadow:0 0 0 8px rgba(34,197,94,0)} }
@keyframes pulseYellow { 0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,.6)} 70%{box-shadow:0 0 0 8px rgba(245,158,11,0)} }
@keyframes pulseRed    { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.6)}  70%{box-shadow:0 0 0 8px rgba(239,68,68,0)} }

/* Legende unter dem Badge */
.hero-badge-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 4px;
}
.hero-badge-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}
.legend-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-green  { background: #22c55e; }
.legend-yellow { background: #f59e0b; }
.legend-red    { background: #ef4444; }
@keyframes pulseScale {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-title span { color: var(--teal-light); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-insured {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin: 0 0 28px;
}
.hero-insured svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--teal-light);
  stroke: var(--teal-light);
}
.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
}
.hero-stat-num .hero-count,
.hero-stat-num .stat-suffix {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Hero right – decorative card */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: heroFloat 4s ease-in-out infinite;
}
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-card-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  display: block;
}
.hero-card-title {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  display: block;
  margin-top: 2px;
}
.hero-card-quote {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  margin-bottom: 28px;
}
.hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.hero-card-icon {
  width: 32px; height: 32px;
  background: rgba(0,176,155,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 16px; height: 16px; stroke: var(--teal-light); }


/* ============================================================
   LEISTUNGEN (SERVICES)
   ============================================================ */
.leistungen {
  padding: var(--section-padding);
  background: var(--offwhite);
}
.leistungen-header {
  text-align: center;
  margin-bottom: 60px;
}
.leistungen-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,176,155,.1), rgba(0,176,155,.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--teal); }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
}
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
}


/* ============================================================
   ÜBER UNS
   ============================================================ */
.ueber-uns {
  padding: var(--section-padding);
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.05);
}
.ueber-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

/* Foto-Spalte mit Navy-Shadow + Teal-L-Akzent */
.ueber-foto-col {
  position: relative;
  padding: 16px 0 28px 16px;
}
.ueber-foto-col::before {
  /* Teal L-Akzent: obere-linke Ecke */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  border-top: 4px solid var(--teal);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm) 0 0 0;
  z-index: 2;
  pointer-events: none;
}
.ueber-foto-col::after {
  /* Navy Shadow-Shape: versetzt unten-rechts hinter das Foto */
  content: '';
  position: absolute;
  inset: 36px -16px -16px 36px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  z-index: 0;
}
.ueber-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
}
.ueber-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.ueber-foto-col:hover .ueber-foto {
  transform: scale(1.03);
}
/* Jacob – quadratische Card passend zum quadratischen Headshot */
.ueber-img-wrap--compact {
  aspect-ratio: 1 / 1;
  max-height: 340px;
  background: #4a4a4a;
  margin: 0 auto; /* zentriert die Karte in der Fotospalte */
}
/* Jacob grid: Foto-Spalte schmaler */
.ueber-grid--reverse {
  grid-template-columns: 3fr 2fr;
}

.ueber-content {}
.ueber-content .section-title { margin-bottom: 8px; }
.ueber-content .section-sub { margin-bottom: 28px; }

.ueber-philosophy {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
}
.ueber-philosophy::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--teal);
  line-height: 1;
  opacity: .4;
}
.ueber-philosophy p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
  position: relative;
}
.ueber-philosophy cite {
  display: block;
  font-size: .8rem;
  color: var(--teal-light);
  font-style: normal;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.ueber-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.ueber-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.ueber-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-light);
}
.ueber-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}


/* Praxis & Klinik Callout */
.ueber-klinik-note {
  background: linear-gradient(135deg, rgba(0,176,155,.07) 0%, rgba(13,31,60,.05) 100%);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 0 0 32px;
}
.ueber-klinik-note .klinik-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.ueber-klinik-note h3 {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.ueber-klinik-note p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Zertifikate & Auszeichnungen — unter dem Foto */
.ueber-zertifikate {
  margin: 20px 0 0;
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  background: var(--offwhite);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}
.zertifikate-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.zertifikate-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.zertifikat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.zertifikat-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  /* leichter Schatten für den runden Badge */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
  transition: transform var(--transition), filter var(--transition);
}
.zertifikat-item:hover .zertifikat-img {
  transform: scale(1.06) rotate(3deg);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}
.zertifikat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.zertifikat-info strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.zertifikat-info span {
  font-size: .75rem;
  color: var(--text-light);
}

@media (max-width: 480px) {
  .zertifikate-badges { flex-direction: column; }
  .zertifikat-item { min-width: unset; }
}

/* Mitgliedschaften */
.ueber-mitgliedschaften {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
}
.ueber-mitgliedschaften .mitglied-logos {
  display: block;
  margin-top: 10px;
}
.mitglied-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.mitglied-logo {
  height: 64px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 10px;
  mix-blend-mode: multiply;
  filter: grayscale(15%);
  opacity: .9;
  transition: opacity .2s, filter .2s;
}
.mitglied-logo:hover { opacity: 1; filter: grayscale(0%); }
/* AllInOne Collage: natürliche Proportionen, kein Verzerren */
.mitglied-logo--allinone {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  border-radius: 12px;
  mix-blend-mode: multiply;
  filter: none;
  opacity: 1;
}
/* Im Vita-Modal */
.vita-modal-inner .mitglied-logos {
  background: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.06);
  display: block;
  max-width: 380px;
}
.vita-modal-inner .mitglied-logo--allinone {
  max-height: none;
  border-radius: 10px;
}
/* Text chips (still used for Jacob's Fachgebiet) */
.mitglied-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.mitglied-chip {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.mitglied-chip:hover { background: var(--navy); color: var(--white); }

.ueber-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Divider between doctors */
.ueber-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,.07);
  margin: 64px 0;
}

/* Second doctor – reversed grid */
.ueber-grid--reverse {
  direction: rtl;
}
.ueber-grid--reverse > * { direction: ltr; }

/* Team section */
.ueber-team {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 56px;
  border-left: 4px solid var(--teal);
}
.ueber-team-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
}
.ueber-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.ueber-team-group { display: flex; flex-direction: column; gap: 4px; }
.ueber-team-role {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
}
.ueber-team-name {
  font-size: .88rem;
  color: var(--navy);
  font-weight: 600;
}
.ueber-team-name small {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .82em;
}

/* ============================================================
   VITA MODAL
   ============================================================ */
.vita-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vita-modal[hidden] { display: none; }
.vita-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.vita-modal-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 52px 56px 48px;
  box-shadow: 0 32px 100px rgba(0,0,0,.28);
}
.vita-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--offwhite);
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: var(--navy);
}
.vita-modal-close:hover { background: #dde3eb; }
.vita-modal-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--offwhite);
}
.vita-modal-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.vita-modal-header p { color: var(--teal); font-weight: 600; font-size: .88rem; }
.vita-section { margin-bottom: 28px; }
.vita-section h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vita-section h3::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}
.vita-section p { color: var(--text-muted); font-size: .9rem; line-height: 1.75; }

/* Vita Modal – Abschluss-Bild */
.vita-abschluss-img-wrap {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.vita-abschluss-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}
.vita-abschluss-img-wrap:hover .vita-abschluss-img {
  transform: scale(1.02);
}
.vita-abschluss-caption {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 8px;
  display: block;
  text-align: center;
  font-style: italic;
}

@media (max-width: 600px) {
  .vita-modal-inner { padding: 40px 24px 36px; }
  .ueber-team { padding: 24px 20px; }
  .ueber-cta-row { flex-direction: column; }
}


/* ============================================================
   STATISTIKEN (COUNTER)
   ============================================================ */
.statistiken {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.statistiken::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--teal-light); }
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  position: absolute;
  top: 10%; bottom: 10%;
}


/* ============================================================
   KLINIK & PRAXIS-ALLTAG
   ============================================================ */
.klinik-alltag {
  padding: var(--section-padding);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.klinik-alltag::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,176,155,.07) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(0,176,155,.05) 0%, transparent 50%);
  pointer-events: none;
}
.ka-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
}
.ka-header .section-title { color: var(--white); }
.ka-header .section-sub { color: rgba(255,255,255,.72); max-width: 100%; }
.ka-header .section-sub strong { color: var(--teal-light); }
.ka-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
}
.ka-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ka-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}
.ka-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.ka-card-icon svg { width: 26px; height: 26px; stroke: var(--white); }
.ka-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.ka-card-desc {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 24px;
}
.ka-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}
.ka-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.ka-list li svg { width: 18px; height: 18px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }
.ka-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.ka-link svg { width: 16px; height: 16px; stroke: currentColor; }
.ka-link:hover { gap: 12px; color: var(--navy); }

@media (max-width: 768px) {
  .ka-grid { grid-template-columns: 1fr; }
  .ka-card { padding: 32px 24px; }
}


/* ============================================================
   EHRENAMT & ENGAGEMENT
   ============================================================ */
.ehrenamt {
  padding: var(--section-padding);
  background: var(--offwhite);
}

.ehrenamt-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* --- 3 Bilder --- */
.ehrenamt-imgs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.ehrenamt-img-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ehrenamt-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ehrenamt-img-item:hover img { transform: scale(1.04); }

.ehrenamt-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--offwhite);
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--gray);
}
.ehrenamt-img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: .5;
}
.ehrenamt-img-placeholder span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --- Vereine --- */
.ehrenamt-orgs { max-width: 900px; margin: 0 auto; }

.ehrenamt-orgs-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: .95rem;
}

.org-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.org-card {
  display: flex;
  gap: 20px;
  padding: 28px 28px 24px;
  border-radius: var(--radius-md);
  background: var(--offwhite);
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}
.org-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--teal);
}

.org-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.org-card-body { flex: 1; }
.org-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.org-card-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.org-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: gap var(--transition);
}
.org-card:hover .org-card-link { gap: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .ehrenamt-imgs   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ehrenamt-imgs   { grid-template-columns: repeat(2, 1fr); }
  .org-cards       { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ehrenamt-imgs   { grid-template-columns: 1fr; }
}

/* ============================================================
   TERMIN BUCHEN
   ============================================================ */
.termin {
  padding: var(--section-padding);
  background: var(--offwhite);
}
.termin-inner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.termin-inner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--teal);
  border-radius: 50%;
  opacity: .08;
}
.termin-content {
  position: relative;
}
.termin-content .section-title { color: var(--white); }
.termin-content .section-sub { color: rgba(255,255,255,.6); }
.termin-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--offwhite);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.termin-note {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.termin-hours {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.termin-hours h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.termin-hours h4 svg { stroke: var(--teal-light); width: 20px; height: 20px; }
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hours-list .day { font-weight: 500; color: rgba(255,255,255,.8); }
.hours-list .time { color: var(--teal-light); font-weight: 600; }
.hours-list .pause-note { font-size: .8em; font-weight: 400; color: rgba(255,255,255,.5); }

.hours-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,176,155,.12);
  border: 1px solid rgba(0,176,155,.25);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-light);
}


/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  padding: var(--section-padding);
  background: var(--white);
}
.kontakt-header {
  text-align: center;
  margin-bottom: 60px;
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.kontakt-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--offwhite);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.kontakt-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.kontakt-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontakt-card-icon svg { width: 20px; height: 20px; stroke: var(--white); }
.kontakt-card-content strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: 4px;
}
.kontakt-card-content a,
.kontakt-card-content p {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}
.kontakt-card-content a:hover { color: var(--teal); }

/* Contact Form */
.kontakt-form {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.kontakt-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
}
.form-group textarea { min-height: 120px; }


/* ============================================================
   MAP
   ============================================================ */
.map-section {
  height: 360px;
  background: var(--gray-light);
  overflow: hidden;
}
.map-section iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(20%);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 60px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
/* Footer Logo — klickbar, scrollt nach oben */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
  width: fit-content;
  transition: opacity var(--transition);
}
.footer-logo-link:hover { opacity: .75; }

.footer-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  flex-shrink: 0;
  /* Transparentes Logo auf dunklem Hintergrund */
  filter: brightness(0) invert(1) opacity(.9);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer-logo-sub {
  font-size: .68rem;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 3px;
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--teal); }
.social-link svg { width: 16px; height: 16px; stroke: var(--white); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal-light); }


/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,176,155,.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  border: none;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--teal-light);
  transform: translateY(-3px);
}
.scroll-top svg { width: 20px; height: 20px; stroke: var(--white); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual        { display: none; }
  .hero-spine         { display: none; }
  .hero-skeleton-wrap { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .ueber-grid { grid-template-columns: 1fr; gap: 48px; }
  .ueber-foto-col { padding: 12px 0 20px 12px; order: -1; max-width: 480px; margin: 0 auto; }
  .ueber-foto-col::after { inset: 28px -12px -12px 28px; }
  .ueber-list--grid { grid-template-columns: 1fr; }
  .termin-inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero Stats: nebeneinander statt gestapelt */
  .hero-stats { flex-direction: row; gap: 24px; justify-content: center; flex-wrap: wrap; }

  /* Logo: Größe auf Mobile reduzieren */
  .navbar { padding: 8px 0; }
  .navbar.scrolled { padding: 6px 0; }
  .navbar-logo { margin-left: 0; gap: 10px; }
  .nav-cta { margin-right: 0; }
  .navbar-logo-icon { height: 44px; width: 44px; }
  .navbar-logo-text .logo-name { font-size: 1.05rem; }
  .navbar-logo-text .logo-sub { font-size: .68rem; }
}

@media (max-width: 480px) {
  :root { --section-padding: 52px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .termin-inner { padding: 36px 20px; }
  .kontakt-form { padding: 28px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  /* Hero Stats auf sehr kleinen Screens: 2er-Grid */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}


/* ============================================================
   PRAXISFOTOS
   ============================================================ */
.praxisfotos {
  padding: var(--section-padding);
  background: var(--offwhite);
}
.praxisfotos-header {
  text-align: center;
  margin-bottom: 56px;
}
.praxisfotos-header .section-sub {
  margin: 0 auto;
}

/* ============================================================
   PRAXIS-SLIDER
   ============================================================ */
.praxis-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  background: var(--navy);
}
.praxis-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.praxis-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}
.praxis-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}
.praxis-slide-img--landscape {
  object-position: center center;
}
.praxis-slider:hover .praxis-slide-img {
  transform: scale(1.03);
}
.praxis-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 24px 16px;
  background: linear-gradient(to top, rgba(13,31,60,.8) 0%, transparent 100%);
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.praxis-slide-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal-light);
}
/* Prev / Next buttons */
.praxis-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  padding: 0;
}
.praxis-slider-btn:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) scale(1.1);
}
.praxis-slider-btn--prev { left: 16px; }
.praxis-slider-btn--next { right: 16px; }
/* Dots */
.praxis-slider-dots {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.praxis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.praxis-dot.active {
  background: var(--teal-light);
  transform: scale(1.35);
}
@media (max-width: 600px) {
  .praxis-slider { aspect-ratio: 4 / 3; }
  .praxis-slider-btn { width: 38px; height: 38px; }
}


/* ============================================================
   EHRENAMT — Erweitert
   ============================================================ */
.ehrenamt-quote {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 36px 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
  position: relative;
}
.ehrenamt-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 28px;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--teal);
  opacity: .15;
}
.ehrenamt-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ehrenamt-quote cite {
  font-size: .85rem;
  color: var(--teal);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
}

.ehrenamt-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.ehrenamt-stat {
  text-align: center;
}
.ehrenamt-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.ehrenamt-stat-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (max-width: 768px) {
  .ehrenamt-quote { padding: 28px 28px; }
  .ehrenamt-stats { gap: 32px; }
}


/* ============================================================
   GOOGLE BEWERTUNGEN — Marquee Carousel
   ============================================================ */
.reviews-section {
  padding: var(--section-padding);
  background: var(--navy);
  overflow: hidden;
}
.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-header .tag { color: var(--teal-light); }
.reviews-header .section-title { color: var(--white); }

.reviews-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.reviews-stars-big {
  display: flex;
  gap: 3px;
}
.reviews-stars-big svg {
  width: 22px;
  height: 22px;
  color: #FBBC05;
}
.reviews-score {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.reviews-count {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

/* Marquee track */
.reviews-marquee-wrap {
  position: relative;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.reviews-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsScroll 40s linear infinite;
}
.reviews-marquee:hover { animation-play-state: paused; }

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Review Card */
.review-card {
  flex-shrink: 0;
  width: 320px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: default;
}
.review-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,176,155,.4);
  transform: translateY(-3px);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  display: block;
  font-weight: 600;
  color: var(--white);
  font-size: .9rem;
}
.review-location {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}
.review-google-icon {
  margin-left: auto;
  flex-shrink: 0;
}
.review-google-icon svg { width: 20px; height: 20px; display: block; }
.review-stars {
  color: #FBBC05;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-text {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  font-style: italic;
}

@media (max-width: 768px) {
  .review-card { width: 280px; }
}

/* Google Reviews CTA Button */
.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.reviews-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.reviews-cta-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.reviews-cta-glogo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.reviews-cta-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .6;
  transition: transform var(--transition), opacity var(--transition);
}
.reviews-cta-btn:hover .reviews-cta-arrow {
  transform: translateX(4px);
  opacity: 1;
}


/* ============================================================
   PATIENT JOURNEY
   ============================================================ */
.journey {
  padding: var(--section-padding);
  background: var(--offwhite);
}
.journey-header {
  text-align: center;
  margin-bottom: 64px;
}
.journey-header .section-sub { margin: 0 auto; }

.journey-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto 48px;
}
.journey-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.journey-step-num {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal);
  margin-bottom: 16px;
}
.journey-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--gray-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.journey-step:hover .journey-step-icon {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,176,155,.12);
}
.journey-step-icon svg { width: 26px; height: 26px; stroke: var(--teal); }
.journey-step h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.journey-step p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
}

.journey-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--teal-light));
  margin-top: 48px; /* aligns with center of icon */
  border-radius: 2px;
  opacity: .4;
}

/* Kasseninfo Banner */
.journey-kassen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  max-width: 680px;
  margin: 0 auto;
  font-size: .92rem;
  color: var(--text-light);
}
.journey-kassen svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  flex-shrink: 0;
}
.journey-kassen strong { color: var(--navy); }

@media (max-width: 900px) {
  .journey-steps {
    flex-wrap: wrap;
    gap: 32px;
  }
  .journey-step { min-width: 160px; }
  .journey-connector { display: none; }
}
@media (max-width: 480px) {
  .journey-step { min-width: 100%; }
  .journey-kassen { flex-direction: column; text-align: center; }
}


/* ============================================================
   MOBILE FLOATING CALL BUTTON
   ============================================================ */
.mobile-call-fab {
  display: none; /* nur auf Mobile sichtbar */
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,176,155,.45);
  z-index: 998;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fabPulse 2.5s ease-in-out infinite;
}
.mobile-call-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,176,155,.6);
}
.mobile-call-fab svg { width: 22px; height: 22px; }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,176,155,.45); }
  50%       { box-shadow: 0 4px 28px rgba(0,176,155,.7), 0 0 0 8px rgba(0,176,155,.1); }
}

@media (max-width: 768px) {
  .mobile-call-fab { display: flex; }
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-padding);
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header .section-sub {
  margin: 0 auto;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(0,176,155,.1);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition), background var(--transition);
}
.faq-question:hover { color: var(--teal); background: var(--offwhite); }
.faq-item.open .faq-question { color: var(--teal); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--teal);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding var(--transition);
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}
.faq-answer p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 8px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.faq-answer ul li {
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}
.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.faq-answer a {
  color: var(--teal);
  font-weight: 500;
}
.faq-answer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .faq-question { padding: 20px; font-size: .95rem; min-height: 56px; }
  .faq-answer { padding: 0 20px; }
  .faq-item.open .faq-answer { padding: 0 20px 20px; }
}

/* ============================================================
   FLOATING LANGUAGE SWITCHER — Radio-Style mit Flaggen
   ============================================================ */
.lang-float {
  position: fixed;
  top: 130px;
  right: 20px;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: top var(--transition);
}

/* Navbar scrolled → kompakter */
.navbar.scrolled ~ .lang-float,
body.scrolled .lang-float {
  top: 100px;
}

.lang-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  user-select: none;
  position: relative;
}
.lang-radio:hover {
  background: rgba(0,176,155,.08);
}
.lang-radio.active {
  background: var(--teal);
}
.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.15));
}
.lang-code {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  font-family: var(--font-sans);
  transition: color var(--transition);
}
.lang-radio.active .lang-code {
  color: var(--white);
}

/* Trennlinie zwischen den Sprachen */
.lang-radio:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(0,0,0,.06);
}
.lang-radio.active::after { display: none; }

/* Mobile: horizontal kompakt, direkt unter der Navbar */
@media (max-width: 768px) {
  .lang-float {
    flex-direction: row;
    top: 92px;
    right: 12px;
    bottom: unset;
    padding: 3px;
    gap: 1px;
    border-radius: 8px;
    opacity: 1;
    transition: top var(--transition), opacity 0.4s ease;
  }
  .lang-code { display: none; }
  .lang-flag { font-size: 1.1rem; }
  .lang-radio { padding: 4px 5px; border-radius: 5px; gap: 0; }
  .lang-radio::after { display: none; }
  .navbar.scrolled ~ .lang-float,
  body.scrolled .lang-float {
    top: 84px;
    opacity: 0.3;
  }
  .lang-float:hover,
  .lang-float:focus-within {
    opacity: 1;
  }
}


/* ============================================================
   RTL — Arabisch
   ============================================================ */
[dir="rtl"] .lang-float {
  right: auto;
  left: 20px;
}
[dir="rtl"] .lang-radio {
  flex-direction: row-reverse;
}
[dir="rtl"] .navbar-inner {
  flex-direction: row-reverse;
}
[dir="rtl"] .hero-cta,
[dir="rtl"] .hero-stats {
  direction: rtl;
}
[dir="rtl"] .contact-form,
[dir="rtl"] .faq-list,
[dir="rtl"] .steps-list {
  text-align: right;
}
[dir="rtl"] ul {
  padding-right: 1.2rem;
  padding-left: 0;
}
@media (max-width: 480px) {
  [dir="rtl"] .lang-float {
    left: 16px;
    right: auto;
  }
}

/* ============================================================
   DESIGN REFINEMENT — Agentur-Qualität
   Überschreibt template-typische Styles
   ============================================================ */

/* --- 1. DESIGN TOKENS --- */
:root {
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  10px;
  --section-padding: 120px 0;
}

/* --- 2. TAG: von lautem Teal-Label zu edlem Line-Accent --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

/* --- 3. BUTTONS: von Pillen-Form zu sachlicher Ästhetik --- */
.btn {
  border-radius: 4px;
  font-size: .88rem;
  letter-spacing: .02em;
  font-weight: 600;
}
.btn-primary {
  box-shadow: none;
  background: var(--teal);
}
.btn-primary:hover {
  background: var(--navy);
  transform: none;
  box-shadow: none;
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 4px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
}
/* btn-outline auf hellem Hintergrund (ueber-uns section) */
.ueber-uns .btn-outline {
  color: var(--navy);
  border-color: rgba(13,31,60,.35);
}
.ueber-uns .btn-outline:hover {
  background: rgba(13,31,60,.06);
  border-color: var(--navy);
}
.nav-cta .btn {
  border-radius: 4px;
}

/* --- 4. SECTION TITLES: größer, klarer Hierarchie --- */
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* --- 5. LEISTUNGS-CARDS: weniger Rundung, kein Hover-Lift --- */
.service-card {
  border-radius: 6px;
  border: 1px solid var(--gray-light);
  box-shadow: none;
  transition: border-color .25s ease;
}
.service-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(0,176,155,.4);
}
.service-icon {
  background: var(--offwhite);
  color: var(--teal);
  border-radius: 6px;
  box-shadow: none;
}

/* --- 6. HERO: klare Typografie, weniger Dekoration --- */
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.hero-title span {
  color: var(--teal);
  font-style: italic;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
}

/* Hero Stats — feiner, ohne uppercase-label-Bombast */
.hero-stat-label {
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  text-transform: none;
  font-weight: 400;
}
.hero-stat-num {
  font-size: 1.8rem;
}

/* Doktor-Card: weniger Rundung */
.hero-doctor-card {
  border-radius: 8px;
}

/* --- 7. REVIEWS: Marquee → statische Grid-Ansicht --- */
.reviews-marquee-wrap {
  mask-image: none;
  -webkit-mask-image: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.reviews-marquee-wrap::-webkit-scrollbar { display: none; }
.reviews-marquee {
  animation: none;
  flex-wrap: nowrap;
  overflow: visible;
  justify-content: flex-start;
  padding: 8px 4px 16px;
  width: auto;
}
.review-card {
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
}
.review-card:hover {
  transform: none;
}

/* Bewertungs-Header — Score kleiner, eleganter */
.reviews-score {
  font-size: 1.3rem;
}
.reviews-stars-big svg {
  width: 18px;
  height: 18px;
}

/* --- 8. JOURNEY CARDS: weniger bubble, mehr sachlich --- */
.journey-step-icon {
  border-radius: 6px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gray-light);
  box-shadow: none;
}
.journey-step:hover .journey-step-icon {
  box-shadow: none;
  border-color: var(--teal);
}
.journey-kassen {
  border-radius: 4px;
  border-width: 1px;
}

/* --- 9. FAQ: minimalistischer --- */
.faq-item {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--gray-light);
  box-shadow: none;
}
.faq-item:first-child { border-top: 1px solid var(--gray-light); }
.faq-item.open {
  border-radius: 0;
  box-shadow: none;
  border-bottom-color: var(--teal);
}
.faq-toggle {
  padding: 22px 0;
  border-radius: 0;
}
.faq-body { padding: 0 0 22px; }

/* --- 10. STATISTIKEN: klare Zahlen ohne Overdrive --- */
.statistiken {
  background: var(--navy);
}
.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: -.02em;
}

/* --- 11. SCROLL-REVEAL: subtiler, weniger dramatisch --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .6s ease, transform .6s ease;
}

/* --- 12. PRAXISFOTOS placeholder — sauberere Darstellung --- */
.praxis-photo-placeholder {
  border-radius: 6px;
  border: 1px solid var(--gray-light);
  background: var(--offwhite);
}

/* --- 13. ÜBER UNS Card --- */
.ueber-card {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--gray-light);
}

/* --- 14. FOOTER: aufgeräumter --- */
.footer-logo-link {
  margin-bottom: 16px;
}
.footer-col h4 {
  letter-spacing: .08em;
  font-size: .7rem;
}

/* --- 15. MOBILE CALL FAB: weniger pulsierend --- */
.mobile-call-fab {
  animation: none;
  box-shadow: 0 2px 12px rgba(0,176,155,.3);
}

/* --- 16. REAL PHOTOS --- */

/* Über uns – echtes Foto */
.ueber-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Ehrenamt – echte Fotos mit Caption */
.ehrenamt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ehrenamt-img-item:hover .ehrenamt-img {
  transform: scale(1.04);
}
.ehrenamt-img-caption {
  display: block;
  text-align: center;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 10px;
}

/* Hero: Blobs mit echtem Hintergrundfoto dezenter */
.hero-blob { opacity: .08; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
#cookie-banner.cb-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cb-inner {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
  max-width: 100%;
}

/* Main bar */
.cb-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  flex-wrap: wrap;
}
.cb-text {
  flex: 1;
  min-width: 260px;
}
.cb-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.cb-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}
.cb-link {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-link:hover { color: var(--white); }

/* Action buttons */
.cb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: .02em;
}
.cb-btn-settings {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
}
.cb-btn-settings:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.cb-btn-necessary {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
}
.cb-btn-necessary:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
}
.cb-btn-accept {
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
}
.cb-btn-accept:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
}

/* Settings panel */
.cb-settings {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 32px;
}
.cb-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.cb-category {
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.07);
}
.cb-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cb-category-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
}
.cb-always-on {
  font-size: .72rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cb-category-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin: 0;
}

/* Toggle switch */
.cb-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.cb-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cb-toggle-track {
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,.15);
  border-radius: 11px;
  position: relative;
  flex-shrink: 0;
  transition: background .25s;
}
.cb-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .25s;
}
.cb-toggle input:checked + .cb-toggle-track { background: var(--teal); }
.cb-toggle input:checked + .cb-toggle-track::after { transform: translateX(18px); }
.cb-toggle-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
}
.cb-settings-actions {
  display: flex;
  justify-content: flex-end;
}

/* Mobile */
@media (max-width: 640px) {
  .cb-bar {
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cb-actions { flex-direction: column; }
  .cb-btn { width: 100%; justify-content: center; }
  .cb-settings { padding: 16px 20px; }
  .cb-settings-actions { justify-content: stretch; }
  .cb-settings-actions .cb-btn { width: 100%; }
}


/* =============================================================
   Triple-Vision-Komponenten Token-Aliases
   Mappt die im Triple-Vision-Code verwendeten --color-*-Variablen
   auf Andys CSS-Tokens. Damit funktionieren admin/key-setup.html,
   admin/befunde.html, zweitmeinung.html, datenschutz.html und
   impressum.html ohne weitere CSS-Änderungen.
   ============================================================= */
:root {
  --color-primary:        var(--navy);
  --color-primary-light:  var(--navy-light);
  --color-primary-soft:   #243a5e;

  --color-accent:         var(--teal);
  --color-accent-hover:   #008a78;
  --color-accent-soft:    rgba(0, 176, 155, 0.12);

  --color-cream:          #f5f1ea;
  --color-cream-soft:     var(--offwhite);

  --color-text:           var(--text);
  --color-text-mute:      var(--text-light);
  --color-text-on-dark:   rgba(255, 255, 255, 0.95);
  --color-text-mute-dark: rgba(255, 255, 255, 0.55);
  --color-border:         rgba(13, 31, 60, 0.10);
  --color-border-dark:    rgba(255, 255, 255, 0.10);

  --color-status-open:    #10b981;
  --color-status-pause:   #f59e0b;
  --color-status-closed:  #ef4444;

  --font-headline:        var(--font-serif);
  --font-body:            var(--font-sans);

  --radius-card:          var(--radius-md);
  --radius-btn:           var(--radius-sm);
  --radius-input:         var(--radius-sm);

  --shadow-card:          var(--shadow-md);
  --shadow-card-sm:       var(--shadow-sm);

  --t-fast:               150ms ease-out;
  --t-base:               200ms ease-out;
  --t-slow:               600ms ease-out;
}

/* Befund-Upload-Promo-Sektion (neu für Final-Merge) */
.upload-promo-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  margin-block: clamp(2rem, 5vw, 4rem);
}
.upload-promo-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(0,176,155,.15) 0%, transparent 50%);
  pointer-events: none;
}
.upload-promo-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .upload-promo-grid { grid-template-columns: 1fr; } }
.upload-promo-final h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.upload-promo-final .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-light);
  padding: 0.35em 0.85em;
  background: rgba(0,176,155,.20);
  border-radius: 999px;
}
.upload-promo-final p {
  color: rgba(255,255,255,.7);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}
.upload-promo-final .btn-primary {
  background: linear-gradient(135deg, var(--teal), #008a78);
  color: #fff;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,176,155,.28);
  transition: transform 150ms;
}
.upload-promo-final .btn-primary:hover { transform: translateY(-1px); color: #fff; }
.upload-steps-final {
  display: grid;
  gap: 1rem;
}
.upload-step-final {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.upload-step-final-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.upload-step-final-text { font-size: 0.95rem; color: rgba(255,255,255,.7); }
.upload-step-final-text strong { color: #fff; display: block; margin-bottom: 0.2rem; }

/* =============================================================
   Befund-hochladen-Link in der Navigation (Teal-Akzent)
   ============================================================= */
.nav-links .nav-zweitmeinung {
  color: var(--teal);
  font-weight: 600;
  position: relative;
  padding-left: 1.4em;
}
.nav-links .nav-zweitmeinung::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.85em;
  height: 0.85em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b09b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4'/><polyline points='17 8 12 3 7 8'/><line x1='12' y1='3' x2='12' y2='15'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.nav-links .nav-zweitmeinung:hover { color: var(--teal-light); }
.nav-links .nav-zweitmeinung.active::after {
  content: '';
  position: absolute;
  left: 1.4em;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.mobile-menu a.active {
  color: var(--teal);
  font-weight: 700;
}

/* Hero Zertifizierungs-Card (unter der Doktor-Card) */
.hero-cert-card {
  width: 100%;
  max-width: 400px;
  margin-top: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-left: 3px solid var(--teal-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.hero-cert-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.hero-cert-items {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 140px;
}
.hero-cert-card .zertifikat-info strong {
  color: var(--white);
}
.hero-cert-card .zertifikat-info span {
  color: rgba(255,255,255,.6);
}

/* Termin – Praxis-Hinweise */
.termin-hinweise {
  margin-top: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-left: 3px solid var(--teal-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.termin-hinweise-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.termin-hinweise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.termin-hinweise-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.termin-hinweise-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal-light);
}
.termin-hinweis-notfall svg {
  color: #f87171;
}
.termin-hinweis-notfall {
  color: rgba(255,255,255,.9);
}
.termin-hinweis-notfall a {
  color: #f87171;
  font-weight: 700;
  text-decoration: none;
}
.termin-hinweis-notfall a:hover {
  text-decoration: underline;
}
