/* ============================================================
   AUGEN BOCHUM – Main Stylesheet
   Importiert: tokens.css
   Enthält: Reset, Base, alle Komponenten
   ============================================================ */

@import 'fonts.css'; /* self-hosted Outfit + DM Sans (DSGVO) – vorher Google-Fonts-CDN */
@import 'tokens.css';

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul   { list-style: none; }

/* ── Utilities ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section         { padding: 88px 0; }
.section--alt    { background: var(--surface-alt); }
.section--dark   { background: var(--surface); }

/* ── Skip Link ──────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 4px;
  background: var(--brand); color: #fff;
  padding: 8px 16px; border-radius: var(--r-sm);
  font-weight: 600; z-index: 9999;
}
.skip-link:focus { left: 4px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }

.btn--primary {
  background: var(--brand); color: #fff;
  border-color: var(--brand); box-shadow: var(--glow-xs);
}
.btn--primary:hover  { background: var(--brand-hov); box-shadow: var(--glow-sm); transform: translateY(-1px); }
.btn--primary:active { background: var(--brand-act); transform: none; box-shadow: none; }

.btn--outline {
  background: transparent; color: var(--brand);
  border-color: var(--border-str);
}
.btn--outline:hover { border-color: var(--brand); background: var(--brand-dim); box-shadow: var(--glow-xs); }

.btn--ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1.5px solid rgba(255,255,255,.10);
}
.btn--ghost:hover { background: rgba(255,255,255,.10); }

.btn--sm { padding: 8px 18px; font-size: var(--text-sm); }
.btn--lg { padding: 16px 36px; font-size: var(--text-md); }

/* ── Section Header ─────────────────────────────────────── */
.section-tag {
  font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before {
  content: ''; display: inline-block; width: 24px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

.section-title    { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-m); max-width: 600px; line-height: 1.75; }

.section-header         { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-tag      { justify-content: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ═══ NAVIGATION ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.nav.scrolled {
  background: rgba(13,15,30,.80);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.40);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--text); flex-shrink: 0;
}
.nav__logo-icon {
  width: 38px; height: 38px; background: var(--brand);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--glow-xs);
}
.nav__logo-img { height: 40px; width: auto; display: block; flex-shrink: 0; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link  {
  padding: 7px 14px; border-radius: var(--r-sm);
  font-weight: 500; font-size: .93rem; color: var(--text-m);
  transition: background var(--tr), color var(--tr);
}
.nav__link:hover      { background: var(--brand-dim); color: var(--text); }
.nav__link.active     { color: var(--brand); }
.nav__link:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }

.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  cursor: pointer; border: none; background: none; padding: 8px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform var(--tr), opacity var(--tr);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px;
  background: rgba(13,15,30,.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border); padding: 16px 24px 24px;
}
.nav__mobile.open        { display: flex; }
.nav__mobile .nav__link  { font-size: 1.05rem; padding: 10px 16px; }
.nav__mobile .btn        { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger         { display: flex; }
}

/* ═══ HERO ══════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 85vh; display: flex; align-items: center;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #10121f;
  background-image: url('../assets/images/hero-praxis.webp');
  background-size: cover; background-position: center right;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(107,127,212,.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 15%, rgba(167,139,250,.09) 0%, transparent 60%);
}

.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    var(--bg) 28%,
    rgba(13,15,30,.82) 58%,
    rgba(13,15,30,.22) 100%
  );
}

.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__content   { max-width: 600px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-dim); color: var(--brand);
  border: 1px solid var(--border-str); padding: 6px 16px;
  border-radius: var(--r-full); font-family: var(--font-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 22px;
}

.hero__title   { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero__title .highlight { color: var(--brand); text-shadow: 0 0 30px rgba(107,127,212,.50); }
.hero__subtitle { font-size: 1.05rem; color: var(--text-m); line-height: 1.8; margin-bottom: 36px; max-width: 480px; }
.hero__actions  { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__trust      { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-m); font-weight: 500; }
.hero__trust-item svg { color: var(--brand); flex-shrink: 0; }

/* Subpage Hero (für Unterseiten) */
.hero--sub {
  min-height: 40vh; padding: 140px 0 60px;
  display: flex; align-items: center;
}
.hero--sub .hero__content { max-width: 740px; }

