/* === Fonts === */
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand-Regular.woff2') format('woff2'), url('/fonts/Quicksand-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand-SemiBold-1.woff2') format('woff2'), url('/fonts/Quicksand-SemiBold-1.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand-Bold.woff2') format('woff2'), url('/fonts/Quicksand-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/fonts/OpenSans-Regular.woff2') format('woff2'), url('/fonts/OpenSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/fonts/OpenSans-SemiBold.woff2') format('woff2'), url('/fonts/OpenSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/fonts/OpenSans-Bold.woff2') format('woff2'), url('/fonts/OpenSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

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

:root {
  --sage: #5E7250;
  --sage-light: #7A8E6C;
  --sage-dark: #3F5234;
  --sage-muted: #A3B396;
  --sage-pale: #F0F3EB;
  --sage-glow: rgba(92,107,74,0.08);
  --sand: #C4A97D;
  --sand-light: #DCC9A5;
  --sand-pale: #F4EEDE;
  /* 2026-04-23 responsive / a11y — AA-konformes Gold für Text auf hellem Grund
     (#7A5F32 → 5.73:1 gegen --warm-white #FBFAF6; --sand behält Rolle für Flächen/Borders/Icons auf dunklem Grund) */
  --sand-text: #7A5F32;
  --sand-text-strong: #6B5228;
  --cream: #F7F9F3;
  --warm-white: #FBFAF6;
  --text: #1A1A1A;
  --text-mid: #333;
  --text-soft: #555;
  --text-muted: #666;
  --border: #E4E1D9;
  --max-w: 1200px;
  --gutter: clamp(22px, 5vw, 40px);
  --shadow-soft: 0 20px 60px rgba(20,24,16,0.08);
  --shadow-lux:  0 30px 80px rgba(20,24,16,0.10);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Fluid Type Scale — responsive ohne Breakpoints */
  --fs-h1: clamp(1.85rem, 1.05rem + 3.6vw, 4.2rem);
  --fs-h2: clamp(1.45rem, 0.95rem + 2.3vw, 2.4rem);
  --fs-h3: clamp(1.1rem, 0.92rem + 0.8vw, 1.4rem);
  --fs-lead: clamp(0.98rem, 0.88rem + 0.45vw, 1.12rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);

  /* Fluid Spacing Scale — Section-Rhythm */
  --space-section: clamp(56px, 9vw, 160px);
  --space-section-sm: clamp(40px, 6vw, 100px);

  /* Section-Padding-Y-Tokens (2026-05-15 Design-Polish; nutzen wo möglich
     statt hartcodierter rem/px-Paddings auf Section-Containern) */
  --section-py-sm: clamp(40px, 6vw, 80px);
  --section-py-md: clamp(56px, 8vw, 120px);
  --section-py-lg: clamp(80px, 10vw, 160px);

  /* Fluid Spacing Scale — Component-Rhythm (Margins/Paddings innerhalb Karten, Listen, Abschnitten) */
  --space-3xs: clamp(4px, 0.4vw, 6px);
  --space-2xs: clamp(8px, 0.8vw, 12px);
  --space-xs:  clamp(12px, 1.2vw, 18px);
  --space-sm:  clamp(16px, 1.8vw, 24px);
  --space-md:  clamp(24px, 2.4vw, 32px);
  --space-lg:  clamp(32px, 3.4vw, 48px);
  --space-xl:  clamp(48px, 5vw, 72px);
  --space-2xl: clamp(64px, 7vw, 96px);
}

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

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* Bessere Headlines auf jedem Viewport */
h1, h2, h3, .hero-title, .page-hero h1 { text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
p, li { text-wrap: pretty; overflow-wrap: anywhere; hyphens: auto; }

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

/* Fluid section rhythm — überschreibbar pro Section wenn nötig */
.intro, .services, .about, .meridian, .treats, .numbers, .cta, .contact, .journey, .testimonial-strip {
  padding-block: var(--space-section);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
h2 { letter-spacing: -0.035em; }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  transition: all 0.4s var(--ease);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.header.scrolled .header-bar { height: 64px; }
.header.scrolled .nav-link { color: var(--text-soft); }
.header.scrolled .nav-link:hover { color: var(--sage); }
.header.scrolled .nav-link::after { background: var(--sage); }
.header.scrolled .nav-cta-btn { background: var(--sage); color: #fff; border-color: var(--sage); }
.header.scrolled .nav-cta-btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.header.scrolled .burger span { background: var(--text); }

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s var(--ease);
}
.brand-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.4s var(--ease);
}
.header.scrolled .brand-logo { filter: none; height: 36px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s var(--ease);
  position: relative;
  letter-spacing: 0.02em;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--sage);
  color: #fff;
  border: 1px solid var(--sage);
  transition: all 0.3s var(--ease);
}
.nav-cta-btn:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(63,82,52,0.25);
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn svg { width: 14px; height: 14px; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
}
.burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.4s var(--ease);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* =============================================
   HERO — MAXXED
   ============================================= */
.hero {
  position: relative;
  min-height: min(100dvh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1f15;
}
@supports not (height: 100dvh) {
  .hero { min-height: min(100vh, 820px); }
}

/* Background Slider */
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease) forwards;
}
.hero-slide.active img { animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

/* Hero-Video (ersetzt den Slider auf der Startseite) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
/* Reduced motion: kein autoplay, stattdessen Poster als Hintergrund */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero {
    background-image: url('/videos/hero-bg-poster.jpg');
    background-size: cover;
    background-position: center center;
  }
}

/* Overlay — dunkel genug für Text-Kontrast, Bild bleibt erkennbar */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(15,20,12,0.55) 0%,
      rgba(15,20,12,0.40) 35%,
      rgba(15,20,12,0.45) 65%,
      rgba(15,20,12,0.72) 100%
    ),
    linear-gradient(90deg,
      rgba(15,20,12,0.45) 0%,
      rgba(15,20,12,0.20) 55%,
      rgba(15,20,12,0.05) 100%
    );
}

/* Content */
.hero-body {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: 140px 100px;
}
.hero-inner {
  max-width: 720px;
}

/* Tag / Subtitle */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.3s var(--ease-out) forwards;
}
.hero-tag::before {
  content: '';
  width: 44px; height: 1px;
  background: var(--sage-muted);
  opacity: 0.7;
}

/* Title */
.hero-title {
  font-size: var(--fs-h1);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  line-height: 1.08;
  letter-spacing: clamp(-0.04em, -0.02em - 0.5vw, -0.015em);
  margin-bottom: clamp(18px, 2.4vw, 32px);
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 1.2s 0.5s var(--ease-premium) forwards;
  font-weight: 700;
}
/* .hero-title em — see HERO-TITLE EM BULLETPROOF GOLD (unten) */

/* Description */
.hero-desc {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  max-width: 540px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s 0.8s var(--ease-out) forwards;
  font-weight: 400;
}

/* CTA Button */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  border-radius: 100px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: #fff;
  color: var(--sage-dark);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s 1s var(--ease-out) forwards;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  background: #fff;
}
.hero-btn svg {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease);
  color: var(--sage);
}
.hero-btn:hover svg { transform: translateX(6px); }

/* Scroll Indicator */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-dots {
  position: absolute;
  bottom: 36px; right: 40px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 32px; height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.5s var(--ease);
  padding: 0;
}
.hero-dot:hover {
  background: rgba(255,255,255,0.5);
}
.hero-dot.active {
  background: #fff;
  width: 48px;
}

/* MARQUEE entfernt — Klasse aus dem DOM raus */

/* =============================================
   INTRO
   ============================================= */
.intro {
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
}
.intro-deco {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid var(--border);
  opacity: 0.35;
}
.intro-deco-1 { top: -60px; left: -80px; }
.intro-deco-2 { bottom: -80px; right: -40px; width: 320px; height: 320px; }
.intro-text {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  position: relative;
}
.intro-text em {
  font-style: normal;
  color: #2D361F;
  position: relative;
}
.intro-text em::after {
  content: '';
  position: absolute;
  bottom: 1px; left: 0; right: 0;
  height: 2px;
  background: var(--sage-light);
  border-radius: 1px;
  opacity: 0.5;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 0 0 160px;
}
.sec-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.sec-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--sage-muted);
  opacity: 0.6;
}
.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.services-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.svc {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lux);
}
.svc img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
.svc:hover img {
  transform: scale(1.07);
  filter: brightness(0.85);
}
.svc-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  background: linear-gradient(0deg, rgba(20,24,16,0.62) 0%, rgba(20,24,16,0.08) 45%, rgba(20,24,16,0) 70%);
  transition: background 0.5s var(--ease-premium);
}
.svc:hover .svc-content {
  background: linear-gradient(0deg, rgba(20,24,16,0.72) 0%, rgba(20,24,16,0.14) 55%, rgba(20,24,16,0) 80%);
}
.svc h3 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.svc-desc { color: rgba(255,255,255,0.92); }
.svc-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.svc h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 10px;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
  font-weight: 700;
}
.svc:hover h3 { transform: translateY(-6px); }
.svc-desc {
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  font-size: 0.92rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
  margin-bottom: 0;
}
.svc:hover .svc-desc {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 16px;
}
.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc-arrow svg {
  width: 14px; height: 14px;
  transition: transform 0.4s var(--ease-spring);
}
.svc:hover .svc-arrow svg { transform: translateX(5px); }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 150px 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 100px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(94,114,80,0.08);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.about-gallery {
  display: grid;
  grid-template-columns: 5fr 4fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 540px;
}
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-photo:hover img { transform: scale(1.04); }
.about-photo-main { grid-row: 1 / 3; }
.about-photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sage);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}
.about-photo-badge svg { width: 14px; height: 14px; }

.about-info .sec-label { color: var(--sage-dark); }
.about-info .sec-label::after { background: var(--sage-muted); opacity: 0.3; }
.about-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.85;
}
.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.feat {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s var(--ease);
}
.feat:hover .feat-icon {
  background: var(--sage);
  transform: scale(1.04);
}
.feat-icon svg {
  width: 18px; height: 18px;
  color: var(--sage);
  transition: color 0.3s var(--ease);
}
.feat:hover .feat-icon svg { color: #fff; }
.feat strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 3px;
}
.feat span {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* === Shared Pill Button === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 100px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.4s var(--ease);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pill svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.pill:hover svg { transform: translateX(5px); }
.pill-sage {
  background: var(--sage);
  color: #fff;
}
.pill-sage:hover {
  background: var(--sage-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(94,114,80,0.25);
}
.pill-sand {
  background: var(--sand);
  color: var(--text);
}
.pill-sand:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,169,125,0.3);
}
.pill-white {
  background: #fff;
  color: var(--sage-dark);
}
.pill-white:hover {
  color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.pill-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 100px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  background: transparent;
  letter-spacing: 0.02em;
}
.pill-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   MERIDIAN / ZAHNSCHEMA
   ============================================= */
.meridian {
  padding: 160px 0;
  background: var(--warm-white);
  overflow: hidden;
}
.meridian-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.meridian-info {
  position: sticky;
  top: 100px;
}
.meridian-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}
.meridian-lead {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Detail panel */
.meridian-detail {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  min-height: 200px;
  transition: all 0.4s var(--ease);
}
.meridian-detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.meridian-tooth-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.meridian-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.meridian-detail-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.meridian-detail-value {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* Chart */
.meridian-chart {
  display: flex;
  justify-content: center;
}
.meridian-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: #f8f6f2;
}
.meridian-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tooth hotspots */
.tooth-spot {
  position: absolute;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
  border: 1.5px solid transparent;
  background: transparent;
}
@media (pointer: coarse) {
  .tooth-spot { min-width: 28px; min-height: 28px; }
}
.tooth-spot:hover {
  background: rgba(94, 114, 80, 0.15);
  border-color: rgba(94, 114, 80, 0.35);
}
.tooth-spot.active {
  background: rgba(94, 114, 80, 0.2);
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(94, 114, 80, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .meridian-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .meridian-info {
    position: static;
    order: 1;
  }
  .meridian-chart {
    order: 0;
  }
  .meridian-img-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .meridian { padding: 80px 0; }
  .meridian-detail { padding: 24px; }
  .meridian-detail-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 480px) {
  .meridian-img-wrap { max-width: 280px; }
}

/* =============================================
   TREATMENTS
   ============================================= */
.treats {
  padding: 150px 0;
  position: relative;
  background: var(--warm-white);
}
.treats-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 36px;
}
.treats-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 480px;
}
.treats-head-side {
  max-width: 360px;
  text-align: right;
}
.treats-head-side p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin-bottom: 24px;
}
.treats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.treat {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}
.treat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lux); }
.treat-wide { grid-column: 1 / -1; min-height: 280px; }
.treat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.treat:hover img { transform: scale(1.06); }
.treat-body {
  position: relative; z-index: 2;
  padding: 32px;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
}
.treat-tag {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.treat h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.treat p {
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 380px;
}
.treat-wide p { max-width: 520px; }
.treat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease);
}
.treat-link:hover { gap: 14px; }
.treat-link svg { width: 14px; height: 14px; }

/* =============================================
   NUMBERS
   ============================================= */
.numbers {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  position: relative;
  overflow: hidden;
}
.numbers-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.num {
  text-align: center;
  color: #fff;
  position: relative;
}
.num::after {
  content: '';
  position: absolute;
  top: 10%; right: 0; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.num:last-child::after { display: none; }
.num-val {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.num-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 8px;
}
.num-stars svg {
  width: 28px; height: 28px;
  color: #FBBC04;
  filter: drop-shadow(0 1px 2px rgba(251,188,4,0.3));
}
.num-label {
  font-size: 0.9rem;
  opacity: 0.95;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* =============================================
   CTA
   ============================================= */
.cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sage-pale) 100%);
  color: var(--text);
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(92,107,74,0.10);
}
.cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(92,107,74,0.07);
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
}
.cta-wrap {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}
.cta .sec-label {
  justify-content: center;
  color: var(--sage);
}
.cta .sec-label::before,
.cta .sec-label::after { display: none; }
.cta h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--text);
}
.cta > .container p {
  color: var(--text-mid);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta .pill-outline-white {
  color: var(--sage-dark);
  border-color: rgba(92,107,74,0.35);
}
.cta .pill-outline-white:hover {
  background: rgba(92,107,74,0.08);
  border-color: var(--sage);
  color: var(--sage-dark);
}
.cta .pill-white {
  background: var(--sand);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(196,169,125,0.3);
}
.cta .pill-white:hover {
  background: var(--sand-light);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(196,169,125,0.4);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 140px 0 140px;
  background: var(--warm-white);
}
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-box {
  padding: 44px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium), border-color 0.5s var(--ease);
  background: #fff;
  box-shadow: 0 2px 8px rgba(20,24,16,0.03);
}
.contact-box:hover {
  border-color: var(--sage-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.contact-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.35s var(--ease);
}
.contact-box:hover .contact-ico {
  background: var(--sage);
  transform: scale(1.06);
}
.contact-ico svg {
  width: 20px; height: 20px;
  color: var(--sage);
  transition: color 0.3s var(--ease);
}
.contact-box:hover .contact-ico svg { color: #fff; }
.contact-box h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.contact-box p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-box a {
  color: var(--sage);
  font-weight: 600;
  transition: color 0.3s;
}
.contact-box a:hover { color: var(--sage-dark); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #1d2218;
  color: rgba(255,255,255,0.55);
  padding: 100px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-brand-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand-text {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 22px;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 13px; }
.footer-list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.3s;
}
.footer-list a:hover { color: var(--sage-muted); }

.footer-contact-ln {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact-ln svg {
  width: 15px; height: 15px;
  color: var(--sage-muted);
  flex-shrink: 0;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.footer-legal a { color: rgba(255,255,255,0.78); transition: color 0.3s; }
.footer-legal a:hover { color: var(--sage-muted); }

/* =============================================
   PAGE HERO (Unterseiten)
   ============================================= */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42dvh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1f15;
}
@supports not (height: 100dvh) {
  .page-hero { min-height: clamp(280px, 42vh, 480px); }
}
.page-hero img,
.page-hero > img:first-child {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center !important;
}
.page-hero[style*="background-image"],
.page-hero[style*="background"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* .page-hero .hero-overlay — single source of truth: HERO OVERLAY FINAL PASS */
.page-hero-body {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: 0 48px;
}
.page-hero-body .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-hero h1 {
  font-size: var(--fs-h1);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  line-height: 1.12;
  letter-spacing: clamp(-0.03em, -0.02em - 0.3vw, -0.01em);
  font-weight: 700;
}
.page-hero-body p {
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  font-size: var(--fs-lead);
  margin-top: 6px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: rgba(255,255,255,0.92);
  transition: color 0.3s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep {
  font-size: 0.7rem;
  opacity: 0.4;
}

/* Page Content */
.page-content {
  padding: 120px 0 140px;
}
.page-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--text);
}
.page-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 14px;
  color: var(--text);
}
.page-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 20px;
  max-width: 740px;
}
.page-content ul, .page-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.page-content li {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.page-content img {
  border-radius: 16px;
  margin: 32px 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* --- Tablet Landscape: 900-1100px --- */
@media (max-width: 1100px) {
  /* container padding via --gutter clamp */

  /* Header */
  .nav-menu { gap: 24px; }
  .nav-link { font-size: 0.85rem; }
  .nav-cta-btn { padding: 10px 22px; font-size: 0.82rem; }
  /* Hide inline CTA button below desktop; shows again inside burger overlay on mobile */
  .nav-menu > li:has(> .nav-cta-btn) { display: none; }

  /* Hero */
  /* Hero font-size via --fs-h1 / --fs-lead clamp */

  /* Services */
  .services-row { gap: 14px; }
  .svc h3 { font-size: 1.2rem; }

  /* About */
  .about-layout { gap: 48px; }
  .about-gallery { height: 480px; }
  .about-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

  /* Meridian */
  .meridian { padding: 100px 0; }
  .meridian-layout { gap: 48px; }

  /* Treatments */
  .treats-grid { gap: 14px; }
  .treat { min-height: 300px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }

  /* Page Hero */
  /* page-hero fluid via :root --fs-h1 */
}

/* --- Tablet Portrait: 768-900px --- */
@media (max-width: 900px) {
  /* container padding via --gutter clamp */

  /* Header */
  .nav-menu { gap: 18px; }
  .nav-link { font-size: 0.82rem; }
  .nav-cta-btn { padding: 9px 18px; font-size: 0.8rem; }
  .brand-logo { height: 38px; }
  .header-bar { height: 76px; }

  /* Hero */
  /* Hero — fluid Tokens decken alles ab */

  /* Intro */
  .intro { padding: 80px 0 70px; }

  /* Services */
  .services-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc:last-child { grid-column: 1 / -1; aspect-ratio: 2/1; }
  .svc h3 { font-size: 1.15rem; }
  .svc-content { padding: 28px; }

  /* About */
  .about { padding: 80px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-gallery { order: -1; height: 380px; }

  /* Meridian */
  .meridian-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .meridian-info {
    position: static;
    order: 1;
  }
  .meridian-chart { order: 0; }
  .meridian-img-wrap { max-width: 320px; margin: 0 auto; }
  .meridian { padding: 80px 0; }
  .meridian-detail { padding: 24px; }
  .meridian-detail-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Treatments */
  .treats { padding: 80px 0; }
  .treats-head { flex-direction: column; align-items: flex-start; }
  .treats-head-side { text-align: left; max-width: 100%; }
  .treats-grid { grid-template-columns: 1fr; }
  .treat { min-height: 300px; }
  .treat-wide { min-height: 260px; }

  /* Numbers */
  .numbers-row { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .num:nth-child(2)::after { display: none; }

  /* Contact */
  .contact-row { grid-template-columns: 1fr; gap: 16px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Page Hero */
  .page-hero-body { padding-block: 0 32px; }
  .page-content { padding: 60px 0 80px; }
}

/* --- Tablet & Mobile: bis 960px → Burger-Menü --- */
@media (max-width: 960px) {
  /* container padding via --gutter clamp */

  /* Header — Burger Menu (Fullscreen Overlay unter dem Header) */
  .nav-menu,
  .primary-nav .nav-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--warm-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 104px 24px max(40px, env(safe-area-inset-bottom));
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
    z-index: 1050;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* Solid header when burger is open (sonst ist Logo+X auf hellem Menü nicht lesbar) */
  .header:has(.burger.open),
  .header:has(.nav-menu.open) {
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
  }
  .header:has(.burger.open) .brand-logo,
  .header:has(.nav-menu.open) .brand-logo {
    filter: none;
  }
  .header:has(.burger.open) .burger span,
  .header:has(.nav-menu.open) .burger span { background: var(--text); }
  .nav-menu.open,
  .primary-nav .nav-menu.open { transform: translateY(0); }
  @supports not (height: 100dvh) {
    .nav-menu, .primary-nav .nav-menu { height: 100vh; }
  }
  .nav-link {
    font-size: 1.25rem !important;
    color: var(--text) !important;
    padding: 8px 0;
  }
  .nav-link:hover { color: var(--sage) !important; }
  .nav-link::after { display: none; }
  .nav-cta-btn {
    background: var(--sage) !important;
    color: #fff !important;
    border-color: var(--sage) !important;
    font-size: 1rem;
    padding: 14px 40px;
    min-height: 48px;
  }
  /* Re-show CTA inside burger overlay */
  .nav-menu > li:has(> .nav-cta-btn) { display: block; }
  .burger { display: flex; }

  .brand-logo { height: 34px; }
  .header-bar { height: 64px; }
  .header.scrolled .header-bar { height: 56px; }
  .header.scrolled .brand-logo { height: 30px; }

  /* Hero Mobile — fluid, eine einzige Quelle der Wahrheit */
  .hero {
    min-height: 88dvh;
    align-items: flex-end;
  }
  .hero-inner { max-width: 100%; }
  .hero-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }
  .hero-btn svg { width: 14px; height: 14px; }
  /* Dots als statisches Element unter dem Content — keine Kollision mit Button */
  .hero-dots {
    position: static;
    transform: none;
    left: auto; right: auto; bottom: auto;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(28px, 6vh, 48px);
  }
  .hero-dot { width: 28px; height: 3px; }
  .hero-dot.active { width: 44px; }

  /* Intro */
  .intro { padding: 64px 0 56px; }
  .intro-text { font-size: clamp(1.1rem, 4.5vw, 1.45rem); line-height: 1.6; }
  .intro-deco { display: none; }

  /* Services */
  .services { padding: 0 0 64px; }
  .services-row { grid-template-columns: 1fr; gap: 14px; }
  .svc { aspect-ratio: 4/3; }
  .svc:last-child { aspect-ratio: 4/3; grid-column: auto; }
  .svc-content { padding: 24px; }
  .svc-desc { max-height: 80px; opacity: 1; margin-bottom: 14px; }
  .svc h3 { font-size: 1.15rem; }
  .svc-arrow { font-size: 0.78rem; min-height: 44px; display: inline-flex; align-items: center; }

  /* About */
  .about { padding: 64px 0; }
  .about-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .about-photo-main {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 4/3;
  }
  .about-photo:not(.about-photo-main) {
    aspect-ratio: 1/1;
  }
  .about-gallery { gap: 10px; }
  .about-photo-badge { bottom: 10px; left: 10px; padding: 8px 12px; font-size: 0.72rem; }
  .about-info h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .about-lead { font-size: 0.98rem; }
  .features { gap: 20px; margin-bottom: 36px; }
  .feat { gap: 14px; }
  .feat-icon { width: 44px; height: 44px; min-width: 44px; }
  .feat strong { font-size: 0.95rem; }
  .feat span { font-size: 0.88rem; }
  .pill { padding: 14px 30px; font-size: 0.9rem; min-height: 48px; }

  /* Meridian */
  .meridian { padding: 64px 0; }
  .meridian-info h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .meridian-lead { font-size: 0.95rem; }
  .meridian-img-wrap { max-width: 300px; }

  /* Treatments */
  .treats { padding: 64px 0; }
  .treats-head { gap: 20px; margin-bottom: 36px; }
  .treats-head h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .treats-head-side p { font-size: 0.95rem; margin-bottom: 16px; }
  .treat { min-height: 260px; }
  .treat-wide { min-height: 240px; }
  .treat-body { padding: 24px; }
  .treat h3 { font-size: 1.15rem; }
  .treat p { font-size: 0.88rem; line-height: 1.7; }
  .treat-link { min-height: 44px; display: inline-flex; align-items: center; }

  /* Numbers */
  .numbers { padding: 56px 0; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .num::after { display: none; }
  .num-val { font-size: 2.4rem; }
  .num-label { font-size: 0.85rem; }

  /* CTA */
  .cta { padding: 80px 0; }
  .cta::before, .cta::after { display: none; }
  .cta h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta > .container p { font-size: 0.95rem; }
  .cta-btns { gap: 12px; }
  .pill-outline-white { padding: 13px 28px; font-size: 0.9rem; min-height: 48px; }

  /* Contact */
  .contact { padding: 56px 0 72px; }
  .contact-box { padding: 28px 20px; }
  .contact-box h3 { font-size: 1rem; }
  .contact-box p { font-size: 0.9rem; }
  .contact-box a { min-height: 44px; display: inline-flex; align-items: center; }

  /* Footer */
  .footer { padding: 64px 0 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-text { font-size: 0.82rem; max-width: 100%; }
  .footer-brand-title { font-size: 1rem; }
  .footer-logo { height: 36px; }
  .footer h3 { font-size: 0.78rem; margin-bottom: 16px; }
  .footer-list a { font-size: 0.85rem; }
  .footer-list li { margin-bottom: 11px; }
  .footer-contact-ln { font-size: 0.85rem; }
  .footer-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    font-size: 0.8rem;
  }
  .footer-legal { gap: 20px; }

  /* Page Hero — fluid via :root */
  .page-hero-body { padding-block: 0 28px; }
  .breadcrumb { font-size: 0.75rem; }
  .page-content { padding: 48px 0 64px; }
  .page-content p { font-size: 0.95rem; }
}

/* --- Small Mobile: < 480px --- */
@media (max-width: 480px) {
  /* container padding via --gutter clamp */

  /* Hero — fluid via --fs-h1, kein extra Override */
  .hero-tag::before { width: 28px; }

  /* Intro */
  .intro { padding: 48px 0 40px; }
  .intro-text { font-size: clamp(1rem, 4.5vw, 1.25rem); }

  /* Services */
  .services { padding: 0 0 48px; }
  .svc { aspect-ratio: 3/2; }
  .svc:last-child { aspect-ratio: 3/2; }
  .svc-content { padding: 20px; }
  .svc h3 { font-size: 1.05rem; }
  .svc-desc { font-size: 0.85rem; }
  .sec-label { font-size: 0.7rem; margin-bottom: 28px; gap: 12px; }

  /* About */
  .about { padding: 48px 0; }
  .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .about-photo-main { grid-column: auto; aspect-ratio: 3/2; }
  .about-photo:not(.about-photo-main) { aspect-ratio: 3/2; }
  .about-info h2 { font-size: 1.4rem; }
  .about-lead { font-size: 0.92rem; margin-bottom: 28px; }
  .feat strong { font-size: 0.9rem; }
  .feat span { font-size: 0.85rem; }
  .pill { padding: 12px 24px; font-size: 0.85rem; }

  /* Meridian */
  .meridian { padding: 48px 0; }
  .meridian-info h2 { font-size: 1.4rem; }
  .meridian-lead { font-size: 0.9rem; margin-bottom: 24px; }
  .meridian-img-wrap { max-width: 260px; }
  .meridian-detail { padding: 20px; min-height: 160px; }

  /* Treatments */
  .treats { padding: 48px 0; }
  .treats-head { gap: 16px; margin-bottom: 28px; }
  .treats-head h2 { font-size: 1.35rem; }
  .treats-head-side p { font-size: 0.9rem; }
  .treat { min-height: 220px; }
  .treat-wide { min-height: 200px; }
  .treat-body { padding: 20px; }
  .treat h3 { font-size: 1.05rem; }
  .treat p { font-size: 0.85rem; max-width: 100%; }
  .treat-tag { font-size: 0.68rem; }

  /* Numbers */
  .numbers { padding: 48px 0; }
  .numbers-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .num-val { font-size: 2rem; }
  .num-label { font-size: 0.8rem; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta h2 { font-size: 1.4rem; }
  .cta > .container p { font-size: 0.9rem; margin-bottom: 28px; }
  .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
  .cta-btns .pill, .cta-btns .pill-outline-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    min-height: 52px;
  }

  /* Contact */
  .contact { padding: 48px 0 56px; }
  .contact-box { padding: 24px 16px; }
  .contact-box h3 { font-size: 0.95rem; }
  .contact-box p { font-size: 0.88rem; }

  /* Footer */
  .footer { padding: 48px 0 28px; }
  .footer-cols { gap: 24px; }
  .footer-brand-title { font-size: 0.95rem; }
  .footer-brand-text { font-size: 0.8rem; }
  .footer h3 { font-size: 0.72rem; margin-bottom: 14px; }
  .footer-list a { font-size: 0.82rem; }
  .footer-contact-ln { font-size: 0.82rem; }
  .footer-bar { font-size: 0.78rem; gap: 12px; padding-top: 24px; }
  .footer-legal { gap: 16px; }

  /* Page Hero */
  .page-hero { height: 35svh; min-height: 200px; max-height: 300px; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .page-hero-body { padding-block: 0 24px; }
  .breadcrumb { font-size: 0.7rem; gap: 6px; }
  .page-content { padding: 36px 0 48px; }
  .page-content h2 { font-size: 1.35rem; }
  .page-content h3 { font-size: 1.1rem; }
  .page-content p { font-size: 0.9rem; }
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.rv.vis {
  opacity: 1;
  transform: translateY(0);
}
.rv-l {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.rv-l.vis { opacity: 1; transform: translateX(0); }
.rv-r {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.rv-r.vis { opacity: 1; transform: translateX(0); }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv-d4 { transition-delay: 0.4s; }
.rv-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.rv-scale.vis { opacity: 1; transform: scale(1); }

/* =============================================
   SPLIT SECTIONS (Unterseiten)
   ============================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.split + .split { padding-top: 0; }
.split-reverse .split-img { order: -1; }
.split-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--text);
}
.split-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 20px;
  max-width: 540px;
}
.split-img img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

/* Advantages Grid */
.advantages {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}
.advantages h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
  text-align: center;
}
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.adv-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--warm-white);
  transition: all 0.4s var(--ease);
}
.adv-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.adv-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
  border-radius: 10px;
}
.adv-card strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.adv-card span {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }
  .split-reverse .split-img { order: 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantages { padding: 60px 0 80px; }
}
@media (max-width: 480px) {
  .split { padding: 40px 0; gap: 24px; }
  .adv-card { padding: 20px; gap: 14px; }
  .adv-num { width: 32px; height: 32px; font-size: 1.2rem; }
  .advantages { padding: 48px 0 64px; }
  .advantages h2 { margin-bottom: 32px; }
}

/* =============================================
   TEAM GRID
   ============================================= */
.team-grid { margin-top: 48px; }
.team-group-head { font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--sage-dark); margin: 36px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--border); letter-spacing: 0.04em; text-transform: uppercase; }
.team-group-head:first-of-type { margin-top: 8px; }
.team-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 260px)); gap: clamp(16px, 2vw, 24px); margin-bottom: 16px; justify-content: start; }
.team-card { border-radius: 16px; overflow: hidden; background: var(--warm-white); border: 1px solid var(--border); transition: all 0.4s var(--ease); max-width: 320px; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; max-height: 360px; }
.team-card-info { padding: 18px 22px; }
.team-card-name { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.team-card-role { font-size: 0.88rem; color: var(--text-soft); }
.team-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--cream); border: 1px solid var(--border); margin-bottom: 24px; max-width: 920px; }
.team-featured img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; max-height: 480px; }
.team-featured-info { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.team-featured-name { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 6px; }
.team-featured-role { font-size: 0.98rem; color: var(--sage); font-weight: 600; margin-bottom: 18px; }
.team-featured-desc { font-size: 0.98rem; color: var(--text-mid); line-height: 1.75; }
@media (max-width: 820px) { .team-featured { grid-template-columns: 1fr; max-width: 560px; } .team-featured img { aspect-ratio: 16/10; max-height: 360px; } .team-featured-info { padding: 28px; } }
@media (max-width: 480px) { .team-group { grid-template-columns: 1fr; gap: 16px; } .team-featured-info { padding: 22px; } .team-featured-name { font-size: 1.3rem; } }

/* 2026-04-26: Solo-Karte (z.B. Jenny in "Prophylaxe & Ernährung") nicht auf volle Spaltenbreite blasen */
.team-group:has(> .team-card:first-child:last-child) {
  grid-template-columns: minmax(220px, 280px) !important;
  justify-content: start;
}
.team-group:has(> .team-card:first-child:last-child) .team-card {
  max-width: 280px;
}

/* =============================================
   ACCESSIBILITY — Focus States
   ============================================= */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-cta-btn:focus-visible,
.hero-btn:focus-visible,
.pill:focus-visible,
.pill-sage:focus-visible,
.pill-outline:focus-visible,
.pill-white:focus-visible,
.pill-outline-white:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv-l, .rv-r, .rv-scale { opacity: 1 !important; transform: none !important; }
}