@media (max-width: 768px) {
  .hero { min-height: 75vh; padding: 100px 0 64px; }
  .hero__overlay {
    background: linear-gradient(to bottom, rgba(13,15,30,.55) 0%, var(--bg) 90%);
  }
  .hero__trust { gap: 12px; }
  .hero__trust-item { font-size: .80rem; }
}

/* ═══ BENTO GRID (USP) ═══════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.bento-card:hover { box-shadow: var(--glow-xs); border-color: var(--border-str); }

.bento-card--wide {
  grid-column: span 2;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card--accent {
  background: linear-gradient(145deg, var(--surface-3), var(--surface-4));
  border-color: var(--border-str);
}
.bento-card--quote {
  background: var(--brand); border-color: transparent;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center;
}
.bento-card--quote:hover { box-shadow: var(--glow-md); border-color: transparent; }

.bento-card__icon {
  width: 48px; height: 48px; background: var(--brand-dim);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.bento-card--accent .bento-card__icon { background: rgba(107,127,212,.20); }

.bento-card__label {
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--brand); margin-bottom: 6px;
}
.bento-card__title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text);
}
.bento-card--wide .bento-card__title {
  font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 14px;
}
.bento-card__text {
  font-size: .90rem; color: var(--text-m); line-height: 1.7;
}
.bento-card__badge {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: .83rem; font-weight: 600; color: var(--brand);
}
.bento-card__quote {
  font-family: var(--font-head); font-size: 1.15rem; font-style: italic;
  font-weight: 600; color: #fff; line-height: 1.45; margin-bottom: 16px;
}
.bento-card__divider {
  width: 48px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--wide { grid-column: span 2; }
  .bento-card--quote { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide, .bento-card--quote { grid-column: span 1; }
}

/* ═══ SERVICE PHOTO CARDS ════════════════════════════════════ */
.services-teaser__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.services-teaser__intro { max-width: 560px; }
.services-teaser__more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 600; color: var(--brand);
  transition: gap var(--tr); flex-shrink: 0; white-space: nowrap;
}
.services-teaser__more:hover { gap: 11px; }

.service-photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.service-photo-card {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-lg); overflow: hidden;
  display: block; text-decoration: none;
}
.service-photo-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.service-photo-card:hover .service-photo-card__bg { transform: scale(1.08); }
.service-photo-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.service-photo-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.30) 55%, transparent 100%);
  transition: background var(--tr-slow);
}
.service-photo-card:hover .service-photo-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.48) 58%, rgba(0,0,0,.08) 100%);
}
.service-photo-card__content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 20px;
}
.service-photo-card__title {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: #fff; margin-bottom: 6px; line-height: 1.2;
}
.service-photo-card__text {
  font-size: .80rem; color: rgba(255,255,255,.78); line-height: 1.5;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}
.service-photo-card:hover .service-photo-card__text { opacity: 1; transform: translateY(0); }