/* =============================================
   RESPONSIVE POLISH — small fixes across breakpoints
   ============================================= */
/* Tap targets — min 44px for all links/buttons on touch */
@media (hover: none) and (pointer: coarse) {
  .footer-list a,
  .footer-contact-ln a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Prevent overflow of long words on narrow screens */
@media (max-width: 480px) {
  h1, h2, h3, .hero-title, .page-hero h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .footer-contact-ln {
    word-break: break-word;
  }
  /* Tighter contact box padding */
  .contact-box { padding: 22px 14px; }
  /* Ensure CTAs full width + centered */
  .cta-btns .pill-white { width: 100%; max-width: 320px; justify-content: center; min-height: 52px; }
}

/* 360px ultra-small */
@media (max-width: 380px) {
  .num-val { font-size: 1.8rem; }
  .sec-label { font-size: 0.66rem; }
  .svc-content { padding: 18px; }
  .treat-body { padding: 18px; }
}

/* =============================================
   SUBPAGE LAYOUT — split-section / features-grid
   Used by all Leistungs- und Geo-Seiten.
   ============================================= */

/* Inline background-image support for page-hero */
.page-hero[style*="background-image"] {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* If page-hero-body also has container class, reset container logic */
.page-hero-body.container,
.page-hero .page-hero-body > .container {
  position: relative;
  z-index: 2;
}
.page-hero-body > p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-top: 8px;
  line-height: 1.6;
}

/* Split Sections (Unterseiten Pattern) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.split-section:first-child { padding-top: 0; }
.split-section .split-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--text);
}
.split-section .split-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
  max-width: 560px;
}
.split-section .split-text ol,
.split-section .split-text ul {
  margin: 12px 0 16px;
  padding-left: 22px;
}
.split-section .split-text li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.split-section .split-img img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.split-section-reverse .split-img { order: -1; }

/* Features-Section / Features-Grid (Unterseiten) */
section.features {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}
section.features > .container > h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
  max-width: 720px;
}
section.features .features-grid,
.page-content .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  flex-direction: initial;
}
/* Bei genau 4 Items (Praxis-Highlights & Co.): alle 4 in einer Reihe.
   Vermeidet das 3+1-Layout, bei dem die letzte Karte allein darunter steht. */
section.features .features-grid:has(> .feat:nth-child(4):last-child),
.page-content .features:has(> .feat:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  section.features .features-grid:has(> .feat:nth-child(4):last-child),
  .page-content .features:has(> .feat:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Feat card variant for subpages (has h3 + p children) */
.features-grid .feat,
.page-content .features > .feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.features-grid .feat:hover,
.page-content .features > .feat:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow: 0 18px 48px rgba(94,114,80,0.09);
}
.features-grid .feat-icon,
.page-content .features .feat-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--sage-pale);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.features-grid .feat-icon svg,
.page-content .features .feat-icon svg {
  width: 22px; height: 22px;
}
.features-grid .feat h3,
.page-content .features .feat h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}
.features-grid .feat p,
.page-content .features .feat p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
  max-width: none;
}

/* Responsive for subpage sections */
@media (max-width: 1024px) {
  section.features .features-grid,
  .page-content .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }
  /* Text zuerst, Bild danach — auch bei reverse (besserer Lesefluss auf Mobile) */
  .split-section .split-text { order: 0; }
  .split-section .split-img { order: 1; }
  .split-section-reverse .split-text { order: 0; }
  .split-section-reverse .split-img { order: 1; }
  .split-section .split-img img { aspect-ratio: 16/10; }
  section.features { padding: 56px 0 64px; }
  section.features > .container > h2 { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  section.features .features-grid,
  .page-content .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .features-grid .feat,
  .page-content .features > .feat {
    padding: 22px 20px;
  }
  .split-section { padding: 32px 0; gap: 22px; }
  .split-section .split-text p { font-size: 0.95rem; }
  .split-section .split-img img { border-radius: 14px; }
}
@media (max-width: 380px) {
  .features-grid .feat,
  .page-content .features > .feat { padding: 20px 16px; }
  .features-grid .feat h3,
  .page-content .features .feat h3 { font-size: 1rem; }
  .features-grid .feat p,
  .page-content .features .feat p { font-size: 0.88rem; }
}

/* =============================================
   FIXES — Hero Overlap, Overflow, Page-Hero H1
   ============================================= */
/* html overflow-x ist global via clip gesetzt */

/* Long email / URL / strings must wrap on mobile */
@media (max-width: 600px) {
  a[href^="mailto:"],
  a[href^="tel:"],
  .footer-contact-ln,
  .footer-contact-ln a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .page-content p,
  .page-content li,
  .split-text p,
  .split-text li { overflow-wrap: break-word; }
}

/* Hero Mobile: konsolidiert zu einem fluid Block — siehe ":root --hero-min-h" weiter unten */

/* Page-Hero H1 auf 360px — lange Titel dürfen nicht strecken */
@media (max-width: 480px) {
  .page-hero h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    hyphens: auto;
    overflow-wrap: break-word;
  }
  /* page-hero: fluid via :root */
}
/* page-hero: fluid via --fs-h1, kein 380px-Override nötig */

/* Contact-Row Tablet: 2 Spalten */
@media (min-width: 601px) and (max-width: 1024px) {
  .contact-row { grid-template-columns: 1fr 1fr !important; }
}

/* Feat (home) Icon nicht wegdrücken auf 360px */
@media (max-width: 380px) {
  .features .feat { gap: 12px; }
  .features .feat-icon { width: 40px; height: 40px; min-width: 40px; }
}

/* =============================================
   IMPLANT SHOWCASE (Keramikimplantation)
   Freigestelltes Implantat mit Float-Animation
   ============================================= */
.implant-showcase {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, #F1EEE5 100%);
  overflow: hidden;
  isolation: isolate;
}
.implant-showcase-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(201,169,110,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 25% 100%, rgba(92,107,74,0.1) 0%, transparent 60%);
  z-index: -1;
}
.implant-showcase-grid {
  position: absolute;
  inset: 0;
  color: rgba(92,107,74,0.14);
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.implant-grid-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.implant-showcase-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
}
.implant-showcase-text h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 14px 0 22px;
  color: var(--text);
}
.implant-showcase-text h2 em {
  font-style: normal;
  color: #2D361F;
}
.implant-showcase-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 500px;
}
.implant-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
}
.implant-specs li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.implant-specs strong {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1;
}
.implant-specs span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: uppercase;
}

/* Visual — das freigestellte Implantat mit Float */
.implant-showcase-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.implant-glow {
  position: absolute;
  inset: 12% 12%;
  background: radial-gradient(circle, rgba(201,169,110,0.45) 0%, rgba(201,169,110,0.12) 40%, transparent 70%);
  filter: blur(30px);
  animation: implantGlowPulse 6s ease-in-out infinite;
  z-index: 0;
}
.implant-orbit-ring {
  position: absolute;
  border: 1px dashed rgba(92,107,74,0.22);
  border-radius: 50%;
  z-index: 1;
}
.implant-orbit-ring-1 {
  inset: 6%;
  animation: implantSpin 40s linear infinite;
}
.implant-orbit-ring-2 {
  inset: 18%;
  border-style: dotted;
  border-color: rgba(201,169,110,0.3);
  animation: implantSpin 60s linear infinite reverse;
}
.implant-float {
  position: relative;
  z-index: 2;
  max-width: 78%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 40px rgba(0,0,0,0.18))
    drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  animation: implantFloat 5.5s ease-in-out infinite;
  will-change: transform;
}
.implant-caption {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(92,107,74,0.15);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.implant-caption .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: implantDotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(92,107,74,0.15);
}

@keyframes implantFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes implantGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}
@keyframes implantSpin {
  to { transform: rotate(360deg); }
}
@keyframes implantDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(92,107,74,0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(92,107,74,0.05); }
}

@media (prefers-reduced-motion: reduce) {
  .implant-float, .implant-glow, .implant-orbit-ring, .implant-caption .dot {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .implant-showcase { padding: 80px 0; }
  .implant-showcase-inner { grid-template-columns: 1fr; gap: 48px; }
  .implant-showcase-visual { max-width: 360px; order: -1; }
  .implant-specs { gap: 24px; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .implant-showcase { padding: 64px 0; }
  .implant-showcase-visual { max-width: 280px; }
  .implant-specs { gap: 16px; }
  .implant-specs strong { font-size: 1.5rem; }
  .implant-specs span { font-size: 0.68rem; }
  .implant-caption { font-size: 0.7rem; padding: 7px 14px; }
}

/* =============================================
   Freigestellte Split-Bilder (PNG mit Transparenz)
   Nutzung: <div class="split-img split-img-freigestellt">
   ============================================= */
.split-img-freigestellt {
  background: linear-gradient(135deg, #F1EEE5 0%, var(--warm-white) 50%, #EEF1E8 100%);
  border-radius: 24px;
  padding: 40px 32px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  isolation: isolate;
}
.split-img-freigestellt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 55%, rgba(201,169,110,0.25) 0%, transparent 65%);
  z-index: 0;
}
.split-img-freigestellt::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(92,107,74,0.16);
  border-radius: 18px;
  z-index: 0;
  pointer-events: none;
}
.split-img-freigestellt img {
  position: relative;
  z-index: 1;
  max-width: 85%;
  max-height: 360px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  filter:
    drop-shadow(0 25px 30px rgba(0,0,0,0.18))
    drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  transition: transform 0.6s var(--ease, cubic-bezier(0.4,0,0.2,1));
}
.split-img-freigestellt:hover img {
  transform: translateY(-6px) scale(1.03);
}
@media (max-width: 900px) {
  .split-img-freigestellt { min-height: 320px; padding: 32px 24px; }
  .split-img-freigestellt img { max-width: 78%; max-height: 280px; }
}
@media (max-width: 480px) {
  .split-img-freigestellt { min-height: 260px; padding: 24px 16px; border-radius: 18px; }
  .split-img-freigestellt img { max-width: 80%; max-height: 220px; }
  .split-img-freigestellt::after { inset: 10px; border-radius: 14px; }
}

/* ============================================
   Praxis-Galerie (Einblicke)
============================================ */
.praxis-gallery {
  padding: 96px 0 120px;
  background: linear-gradient(180deg, var(--warm-white) 0%, #F3F1EA 100%);
}
.praxis-gallery .gallery-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.praxis-gallery .gallery-head h2 { margin: 10px 0 14px; }
.praxis-gallery .gallery-head p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eee;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 12px 28px rgba(0,0,0,0.09);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.05),
    0 22px 42px rgba(0,0,0,0.14);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.gallery-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .praxis-gallery { padding: 72px 0 88px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
  }
  .gallery-item.gallery-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 12px;
  }
  .gallery-item.gallery-wide { grid-column: span 1; }
  .gallery-item { border-radius: 14px; }
}

/* ==========================================
   Micro-interactions (Max-Agent I)
   ========================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--sage);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
  will-change: width;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-premium),
              transform 0.4s var(--ease-premium),
              background-color 0.3s var(--ease-premium);
  box-shadow: 0 12px 32px rgba(92, 107, 74, 0.3);
  z-index: 998;
  display: grid;
  place-items: center;
  padding: 0;
}
.scroll-top svg { width: 22px; height: 22px; display: block; }
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--sage-dark);
  transform: translateY(-4px) scale(1.05);
}
.scroll-top:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .scroll-top svg { width: 20px; height: 20px; }
}

/* Header hide-on-scroll */
.header {
  transition: transform 0.4s var(--ease-premium),
              background-color 0.35s var(--ease-premium),
              backdrop-filter 0.35s var(--ease-premium),
              box-shadow 0.35s var(--ease-premium);
}
.header.header-hidden {
  transform: translateY(-100%);
}

/* Staggered reveal for grid items */
.rv[style*="--index"] {
  transition-delay: calc(var(--index, 0) * 60ms);
}

/* Lazy image fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.6s var(--ease-premium);
}
img[loading="lazy"].loaded,
img[loading="lazy"].no-fade {
  opacity: 1;
}

/* Magnetic buttons need a base transform reset for smooth transitions */
.pill-sage,
.hero-btn,
.nav-cta-btn {
  will-change: transform;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .scroll-top,
  .header { transition: none !important; }
  img[loading="lazy"] { opacity: 1 !important; }
}

/* ==========================================
   Accessibility (Max-Agent L)
   ========================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 20px;
  background: var(--sage);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  z-index: 10000;
}
.skip-link:focus {
  left: 20px;
  outline: 3px solid var(--sand);
  outline-offset: 2px;
}

/* ==========================================================================
   Homepage Premium Polish (Agent N)
   - Trust Strip
   - Patient Journey
   - Testimonial Strip
   ========================================================================== */

/* Trust Signals Strip */
.trust-strip {
  padding: 56px 0;
  background: var(--warm-white);
  border-top: 1px solid rgba(92,107,74,0.18);
  border-bottom: 1px solid rgba(92,107,74,0.10);
  box-shadow: inset 0 14px 24px -18px rgba(20,24,16,0.18);
}
.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--sage-dark);
  letter-spacing: 0.01em;
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--sage);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .trust-strip { padding: 32px 0; }
  .trust-items { justify-content: center; gap: 20px 32px; }
  .trust-item { font-size: 0.82rem; }
}
@media (max-width: 600px) {
  .trust-items { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Patient Journey */
.journey {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--sage-pale) 100%);
  position: relative;
  overflow: hidden;
}
.journey > .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.journey h2 {
  max-width: 720px;
  margin: 12px auto 16px;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.journey-lead {
  max-width: 620px;
  margin: 0 auto 64px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.journey-steps {
  display: grid;
  /* Auf Desktop max. 3 Spalten — sonst werden 6+ Schritte zu schmal/unleserlich */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  position: relative;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
}
.journey-steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(92,107,74,0.3) 15%, rgba(92,107,74,0.3) 85%, transparent);
  z-index: 0;
}
.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  padding: 28px 20px;
  border-radius: 18px;
  border: 1px solid rgba(92,107,74,0.1);
  transition: transform 0.5s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)), box-shadow 0.5s;
}
.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(20,24,16,0.1);
}
.journey-num {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--sage);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--warm-white);
  border: 2px solid rgba(92,107,74,0.15);
  border-radius: 50%;
  margin: 0 auto 18px;
}
.journey-step h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.3;
}
.journey-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}
.journey-cta { margin-top: 32px; }
@media (max-width: 980px) {
  .journey { padding: 100px 0; }
  .journey-steps::before { display: none; }
}
@media (max-width: 560px) {
  .journey { padding: 80px 0; }
  .journey-steps { grid-template-columns: 1fr; }
}
/* Connector-Linie zwischen den Schritten nur bei einer Reihe sinnvoll;
   bei 2 Zeilen (Desktop ≥ 980px, 3-Spalten) verbergen wir sie. */
@media (min-width: 561px) {
  .journey-steps::before { display: none; }
}

/* Testimonial Strip */
.testimonial-strip {
  padding: 140px 0;
  background: #fff;
  text-align: center;
}
.testimonial-strip h2 { margin-bottom: 56px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  max-width: 1140px;
  margin: 0 auto;
  text-align: left;
}
.testimonial-item {
  background: var(--warm-white);
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(92,107,74,0.08);
  transition: transform 0.5s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)), box-shadow 0.5s;
}
.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(20,24,16,0.08);
}
.testimonial-stars {
  color: var(--sand);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.testimonial-item blockquote {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  position: relative;
}
.testimonial-item blockquote::before {
  content: "„";
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--sage);
  line-height: 0;
  position: absolute;
  top: 8px;
  left: -4px;
  opacity: 0.2;
}
.testimonial-item figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}
.testimonial-cta {
  text-align: center;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .testimonial-strip { padding: 100px 0; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 20px; max-width: 620px; }
}

/* ============================================================
   === BLOCK Q: Premium Polish + Responsive Deep-Sweep      ===
   ============================================================ */

/* --- Selection color (sand/gold) --- */
::selection { background: var(--sand); color: var(--text); }
::-moz-selection { background: var(--sand); color: var(--text); }

/* --- Custom scrollbar (sage-tinted, dezent) --- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F5F2EA; }
::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 10px;
  border: 2px solid #F5F2EA;
}
::-webkit-scrollbar-thumb:hover { background: var(--sage-dark); }
html { scrollbar-color: var(--sage) #F5F2EA; scrollbar-width: thin; }

/* --- .hero-title em konsolidiert: HERO-TITLE EM BULLETPROOF GOLD (unten) --- */

/* --- Smooth image hover (split-img, treat, svc) --- */
.split-img,
.treat,
.svc {
  overflow: hidden;
}
.split-img img,
.treat img,
.svc img {
  transition: transform 1.2s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  will-change: transform;
}
.split-img:hover img,
.treat:hover img,
.svc:hover img {
  transform: scale(1.04);
}

/* --- Gradient border for featured pills/cards on hover --- */
.pill-sage,
.svc {
  position: relative;
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--sage), var(--sand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  pointer-events: none;
}
.svc:hover::after { opacity: 1; }

/* --- Subtle noise overlay on hero (sehr dezent) --- */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}
.hero > *,
.page-hero > * { position: relative; z-index: 2; }

/* --- Better focus rings (konsistent) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Print stylesheet --- */
@media print {
  .header, .footer, .cta, .scroll-progress, .scroll-top,
  .hero-video, video, .nav, .burger, .mobile-nav,
  .cookie-banner, .floating-cta { display: none !important; }
  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
    line-height: 1.5;
  }
  a { text-decoration: underline; color: #000; }
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 80%; }
  .page-hero,
  .hero {
    min-height: auto !important;
    background: none !important;
    padding: 20px 0 !important;
  }
  .page-hero img,
  .hero img,
  .hero video { display: none !important; }
  .page-hero h1,
  .hero h1 { color: #000 !important; }
  .page-hero h1 em,
  .hero h1 em { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  section { page-break-inside: avoid; padding: 20px 0 !important; }
  h2, h3 { page-break-after: avoid; }
  img { max-width: 100% !important; page-break-inside: avoid; }
}

/* ============================================================
   === RESPONSIVE DEEP-SWEEP                                 ===
   ============================================================ */

/* --- Touch targets: min 44x44 auf Mobile --- */
@media (max-width: 768px) {
  a.btn,
  button,
  .nav a,
  .footer a,
  .faq-item summary,
  .accordion-trigger {
    min-height: 44px;
  }
  .btn { padding-top: 12px; padding-bottom: 12px; }
}

/* --- Sehr kleine Phones (360px) --- */
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  /* container padding via --gutter clamp */
  .hero h1,
  .hero-title,
  .page-hero h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.2rem) !important;
    line-height: 1.15;
    word-break: break-word;
    hyphens: auto;
  }
  .hero p,
  .page-hero p { font-size: 0.95rem; }
  .btn { font-size: 0.85rem; padding: 12px 18px; }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem) !important; }
}

/* --- Landscape Mobile (max-height 480px) Burger-Menu Scroll-Fix --- */
@media (max-height: 500px) and (max-width: 900px) {
  .mobile-nav,
  .nav-overlay,
  .menu-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
  }
  .mobile-nav ul { padding-bottom: 40px; }
}

/* --- Tablet Zwischenzone 768-900: Grids nicht prematurely kollabieren --- */
@media (min-width: 700px) and (max-width: 900px) {
  .leistungen-grid,
  .svc-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Sehr große Screens: container nicht überlaufen --- */
@media (min-width: 1600px) {
  .container { max-width: 1280px; }
  .hero-title,
  .hero h1 { font-size: clamp(3rem, 4vw, 4.4rem); }
}

/* --- Forms responsive (online-anmeldung, anamnesebogen) --- */
@media (max-width: 768px) {
  form .form-row,
  form .row,
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  form input,
  form select,
  form textarea {
    font-size: 16px; /* prevent iOS zoom */
    width: 100%;
    padding: 14px 16px;
    min-height: 48px;
  }
  form label { font-size: 0.92rem; margin-bottom: 6px; display: block; }
  form button[type="submit"] { width: 100%; min-height: 52px; }
}

/* --- Tables (preise) Mobile-Stacking --- */
@media (max-width: 700px) {
  table.responsive-table,
  .preise-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .preise-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* --- Galerie / Praxis: masonry-responsive --- */
@media (max-width: 900px) {
  .gallery,
  .praxis-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .gallery,
  .praxis-gallery {
    grid-template-columns: 1fr !important;
  }
}

/* --- FAQ Accordion: Pfeil-Icons auf Mobile sichtbar --- */
@media (max-width: 700px) {
  .faq-item summary,
  details summary {
    padding-right: 44px;
    position: relative;
    font-size: 0.98rem;
    line-height: 1.4;
  }
  .faq-item summary::after,
  details summary::after {
    right: 14px;
  }
}

/* --- Timeline ablauf: vertikal auf Mobile --- */
@media (max-width: 768px) {
  .timeline,
  .ablauf-timeline {
    grid-template-columns: 1fr !important;
  }
  .timeline-item,
  .ablauf-step {
    padding-left: 50px;
    position: relative;
  }
}

/* --- Leistungen-Hub Cards --- */
@media (max-width: 900px) and (min-width: 600px) {
  .leistungen-hub .grid,
  .leistungen-overview {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 599px) {
  .leistungen-hub .grid,
  .leistungen-overview {
    grid-template-columns: 1fr !important;
  }
}

/* --- Horizontal-scroll Schutz: in :root html/body bei Zeile 70/79 gesetzt --- */

/* --- Reduce motion respect für Polish --- */
@media (prefers-reduced-motion: reduce) {
  .split-img img,
  .treat img,
  .svc img {
    transition: none !important;
  }
  .split-img:hover img,
  .treat:hover img,
  .svc:hover img {
    transform: none !important;
  }
}

/* =============================================
   HERO SLIDER — Full-Width Layout
   Klassen .hero-vignette/.hero-stats*/.hero-btn-*/.hero-micro-trust/
   .hero-scroll-down sind aus dem DOM entfernt — keine Regeln nötig.
   ============================================= */

.hero-layout { display: block; }
.hero-inner { max-width: 720px; }

/* Hero-Dots wieder richtig positioniert (unten rechts Desktop) */
.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 48px;
  left: auto;
  transform: none;
  z-index: 10;
  display: flex;
  gap: 10px;
}
@media (max-width: 900px) {
  .hero-dots { bottom: 32px; right: 24px; }
}
@media (max-width: 560px) {
  .hero-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 32px; }
}

/* Slider-Image Zoom-Animation verstärken */
.hero-slide img {
  transform: scale(1.08);
}
.hero-slide.active img {
  animation: heroZoomSlow 10s ease-out forwards;
}
@keyframes heroZoomSlow {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

/* =============================================
   HERO SLIDER BULLETPROOF FIX
   Override der .hero > * Regel die die Slides kaputt machte
   ============================================= */

/* Slider + Overlay müssen absolute bleiben, nicht durch .hero > * überschrieben */
.hero > .hero-slider,
section.hero > .hero-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.hero > .hero-slider .hero-slide,
section.hero .hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero > .hero-slider .hero-slide.active,
section.hero .hero-slide.active {
  opacity: 1;
}

.hero > .hero-slider .hero-slide img,
section.hero .hero-slide img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Overlay ebenfalls absolute */
.hero > .hero-overlay,
section.hero > .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none;
}

/* Hero Body + Container bleiben über Overlay */
.hero > .hero-body,
.hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Hero Dots ganz oben */
.hero > .hero-dots,
section.hero > .hero-dots {
  z-index: 10 !important;
}

/* Hero section muss volle Höhe behalten damit Content nicht kollabiert */
section.hero {
  position: relative !important;
  min-height: 700px !important;
  height: 100svh !important;
  max-height: 900px;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #0a0e08;
}
@media (max-width: 768px) {
  section.hero {
    min-height: 620px !important;
    height: auto !important;
    max-height: none;
  }
}

/* Das Noise-Overlay aus den Design-Tokens (::before) soll nicht
   die Bilder abdecken */
.hero::before {
  z-index: 1 !important;
  pointer-events: none;
}

/* =============================================
   HERO-TITLE EM — BULLETPROOF GOLD
   Ersetzt den gebrochenen Gradient-Text-Clip
   ============================================= */
.hero-title em,
.hero h1 em,
.hero-body h1 em,
section.hero h1 em {
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #E8CD8F !important;
  color: #E8CD8F !important;
  font-style: italic !important;
  font-weight: 700 !important;
  display: inline !important;
  padding: 0 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Page-Hero Overlay + ::after konsolidiert in HERO OVERLAY FINAL PASS (unten) */

/* =============================================
   HEADER DROPDOWN-NAV (neu)
   ============================================= */

/* Desktop Nav Menu — nur oberhalb der Burger-Breakpoint */
@media (min-width: 961px) {
  .primary-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item .nav-link,
.nav-item .nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  position: relative;
  white-space: nowrap;
}

.nav-item .nav-link::after,
.nav-item .nav-link-btn::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  opacity: 0.6;
}
.nav-item:hover .nav-link,
.nav-item:hover .nav-link-btn,
.nav-item.open .nav-link-btn {
  color: var(--sand);
}
.nav-item .nav-link:focus-visible,
.nav-item .nav-link-btn:focus-visible {
  color: var(--sand);
  outline: 2px solid var(--sand);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav-item:hover .nav-link::after,
.nav-item:hover .nav-link-btn::after,
.nav-item.open .nav-link-btn::after {
  transform: scaleX(1);
}

/* Header scrolled state: text dark */
.header.scrolled .nav-link,
.header.scrolled .nav-link-btn {
  color: var(--text) !important;
}
.header.scrolled .nav-item:hover .nav-link,
.header.scrolled .nav-item:hover .nav-link-btn,
.header.scrolled .nav-item.open .nav-link-btn {
  color: var(--sage) !important;
}

/* Chevron rotation */
.nav-chev {
  transition: transform 0.3s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.nav-item:hover .nav-chev,
.nav-item.open .nav-chev {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(92,107,74,0.12);
  border-radius: 16px;
  padding: 14px 8px;
  box-shadow: 0 30px 80px rgba(10,14,8,0.22), 0 8px 24px rgba(10,14,8,0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              transform 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              visibility 0s linear 0.28s;
  z-index: 2000;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(92,107,74,0.12);
  border-left: 1px solid rgba(92,107,74,0.12);
}

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              transform 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              visibility 0s linear 0s;
}

.nav-dropdown a {
  display: block;
  padding: 13px 18px;
  min-height: 44px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s, padding-left 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  white-space: normal;
  position: relative;
}
.nav-dropdown a::before {
  content: "→";
  position: absolute;
  left: 6px;
  opacity: 0;
  color: var(--sage);
  transition: opacity 0.2s, left 0.28s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(92,107,74,0.08);
  color: var(--sage-dark);
  padding-left: 30px;
  outline: none;
}
.nav-dropdown a:hover::before,
.nav-dropdown a:focus-visible::before {
  opacity: 1;
  left: 12px;
}

/* Mega Dropdown (Leistungen) */
.nav-dropdown-mega {
  min-width: min(1080px, 92vw);
  max-width: 90vw;
  padding: 28px 28px 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
}
/* Pin mega dropdown so it stays in viewport */
.nav-item.has-dropdown:nth-child(1) .nav-dropdown-mega {
  /* First item: align left */
  left: 0;
  transform: translateX(0) translateY(-10px);
}
.nav-item.has-dropdown:nth-child(1):hover .nav-dropdown-mega,
.nav-item.has-dropdown:nth-child(1).open .nav-dropdown-mega,
.nav-item.has-dropdown:nth-child(1):focus-within .nav-dropdown-mega {
  transform: translateX(0) translateY(0);
}
.nav-item.has-dropdown:nth-child(1) .nav-dropdown-mega::before {
  left: 38px;
  transform: rotate(45deg);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 20px;
}
.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-head {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 0 18px 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(92,107,74,0.1);
}
.nav-dropdown-mega a {
  padding: 9px 18px;
  font-size: 0.85rem;
  white-space: normal;
}
.nav-dropdown-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(92,107,74,0.1);
  text-align: center;
}
.nav-dropdown-all {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 28px !important;
  background: var(--sage) !important;
  color: #fff !important;
  border-radius: 100px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding-left: 28px !important;
}
.nav-dropdown-all:hover {
  background: var(--sage-dark) !important;
  padding-left: 28px !important;
  transform: translateY(-2px);
}
.nav-dropdown-all::before { display: none !important; }

/* Tablet: mega drops to 3 cols */
@media (max-width: 1280px) {
  .nav-dropdown-mega { min-width: 760px; }
  .nav-dropdown-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav-dropdown-mega { min-width: 620px; }
  .nav-dropdown-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile burger nav: accordion dropdowns — nav-menu-Layout in @media (max-width: 960px) oben */
@media (max-width: 960px) {
  .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(92,107,74,0.12);
  }
  .nav-item .nav-link,
  .nav-item .nav-link-btn {
    width: 100%;
    justify-content: space-between;
    padding: 18px 4px;
    color: var(--text) !important;
    font-size: 1rem;
  }
  .nav-item .nav-link::after,
  .nav-item .nav-link-btn::after { display: none; }

  .nav-dropdown,
  .nav-dropdown-mega {
    position: static;
    transform: none !important;
    min-width: 100% !important;
    max-width: 100% !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 16px;
    margin: 0;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
                visibility 0s linear 0.4s,
                padding 0.4s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  }
  .nav-dropdown::before { display: none; }
  .nav-item.open .nav-dropdown,
  .nav-item.open .nav-dropdown-mega {
    visibility: visible;
    pointer-events: auto;
    max-height: 2000px;
    padding: 0 0 16px;
    transition: max-height 0.55s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
                visibility 0s linear 0s,
                padding 0.4s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  }
  /* Disable hover-open on mobile (only click) */
  .nav-item:not(.open):hover .nav-dropdown {
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }
  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav-dropdown-col { border: none; }
  .nav-dropdown-head {
    padding: 12px 16px 4px;
    font-size: 0.68rem;
  }
  .nav-dropdown a {
    padding: 10px 16px;
    font-size: 0.92rem;
    white-space: normal;
  }
  .nav-dropdown a:hover { padding-left: 16px; }
  .nav-dropdown-foot { padding-top: 16px; margin-top: 16px; text-align: left; padding-left: 8px; }
  .nav-cta-btn {
    margin-top: 16px;
    justify-content: center;
    background: var(--sage) !important;
    color: #fff !important;
  }
}

/* =============================================
   MANUAL FINESSEN — Hero-Lesbarkeit, Breadcrumbs
   ============================================= */

/* Hero-Title + Desc Drop-Shadow für bessere Lesbarkeit auf Bildern */
.hero-title {
  text-shadow: 0 2px 30px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35);
}
.hero-desc {
  text-shadow: 0 1px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.hero-tag {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Page-Hero H1 + breadcrumb ebenfalls */
.page-hero h1 {
  text-shadow: 0 3px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
}
.page-hero .breadcrumb,
.page-hero-body > p {
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
  color: rgba(255,255,255,0.92) !important;
}
.page-hero .breadcrumb a:hover {
  color: var(--sand) !important;
}
.page-hero .breadcrumb-sep {
  color: rgba(255,255,255,0.5) !important;
}

/* Hero-Dots aktiv-state subtle glow */
.hero-dot.active {
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* Nav-cta-btn im transparenten Header: outline white */
.header:not(.scrolled) .nav-cta-btn {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
}
.header:not(.scrolled) .nav-cta-btn:hover {
  background: var(--sand) !important;
  border-color: var(--sand) !important;
  color: #fff !important;
}

/* Header scrolled state: bg weiß/cream + shadow */
.header.scrolled {
  background: rgba(251,250,246,0.95) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 4px 24px rgba(20,24,16,0.08);
  border-bottom: 1px solid rgba(92,107,74,0.08);
}
.header.scrolled .nav-cta-btn {
  background: var(--sage) !important;
  color: #fff !important;
  border: none !important;
}
.header.scrolled .nav-cta-btn:hover {
  background: var(--sand) !important;
}

/* =============================================================
   FINAL POLISH — additiv, harmonisiert Typo, Spacing, Cards,
   Buttons, Forms, Links, Dropdowns, Footer, Micro-details.
   Greift NICHT in Hero-Slider-Bulletproof-Regeln ein.
   ============================================================= */

/* ---- 1. Typographie-Harmonie ----------------------------- */
.page-content p,
.page-content li,
article p,
article li,
.prose p,
.prose li {
  line-height: 1.78;
}
.page-content h2,
article h2,
.prose h2 {
  line-height: 1.15;
  letter-spacing: -0.032em;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}
.page-content h3,
article h3,
.prose h3 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
  margin-top: 1.3em;
  margin-bottom: 0.55em;
}
.page-content h4,
article h4,
.prose h4 {
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}
.page-content p + p,
article p + p,
.prose p + p { margin-top: 1em; }
.page-content p + h3,
article p + h3,
.prose p + h3 { margin-top: 1.6em; }

.page-content strong,
article strong,
.prose strong { font-weight: 600; }

.eyebrow, .label, .section-eyebrow, .tag-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- 2. Vertical Rhythm / Spacing polish ----------------- */
.svc-grid,
.treat-grid,
.cards-grid,
.grid-cards,
.feature-grid { gap: clamp(20px, 2.4vw, 32px); }

/* ---- 3. Cards & Boxes: konsistente Radien + soft shadow -- */
.card, .svc, .treat, .info-box, .feature-card, .team-card, .testimonial, .price-card, .blog-card {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.5s var(--ease-premium),
    box-shadow 0.5s var(--ease-premium),
    border-color 0.4s var(--ease-premium);
}
.card:hover, .svc:hover, .treat:hover, .feature-card:hover, .team-card:hover, .price-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lux);
}

/* Image-hover zoom harmonized */
.svc img, .treat img, .split-img img, .blog-card img, .team-card img {
  transition: transform 0.9s var(--ease-premium);
}
.svc:hover img, .treat:hover img, .split-img:hover img, .blog-card:hover img, .team-card:hover img {
  transform: scale(1.045);
}

/* ---- 4. Button-Konsistenz -------------------------------- */
.pill, .pill-sage, .pill-outline, .pill-white, .pill-outline-white, .hero-btn, .nav-cta-btn, .btn, .button {
  min-height: 48px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background 0.35s var(--ease-premium),
    color 0.35s var(--ease-premium),
    border-color 0.35s var(--ease-premium),
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}
.pill svg, .pill-sage svg, .pill-outline svg, .pill-white svg,
.hero-btn svg, .nav-cta-btn svg, .btn svg, .button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.pill:hover, .pill-sage:hover, .hero-btn:hover, .btn:hover, .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30,40,20,0.14);
}
.pill:active, .pill-sage:active, .hero-btn:active, .btn:active, .button:active {
  transform: translateY(0);
}
@media (max-width: 640px) {
  .pill, .pill-sage, .pill-outline, .pill-white, .pill-outline-white, .hero-btn, .nav-cta-btn, .btn, .button {
    min-height: 52px;
  }
}