/* Gradient-Fallback, sichtbar bis das Kartenfoto (<img>) geladen ist */
.service-photo-card--katarakt .service-photo-card__bg {
  background-color: #13173a;
  background-image: linear-gradient(160deg, #13173a 0%, #1e2660 60%, #2a3278 100%);
}
.service-photo-card--glaukom .service-photo-card__bg {
  background-color: #0b1f2e;
  background-image: linear-gradient(160deg, #0b1f2e 0%, #0d3347 60%, #105060 100%);
}
.service-photo-card--amd .service-photo-card__bg {
  background-color: #1a0b2e;
  background-image: linear-gradient(160deg, #1a0b2e 0%, #2d1559 60%, #3a1f70 100%);
}
.service-photo-card--op .service-photo-card__bg {
  background-color: #0a1628;
  background-image: linear-gradient(160deg, #0a1628 0%, #0f2440 60%, #163255 100%);
}

@media (max-width: 900px) {
  .service-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-photo-card__text { opacity: 1; transform: none; }
}

/* ═══ STATS (Kennzahlen) ═════════════════════════════════════ */
.stats {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: 52px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .90rem; color: var(--text-m); line-height: 1.4; }

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item   { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(even)  { border-right: none; }
  .stat-item:nth-child(n+3)   { border-bottom: none; }
}

/* ═══ PROCESS STEPS ═════════════════════════════════════════ */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0; position: relative;
}
/* Verbindungslinie je Schritt statt einer globalen Linie – endet damit exakt am
   letzten Schritt, unabhängig von der Schrittanzahl (Korrekturliste C8) */
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px;
  left: calc(50% + 22px); width: calc(100% - 44px); height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.process-step        { text-align: center; padding: 0 16px; position: relative; }
.process-step__num   {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; color: #fff; position: relative; z-index: 1; box-shadow: var(--glow-sm);
}
.process-step__title { font-size: .97rem; font-weight: 700; margin-bottom: 8px; }
.process-step__text  { font-size: .87rem; color: var(--text-m); line-height: 1.6; }

@media (max-width: 768px) {
  .process-steps         { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-step::after   { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ═══ TEAM CARDS ════════════════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}
.team-card:hover { box-shadow: var(--glow-sm); border-color: var(--border-str); transform: translateY(-4px); }

.team-card__photo            { height: 260px; overflow: hidden; background: linear-gradient(135deg, var(--surface-3), var(--surface-4)); }
.team-card__photo img        { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 400ms ease; }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__photo-placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.team-card__body { padding: 22px 24px; }
.team-card__name { font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; }
.team-card__role { font-size: .83rem; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.team-card__bio  { font-size: .87rem; color: var(--text-m); line-height: 1.6; }

/* ═══ TESTIMONIALS ══════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  position: relative; transition: box-shadow var(--tr), border-color var(--tr);
}
.testimonial-card:hover    { box-shadow: var(--glow-xs); border-color: var(--border-str); }
.testimonial-card::before  {
  content: '\201C'; font-family: var(--font-head); font-size: 6rem;
  line-height: 1; color: var(--brand); opacity: .15;
  position: absolute; top: 8px; left: 18px; pointer-events: none;
}
.testimonial-stars         { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg     { color: #FBBF24; }
.testimonial-text          { font-size: .92rem; line-height: 1.75; color: var(--text-2); margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author        { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar        {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #fff; flex-shrink: 0;
}
.testimonial-name          { font-weight: 700; font-size: .90rem; }
.testimonial-meta          { font-size: .77rem; color: var(--text-m); margin-top: 2px; }

/* ═══ INFO / CONTACT CARDS ══════════════════════════════════ */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
  transition: box-shadow var(--tr);
}
.info-card:hover        { box-shadow: var(--glow-xs); }
.info-card__title       { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.info-card__icon        { width: 40px; height: 40px; background: var(--brand-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Kachel-Variante (Icon als Block über dem Titel): mehr Luft zwischen Icon-Box und Titel (Korrekturliste C2) */
.info-card > .info-card__icon { margin-bottom: 16px; }

.hours-list { display: flex; flex-direction: column; gap: 0; }
/* Schlichte Tabellen-Optik "TAG / UHRZEIT" ohne grau hinterlegte Uhrzeit-Felder (Korrekturliste A1) */
.hours-head { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-m); padding-bottom: 8px; }
.hours-row  { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-row__day  { font-weight: 600; font-size: .90rem; color: var(--text-2); }
.hours-row__time { font-size: .88rem; color: var(--text-2); }
.hours-row--special .hours-row__time   { color: #FBBF24; }
.hours-row--emergency .hours-row__time { color: var(--success); }

.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item__icon  { width: 40px; height: 40px; background: var(--brand-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.contact-item__label { font-size: .76rem; font-weight: 600; color: var(--text-m); text-transform: uppercase; letter-spacing: .06em; }
.contact-item__value { font-size: .95rem; color: var(--text); margin-top: 2px; line-height: 1.5; }
.contact-item__value a { color: var(--brand); font-weight: 600; }
.contact-item__value a:hover { text-decoration: underline; }

.map-btn {
  margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 160px;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-4));
  border-radius: var(--r-md); border: 1px solid var(--border); color: var(--brand);
  font-weight: 600; font-size: .90rem; cursor: pointer;
  transition: box-shadow var(--tr), border-color var(--tr); text-decoration: none;
}
.map-btn:hover { box-shadow: var(--glow-xs); border-color: var(--border-str); }

@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* ═══ CTA BANNER ════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(107,127,212,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner__content  { position: relative; z-index: 1; }
.cta-banner__title    { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-banner__text     { color: var(--text-m); font-size: 1.05rem; margin-bottom: 32px; }
.cta-banner__actions  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 560px) { .cta-banner { padding: 40px 24px; } }

/* ═══ CONTENT SECTIONS (Leistungsseiten) ════════════════════ */
.content-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
/* Ohne Bild/Platzhalter (B1: Platzhalter entfernt, Fotos folgen): Text nutzt die volle Breite */
.content-grid > .content-body:only-child { grid-column: 1 / -1; max-width: 820px; }
.content-grid--rev   { direction: rtl; }
.content-grid--rev > * { direction: ltr; }

.content-body h2     { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.content-body h3     { font-size: 1.2rem; margin-bottom: 10px; margin-top: 28px; color: var(--brand); }
.content-body p      { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.content-body ul     { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
/* Listenpunkt als Block mit absolutem Icon – Inline-Markup (z. B. <strong>Begriff</strong> – Text)
   darf nicht in Flex-Items zerfallen (Definitionslisten-Layout, Korrekturliste C0) */
.content-body ul li  { display: block; position: relative; padding-left: 28px; color: var(--text-2); font-size: .93rem; line-height: 1.6; }
.content-body ul li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: var(--brand-dim); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B7FD4' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.content-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.content-visual img { width: 100%; height: 100%; object-fit: cover; }
.content-visual-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--text-m); font-size: .9rem; text-align: center; padding: 32px;
}
.content-visual-placeholder svg { color: var(--brand); opacity: .4; }

@media (max-width: 900px) { .content-grid, .content-grid--rev { grid-template-columns: 1fr; direction: ltr; } }

/* ═══ FAQ ════════════════════════════════════════════════════ */
.faq-list      { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item      { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-question  {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; background: none; cursor: pointer;
  font-family: var(--font-sans); font-size: .97rem; font-weight: 600; color: var(--text);
  text-align: left; border: none;
  transition: background var(--tr);
}
.faq-question:hover    { background: var(--brand-dim); }
.faq-question:focus-visible { outline: none; box-shadow: inset var(--focus); }
.faq-icon      { flex-shrink: 0; color: var(--brand); transition: transform var(--tr); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer    { max-height: 0; overflow: hidden; transition: max-height var(--tr-slow); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-2); line-height: 1.75; font-size: .93rem; }

/* ═══ FAQ (BEM – details/summary) ═══════════════════════════ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  color: var(--text); list-style: none; transition: background var(--tr);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+'; flex-shrink: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-dim); color: var(--brand);
  border-radius: 50%; font-size: 1.1rem; font-weight: 700;
  transition: transform var(--tr), background var(--tr);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__question:hover { background: var(--brand-dim); }
.faq__answer { padding: 0 22px 18px; color: var(--text-2); font-size: .93rem; line-height: 1.75; }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: var(--brand); }

/* ── OP-Teaser ───────────────────────────────────────────── */
.op-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.op-teaser__features {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--surface); border: 1px solid var(--border-str);
  border-radius: var(--r-xl); padding: 32px;
}
.op-feature { display: flex; align-items: flex-start; gap: 16px; }
.op-feature__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--brand-dim); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.op-feature div:last-child { display: flex; flex-direction: column; gap: 2px; }
.op-feature strong { font-size: .95rem; font-weight: 700; color: var(--text); }
.op-feature span   { font-size: .87rem; color: var(--text-m); }
@media (max-width: 900px) { .op-teaser { grid-template-columns: 1fr; gap: 36px; } }

/* ── FAQ-Teaser Grid ─────────────────────────────────────── */
.faq-teaser-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start;
}
@media (max-width: 900px) { .faq-teaser-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq--compact .faq__question { padding: 14px 18px; font-size: .92rem; }
.faq--compact .faq__answer   { padding: 0 18px 14px; }

/* ── Galerie / Raeumlichkeiten ───────────────────────────── */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.photo-grid__item {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--surface-3);
}
.photo-grid__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease;
}
.photo-grid__item:hover img { transform: scale(1.04); }
.photo-grid__item--wide { grid-column: span 2; aspect-ratio: 16/7; }
@media (max-width: 640px) { .photo-grid__item--wide { grid-column: span 1; aspect-ratio: 4/3; } }

/* ═══ FOOTER ═════════════════════════════════════════════════ */
.footer {
  background: #08090F; border-top: 1px solid var(--border);
  color: var(--text-m); padding: 64px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--text); margin-bottom: 14px;
}
.footer__logo-icon {
  width: 36px; height: 36px; background: var(--brand);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--glow-xs);
}
.footer__logo-img { height: 36px; width: auto; display: block; flex-shrink: 0; }
.footer__tagline      { font-size: .87rem; line-height: 1.65; max-width: 260px; color: var(--text-m); }
.footer__col-title    { font-family: var(--font-head); font-weight: 700; font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 16px; }
.footer__links        { display: flex; flex-direction: column; gap: 9px; }
.footer__link         { font-size: .87rem; color: var(--text-m); transition: color var(--tr); }
.footer__link:hover   { color: var(--text); }
.footer__contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 9px; font-size: .86rem; color: var(--text-m); }
.footer__contact-item a { color: var(--text-m); transition: color var(--tr); }
.footer__contact-item a:hover { color: var(--text); }

.footer__hours         { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.footer__hours-row     { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; color: var(--text-m); }
.footer__hours-row span:last-child { color: var(--text-2); text-align: right; }
.footer__hours-row--special span   { color: var(--brand); }
.footer__emergency {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .81rem; font-weight: 600; color: var(--destructive);
  transition: opacity var(--tr);
}
.footer__emergency:hover { opacity: .78; }

.footer__map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: .81rem; color: var(--text-m);
  transition: color var(--tr);
}
.footer__map-link:hover { color: var(--brand); }

.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copyright { font-size: .82rem; color: var(--text-dis); }
.footer__legal     { display: flex; gap: 20px; }
.footer__legal a   { font-size: .82rem; color: var(--text-dis); transition: color var(--tr); }
.footer__legal a:hover { color: var(--text-m); }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer__grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ═══ MODAL ══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.70); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 200ms ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px; max-width: 640px; width: 100%;
  position: relative; transform: scale(.94) translateY(12px);
  transition: transform 250ms ease; max-height: 90svh; overflow-y: auto;
  box-shadow: var(--glow-lg), 0 24px 64px rgba(0,0,0,.60);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-3); color: var(--text-m);
  transition: background var(--tr); cursor: pointer;
  border: 1px solid var(--border);
}
.modal__close:hover       { background: var(--surface-4); color: var(--text); }
.modal__close:focus-visible { outline: none; box-shadow: var(--focus); }

.modal__title    { font-size: 1.5rem; margin-bottom: 6px; }
.modal__subtitle { color: var(--text-m); font-size: .90rem; margin-bottom: 22px; }

/* Booking Tabs */
.booking-tabs {
  display: flex; gap: 2px;
  background: var(--surface-3); border-radius: var(--r-sm);
  padding: 3px; margin-bottom: 22px;
}
.booking-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 9px 14px; border-radius: calc(var(--r-sm) - 1px);
  font-family: var(--font-head); font-size: .87rem; font-weight: 600;
  cursor: pointer; border: none; background: none; color: var(--text-m);
  transition: background var(--tr), color var(--tr);
}
.booking-tab.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.30); }
.booking-tab:focus-visible { outline: none; box-shadow: var(--focus); }