/* ---- 5. Focus-Visible: Block wurde mit Z ~3072 konsolidiert. ------------ */

/* ---- 6. Inline-Link-Style im Fließtext ------------------- */
.page-content p a:not([class]),
.page-content li a:not([class]),
article p a:not([class]),
article li a:not([class]),
.prose p a:not([class]),
.prose li a:not([class]) {
  color: var(--sage);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(94,114,80,0.45);
  transition: color 0.25s var(--ease-premium), text-decoration-color 0.25s var(--ease-premium), text-decoration-thickness 0.2s var(--ease-premium);
}
.page-content p a:not([class]):hover,
.page-content li a:not([class]):hover,
article p a:not([class]):hover,
article li a:not([class]):hover,
.prose p a:not([class]):hover,
.prose li a:not([class]):hover {
  color: var(--sage-dark);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--sage-dark);
}

/* ---- 7. Form-Polish -------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}
textarea { min-height: 140px; padding-top: 14px; resize: vertical; }
input::placeholder, textarea::placeholder {
  color: rgba(74,74,68,0.5);
  font-weight: 400;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(94,114,80,0.12);
}
label {
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
}

/* Custom Radio / Checkbox mit sage-fill */
input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-premium), background 0.25s var(--ease-premium);
  vertical-align: middle;
  flex: 0 0 auto;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"] { border-radius: 5px; }
input[type="radio"]:hover,
input[type="checkbox"]:hover { border-color: var(--sage); }
input[type="radio"]:checked,
input[type="checkbox"]:checked {
  border-color: var(--sage);
  background: var(--sage);
}
input[type="radio"]:checked {
  box-shadow: inset 0 0 0 4px #fff;
}
input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8.5l3.5 3.5L13 5'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* ---- 9. Footer-Polish ------------------------------------ */
.footer-brand-text { line-height: 1.7; }
.footer-list a {
  display: inline-block;
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}
.footer-list a:hover {
  color: var(--sage-muted);
  transform: translateX(4px);
}

/* ---- 10. Micro-details ----------------------------------- */
/* Konstantin-Regel: kein Trennstrich — wenn <hr> doch im Markup landet,
   nur als unsichtbarer Whitespace-Anker, keine Linie. */
hr {
  border: none;
  height: 0;
  background: transparent;
  margin: 3em 0;
}
blockquote {
  border-left: 3px solid var(--sand);
  padding: 0.4em 0 0.4em 1.4em;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---- 11. Header-Dropdown micro-polish -------------------- */
@media (min-width: 1101px) {
  .nav-dropdown-grid .nav-dropdown-col + .nav-dropdown-col {
    position: relative;
  }
  .nav-dropdown-grid .nav-dropdown-col + .nav-dropdown-col::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: -10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(94,114,80,0.12) 20%, rgba(94,114,80,0.12) 80%, transparent);
    pointer-events: none;
  }
}
.nav-dropdown a {
  transition: background 0.25s var(--ease-premium),
              color 0.25s var(--ease-premium),
              padding-left 0.32s var(--ease-premium);
}

/* ---- Reduced motion respect ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .card, .svc, .treat, .feature-card, .team-card, .price-card, .blog-card,
  .pill, .pill-sage, .hero-btn, .nav-cta-btn, .btn, .button,
  .footer-list a, .svc img, .treat img, .split-img img {
    transition: none !important;
    transform: none !important;
  }
}
/* === /FINAL POLISH === */

/* =============================================
   FIX: Nav-Dropdown Hover-Gap
   Der 12px-Abstand zwischen Button und Dropdown
   hat den Hover abgebrochen. Jetzt Brücke einfügen.
   ============================================= */

/* Dropdown direkt am Button andocken, kein Gap mehr */
.nav-item.has-dropdown .nav-dropdown {
  top: 100% !important;
  margin-top: 0 !important;
}

/* Invisible Hover-Brücke: pseudo-element am Dropdown,
   das den Bereich zwischen Button und Dropdown einnimmt */
.nav-item.has-dropdown .nav-dropdown::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

/* Padding am nav-item damit der nav-link-btn eine
   größere hover-trigger-zone hat, kein Abreißen */
.primary-nav .nav-item.has-dropdown {
  padding-bottom: 0;
}

/* Transition beim Schließen verzögert damit ein kurzes
   Mouse-Leave verziehen wird */
.nav-item.has-dropdown .nav-dropdown {
  transition: opacity 0.25s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              transform 0.25s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              visibility 0s linear 0.25s !important;
  transition-delay: 0s, 0s, 0.25s !important;
}

/* Beim Öffnen schneller reagieren */
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  transition: opacity 0.2s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              transform 0.2s var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              visibility 0s linear 0s !important;
}

/* Pfeil (::before) nach oben versetzen damit er an den Button anschließt */
.nav-item.has-dropdown .nav-dropdown::before {
  top: -6px;
}

/* Stelle sicher dass der Dropdown selbst pointer-events empfängt
   auch während Opacity-Transition */
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  pointer-events: auto !important;
}

/* Auf Mobile (Burger-Menü): keine hover-bridge nötig,
   Pseudo-element ausblenden */
@media (max-width: 900px) {
  .nav-item.has-dropdown .nav-dropdown::after {
    display: none;
  }
}

/* =====================================================
 * Universal Service-Page Components
 * (page-stats, page-pillars, page-process, page-indi,
 *  page-history) — wiederverwendbar auf allen Leistungs-
 *  und Themenseiten. Vorher dent-* (Dentosophie-only).
 * ===================================================== */

/* Stats-Reihe — vier Kennzahl-Kacheln */
.page-stats { padding: 4rem 0 1rem; background: var(--warm-white); }
.page-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.page-stat { text-align: center; padding: 1.6rem 1rem; background: #fff; border: 1px solid #e5e3dc; border-radius: 10px; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 2px 12px rgba(92,107,74,0.04); transition: transform .25s ease, box-shadow .25s ease; }
.page-stat:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(92,107,74,0.10); }
.page-stat-num { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--sage); line-height: 1; }
.page-stat-lbl { font-size: .92rem; color: #555; line-height: 1.4; }
@media (max-width: 480px) { .page-stat-num { font-size: 1.9rem; } }

/* Pillars / Säulen — nummerierte Karten in Grid */
.page-pillars { margin: 4rem 0; padding: 3rem 2rem; background: linear-gradient(180deg, var(--warm-white) 0%, #f3f1e9 100%); border-radius: 14px; }
.page-pillars-head { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; }
.page-pillars-head h2 { font-family: 'Quicksand', sans-serif; color: var(--text); margin: .4rem 0 .8rem; }
.page-pillars-sub { color: var(--text-soft); font-size: 1rem; line-height: 1.65; }
.page-pillar-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.page-pillar { display: flex; gap: 1.1rem; padding: 1.4rem; background: #fff; border: 1px solid #e5e3dc; border-radius: 10px; align-items: flex-start; transition: transform .25s ease, box-shadow .25s ease; }
.page-pillar:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(92,107,74,0.08); }
.page-pillar-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem; }
.page-pillar h3 { font-family: 'Quicksand', sans-serif; font-size: 1.15rem; color: var(--sage); margin: .1rem 0 .4rem; }
.page-pillar p { color: var(--text-soft); font-size: .94rem; line-height: 1.6; margin: 0; }
@media (max-width: 800px) { .page-pillar-list { grid-template-columns: 1fr; } .page-pillars { padding: 2rem 1.2rem; } }

/* Process / Ablauf — Timeline mit Kreis-Nummern */
.page-process { margin: 4rem 0; }
.page-process-head { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; }
.page-process-head h2 { font-family: 'Quicksand', sans-serif; color: var(--text); margin: .4rem 0 .8rem; }
.page-process-sub { color: var(--text-soft); line-height: 1.65; }
.page-process-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; }
.page-process-step { position: relative; padding-left: 110px; margin-bottom: 38px; }
.page-process-step:last-child { margin-bottom: 0; }
.page-process-num { position: absolute; left: 0; top: 0; width: 78px; height: 78px; border-radius: 50%; background: var(--warm-white); border: 3px solid var(--sage); display: flex; align-items: center; justify-content: center; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--sage); box-shadow: 0 4px 16px rgba(92,107,74,0.12); }
.page-process-body h3 { font-family: 'Quicksand', sans-serif; color: var(--text); font-size: 1.2rem; margin: .6rem 0 .5rem; }
.page-process-body p { color: var(--text-soft); line-height: 1.65; margin: 0; }
@media (max-width: 640px) { .page-process-step { padding-left: 76px; } .page-process-num { width: 58px; height: 58px; font-size: 1.05rem; } }