.booking-panel        { display: none; }
.booking-panel.active { display: block; }

/* tomedo iframe wrapper */
.tomedo-frame-wrap {
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; background: var(--surface-3);
  position: relative; min-height: 460px;
}
.tomedo-frame-wrap iframe { display: none; width: 100%; height: 500px; border: none; }
.tomedo-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--text-m); font-size: .90rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tomedo-spinner {
  width: 26px; height: 26px; border: 2.5px solid var(--border-str);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .80s linear infinite;
}
.booking-extlink {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-top: 12px;
  font-size: .82rem; color: var(--text-m); text-align: center; line-height: 1.6;
}
.booking-extlink a { color: var(--brand); font-weight: 600; }

/* Form */
.form-group    { margin-bottom: 18px; }
.form-label    { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--text-2); }
.form-label span { color: var(--destructive); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  background: var(--surface-3); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font-sans); font-size: .95rem;
  color: var(--text); line-height: 1.5;
  transition: border-color var(--tr), box-shadow var(--tr); outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dis); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); box-shadow: var(--focus); }
.form-input[aria-invalid="true"] { border-color: var(--destructive); }
.form-select option { background: var(--surface-3); color: var(--text); }

.form-error           { font-size: .81rem; color: var(--destructive); margin-top: 5px; display: none; }
.form-error.visible   { display: block; }
.form-textarea        { resize: vertical; min-height: 90px; }
.form-row             { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-submit          { width: 100%; padding: 14px; font-size: 1rem; margin-top: 8px; }

.form-success         { display: none; text-align: center; padding: 32px 0; }
.form-success.visible { display: block; }
.form-success__icon   { width: 64px; height: 64px; background: var(--success-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 0 24px rgba(52,211,153,.20); }
.form-success__title  { font-size: 1.4rem; margin-bottom: 8px; }
.form-success__text   { color: var(--text-m); font-size: .93rem; }

/* ═══ ANIMATIONS ═════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 400ms ease, transform 400ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 350ms ease, transform 350ms ease; }
.stagger.visible > *:nth-child(1)  { opacity: 1; transform: translateY(0); transition-delay:   0ms; }
.stagger.visible > *:nth-child(2)  { opacity: 1; transform: translateY(0); transition-delay:  70ms; }
.stagger.visible > *:nth-child(3)  { opacity: 1; transform: translateY(0); transition-delay: 140ms; }
.stagger.visible > *:nth-child(4)  { opacity: 1; transform: translateY(0); transition-delay: 210ms; }
.stagger.visible > *:nth-child(5)  { opacity: 1; transform: translateY(0); transition-delay: 280ms; }
.stagger.visible > *:nth-child(6)  { opacity: 1; transform: translateY(0); transition-delay: 350ms; }
.stagger.visible > *:nth-child(7)  { opacity: 1; transform: translateY(0); transition-delay: 420ms; }
.stagger.visible > *:nth-child(8)  { opacity: 1; transform: translateY(0); transition-delay: 490ms; }
.stagger.visible > *:nth-child(9)  { opacity: 1; transform: translateY(0); transition-delay: 560ms; }
.stagger.visible > *:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 630ms; }
.stagger.visible > *:nth-child(11) { opacity: 1; transform: translateY(0); transition-delay: 700ms; }
.stagger.visible > *:nth-child(12) { opacity: 1; transform: translateY(0); transition-delay: 770ms; }

/* ═══ PRAXISFOTOS – Hintergründe & Rahmen ════════════════════
   Echte Aufnahmen aus der Praxis an der Bongardstraße.
   Overlay nutzt color-mix(var(--bg)) → passt sich jedem Theme an. */

/* Unscharfer Foto-Hintergrund für Heroes */
.hero--photo .hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  /* --hero-photo-blur/--hero-overlay: per Inline-Style aus den Hero-Props
     photoBlur/photoOverlay steuerbar; Fallbacks = bisherige Festwerte */
  filter: blur(var(--hero-photo-blur, 3px)) saturate(1.05);
  transform: scale(1.05);
}
.hero--photo .hero__photo::after {
  content: ''; position: absolute; inset: 0;
  opacity: var(--hero-overlay, 1);
  background: var(--bg); /* Fallback (kein color-mix-Support) → Text bleibt lesbar */
  background: linear-gradient(100deg,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 90%, transparent) 42%,
    color-mix(in srgb, var(--bg) 60%, transparent) 78%,
    color-mix(in srgb, var(--bg) 42%, transparent) 100%);
}
.hero--photo .hero__glow-1 { z-index: 1; }

@media (max-width: 768px) {
  .hero--photo .hero__photo::after {
    background: var(--bg);
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg) 80%, transparent) 100%);
  }
}

/* Atmosphärischer Foto-Streifen hinter einer Section */
.section--photo { position: relative; overflow: hidden; }
.section--photo > .section__photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.06);
}
.section--photo > .section__photo::after {
  content: ''; position: absolute; inset: 0;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}
.section--photo > .container { position: relative; z-index: 2; }

/* Gerahmtes Inhaltsfoto */
.foto-frame {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--glow-md);
  background: var(--surface);
}
.foto-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-frame figcaption {
  padding: 12px 16px; font-size: .85rem; color: var(--text-m);
  font-family: var(--font-head); border-top: 1px solid var(--border);
}