/* Indikationen / Zwei-Spalten-Karten mit Bullet-Listen */
.page-indi { margin: 4rem 0; }
.page-indi-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.page-indi-head h2 { font-family: 'Quicksand', sans-serif; color: var(--text); margin: .4rem 0 0; }
.page-indi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.page-indi-card { background: #fff; border: 1px solid #e5e3dc; border-radius: 12px; padding: 2rem 1.8rem; box-shadow: 0 2px 14px rgba(92,107,74,0.05); transition: transform .25s ease, box-shadow .25s ease; }
.page-indi-card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(92,107,74,0.10); }
.page-indi-icon { width: 52px; height: 52px; border-radius: 50%; background: #EEF1E8; color: var(--sage); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.page-indi-icon svg { width: 28px; height: 28px; }
.page-indi-card h3 { font-family: 'Quicksand', sans-serif; color: var(--sage); font-size: 1.25rem; margin: 0 0 1rem; }
.page-indi-list { list-style: none; padding: 0; margin: 0; }
.page-indi-list li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid #f0eee5; color: #2c2c25; font-size: .96rem; position: relative; }
.page-indi-list li:last-child { border-bottom: none; }
.page-indi-list li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
@media (max-width: 800px) { .page-indi-grid { grid-template-columns: 1fr; } }

/* History / Hintergrund-Quote-Card */
.page-history { margin: 4rem 0 2rem; }
.page-history-inner { max-width: 820px; margin: 0 auto; padding: 2.6rem 2.4rem; background: #fff; border-left: 4px solid var(--sand); border-radius: 6px; box-shadow: 0 2px 18px rgba(0,0,0,0.04); }
.page-history-inner h2 { font-family: 'Quicksand', sans-serif; color: var(--text); margin: .4rem 0 1rem; }
.page-history-inner p { color: #2c2c25; line-height: 1.75; margin: 0 0 .9rem; }
.page-history-inner p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .page-history-inner { padding: 1.8rem 1.4rem; } }

/* Backwards-compat: alte dent-* Klassen aliasen (keep working, no overrides) */

/* =================================================================
   DESIGN-MAX LAYER (2026-04-13)
   Globale visuelle Aufwertung über bestehende Klassen.
   Wirkt auf alle 92 Seiten ohne HTML-Änderungen.
   (::selection siehe Block Q oben)
   ================================================================= */

html { scroll-padding-top: 100px; }

body {
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(201,169,110,0.06), transparent 60%),
    radial-gradient(ellipse 1000px 500px at 100% 30%, rgba(94,114,80,0.04), transparent 50%),
    var(--warm-white);
}

/* ---------- Typography max ---------- */
h1, h2, h3 { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; }

h2 {
  position: relative;
  letter-spacing: -0.038em;
}

.page-content h2:not(.page-process-head h2):not(.page-indi-head h2):not(.faq h2)::after,
.split-section .split-text h2::after,
section.features > .container > h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--sand) 0%, var(--sand-light) 100%);
  border-radius: 2px;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(201,169,110,0.25);
}

/* ---------- Sec-Label premium ---------- */
.sec-label {
  position: relative;
  font-size: 0.72rem !important;
  letter-spacing: 0.28em !important;
  color: var(--sage) !important;
}
.sec-label::before {
  width: 28px !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--sand), transparent) !important;
  opacity: 1 !important;
  border-radius: 2px;
}

/* ---------- Intro text — drop-cap accent ---------- */
.intro-text {
  font-weight: 500;
  font-size: clamp(1.25rem, 2.7vw, 1.95rem);
  line-height: 1.5;
  color: #2D361F;
  padding: 32px 0;
  position: relative;
}
.intro-text::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  border-radius: 2px;
}
.intro-text em {
  background: linear-gradient(180deg, transparent 60%, rgba(201,169,110,0.35) 60%, rgba(201,169,110,0.35) 92%, transparent 92%);
  padding: 0 2px;
}
.intro-text em::after { display: none; }

/* ---------- Page-Hero — depth, ornaments, premium overlay ----------
   .page-hero::after + .hero-overlay konsolidiert: HERO OVERLAY FINAL PASS (unten) */
.page-hero {
  position: relative;
  isolation: isolate;
}
.page-hero img,
.page-hero > img:first-child {
  filter: brightness(0.95) saturate(1.05) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-premium);
}
.page-hero:hover img,
.page-hero:hover > img:first-child {
  transform: scale(1.05);
}
.page-hero-body {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.5rem) !important;
  letter-spacing: -0.04em !important;
  text-shadow: 0 4px 32px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  line-height: 1.05 !important;
  font-weight: 700 !important;
}
.page-hero h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--sand) 0%, var(--sand-light) 100%);
  border-radius: 2px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(201,169,110,0.4);
}
.page-hero .breadcrumb {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.page-hero .breadcrumb a,
.page-hero .breadcrumb span { color: rgba(255,255,255,0.92); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.5); }

/* Hero ornament corner accent */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background:
    linear-gradient(180deg, transparent, var(--warm-white)),
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(201,169,110,0.15), transparent);
  z-index: 3;
  pointer-events: none;
}

/* ---------- Split-Section premium image frames ---------- */
.split-section .split-img,
.split .split-img {
  position: relative;
  padding: 14px;
}
.split-section .split-img::before,
.split .split-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 22px;
  pointer-events: none;
}
.split-section .split-img::after,
.split .split-img::after {
  content: '';
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--sand), var(--sand-light));
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.6;
  z-index: -1;
}
.split-section .split-img img,
.split .split-img img {
  border-radius: 18px;
  transition: transform 0.8s var(--ease-premium), filter 0.6s ease;
  filter: saturate(1.05);
}
.split-section .split-img:hover img,
.split .split-img:hover img {
  transform: scale(1.025);
  filter: saturate(1.15) brightness(1.03);
}

/* ---------- Page-Stats — gradient numerals ---------- */
.page-stats {
  position: relative;
  padding: 60px 0;
}
.page-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1100px;
  margin: 0 auto;
}
.page-stat {
  text-align: center;
  padding: 28px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(247,249,243,0.7));
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s ease, border-color 0.4s ease;
}
.page-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.page-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(20,24,16,0.10);
  border-color: rgba(201,169,110,0.45);
}
.page-stat:hover::before { opacity: 1; }
.page-stat-num {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.page-stat-lbl {
  display: block;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
  font-weight: 500;
}
/* page-stats-grid: auto-fit, kein Breakpoint nötig */

/* ---------- Process Steps — connecting line + premium num ---------- */
.page-process { padding: 100px 0; position: relative; }
.page-process-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.page-process-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 12px 0 14px;
}
.page-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.page-process-list::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201,169,110,0.5), rgba(94,114,80,0.3), transparent);
}
.page-process-step {
  position: relative;
  margin-bottom: 38px;
  background: linear-gradient(135deg, #fff 0%, var(--warm-white) 100%);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 18px;
  padding: 28px 32px 28px 110px;
  box-shadow: 0 10px 30px rgba(20,24,16,0.04);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s ease;
}
.page-process-step:hover {
  transform: translateX(6px);
  box-shadow: 0 20px 50px rgba(20,24,16,0.10);
}
.page-process-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border: none;
  color: #fff;
  font-size: 1.4rem;
  left: 14px;
  top: 22px;
  box-shadow: 0 12px 30px rgba(63,82,52,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.page-process-step h3 {
  color: var(--text);
  font-size: 1.25rem;
}

/* ---------- Indikationen Cards premium ---------- */
.page-indi-card {
  background: linear-gradient(135deg, #fff 0%, var(--warm-white) 100%);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  box-shadow: 0 12px 36px rgba(20,24,16,0.05);
  position: relative;
  overflow: hidden;
}
.page-indi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sand), var(--sand-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.page-indi-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(20,24,16,0.12); }
.page-indi-card:hover::before { opacity: 1; }
.page-indi-icon {
  background: linear-gradient(135deg, var(--sage-pale), #DCE4D5);
  width: 60px;
  height: 60px;
  box-shadow: 0 8px 20px rgba(94,114,80,0.15);
}

/* ---------- Features cards (Leistungs-Seiten) ---------- */
.features-grid .feat,
.page-content .features > .feat {
  background: linear-gradient(135deg, #fff 0%, var(--warm-white) 100%);
  border-color: rgba(201,169,110,0.18);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.features-grid .feat::before,
.page-content .features > .feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), var(--sand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-premium);
}
.features-grid .feat:hover::before,
.page-content .features > .feat:hover::before { transform: scaleX(1); }
.features-grid .feat:hover,
.page-content .features > .feat:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(20,24,16,0.10);
  border-color: rgba(201,169,110,0.4);
}
.feat-icon {
  background: linear-gradient(135deg, var(--sage-pale), #DCE4D5);
  box-shadow: 0 8px 20px rgba(94,114,80,0.12);
}
.feat:hover .feat-icon {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
}

/* ---------- CTA Section — premium with decorative shapes ---------- */
.cta { padding: 120px 0; }
.cta-wrap {
  background: linear-gradient(135deg, var(--sage-dark) 0%, #2A3823 60%, #1F2A1A 100%);
  padding: 80px 60px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(20,28,16,0.25);
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.25), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-wrap::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(122,142,108,0.3), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-wrap > * { position: relative; z-index: 1; }
.cta-wrap .sec-label {
  color: var(--sand);
  justify-content: center;
}
.cta-wrap .sec-label::before { background: linear-gradient(90deg, var(--sand), transparent); }
.cta-wrap .sec-label::after { background: linear-gradient(90deg, transparent, var(--sand)); flex: 1; }
.cta-wrap h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin: 16px 0 18px;
}
.cta-wrap h2::after { display: none; }
.cta-wrap p {
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.cta-btns { justify-content: center; gap: 16px; flex-wrap: wrap; display: flex; }
.cta .pill-white,
.cta-btns .pill-white {
  background: #fff;
  color: #2A3823;
  padding: 18px 36px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.4s var(--ease-premium);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.cta .pill-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 4px rgba(201,169,110,0.3);
  background: var(--sand);
  color: #fff;
}
.cta .pill-outline-white,
.cta-btns .pill-outline-white {
  background: transparent;
  color: #fff;
  padding: 18px 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s var(--ease-premium);
}
.cta .pill-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--sand);
  transform: translateY(-3px);
}

/* ---------- FAQ premium accordion ---------- */
.faq { padding: 100px 0; background: linear-gradient(180deg, var(--warm-white), var(--cream)); }
.faq h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 12px 0 40px;
}
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-premium);
}
.faq-item:hover {
  box-shadow: 0 16px 40px rgba(20,24,16,0.06);
  border-color: rgba(201,169,110,0.35);
}
.faq-item[open] {
  box-shadow: 0 20px 50px rgba(20,24,16,0.08);
  border-color: rgba(201,169,110,0.5);
}
.faq-q {
  padding: 22px 28px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
  transition: color 0.3s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--sage-pale), #DCE4D5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sage);
  font-weight: 400;
  transition: all 0.4s var(--ease-premium);
}
.faq-item[open] .faq-q::after {
  content: '−';
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item[open] .faq-q { color: var(--sage); }
.faq-a {
  padding: 0 28px 24px 28px;
  color: var(--text-soft);
  line-height: 1.75;
  border-top: 1px solid rgba(201,169,110,0.15);
  margin-top: -1px;
  padding-top: 22px;
}
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 12px; }

/* ---------- Related Topics / Cards ---------- */
.related-topics { padding: 80px 0; }
.related-topics h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 36px;
}
.related-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(201,169,110,0.2);
  background: linear-gradient(135deg, #fff, var(--warm-white));
  padding: 1.8rem 1.7rem;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s ease, border-color 0.4s ease;
}
.related-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sand), var(--sand-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-premium);
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(20,24,16,0.10);
  border-color: rgba(201,169,110,0.5);
}
.related-card:hover::before { transform: scaleY(1); }

/* ---------- Page-History premium ---------- */
.page-history-inner {
  border-left-width: 5px;
  border-radius: 0 18px 18px 0;
  padding: 3rem 3rem;
  box-shadow: 0 20px 50px rgba(20,24,16,0.06);
  background: linear-gradient(135deg, #fff 0%, var(--warm-white) 100%);
  position: relative;
}
.page-history-inner::before {
  content: '"';
  position: absolute;
  top: 18px; right: 28px;
  font-family: Georgia, serif;
  font-size: 6rem;
  color: rgba(201,169,110,0.18);
  line-height: 1;
}

/* ---------- LST Cards (Leistungs-Übersicht) ---------- */
.lst-card {
  border-radius: 18px;
  border: 1px solid rgba(201,169,110,0.18);
  background: linear-gradient(135deg, #fff, var(--warm-white));
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.lst-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,169,110,0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.lst-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(20,24,16,0.10);
  border-color: rgba(201,169,110,0.5);
}
.lst-card:hover::after { opacity: 1; }

/* ---------- Buttons (pills) global polish ---------- */
.pill, .pill-sage, .pill-outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.nav-cta-btn {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border: none;
  box-shadow: 0 8px 20px rgba(63,82,52,0.25);
  transition: all 0.4s var(--ease-premium);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63,82,52,0.4);
  background: linear-gradient(135deg, var(--sand), #B89858);
}

/* ---------- Reveal animation upgrade ---------- */
.rv {
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
  transform: translateY(28px);
}
.rv.vis { transform: translateY(0); }

/* ---------- Footer subtle upgrade ---------- */
.footer { background: linear-gradient(180deg, #1F2A1A 0%, #14190E 100%); position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.4), transparent);
}

/* ---------- Section spacing (Konstantin-Regel: kein Trennstrich, nur Margin) ---------- */
.page-content > .container > .split + .split,
.page-content > .container > .split-section + .split-section {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 760px) {
  .cta-wrap { padding: 56px 28px !important; border-radius: 24px !important; }
  .page-process-step { padding: 24px 22px 24px 92px !important; }
  .page-process-num { width: 56px !important; height: 56px !important; font-size: 1.15rem !important; left: 12px !important; top: 18px !important; }
  .page-process-list::before { left: 39px; }
  .split-section .split-img,
  .split .split-img { padding: 8px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
}

/* Reduced motion: global rule lives at line ~2050 (universal selector).
   Block removed here to avoid duplication. */

/* =============================================
   HERO OVERLAY — FINAL DARKENING PASS
   Vereinheitlicht und verdunkelt alle Hero-Sections
   (Startseite + Unterseiten) für Lesbarkeit.
   ============================================= */

/* Page-Hero: kräftiger Dunkel-Gradient für Text-Kontrast */
section.page-hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(4,8,2,0.78) 0%,
      rgba(4,8,2,0.55) 28%,
      rgba(4,8,2,0.50) 55%,
      rgba(4,8,2,0.70) 82%,
      rgba(4,8,2,0.88) 100%),
    radial-gradient(ellipse 90% 75% at 50% 55%, transparent 25%, rgba(2,6,1,0.55) 100%);
}

/* Bild leicht entsättigt + dunkler, damit Überstrahlung verschwindet */
section.page-hero img,
.page-hero img,
.page-hero > img:first-child {
  filter: brightness(0.72) saturate(0.92) contrast(1.06);
}

/* Falls im Markup ein .hero-overlay existiert: sichtbar lassen + verdunkeln */
.page-hero .hero-overlay,
section.page-hero .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(4,8,2,0.55) 0%,
      rgba(4,8,2,0.32) 40%,
      rgba(4,8,2,0.30) 60%,
      rgba(4,8,2,0.58) 100%);
}

/* Startseiten-Hero (.hero) — Overlay moderat (war zu dunkel, Notiz #104 2026-05-14) */
section.hero .hero-overlay,
.hero > .hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(10,18,8,0.50) 0%,
      rgba(10,18,8,0.30) 30%,
      rgba(10,18,8,0.28) 55%,
      rgba(10,18,8,0.50) 85%,
      rgba(10,18,8,0.70) 100%);
}
section.hero img,
section.hero video,
.hero > img:first-child,
.hero > video:first-child {
  filter: brightness(0.88) saturate(0.96) contrast(1.04);
}

/* Extra Lesbarkeit: Titel & Breadcrumb bekommen kräftigeren Schatten */
.page-hero h1,
.hero h1,
.hero-title {
  text-shadow: 0 4px 28px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.55);
}
.page-hero-body p,
.page-hero .breadcrumb,
.hero p {
  text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
}

/* =============================================
   AUDIT-FIXES — Designschliff + Mobile + Kontrast
   ============================================= */

/* Services-Section-Padding: clamp() siehe weiter unten */

/* Nav-Link Kontrast auf dunklem Hero: 0.8 → 1.0 */
.header:not(.scrolled) .nav-link { color: #fff !important; }
.header:not(.scrolled) .nav-link:hover { color: var(--sand-light) !important; }

/* Mega-Dropdown: auf schmaleren Desktops nicht überlaufen lassen */
@media (max-width: 1180px) {
  .nav-dropdown-mega { min-width: min(760px, 92vw) !important; max-width: 92vw !important; }
}

/* Team-Profil-Grid: auf Handys einspaltig (Override für Inline-Style) */
@media (max-width: 720px) {
  div[style*="minmax(280px,360px)"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* Hero-Image auf kleinen Displays zentrieren (wichtige Gesichter nicht abschneiden) */
@media (max-width: 600px) {
  .page-hero img,
  .page-hero > img:first-child { object-position: 50% 40% !important; }
}

/* Form-Inputs: Premium-Defaults (vorher: Browser-Standard) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(92,107,74,0.22);
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 48px;
  transition: border-color 0.2s var(--ease, ease), box-shadow 0.2s var(--ease, ease), background 0.2s var(--ease, ease);
  -webkit-appearance: none;
  appearance: none;
}
textarea { min-height: 140px; resize: vertical; padding: 14px 16px; }
input::placeholder,
textarea::placeholder { color: rgba(0,0,0,0.42); }
input:hover,
select:hover,
textarea:hover { border-color: rgba(92,107,74,0.42); }
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(92,107,74,0.14);
  background: #FFFDF9;
}
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sage);
  min-height: auto;
}
label {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="search"],
  select,
  textarea { font-size: 16px; /* verhindert iOS-Zoom */ }
}

/* =============================================
   MAX-MOBILE POLISH (Round 2)
   ============================================= */

/* Scroll-to-top respektiert Notch/Safe-Area */
@media (max-width: 600px) {
  .scroll-top {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
  }
}

/* Hero vertikale Höhe auf kleinen Displays kappen (nicht Vollbild im Landscape) */
/* + Mobile-Spacing-Fix Notiz #103/#104 2026-05-14 (Schrift-Überlappung mit Termin-Button) */
@media (max-width: 600px) {
  .hero { min-height: 76dvh; align-items: center; }
  .hero-body { padding-block: clamp(80px, 16vw, 110px) clamp(56px, 11vw, 84px); }
  .hero-tag { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 18px; }
  .hero-desc {
    font-size: clamp(0.92rem, 3.8vw, 1.02rem);
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .hero-btn { padding: 16px 28px; font-size: 0.95rem; }
  .hero-title { margin-bottom: 16px; line-height: 1.12; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: min(88dvh, 480px); }
  .hero-body { padding-block: 80px 60px; }
}

/* Breadcrumb kompakter auf kleinen Displays */
@media (max-width: 480px) {
  .page-hero .breadcrumb {
    font-size: 0.72rem;
    gap: 6px;
    padding: 6px 12px;
  }
  .page-hero .breadcrumb-sep { margin: 0 2px; }
}

/* H1 auf ganz kleinen Phones (320–360) weiter runter */
@media (max-width: 380px) {
  :root { --fs-h1: clamp(1.55rem, 1.0rem + 3.6vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  .hero h1,
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
}

/* Split-Sections: auf Handys sauber stacken und Bild volle Breite */
@media (max-width: 768px) {
  .split-section,
  .split-section-reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }
  .split-section .split-img,
  .split-section .split-text { width: 100% !important; max-width: 100% !important; }
  .split-section .split-img img { width: 100%; height: auto; }
}

/* About-Gallery einspaltig unter 600 */
@media (max-width: 600px) {
  .about-gallery,
  .about-gallery-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* Numbers/Stats: unter 480 einspaltig statt 2er-Grid */
@media (max-width: 480px) {
  .numbers-row,
  .page-stats-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* Prose-Container: angenehme Lesebreite in Blog-Artikeln */
.page-content .container > p,
.page-content .container > ul,
.page-content .container > ol,
.page-content .container > h2,
.page-content .container > h3,
.page-content .container > blockquote { max-width: 68ch; }

/* Textarea auf Mobile kleiner */
@media (max-width: 480px) {
  textarea { min-height: 96px !important; }
}

/* Sticky-Elemente auf Mini-Displays entsperren */
@media (max-width: 480px) {
  .meridian-info,
  .toc-sticky,
  .sidebar-sticky { position: static !important; top: auto !important; }
}

/* Lange Wörter (z. B. "Keramikimplantatversorgung") nicht über Rand schieben */
h1, h2, h3, p, li, a { overflow-wrap: anywhere; }

/* =====================================================================
   2026-04-23 responsive / a11y — FINAL AUDIT FIXES
   - WCAG-AA Kontrast für goldene Texte (--sand → --sand-text auf hellem Grund)
   - Touch-Targets ≥ 44px, Forms ≥ 48px
   - Container-/Grid-Overflow-Prävention
   - Fluid Typography-Clamps wo statisch
   - Konsistente Mobile-Breakpoints
   ===================================================================== */

/* 2026-04-23 responsive / a11y — Kontrast-Fix: goldene Text-Akzente auf hellem Bg
   Testimonial-Sterne als Rating lesbarer machen (Non-Text >3:1 reicht, hier 4.5+) */
.testimonial-stars { color: var(--sand-text); }

/* 2026-04-23 responsive / a11y — Nav-Hover-Gold nur auf dunklem Hero-Bg verwenden
   (Scrolled-Header hat bereits sage-Override via .header.scrolled .nav-item:hover) */
.header:not(.scrolled) .nav-item:hover .nav-link,
.header:not(.scrolled) .nav-item:hover .nav-link-btn,
.header:not(.scrolled) .nav-item.open .nav-link-btn { color: var(--sand-light) !important; }

/* 2026-04-23 responsive / a11y — Fallback für generische .nav-item:hover in hellem Kontext
   (Mobile Burger-Menü ist hellgrün/warm-white → keine goldene Hover-Schrift) */
@media (max-width: 960px) {
  .nav-item:hover .nav-link,
  .nav-item:hover .nav-link-btn,
  .nav-item.open .nav-link-btn { color: var(--sage) !important; }
}

/* 2026-04-23 responsive / a11y — Focus-Ring mit AA-Kontrast auf hellen Hintergründen */
.nav-item .nav-link:focus-visible,
.nav-item .nav-link-btn:focus-visible {
  outline-color: var(--sand-text) !important;
}

/* 2026-04-23 responsive / a11y — Touch-Targets: globaler Mindest-Standard unter pointer:coarse */
@media (pointer: coarse) {
  .pill,
  .pill-sage,
  .pill-sand,
  .pill-white,
  .pill-outline-white,
  button,
  .btn,
  a.pill,
  a.btn {
    min-height: 48px;
  }
  .nav-link,
  .nav-link-btn,
  .nav-dropdown a,
  .footer a,
  .breadcrumb a,
  .svc-arrow,
  .treat-link,
  .contact-box a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Radio/Checkbox etwas größer tappbar */
  input[type="radio"],
  input[type="checkbox"] { width: 22px; height: 22px; }
  /* Label-Packung um Radio/Checkbox großzügiger, damit ganzer Zeilen-Tap funktioniert */
  label:has(> input[type="radio"]),
  label:has(> input[type="checkbox"]) { padding: 8px 4px; min-height: 44px; }
}

/* 2026-04-23 responsive / a11y — Forms: Labels auf Mobile eigenständige Zeile (bessere Tap-Fläche) */
@media (max-width: 600px) {
  label { display: block; margin-bottom: 8px; }
  form .form-row,
  form .grid-2,
  form .grid-3 { grid-template-columns: 1fr !important; gap: 16px !important; }
  /* Radio-Gruppen mit ausreichend vertikalem Abstand */
  fieldset label + label,
  .radio-group label + label,
  .form-radio + .form-radio { margin-top: 4px; }
}

/* 2026-04-23 responsive / a11y — Select-Chevron (keine Appearance-None-Regression) */
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%),
                    linear-gradient(135deg, var(--sage) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* 2026-04-23 responsive / a11y — Container/Wrapper-Overflow: max-width:100% als Sicherheit
   (z. B. wenn Grids inline-Widths setzen oder Bilder zu breit sind) */
.container,
.cta-wrap,
.testimonial-grid,
.services-row,
.team-grid,
.team-featured,
.journey-steps,
.nav-dropdown,
.nav-dropdown-mega { max-width: 100%; }
img, video, iframe, svg { max-width: 100%; height: auto; }
/* SVG-Icons in Flex-Containern nicht skalieren */
.pill svg,
.nav-chev,
button svg,
a svg.icon { height: auto; width: auto; max-width: none; flex-shrink: 0; }
.pill svg { width: 15px; height: 15px; }

/* 2026-04-23 responsive / a11y — Tabellen responsive scrollen statt überlaufen */
.page-content table,
article table,
.prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}
@media (max-width: 480px) {
  .page-content table,
  article table { font-size: 0.88rem; }
  .page-content td,
  .page-content th { padding: 8px 10px !important; }
}

/* 2026-04-23 responsive / a11y — Hero-Slider: Höhe auf Tablet/Mobile sinnvoll kappen,
   Gesichter nicht abschneiden */
@media (max-width: 900px) {
  .hero,
  .hero-slider { min-height: min(88dvh, 720px); }
  .hero-slide img,
  .hero img { object-position: 50% 35%; }
}
@media (max-width: 600px) {
  .hero,
  .hero-slider { min-height: min(82dvh, 600px); }
}

/* 2026-04-23 responsive / a11y — Section-Paddings auf Mobile konsistent schrumpfen
   (verhindert zu große Leerräume bei Sections mit statischem 140-160px Padding) */
@media (max-width: 768px) {
  .services,
  .testimonial-strip,
  .journey,
  .treats,
  .page-content,
  .cta {
    padding-top: clamp(48px, 10vw, 80px);
    padding-bottom: clamp(48px, 10vw, 80px);
  }
}

/* 2026-04-23 responsive / a11y — Headline-Schrumpf auf sehr schmalen Displays,
   damit 320–360px-Geräte nicht umbrechen müssen */
@media (max-width: 380px) {
  .cta h2,
  .cta-wrap h2,
  .testimonial-strip h2,
  .faq h2,
  section h2 { font-size: clamp(1.4rem, 6vw, 1.9rem) !important; }
}

/* 2026-04-23 responsive / a11y — Inline-Style-Grids generisch responsive machen
   (viele HTML-Seiten haben inline grid-template-columns mit fixen Spaltenzahlen) */
@media (max-width: 720px) {
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-04-23 responsive / a11y — Buchstaben/Wort-Trennung für sehr lange deutsche Begriffe
   (Keramikimplantatversorgung, Wurzelkanalbehandlung etc.) verbessern, aber nur,
   wo overflow-wrap: anywhere zu aggressive Umbrüche erzeugt: hyphens als Soft-Fallback) */
p, li, h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
/* hero-title darf nicht silbentrennen — bleibt Marken-Typo */
.hero-title, .hero h1, .page-hero h1 { hyphens: manual; -webkit-hyphens: manual; }

/* Burger-Touch-Target: 48×48 final in /css/responsive-fixes.css */

/* 2026-04-23 responsive / a11y — Skip-Link (Tastatur-a11y): bei Fokus sichtbar */
a.skip-link,
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--sage-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
a.skip-link:focus,
.skip-link:focus { left: 0; outline: 3px solid var(--sand); outline-offset: 2px; }

/* 2026-04-23 responsive / a11y — Mega-Dropdown sauber skalieren,
   ab 1024px in Tablet-Landscape schon stapeln (kein Mega bei knappem Platz) */
@media (max-width: 1024px) and (min-width: 961px) {
  .nav-dropdown-mega {
    max-width: min(92vw, 720px) !important;
    grid-template-columns: 1fr 1fr !important;
  }
}

/* === 2026-04-26 svc-cards bare variant + wide-screen 4-column lock ===
   Behebt: leere .svc-Karten ohne Hintergrundbild auf biologische-zahnheilkunde,
   sanierung-zahnherde-stoerfelder, angstpatienten — sowie 3+1-Layout auf Mac. */
.services-row--bare {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.services-row--bare .svc {
  aspect-ratio: auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 2.8vw, 36px);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 28px rgba(20,24,16,0.05);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.3s var(--ease);
}
.services-row--bare .svc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--sage-muted) 100%);
  border-radius: 18px 18px 0 0;
  opacity: 0.85;
}
.services-row--bare .svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(20,24,16,0.10);
  border-color: var(--sage-muted);
}
.services-row--bare .svc-content {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: none;
}
.services-row--bare .svc:hover .svc-content { background: none; }
.services-row--bare .svc-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--sage);
  text-shadow: none;
  margin-bottom: 6px;
}
.services-row--bare .svc h3 {
  color: var(--sage-dark);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  text-shadow: none;
  margin-bottom: 6px;
  line-height: 1.3;
  font-weight: 700;
  transform: none;
}
.services-row--bare .svc:hover h3 { transform: none; }
.services-row--bare .svc-desc {
  color: var(--text-soft);
  text-shadow: none;
  font-size: 0.95rem;
  line-height: 1.65;
  max-height: none;
  opacity: 1;
  margin-bottom: 0;
  overflow: visible;
}
.services-row--bare .svc:hover .svc-desc {
  max-height: none;
  margin-bottom: 0;
}

/* === Wide-screen lock: bei genau 4 Karten in einer Reihe nicht 3+1 brechen === */
@media (min-width: 1100px) {
  .services-row[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
  .services-row[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
}
/* Tablet: 4 → 2x2 statt 3+1 */
@media (min-width: 600px) and (max-width: 1099px) {
  .services-row[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
  .services-row[data-cols="3"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .services-row[data-cols="4"], .services-row[data-cols="3"] { grid-template-columns: 1fr; }
}

/* === 2026-04-26 GLOBAL OPTIMIERUNG — wide screens / Bild-Größen / Section-Padding === */

/* 1. Container nicht aufblähen auf Mac/Wide. Der vorherige 1280px-Override
      bei ≥1600px hat alle Bilder auf Wide-Screens noch größer gemacht. */
@media (min-width: 1600px) {
  .container { max-width: 1200px; }
}

/* 2. Page-Hero: niedriger und kompakter auf Wide */
.page-hero {
  min-height: clamp(260px, 36dvh, 420px);
}
@supports not (height: 100dvh) {
  .page-hero { min-height: clamp(260px, 36vh, 420px); }
}
@media (min-width: 1400px) {
  .page-hero { min-height: 380px; max-height: 460px; }
}

/* 3. Split-Sections: Bilder auf wide cappen und ausgewogener Verteilen
      (bisher 1fr 1fr → Bild wird auf Mac mit aspect-ratio 4/5 zu 560×700 — riesig). */
.split-section {
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(48px, 6vw, 80px) 0;
  align-items: center;
}
.split-section .split-img {
  display: flex;
  justify-content: center;
}
.split-section .split-img img {
  aspect-ratio: 4/3;
  max-height: 440px;
  max-width: 520px;
  width: 100%;
}
@media (min-width: 1280px) {
  .split-section .split-img img {
    max-height: 460px;
    max-width: 540px;
  }
}
.split {
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(40px, 5vw, 72px) 0;
}
.split .split-img img {
  max-height: 440px;
  max-width: 520px;
  margin-inline: auto;
  display: block;
  object-fit: cover;
}

/* 4. Section-Paddings: alle festen 120/140-Werte responsive machen */
.page-content { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
.advantages { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
section.features { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
section.services { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
.praxis-gallery { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }

/* 5. Page-Hero h1 etwas kleiner auf wide screens */
@media (min-width: 1400px) {
  .page-hero h1 { font-size: clamp(2.1rem, 2.4vw, 3rem); }
  .page-hero-body p { font-size: 1.05rem; max-width: 720px; }
}

/* 6. Galerie-Bilder cappen */
.gallery-grid img { max-height: 360px; object-fit: cover; }
.about-gallery { max-height: 460px; }

/* 7. Stat-Bilder/Großbilder mit fixed width="600" height="800" Pattern: cap auf wide
      (gezielt nur split-img und großflächige Standalone-Images, nicht alle Page-Content-Bilder) */
.split-text + .split-img img,
.split-img > img {
  max-height: 480px;
  object-fit: cover;
}

/* 8. Hero-Sektionen mit Text-Body: padding-block reduzieren auf wide */
.page-hero-body { padding-block: 0 clamp(24px, 3vw, 40px); }

/* 9. Einheitliche maximale Inhaltsbreite für reine Text-Sektionen
      (verhindert "Buchstabensuppe" über volle Breite auf Mac) */
.page-content > .container > p,
.page-content > .container > h2,
.split-text {
  max-width: 720px;
}
.split-section .split-text { max-width: 600px; }

/* 10. Story-Bilder, Praxis-Bilder, große Stand-Alone-Images cappen */
img.standalone,
.image-section img,
section > .container > img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  display: block;
}

/* 2026-04-23 responsive / a11y — Verhindert iOS/Android-Input-Autofill hellgelb auf hellgrünem Grund */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #FFFDF9 inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ============================================================
 * Footer City-Cluster (2026-05-14, SEO Tier-0 Fix #13)
 * 15 Stadt-Pages-Internal-Links + reziprokes Cross-Linking
 * ============================================================ */
.footer-cities {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0 8px;
  margin-top: 12px;
}
.footer-cities-head {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.02em;
}
.footer-cities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.city-pill:hover, .city-pill:focus-visible {
  background: rgba(196,169,125,0.18);
  border-color: rgba(196,169,125,0.45);
  color: #fff;
  outline: none;
}
@media (max-width: 600px) {
  .footer-cities { padding: 24px 0 4px; }
  .city-pill { font-size: 0.8rem; min-height: 38px; padding: 8px 14px; }
}

/* ============================================================
 * Hero-Slider Pause-Button (WCAG 2.2.2, A11y Tier-1 Fix)
 * ============================================================ */
.hero-pause {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(15,20,12,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font: 600 0.78rem/1 'Quicksand', system-ui, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero-pause:hover, .hero-pause:focus-visible {
  background: rgba(15,20,12,0.75);
  border-color: rgba(255,255,255,0.32);
  outline: none;
}
.hero-pause:active { transform: scale(0.97); }
.hero-pause-i { display: inline-block; flex: 0 0 auto; }
.hero-pause-l { display: inline-block; }
@media (max-width: 600px) {
  .hero-pause { bottom: 16px; right: 16px; padding: 8px 12px; font-size: 0.74rem; }
  .hero-pause-l { display: none; }
  .hero-pause { gap: 0; min-width: 44px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pause { display: none; }
}

/* ============================================================
 * Sticky Mobile CTA Bar (SEO Welle 4 / Conversion-Core)
 * Bottom Bar mit Tel + Termin, nur unter ≤768px
 * ============================================================ */
.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: stretch;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(92,114,80,0.15);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.smc-btn {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 14px;
  font: 600 0.95rem/1.2 'Quicksand', system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.smc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.smc-call {
  background: var(--sage, #5E7250);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.smc-call:hover, .smc-call:focus-visible { background: var(--sage-dark, #3F5234); outline: none; }
.smc-book {
  background: #fff;
  color: var(--sage-dark, #3F5234);
}
.smc-book:hover, .smc-book:focus-visible { background: var(--cream, #F7F9F3); outline: none; }
@media (max-width: 768px) {
  .sticky-mobile-cta { display: flex; }
  /* Footer bekommt extra Padding damit der Sticky-Bar nichts überdeckt */
  body { padding-bottom: 60px; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .sticky-mobile-cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ============================================================
 * Trust-Rating-Bar (SEO Welle 4)
 * Sterne + Bewertungszahl-Strip auf Service- / Stadt-Pages
 * ============================================================ */
.trust-rating-bar {
  background: linear-gradient(180deg, rgba(247,249,243,0.6), rgba(255,255,255,0));
  padding: 16px 0 12px;
  border-bottom: 0;
  margin-top: -6px;
}
.trust-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-mid, #333);
}
.trust-rating-row .stars {
  color: var(--sand, #C4A97D);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.trust-rating-row strong { color: var(--sage-dark, #3F5234); font-weight: 700; }
.trust-rating-row a {
  color: var(--sage, #5E7250);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
@media (max-width: 600px) {
  .trust-rating-bar { padding: 12px 0 10px; }
  .trust-rating-row { font-size: 0.85rem; gap: 8px; }
}

/* Track C — City-Anreicherung */
.city-quartiere,
.city-detailanreise,
.city-warum,
.city-aufenthalt,
.city-faq,
.city-nachbarn {
  padding: clamp(40px, 5vw, 72px) 0;
}
.city-quartiere { background: var(--cream, #F7F9F3); }
.city-warum { background: var(--cream, #F7F9F3); }
.city-faq { background: var(--cream, #F7F9F3); }

.city-quartiere h2,
.city-detailanreise h2,
.city-warum h2,
.city-aufenthalt h2,
.city-faq h2 {
  font-family: var(--font-head, 'Quicksand', sans-serif);
  color: var(--sage-dark, #3F5234);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 0 0 16px;
  line-height: 1.25;
}
.city-quartiere > .container > p,
.city-detailanreise > .container > p,
.city-warum > .container > p,
.city-aufenthalt > .container > p,
.city-faq > .container > p {
  max-width: 760px;
  color: var(--text-mid, #333);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 22px;
}

.city-quartier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px 24px;
}
.city-quartier-list li {
  padding: 14px 16px;
  background: #fff;
  border-left: 3px solid var(--sand, #C4A97D);
  border-radius: 4px;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--text-mid, #333);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.city-quartier-list li strong {
  color: var(--sage-dark, #3F5234);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.city-detailanreise .anreise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.city-detailanreise .anreise-card {
  background: var(--cream, #F7F9F3);
  border-radius: 6px;
  padding: 20px 22px;
}
.city-detailanreise .anreise-card h3 {
  font-family: var(--font-head, 'Quicksand', sans-serif);
  font-size: 1.1rem;
  color: var(--sage-dark, #3F5234);
  margin: 0 0 8px;
  font-weight: 600;
}
.city-detailanreise .anreise-card p {
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-mid, #333);
}
.city-detailanreise .anreise-card p:last-child { margin-bottom: 0; }

.city-warum .warum-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.city-warum .warum-list li {
  background: #fff;
  padding: 16px 18px;
  border-radius: 6px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text-mid, #333);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.city-warum .warum-list li strong {
  color: var(--sage-dark, #3F5234);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.city-aufenthalt .aufenthalt-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
}
.city-aufenthalt .aufenthalt-list li {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text-mid, #333);
  padding-left: 18px;
  position: relative;
}
.city-aufenthalt .aufenthalt-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 8px;
  background: var(--sand, #C4A97D);
  border-radius: 50%;
}

.city-faq .faq-list {
  margin-top: 8px;
}
.city-faq .faq-item {
  background: #fff;
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.city-faq .faq-item h3 {
  font-family: var(--font-head, 'Quicksand', sans-serif);
  font-size: 1.05rem;
  color: var(--sage-dark, #3F5234);
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.35;
}
.city-faq .faq-item p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-mid, #333);
}

.city-nachbarn {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.city-nachbarn h3 {
  font-family: var(--font-head, 'Quicksand', sans-serif);
  font-size: 1.2rem;
  color: var(--sage-dark, #3F5234);
  margin: 0 0 10px;
  font-weight: 600;
}
.city-nachbarn p {
  margin: 0 0 14px;
  color: var(--text-mid, #333);
  font-size: 0.98rem;
  line-height: 1.6;
}
.city-nachbarn ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.city-nachbarn ul li a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--cream, #F7F9F3);
  border: 1px solid var(--sage-muted, #A3B396);
  border-radius: 999px;
  color: var(--sage-dark, #3F5234);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.city-nachbarn ul li a:hover,
.city-nachbarn ul li a:focus-visible {
  background: var(--sage, #5E7250);
  color: #fff;
  outline: none;
}

@media (max-width: 600px) {
  .city-quartier-list { grid-template-columns: 1fr; }
  .city-detailanreise .anreise-grid { grid-template-columns: 1fr; }
  .city-warum .warum-list { grid-template-columns: 1fr; }
}

/* Track G — Information-Gain-Sections */
.page-compare { padding-block: var(--space-section); background: var(--cream); }
.page-compare table { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.page-compare th, .page-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.page-compare th { background: var(--sage); color: #fff; font-family: 'Quicksand', sans-serif; font-weight: 700; }
.page-compare tbody tr:last-child td { border-bottom: 0; }
.page-compare tbody tr:hover { background: var(--cream); }
.page-mythen { padding-block: var(--space-section); }
.myth-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.myth-q { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--text-mid); list-style: none; display: flex; align-items: center; gap: 12px; font-family: 'Quicksand', sans-serif; }
.myth-q::-webkit-details-marker { display: none; }
.myth-x { color: var(--red, #A33); font-size: 1.2rem; font-weight: 700; }
.myth-a { padding: 0 20px 18px; color: var(--text-soft); line-height: 1.65; font-size: 0.95rem; }
.page-systems { padding-block: var(--space-section); background: var(--cream); }
.page-systems-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.system-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.system-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.system-card h3 { font-family: 'Quicksand', sans-serif; font-size: 1.05rem; margin: 8px 0; color: var(--sage-dark); }
.system-card p { font-size: 0.86rem; color: var(--text-soft); line-height: 1.5; margin: 0; }
@media (max-width: 600px) {
  .page-compare table { font-size: 0.85rem; }
  .page-compare th, .page-compare td { padding: 10px 8px; }
}

/* ============================================================
   === DESIGN POLISH 2026-05-15                              ===
   === Konstantin-Regel + Hierarchy + Cards + A11y           ===
   ============================================================ */

/* --- Konstantin-Regel global: keine border-bottom-Linien unter
   Section-Heads (h2/h3) als Trenner — nur Margin-Abstand.
   Whitelist: explizite Klassen mit -border-/-underline-/-divider- bleiben
   und wirklich strukturelle Borders (z.B. Tabellen, Header.scrolled) auch. */
.page-content h2,
.page-content h3,
.section h2,
.section h3,
section > h2,
section > h3 {
  border-bottom: 0;
}

/* --- Hero-Hierarchy: H1 confident, H2 Display-Charakter ---
   Greift nur dort wo Markup-Klassen schon existieren. */
.hero h1,
.hero-title,
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
@media (min-width: 1024px) {
  .hero h1,
  .hero-title {
    font-size: clamp(2.8rem, 5.2vw, 4.4rem);
  }
}

/* H2 Section-Head — Display-Letter-Spacing, fluid */
section h2:not(.faq-cat h2):not(.author-box-body h2),
.split-text h2,
.lst-intro h2,
.faq-intro h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Eyebrow-Label-Standardisierung — nur greifen wenn Klasse existiert,
   NICHT überall injizieren (das wäre Content-Schöpfung). */
.eyebrow,
.sec-label,
.kicker {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-block;
  margin-bottom: 14px;
}

/* --- A11y: --sage-muted NICHT als Body-Text-Color verwenden.
   Die wenigen verbleibenden Stellen (Footer-Hover, mega-chev → tot)
   sind Hover-States, kein Body-Text — bleiben unkritisch. Hier ein
   Defensiv-Fallback der `.muted`/`.text-muted` auf den AA-konformen
   --text-soft (#555) bzw. --text-muted (#666) anhebt. */
.muted,
.text-muted,
p.muted {
  color: var(--text-muted);
}

/* --- Card-Vereinheitlichung (3 Stile statt 8) ---
   Trotz unterschiedlicher Klassen-Namen (svc, treat, info-box, feature-card,
   team-card, price-card, blog-card, system-card) bekommen sie EINE visuelle
   Spec für Schatten/Radien/Borders. Existierende Markup-Klassen bleiben. */

/* Image-Card: Bild-First (svc, treat, blog-card, team-card) */
.svc,
.treat,
.blog-card,
.team-card {
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20,24,16,0.06);
  transition: transform 0.4s var(--ease-premium),
              box-shadow 0.4s var(--ease-premium),
              border-color 0.3s var(--ease);
}
.svc:hover,
.treat:hover,
.blog-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20,24,16,0.10);
}

/* Info-Card: text-zentriert (info-box, feature-card, services-row--bare .svc,
   system-card) */
.info-box,
.feature-card,
.system-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 6px 22px rgba(20,24,16,0.05);
  transition: transform 0.3s var(--ease-premium),
              box-shadow 0.3s var(--ease-premium),
              border-color 0.3s var(--ease);
}
.info-box:hover,
.feature-card:hover,
.system-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(20,24,16,0.08);
  border-color: var(--sage-muted);
}

/* Stats-Card: Hero/Trust-Bereich (price-card) */
.price-card {
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(20,24,16,0.10);
  transition: transform 0.4s var(--ease-premium),
              box-shadow 0.4s var(--ease-premium);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(20,24,16,0.14);
}

/* --- A11y: Mobile Navigation — role="menubar"/menuitem ist falsche Semantik
   für eine Web-Nav (gehört in App-Menüs). Auf den 2 betroffenen Pages
   (404.html, admin/audit/) wird das per JS in main.js entfernt;
   hier nur Visual-Hint dass ggf. fokus-stil weiter greift. */

/* === /DESIGN POLISH === */

/* ====================================================================
   HERO-SLIDER PAUSE-BUTTON — WCAG 2.2.2 (autoplay >5s pflicht)
   Injiziert via js/main.js Hero-Slider-Logik (Agent J).
   ==================================================================== */
.hero-pause-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: background 0.18s ease;
}
.hero-pause-btn:hover,
.hero-pause-btn:focus-visible {
  background: #fff;
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}
.hero-pause-btn[aria-pressed="true"]::before { content: "▶"; }
.hero-pause-btn[aria-pressed="false"]::before,
.hero-pause-btn:not([aria-pressed])::before { content: "⏸"; }
@media (prefers-reduced-motion: reduce) {
  .hero-pause-btn { display: none; }
}
