/* =====================================================================
   KLEINTIERPRAXIS CREMLINGEN — DESIGN SYSTEM
   Brand: Petrol-Türkis (Logo-CI) + warmes Cream + Coral-Akzent
   Typography: Barlow (Variable Family)
   Build: Statisch, FTP-deploybar, mobile-first, WCAG AA+
   ===================================================================== */

/* ---------- Fonts (lokal eingebettet) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Barlow-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Barlow-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/Barlow-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/Barlow-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../assets/fonts/Barlow-Black.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Brand-Farben (basiert auf Logo-Petrol-Türkis) */
  --brand: #1FAFAA;
  --brand-600: #0F8F8A;
  --brand-700: #0E7A75;
  --brand-50: #E5F7F6;
  --brand-100: #C7EEEC;
  --brand-200: #9CDFDB;

  /* Warme Akzente — feminin, vertrauensvoll, einladend */
  --accent: #ED6E47;          /* Warmes Coral für CTAs */
  --accent-600: #D55733;
  --accent-50: #FDEDE6;

  /* Grundpalette — Foreground in dunklem Navy statt Schwarz */
  --bg: #FFFFFF;
  --surface: #FAFBFC;
  --cream: #F5EFE6;            /* warmes Section-Background */
  --cream-dark: #EFE3CF;
  --ink: #16243D;              /* Foreground — dunkles Navy */
  --ink-soft: #3B4760;         /* Body Text — navy-grau */
  --muted: #6B7689;            /* Hilfetext / Metadaten */
  --border: #E4E8EE;
  --border-strong: #C6CEDA;

  /* Semantik */
  --success: #15803D;
  --success-50: #DCFCE7;
  --warning: #B45309;
  --warning-50: #FEF3C7;
  --danger: #B91C1C;
  --danger-50: #FEE2E2;

  /* Schatten — weich, warm */
  --shadow-xs: 0 1px 2px rgb(14 40 40 / 0.06);
  --shadow-sm: 0 2px 6px rgb(14 40 40 / 0.07);
  --shadow-md: 0 8px 24px rgb(14 40 40 / 0.08);
  --shadow-lg: 0 24px 56px rgb(14 40 40 / 0.10);
  --shadow-brand: 0 12px 32px rgb(31 175 170 / 0.20);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  /* Spacing-Scale (4er) */
  --s-1: 0.25rem;   /* 4 */
  --s-2: 0.5rem;    /* 8 */
  --s-3: 0.75rem;   /* 12 */
  --s-4: 1rem;      /* 16 */
  --s-5: 1.25rem;   /* 20 */
  --s-6: 1.5rem;    /* 24 */
  --s-8: 2rem;      /* 32 */
  --s-10: 2.5rem;   /* 40 */
  --s-12: 3rem;     /* 48 */
  --s-16: 4rem;     /* 64 */
  --s-20: 5rem;     /* 80 */
  --s-24: 6rem;     /* 96 */
  --s-32: 8rem;     /* 128 */

  /* Type-Scale */
  --t-xs: 0.8125rem;  /* 13 */
  --t-sm: 0.9375rem;  /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-md: 1.125rem;   /* 18 */
  --t-lg: 1.25rem;    /* 20 */
  --t-xl: 1.5rem;     /* 24 */
  --t-2xl: 1.875rem;  /* 30 */
  --t-3xl: 2.5rem;    /* 40 */
  --t-4xl: 3.5rem;    /* 56 */
  --t-5xl: 4.5rem;    /* 72 */

  /* Layout */
  --container: 78rem;       /* 1248px */
  --container-narrow: 60rem;/* 960px */
  --container-prose: 44rem; /* 704px */

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;

  /* Header-Höhe für scroll-margin */
  --header-h: 76px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}
body {
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  font-feature-settings: 'liga', 'kern', 'tnum';
}
.bg-watermark {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('../assets/images/logo-watermark.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(72vw, 760px);
  opacity: 0.05;
}

/* Feines Korn — bricht die digitale Flachheit der Flächen auf */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; background-repeat: no-repeat; background-size: cover; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }
a, button, [role="button"], input, select, label { touch-action: manipulation; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--dur-fast); }
a:hover { color: var(--accent-600); }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
::selection { background: var(--brand); color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw + 0.5rem, var(--t-4xl)); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 3.5vw + 0.5rem, var(--t-3xl)); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.375rem, 2vw + 0.5rem, var(--t-xl)); }
h4 { font-size: var(--t-lg); }
h5 { font-size: var(--t-md); }
h6 { font-size: var(--t-base); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 0.4em 0.85em;
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: '';
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--brand);
}

.lead { font-size: var(--t-md); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--s-5);
}
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--s-5); }
.container-prose { max-width: var(--container-prose); margin-inline: auto; padding-inline: var(--s-5); }
@media (min-width: 768px) {
  .container, .container-narrow, .container-prose { padding-inline: var(--s-8); }
}

section {
  padding-block: var(--s-16);
  scroll-margin-top: var(--header-h);
}
@media (min-width: 768px) { section { padding-block: var(--s-20); } }
@media (min-width: 1100px) { section { padding-block: var(--s-24); } }

.section-cream { background: linear-gradient(180deg, #EFF6F5 0%, #FFFFFF 82%); }
.section-soft { background: linear-gradient(180deg, #F4F9F9 0%, #FFFFFF 100%); }
.section-brand-soft { background: linear-gradient(180deg, #E8F6F5 0%, #FFFFFF 90%); }

.section-head { max-width: 50rem; margin-bottom: var(--s-12); }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head h2 + .lead { margin-top: var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.95rem 1.5rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast),
              color var(--dur-fast);
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: 0 8px 22px rgb(237 110 71 / 0.30); }
.btn-accent:hover { --btn-bg: var(--accent-600); box-shadow: 0 12px 28px rgb(213 87 51 / 0.35); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--brand-700); --btn-bd: var(--border-strong); box-shadow: none; }
.btn-outline:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand); --btn-fg: var(--brand-700); box-shadow: none; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: none; }
.btn-ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); box-shadow: none; }

.btn-lg { padding: 1.15rem 1.85rem; font-size: var(--t-base); min-height: 56px; }
.btn-block { width: 100%; }
/* Mobil: lange Button-Beschriftungen umbrechen statt den Viewport zu sprengen */
@media (max-width: 560px) {
  .btn { white-space: normal; max-width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background-color var(--dur-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgb(255 255 255 / 0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}
.brand {
  flex-shrink: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: var(--t-sm);
  color: var(--brand-700);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
/* Mobil: Praxisname in einer Zeile */
@media (max-width: 767px) {
  .brand-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.3em;
  }
  .brand-text strong { font-size: var(--t-sm); }
  .brand-text span { font-size: var(--t-xs); }
}

.nav { display: none; }
@media (min-width: 1280px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .nav a {
    padding: 0.6rem 0.4rem;
    border-radius: var(--r-sm);
    color: var(--ink);
    font-weight: 600;
    font-size: var(--t-sm);
    white-space: nowrap;
    transition: background-color var(--dur-fast), color var(--dur-fast);
  }
  .nav a:hover { background: var(--brand-50); color: var(--brand-700); }
  .nav a.is-active { color: var(--brand-700); background: var(--brand-50); }
}

/* CTA-Button erst ab Tablet im Header — auf dem Smartphone übernehmen
   Hero-Button, mobiles Menü und Floating-Button die Terminbuchung. */
.header-cta { display: none; }
@media (min-width: 600px) { .header-cta { display: inline-flex; } }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.6rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--t-sm);
  white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
@media (min-width: 768px) { .header-phone { display: inline-flex; } }
.header-phone:hover { background: var(--brand-50); color: var(--brand-700); }
.header-phone svg { width: 20px; height: 20px; flex-shrink: 0; }
.header-phone-num { display: none; }
@media (min-width: 1500px) { .header-phone-num { display: inline; } }

.hero-cta-note {
  margin-top: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.hero-cta-note svg { width: 1.05em; height: 1.05em; color: var(--brand); flex-shrink: 0; }
.hero-reassure {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}
.hero-reassure .hours-status { margin-top: 0; }
.hero-newpatients {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--brand-700);
}
.hero-newpatients svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  color: var(--ink);
}
@media (min-width: 1280px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100dvh;
  background: #fff;
  z-index: 99;
  padding: calc(var(--header-h) + var(--s-6)) var(--s-5) var(--s-12);
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav ul { list-style: none; padding: 0; display: grid; gap: var(--s-1); }
.mobile-nav a {
  display: block;
  padding: var(--s-4) var(--s-3);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-md);
  border: 1px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-100);
}
.mobile-nav .mobile-cta {
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 1280px) { .mobile-nav { display: none; } }

body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--s-16) var(--s-20);
  background:
    radial-gradient(46rem 34rem at 94% -10%, rgba(31, 175, 170, 0.20) 0%, transparent 60%),
    radial-gradient(40rem 32rem at 2% 114%, rgba(31, 175, 170, 0.13) 0%, transparent 58%),
    linear-gradient(176deg, #EAF7F6 0%, #FFFFFF 56%);
  overflow: hidden;
}
/* Weiche, runde Hintergrundformen */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 34rem;
  height: 34rem;
  top: -15rem;
  right: -10rem;
  background: rgb(31 175 170 / 0.10);
  border-radius: 46% 54% 57% 43% / 50% 44% 56% 50%;
}
.hero::after {
  width: 24rem;
  height: 24rem;
  bottom: -13rem;
  left: -9rem;
  background: rgb(31 175 170 / 0.08);
  border-radius: 58% 42% 45% 55% / 45% 55% 45% 55%;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: var(--s-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-16); }
  .hero { padding-block: var(--s-24) var(--s-24); }
}
.hero h1 {
  margin-top: var(--s-5);
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-700);
}
.hero .lead { margin-top: var(--s-5); font-size: var(--t-md); }
.hero-cta-row {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hero-trust {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  align-items: center;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.hero-trust-item svg { width: 1.15em; height: 1.15em; color: var(--brand); flex-shrink: 0; }
.hero-trust-item strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  background: var(--cream);
}
@media (min-width: 1024px) { .hero-visual { aspect-ratio: 4/5; } }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Team-Band (Gruppenbild unter dem Hero) */
.team-band { padding-top: var(--s-8); }
.team-band-figure { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.team-band-figure img { display: block; width: 100%; height: auto; }
.team-band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(to top, rgb(11 20 38 / 0.96) 0%, rgb(11 20 38 / 0.88) 38%, rgb(11 20 38 / 0.55) 72%, rgb(11 20 38 / 0) 100%);
  color: #fff;
}
.team-band-caption .eyebrow { color: #fff; opacity: 1; text-shadow: 0 1px 10px rgb(11 20 38 / 0.7); }
.team-band-caption .eyebrow::before { background: var(--accent); }
.team-band-title {
  font-family: 'Barlow', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(1.375rem, 2.4vw + 0.5rem, 2rem); line-height: 1.12;
  letter-spacing: -0.02em; max-width: 24ch; color: #fff;
  margin: var(--s-2) 0 var(--s-4); text-wrap: balance;
  text-shadow: 0 1px 12px rgb(11 20 38 / 0.55);
}
@media (max-width: 560px) {
  .team-band-caption { position: static; background: var(--ink); border-radius: 0 0 var(--r-xl) var(--r-xl); }
}

.hero-badge {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  display: flex;
  gap: var(--s-3);
  align-items: center;
  box-shadow: var(--shadow-md);
}
.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 22px; height: 22px; }
.hero-badge p { font-size: var(--t-sm); margin: 0; color: var(--ink); font-weight: 600; }
.hero-badge p strong { display: block; font-size: var(--t-base); font-weight: 700; }
a.hero-badge {
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
a.hero-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-badge-chev { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-left: auto; }

/* ---------- Cards (Leistungen) ---------- */
.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--s-6); }
}

/* Bento-Raster für die Leistungen — bricht das generische 3-Spalten-Schema */
.leistungen-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .leistungen-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }
  .leistungen-grid > .card:first-child,
  .leistungen-grid > .card:last-child {
    grid-column: span 2;
  }
}

/* Spezialsprechstunden-Bento — Fokus auf Kardiologie, Dermatologie & Kaltplasma */
.spezial-bento {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .spezial-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .spezial-bento {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-6);
  }
  .spezial-bento > .card { grid-column: span 4; }
  .spezial-bento > .card:nth-child(1) { grid-column: span 7; }
  .spezial-bento > .card:nth-child(2) { grid-column: span 5; }
  .spezial-bento > .card:nth-child(3) { grid-column: span 4; }
  .spezial-bento > .card:nth-child(4) { grid-column: span 3; }
  .spezial-bento > .card:nth-child(5) { grid-column: span 5; }
  .spezial-bento > .card:nth-child(6) { grid-column: span 8; }
  .spezial-bento > .card:nth-child(7) { grid-column: span 4; }
  .spezial-bento > .card:nth-child(8) { grid-column: span 6; }
  .spezial-bento > .card:nth-child(9) { grid-column: span 6; }
}

.card {
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-2);
  transition: background-color var(--dur-base), color var(--dur-base);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--brand); color: #fff; }
.card h3 { font-size: var(--t-lg); }
.card p { color: var(--ink-soft); }
.card .card-link {
  margin-top: auto;
  padding-top: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--brand-700);
  font-weight: 600;
  font-size: var(--t-sm);
}
.card .card-link::after {
  content: '→';
  transition: transform var(--dur-fast) var(--ease-out);
}
.card:hover .card-link::after { transform: translateX(3px); }

.card-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16/11;
  position: relative;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.card:hover .card-image img { transform: scale(1.04); }

/* ---------- Team-Cards ---------- */
.team-card {
  background: rgb(255 255 255 / 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.75);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo {
  aspect-ratio: 4/5;
  background: var(--cream);
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-meta { padding: var(--s-5) var(--s-5) var(--s-6); }
.team-meta h3 { font-size: var(--t-lg); margin-bottom: var(--s-1); }
.team-role { color: var(--brand-700); font-weight: 600; font-size: var(--t-sm); }
.team-spec { margin-top: var(--s-3); color: var(--ink-soft); font-size: var(--t-sm); }
.team-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.team-tag {
  font-size: var(--t-xs);
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 0.25em 0.7em;
  border-radius: var(--r-pill);
  font-weight: 600;
}

/* ---------- Form (Inline-Termin) ---------- */
.form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .form-wrap { padding: var(--s-10); } }
.form-header { margin-bottom: var(--s-6); }
.form-header h3 { font-size: var(--t-xl); }
.form-header p { color: var(--ink-soft); margin-top: var(--s-2); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
}
.field label .required { color: var(--accent-600); }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.field input,
.field select,
.field textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--t-base);
  font-family: inherit;
  width: 100%;
  min-height: 48px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-50);
}
.field .err {
  color: var(--danger);
  font-size: var(--t-xs);
  font-weight: 600;
  display: none;
}
.field[data-invalid] .err { display: block; }

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: var(--t-sm);
  font-weight: 600;
  background: var(--bg);
  transition: all var(--dur-fast);
  user-select: none;
}
.form-radio input { position: absolute; opacity: 0; pointer-events: none; }
.form-radio:hover { border-color: var(--brand); color: var(--brand-700); }
.form-radio.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.form-radio svg { width: 16px; height: 16px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--t-xs);
  color: var(--muted);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0;
}
.form-consent a { color: var(--brand-700); text-decoration: underline; }

.form-actions {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
@media (min-width: 640px) {
  .form-actions { flex-direction: row; align-items: center; justify-content: space-between; }
}
.form-status {
  font-size: var(--t-sm);
  color: var(--success);
  background: var(--success-50);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  display: none;
}
.form-status.is-error {
  color: var(--danger);
  background: var(--danger-50);
}
.form-status.is-visible { display: block; }

/* ---------- Bewerber-Formular (Multistep) ---------- */
.af { max-width: 40rem; margin: var(--s-10) auto 0; }
.af-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: var(--s-6);
}
@media (min-width: 768px) { .af-card { padding: var(--s-8); } }

.af-progress { margin-bottom: var(--s-6); }
.af-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.af-progress-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  overflow: hidden;
}
.af-progress-bar {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--brand);
  transition: width var(--dur-base) var(--ease-out);
}

.af-step { display: none; }
.af-step.is-active {
  display: block;
  animation: af-fade var(--dur-base) var(--ease-out);
}
@keyframes af-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.af-question { font-size: var(--t-xl); margin-bottom: var(--s-2); }
.af-hint { color: var(--ink-soft); font-size: var(--t-sm); margin-bottom: var(--s-5); }

.af-options { display: grid; gap: var(--s-3); }
.af-option {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  cursor: pointer;
  font-size: var(--t-base);
  font-weight: 600;
  text-align: left;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.af-option:hover { border-color: var(--brand); background: var(--brand-50); }
.af-option input { position: absolute; opacity: 0; pointer-events: none; }
.af-option .af-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.af-option .af-mark svg { width: 13px; height: 13px; opacity: 0; }
.af-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-50);
}
.af-option:has(input:checked) .af-mark {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.af-option:has(input:checked) .af-mark svg { opacity: 1; }
.af-option:focus-within {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}

.af-fields { display: grid; gap: var(--s-4); }

.af-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.af-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--t-sm);
  font-family: inherit;
  padding: var(--s-2) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
}
.af-back:hover { color: var(--brand-700); }
.af-back[hidden] { visibility: hidden; display: inline-flex; }
.af-nav .btn { margin-left: auto; }

.af-error {
  color: var(--danger);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-top: var(--s-3);
  display: none;
}
.af-error.is-visible { display: block; }

.af-success { text-align: center; padding: var(--s-2) 0; }
.af-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
}
.af-summary {
  text-align: left;
  margin: var(--s-6) 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.af-summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-sm);
}
.af-summary-row:nth-child(odd) { background: var(--surface); }
.af-summary-row span { color: var(--muted); }
.af-summary-row strong { color: var(--ink); text-align: right; }

/* ---------- Termin-Sektion ---------- */
.appointment-grid {
  display: grid;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 1024px) {
  .appointment-grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-12); }
}
.appointment-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.appointment-info li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.appointment-info .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.appointment-info .check svg { width: 16px; height: 16px; }
.appointment-info li > div { font-size: var(--t-sm); color: var(--ink-soft); }
.appointment-info li strong { color: var(--ink); display: block; font-weight: 600; font-size: var(--t-base); margin-bottom: 2px; }

.alt-options {
  margin-top: var(--s-8);
  padding: var(--s-5);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.alt-options h4, .alt-options .alt-h { margin-bottom: var(--s-3); font-size: var(--t-base); }
.alt-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}
.stat {
  text-align: center;
  padding: var(--s-5);
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.stat-num {
  font-size: clamp(1.875rem, 3vw, var(--t-3xl));
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  margin-top: var(--s-2);
}

/* ---------- Feature-Section ---------- */
.split-section {
  display: grid;
  gap: var(--s-10);
  align-items: center;
}
@media (min-width: 1024px) { .split-section { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
.split-section.reverse > :first-child { order: 0; }
@media (min-width: 1024px) {
  .split-section.reverse > :first-child { order: 1; }
}
.split-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hinweis-Box ---------- */
.notice {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--accent-50);
  border-left: 4px solid var(--accent);
  margin-top: var(--s-6);
}
.notice svg { width: 24px; height: 24px; color: var(--accent-600); flex-shrink: 0; }
.notice p { margin: 0; font-size: var(--t-sm); color: var(--ink-soft); line-height: 1.6; }
.notice strong { color: var(--ink); }

/* ---------- Altersrechner CTA ---------- */
.age-cta {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  background: linear-gradient(120deg, var(--brand-50) 0%, var(--cream) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-8) 0;
}
.age-cta__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--brand-700);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.age-cta__icon svg { width: 30px; height: 30px; }
.age-cta__body { flex: 1; min-width: 0; }
.age-cta__title { font-weight: 700; color: var(--ink); font-size: var(--t-md); margin: 0 0 4px; }
.age-cta__text { margin: 0; font-size: var(--t-sm); color: var(--ink-soft); line-height: 1.55; }
.age-cta .btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) {
  .age-cta { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .age-cta .btn { width: 100%; justify-content: center; }
}
.age-tip {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  margin-top: var(--s-6);
  padding: var(--s-3) var(--s-4);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.5;
}
.age-tip svg { flex: none; width: 22px; height: 22px; color: var(--brand-700); }
.age-tip strong { color: var(--ink); }
.age-tip a { font-weight: 600; }

/* ---------- Partner cards (external services) ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin: var(--s-5) 0; }
.partner-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.partner-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.partner-card .partner-name { font-weight: 700; color: var(--ink); font-size: var(--t-md); }
.partner-card .partner-desc { font-size: var(--t-sm); color: var(--ink-soft); line-height: 1.55; }
.partner-card .partner-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--brand-700); }
.partner-card .partner-link svg { width: 15px; height: 15px; }
.partner-note { font-size: var(--t-xs); color: var(--muted); }
.prose a.partner-card, .prose a.partner-card:hover { text-decoration: none; }
@media (max-width: 640px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- Ratgeber / Blog-Artikel ---------- */
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-10); }
.prose h3 { margin-top: var(--s-6); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); line-height: 1.7; }
.prose .feature-list { margin-top: var(--s-4); }

/* ---------- Schritt-Liste (Bewerbung etc.) ---------- */
.step-list { list-style: none; padding: 0; margin-top: var(--s-8); display: grid; gap: var(--s-5); }
.step-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: var(--t-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item h3 { margin: 0; }
.step-item p { margin-top: var(--s-2); color: var(--ink-soft); }


/* ---------- Karussell (Apple-like Swipe) ---------- */
.carousel { position: relative; margin-top: var(--s-10); }
.carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: var(--s-6);
  perspective: 1600px;
}
.carousel-track::-webkit-scrollbar { display: none; }
/* Abstandhalter, damit erste/letzte Karte zentriert werden kann */
.carousel-track::before,
.carousel-track::after { content: ""; flex: 0 0 32%; }
.carousel-track > * {
  scroll-snap-align: center;
  flex: 0 0 calc((100% - 2 * var(--s-5)) / 3);
  min-width: 0;
  transform-origin: center center;
  backface-visibility: hidden;
  transition: opacity .3s ease;
}
@media (max-width: 900px) {
  .carousel-track > * { flex-basis: 58%; }
  .carousel-track::before, .carousel-track::after { flex-basis: 21%; }
}
@media (max-width: 600px) {
  .carousel-track > * { flex-basis: 78%; }
  .carousel-track::before, .carousel-track::after { flex-basis: 11%; }
}
.carousel-photo {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgb(31 175 170 / 0.18);
  background: rgb(255 255 255 / 0.98);
  box-shadow: 0 10px 30px rgb(14 40 40 / 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-700);
  transition: background .2s ease, transform .15s ease, color .2s ease;
}
.carousel-arrow:hover { background: var(--brand); color: #fff; }
.carousel-arrow:active { transform: translateY(-50%) scale(0.92); }
.carousel-arrow svg { width: 26px; height: 26px; }
.carousel-arrow-prev { left: calc(-1 * var(--s-3)); }
.carousel-arrow-next { right: calc(-1 * var(--s-3)); }
.carousel-arrow[hidden] { display: none; }
@media (max-width: 700px) { .carousel-arrow { display: none; } }
/* Geklonte Karten (Endlos-Karussell) verhalten sich wie echte Karten */
.carousel-track > [data-carousel-clone] { scroll-snap-align: center; }

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-3);
}
.feature-list li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: var(--t-base);
  color: var(--ink-soft);
}
.feature-list .dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.feature-list .dot svg { width: 14px; height: 14px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.testimonial-author { margin-top: auto; }
.testimonial-author .t-name { display: block; font-weight: 600; color: var(--ink); }
.testimonial-stars { color: #F59E0B; display: flex; gap: 2px; }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text {
  font-size: var(--t-base);
  color: var(--ink);
  line-height: 1.6;
  flex-grow: 1;
}
.testimonial-text::before { content: '“'; color: var(--brand); font-size: 2em; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author {
  font-size: var(--t-sm);
  color: var(--muted);
  font-weight: 600;
}
.testimonial-author strong { color: var(--ink); display: block; font-weight: 600; }

/* Rating-Übersicht (AggregateRating) */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  margin-top: var(--s-8);
  flex-wrap: wrap;
  text-align: left;
}
.rating-score {
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand-700);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.rating-stars { display: flex; gap: 3px; color: #F59E0B; }
.rating-stars svg { width: 22px; height: 22px; }
.rating-meta { font-size: var(--t-sm); color: var(--ink-soft); margin-top: var(--s-2); }
.rating-meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Notdienst Banner ---------- */
.emergency-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #fff;
  padding: var(--s-8);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .emergency-banner {
    flex-direction: row;
    align-items: center;
    gap: var(--s-8);
    padding: var(--s-10);
  }
}
.emergency-banner h3 { color: #fff; font-size: var(--t-xl); }
.emergency-banner p { color: rgb(255 255 255 / 0.92); margin-top: var(--s-1); max-width: 56ch; }
.emergency-banner .btn {
  background: #fff;
  color: var(--accent-600);
  border-color: #fff;
}
.emergency-banner .btn:hover { background: var(--ink); color: #fff; }
.emergency-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.emergency-icon svg { width: 32px; height: 32px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--s-3); max-width: 50rem; margin-inline: auto; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.faq-item[open] { border-color: var(--brand-100); }
.faq-summary {
  padding: var(--s-5) var(--s-5);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--t-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  list-style: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  font-size: 1.6em;
  font-weight: 400;
  color: var(--brand);
  transition: transform var(--dur-base);
  flex-shrink: 0;
}
.faq-item[open] .faq-summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--ink-soft);
  font-size: var(--t-base);
  line-height: 1.7;
}
.faq-body p + p { margin-top: var(--s-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgb(255 255 255 / 0.78);
  padding-block: var(--s-16) var(--s-8);
}
.footer-grid {
  display: grid;
  gap: var(--s-10);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-8); } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: var(--brand-200); }
.footer-tagline { margin-top: var(--s-4); max-width: 30ch; font-size: var(--t-sm); }
.footer-social { margin-top: var(--s-5); display: flex; gap: var(--s-2); }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.1);
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-cert { margin-top: var(--s-5); }
.footer-cert a {
  display: inline-block;
  background: #fff;
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
}
.footer-cert img { display: block; height: 40px; width: auto; }
.footer-cert-note {
  display: block;
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  color: rgb(255 255 255 / 0.62);
}
.footer-cert .footer-cert-note + a { margin-top: var(--s-4); }

.footer-col h4, .footer-col .footer-h {
  color: #fff;
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer-col a {
  color: rgb(255 255 255 / 0.78);
  font-size: var(--t-sm);
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--brand); }
/* Mobil: größere Touch-Fläche für Footer-Links */
@media (max-width: 700px) {
  .footer-col a,
  .footer-bottom-links a { display: inline-block; padding-block: 6px; }
}
.footer-contact-line {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  font-size: var(--t-sm);
}
.footer-contact-line svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; flex-shrink: 0; }
/* Footer-Region-Block (lokale Standortseiten) */
.footer-region {
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.footer-region h4, .footer-region .footer-h {
  color: #fff;
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.footer-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
}
.footer-region-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: rgb(255 255 255 / 0.78);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.footer-region-links a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.footer-region-links a svg { width: 14px; height: 14px; color: var(--brand-200); flex-shrink: 0; }
.footer-region-links a:hover svg { color: #fff; }

.footer-bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgb(255 255 255 / 0.6);
}

/* ---------- Ortsteil-Chips (Standortseiten) ---------- */
.locality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.locality-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
}
.locality-chip svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }

/* Route/Anfahrt-Karte */
.route-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}
.route-card .route-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.route-card .route-icon svg { width: 24px; height: 24px; }
.route-card h3 { font-size: var(--t-base); margin-bottom: var(--s-1); }
.route-card p { font-size: var(--t-sm); color: var(--ink-soft); }

/* ---------- App-Seite: Phone-Mockup ---------- */
.phone-mock {
  --phone-w: 280px;
  width: var(--phone-w);
  aspect-ratio: 280 / 580;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgb(22 36 61 / 0.4);
  position: relative;
  flex-shrink: 0;
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: var(--ink);
  border-radius: var(--r-pill);
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.phone-statusbar svg { width: 16px; height: 11px; }
.phone-app-header {
  background: var(--brand);
  color: #fff;
  padding: var(--s-3) var(--s-4) var(--s-4);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.phone-app-header .pah-top {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 12px;
  font-weight: 600;
}
.phone-app-header .pah-top img { width: 22px; height: 22px; }
.phone-app-header h4 { color: #fff; font-size: 15px; margin-top: var(--s-2); }
.phone-app-header p { color: rgb(255 255 255 / 0.85); font-size: 11px; margin-top: 2px; }
.phone-body {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  overflow: hidden;
  flex: 1;
}
.phone-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-card-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-card-icon svg { width: 17px; height: 17px; }
.phone-card-icon.accent { background: var(--accent-50); color: var(--accent-600); }
.phone-card-text { min-width: 0; flex: 1; }
.phone-card-text strong { display: block; font-size: 11.5px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.phone-card-text span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.phone-card-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}
.phone-pet {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(120deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
}
.phone-pet-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-pet-avatar svg { width: 22px; height: 22px; }
.phone-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: var(--s-2) 2px 0;
}
.phone-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.phone-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--muted);
}
.phone-tabbar span svg { width: 18px; height: 18px; }
.phone-tabbar span.active { color: var(--brand-700); }

/* App-Hero */
.app-hero {
  position: relative;
  background:
    radial-gradient(50rem 30rem at 88% 0%, var(--brand-50) 0%, transparent 60%),
    var(--bg);
  padding-block: calc(var(--header-h) + var(--s-10)) var(--s-16);
  overflow: hidden;
}
.app-hero-grid {
  display: grid;
  gap: var(--s-10);
  align-items: center;
}
@media (min-width: 900px) {
  .app-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-12); }
}
.app-hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--s-4);
}
.app-hero-phones .phone-mock:first-child {
  --phone-w: 240px;
  transform: translateY(28px) rotate(-5deg);
}
.app-hero-phones .phone-mock:last-child {
  --phone-w: 262px;
  transform: rotate(4deg);
  z-index: 2;
}
@media (max-width: 560px) {
  .app-hero-phones .phone-mock:first-child { display: none; }
  .app-hero-phones .phone-mock:last-child { transform: none; --phone-w: 260px; }
}

/* App-Badges (Store-Hinweis) */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.app-badge:hover { transform: translateY(-2px); color: #fff; background: #0F1B30; }
.app-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.app-badge span small { font-size: 9px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }
.app-badge span strong { font-size: var(--t-sm); font-weight: 700; }

/* App-Feature-Split */
.app-feature {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 900px) {
  .app-feature { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
  .app-feature.reverse > :first-child { order: 1; }
}
.app-feature-visual {
  display: flex;
  justify-content: center;
}
.app-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: var(--t-sm);
  margin-bottom: var(--s-4);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer-bottom-links a { color: rgb(255 255 255 / 0.78); }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  background: var(--ink);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  z-index: 200;
  font-weight: 600;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--s-3); color: #fff; }

/* ---------- Floating Action Stack (Termin · Anruf · E-Mail) ---------- */
.float-stack {
  position: fixed;
  bottom: var(--s-4);
  right: var(--s-4);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-2);
  pointer-events: none;
}
@media (min-width: 768px) {
  .float-stack { bottom: var(--s-5); right: var(--s-5); gap: var(--s-3); }
}

.float-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background-color var(--dur-fast),
              color var(--dur-fast);
  white-space: nowrap;
}
.float-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.float-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgb(213 87 51 / 0.40);
  padding: 0.95rem 1.35rem;
  font-size: var(--t-sm);
}
.float-btn-primary:hover {
  background: var(--accent-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgb(213 87 51 / 0.45);
}

.float-btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 1rem;
  font-size: var(--t-xs);
}
.float-btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.float-btn .float-label { display: none; }
@media (min-width: 480px) { .float-btn .float-label { display: inline; } }

.float-stack {
  transform: translateY(20%);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base);
}
.float-stack.is-visible { transform: translateY(0); opacity: 1; }

/* Mobil: kompakte, runde Icon-Buttons (kleinerer Footprint, weniger Text-Überlappung) */
@media (max-width: 479px) {
  .float-stack { bottom: 14px; right: 14px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .float-btn-primary { width: 54px; height: 54px; padding: 0; }
}

@media print { .float-stack { display: none !important; } }

/* ---------- Sprachschalter (DE / EN / RU / ES / PL) ---------- */
.lang-switch {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.45rem 0.7rem;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: var(--t-xs);
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.lang-toggle:hover { background: var(--brand-50); border-color: var(--brand); }
.lang-toggle .lang-flag { width: 22px; height: 16px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06); overflow: hidden; }
.lang-toggle .lang-code { letter-spacing: 0.06em; text-transform: uppercase; }
.lang-toggle .lang-chev {
  width: 10px; height: 10px;
  transition: transform var(--dur-base);
  color: var(--muted);
}
.lang-switch[data-open] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-2);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
}
.lang-switch[data-open] .lang-menu { display: flex; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  text-align: left;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--brand-50); color: var(--brand-700); outline: none; }
.lang-menu button.is-active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.lang-menu .lang-flag { width: 22px; height: 16px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06); overflow: hidden; }
.lang-menu small {
  display: block;
  padding: var(--s-2) var(--s-3) var(--s-1);
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .lang-switch { display: none; }
}
.mobile-lang-switch { display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--border); margin-top: var(--s-4); }
.mobile-lang-switch h5 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: var(--s-2); }
.mobile-lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.mobile-lang-grid button {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.mobile-lang-grid button:hover, .mobile-lang-grid button.is-active { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.mobile-lang-grid .lang-flag { width: 22px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06); overflow: hidden; flex-shrink: 0; }

/* ---------- Highlight-Card (z. B. Tierzahnarzt-USP) ---------- */
.highlight-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-8);
  display: grid;
  gap: var(--s-6);
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .highlight-card {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-8);
    padding: var(--s-10);
  }
}
.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40rem 25rem at 110% -20%, rgb(255 255 255 / 0.18) 0%, transparent 60%),
    radial-gradient(30rem 20rem at -10% 120%, rgb(237 110 71 / 0.32) 0%, transparent 60%);
  pointer-events: none;
}
.highlight-card > * { position: relative; z-index: 1; }
.highlight-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgb(255 255 255 / 0.2);
}
.highlight-icon svg { width: 44px; height: 44px; color: #fff; }
.highlight-body h3 { color: #fff; font-size: var(--t-2xl); font-weight: 800; }
.highlight-body p { color: rgb(255 255 255 / 0.92); margin-top: var(--s-3); max-width: 56ch; font-size: var(--t-md); }
.highlight-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.highlight-tag { background: rgb(255 255 255 / 0.16); color: #fff; font-size: var(--t-xs); font-weight: 600; padding: 0.3em 0.85em; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.2); }
.highlight-card .btn {
  background: #fff;
  color: var(--brand-700);
}
.highlight-card .btn:hover { background: var(--accent); color: #fff; }
.highlight-actions { display: flex; flex-direction: column; gap: var(--s-3); flex-shrink: 0; }
.highlight-actions .btn { justify-content: center; }

/* ---------- Mini-Team-Liste (für Team-Seite TFAs) ---------- */
.team-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 640px) { .team-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-mini-meta strong, .team-mini-meta span { overflow-wrap: anywhere; }

.team-mini {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.team-mini:hover { border-color: var(--brand-100); background: var(--brand-50); }
.team-mini-avatar {
  width: 72px; height: 72px;
  border-radius: 30%;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--t-sm);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  object-fit: cover;
}
.team-mini-meta { min-width: 0; }
.team-mini-meta strong { display: block; font-size: var(--t-md); color: var(--ink); font-weight: 600; line-height: 1.2; }
.team-mini-meta span { display: block; font-size: var(--t-sm); color: var(--muted); margin-top: 2px; }

/* ---------- Page-Header (Subpages) ---------- */
.page-header {
  background:
    radial-gradient(50rem 30rem at 80% -20%, var(--brand-50) 0%, transparent 60%),
    var(--bg);
  padding-block: calc(var(--header-h) + var(--s-12)) var(--s-12);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .page-header { padding-block: calc(var(--header-h) + var(--s-16)) var(--s-16); } }
.breadcrumbs {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-bottom: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.breadcrumbs a { color: var(--brand-700); }
/* Mobil: Tap-Fläche der Breadcrumb-Links auf >=44px erweitern (Hit-Area via Padding, Optik bleibt) */
@media (max-width: 640px) {
  .breadcrumbs a, .breadcrumbs span[aria-current] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 4px;
    margin-block: -10px;
  }
}
.breadcrumbs span[aria-current] { color: var(--ink); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.breadcrumbs li + li::before { content: '/'; color: var(--border-strong); }
.breadcrumbs ol { list-style: none; padding: 0; display: inline-flex; flex-wrap: wrap; gap: var(--s-2); }
.page-header h1 { max-width: 24ch; }
.page-header .lead { margin-top: var(--s-5); }

/* ---------- Prose (Impressum, Datenschutz) ---------- */
.prose { color: var(--ink-soft); font-size: var(--t-base); }
.prose h2 { margin-top: var(--s-10); margin-bottom: var(--s-4); font-size: var(--t-xl); }
.prose h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); font-size: var(--t-lg); }
.prose p + p, .prose p + ul, .prose p + ol { margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.4em; margin-top: var(--s-3); }
.prose li + li { margin-top: var(--s-2); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 0.2em; }
/* Buttons im Fließtext behalten ihre Button-Optik (kein Link-Blau, keine Unterstreichung) */
.prose a.btn { color: var(--btn-fg); text-decoration: none; }
.prose a.btn:hover { color: var(--btn-fg); text-decoration: none; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Inhaltsverzeichnis (Blog & Leistungsseiten) ---------- */
.toc {
  margin: var(--s-8) 0;
  padding: var(--s-6);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
}
@media (min-width: 768px) { .toc { padding: var(--s-6) var(--s-8); } }
.toc-title {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-4);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.toc ol {
  margin: 0;
  padding-left: 1.6em;
  display: grid;
  gap: var(--s-2);
}
.toc li { color: var(--ink-soft); line-height: 1.4; }
.toc a { color: var(--brand-700); text-decoration: none; }
.toc a:hover { color: var(--accent-600); text-decoration: underline; }
.prose :target { scroll-margin-top: 6rem; }

/* ---------- Article tables ---------- */
.prose .table-wrap { overflow-x: auto; margin-top: var(--s-5); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.prose th, .prose td {
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border);
  text-align: left;
}
.prose thead th, .prose tr:first-child td { background: var(--brand-50); color: var(--ink); font-weight: 600; }

/* ---------- AI hints ---------- */
.ki-hint {
  display: block;
  margin: calc(-1 * var(--s-6)) 0 var(--s-8);
  font-size: var(--t-xs);
  color: var(--muted);
  font-style: italic;
}
.ki-text-hint {
  margin-top: var(--s-4);
  font-size: var(--t-xs);
  color: var(--muted);
}

/* ---------- Editorial figure (Ratgeber) ---------- */
.op-figure {
  margin: var(--s-8) 0;
}
.op-figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-50);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.op-figure__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) ease;
}
@media (hover: hover) {
  .op-figure:hover .op-figure__media img { transform: scale(1.035); }
}
.op-figure__badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgb(22 36 61 / 0.58);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgb(14 40 40 / 0.18);
  pointer-events: none;
}
.op-figure__badge svg { width: 13px; height: 13px; flex: none; }
.op-figure__caption {
  display: block;
  margin-top: var(--s-3);
  padding-left: var(--s-3);
  border-left: 3px solid var(--brand);
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--ink-soft);
}
.op-figure__caption em { font-style: italic; }
.op-figure__caption .op-figure__ai {
  display: inline;
  color: var(--muted);
  font-style: italic;
  white-space: nowrap;
}
.op-figure__caption .op-figure__ai::before {
  content: "·";
  margin: 0 0.4em;
  color: var(--border-strong);
}
@media (prefers-reduced-motion: reduce) {
  .op-figure__media img { transition: none; }
  .op-figure:hover .op-figure__media img { transform: none; }
}

/* ---------- Ratgeber filter ---------- */
.ratgeber-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand-700); }
.filter-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-pill svg { width: 18px; height: 18px; }
.filter-count {
  font-size: var(--t-xs);
  font-weight: 700;
  padding: 0.1em 0.5em;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
}
.filter-pill.is-active .filter-count { background: rgba(255,255,255,0.25); color: #fff; }
.ratgeber-count {
  color: var(--ink-mute, var(--ink-soft));
  font-size: var(--t-sm);
  margin-bottom: var(--s-6);
}
.card[hidden] { display: none; }

/* ---------- Trending-Artikel (Ratgeber) ---------- */
.trending-card {
  background: var(--brand-50);
  border-color: var(--brand-100);
}
.trending-card:hover { border-color: var(--brand); }
.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  align-self: flex-start;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.trending-badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.trending-card.is-tool { background: #FFF4EC; border-color: #FDBA74; }
.trending-card.is-tool:hover { border-color: #EA580C; }
.trending-card.is-tool .trending-badge { color: #C2410C; }

/* ---------- Notfall-Tool-Kachel (Schokoladen-Rechner) ---------- */
.tool-callout {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  background: #FFF4EC;
  border: 2px solid #FDBA74;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.tool-callout:hover {
  border-color: #EA580C;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.tool-callout-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #EA580C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-callout-icon svg { width: 28px; height: 28px; }
.tool-callout-text { min-width: 0; }
.tool-callout-text strong { display: block; font-size: var(--t-md); color: var(--ink); }
.tool-callout-text span { display: block; font-size: var(--t-sm); color: var(--ink-soft); margin-top: 2px; }
.tool-callout-arrow { flex-shrink: 0; margin-left: auto; color: #C2410C; }
.tool-callout-arrow svg { width: 22px; height: 22px; display: block; }

/* ---------- Schokoladen-Rechner ---------- */
.sc-tool {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: var(--s-6);
}
@media (min-width: 768px) { .sc-tool { padding: var(--s-8); } }

.sc-field { margin-bottom: var(--s-6); }
.sc-field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.sc-field-label .sc-val { color: var(--brand-700); font-variant-numeric: tabular-nums; }
.sc-number {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--t-lg);
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  min-height: 52px;
}
.sc-number:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.sc-range { width: 100%; accent-color: var(--brand); margin-top: var(--s-3); cursor: pointer; }

.sc-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
@media (min-width: 560px) { .sc-types { grid-template-columns: repeat(3, 1fr); } }
.sc-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.sc-type:hover { border-color: var(--brand); }
.sc-type.is-active { border-color: var(--brand); background: var(--brand-50); }
.sc-type strong { font-size: var(--t-sm); color: var(--ink); }
.sc-type span { font-size: var(--t-xs); color: var(--muted); }

.sc-result {
  margin-top: var(--s-6);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  background: var(--surface);
  transition: background-color var(--dur-base), border-color var(--dur-base);
}
.sc-result[data-level="1"] { background: var(--success-50); border-color: #86EFAC; }
.sc-result[data-level="2"] { background: #FEF3C7; border-color: #FCD34D; }
.sc-result[data-level="3"] { background: #FFEDD5; border-color: #FDBA74; }
.sc-result[data-level="4"] { background: var(--danger-50); border-color: #FCA5A5; }
.sc-result-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.sc-result-label {
  font-weight: 800;
  font-size: var(--t-lg);
  color: var(--ink);
}
.sc-result[data-level="1"] .sc-result-label { color: var(--success); }
.sc-result[data-level="2"] .sc-result-label { color: #B45309; }
.sc-result[data-level="3"] .sc-result-label { color: #C2410C; }
.sc-result[data-level="4"] .sc-result-label { color: var(--danger); }
.sc-dose {
  margin-top: var(--s-4);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sc-dose small { font-size: var(--t-sm); font-weight: 600; color: var(--muted); }
.sc-sub { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft); }

.sc-meter { margin: var(--s-5) 0 var(--s-2); }
.sc-meter-track {
  position: relative;
  height: 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(to right,
    #15803D 0%, #15803D 20%,
    #E0A100 20%, #E0A100 40%,
    #E0710E 40%, #E0710E 60%,
    #B91C1C 60%, #B91C1C 100%);
}
.sc-meter-marker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 28px;
  background: var(--ink);
  border-radius: 3px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #fff, var(--shadow-sm);
  transition: left var(--dur-base) var(--ease-out);
}
.sc-meter-scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: var(--s-2);
  font-variant-numeric: tabular-nums;
}
.sc-text { margin-top: var(--s-5); color: var(--ink-soft); }
.sc-result-cta { margin-top: var(--s-5); display: none; flex-wrap: wrap; gap: var(--s-3); }
.sc-result[data-level="3"] .sc-result-cta,
.sc-result[data-level="4"] .sc-result-cta { display: flex; }
.sc-disclaimer {
  margin-top: var(--s-5);
  font-size: var(--t-xs);
  color: var(--muted);
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Hours-Card ---------- */
.hours {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.hours h3,
.hours h2 {
  margin-bottom: var(--s-4);
  font-size: var(--t-lg);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.hours h3 svg,
.hours h2 svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--t-sm);
  gap: var(--s-3);
}
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--ink); font-weight: 600; }
.hours-row span { color: var(--ink-soft); text-align: right; }
.hours-row.is-today { background: var(--brand-50); margin-inline: calc(var(--s-3) * -1); padding-inline: var(--s-3); border-radius: var(--r-sm); border-bottom-color: var(--brand-100); }
.hours-note { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--border); font-size: var(--t-xs); color: var(--muted); }

/* ---------- Animations (subtle, respect reduced motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .float-cta, .mobile-nav, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.text-balance { text-wrap: balance; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.center { text-align: center; }

/* ===================================================================
   ÖFFNUNGSZEITEN-BANNER (Startseite, direkt unter dem Hero)
   =================================================================== */
.hours-section {
  background: var(--brand-50);
  padding-block: var(--s-10);
}
@media (min-width: 768px) { .hours-section { padding-block: var(--s-12); } }

.hours-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
@media (min-width: 920px) {
  .hours-banner {
    flex-direction: row;
    align-items: center;
    gap: var(--s-6);
    padding: var(--s-6) var(--s-8);
  }
}

/* Intro: Icon + Titel + Live-Status */
.hours-banner-intro {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.hours-banner-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hours-banner-icon svg { width: 27px; height: 27px; }
.hours-banner-headings h2 {
  font-size: var(--t-xl);
  line-height: 1.1;
}

/* Live-Status-Pille */
.hours-status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.2;
}
.hours-status[hidden] { display: none; }
.hours-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--muted);
}
.hours-status[data-status="open"] { color: var(--success); }
.hours-status[data-status="open"] .hours-status-dot {
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-50);
}
.hours-status[data-status="closed"] { color: var(--muted); }
.hours-status[data-status="closed"] .hours-status-dot {
  background: var(--muted);
  box-shadow: 0 0 0 4px var(--border);
}

/* Zeiten */
.hours-banner-times {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
@media (min-width: 920px) {
  .hours-banner-times {
    margin-inline: auto;
    padding-inline: var(--s-8);
    border-inline: 1px solid var(--border);
  }
}
.hours-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-6);
}
.hours-line-days {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--t-base);
}
.hours-line-time {
  color: var(--ink-soft);
  font-size: var(--t-base);
  font-variant-numeric: tabular-nums;
}
.hours-line.is-closed .hours-line-time { color: var(--muted); }

/* CTA */
.hours-banner-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}
.hours-banner-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-weight: 600;
  color: var(--brand-700);
  font-size: var(--t-sm);
}
.hours-banner-link svg { transition: transform var(--dur-fast) var(--ease-out); }
.hours-banner-link:hover svg { transform: translateX(3px); }

/* ---------- Buchungs-Dialog (Online-Termin im Overlay) ---------- */
.booking-modal {
  width: min(960px, 95vw);
  height: min(860px, 90vh);
  max-width: 95vw;
  max-height: 90vh;
  padding: 0;
  border: none;
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.booking-modal[open] { display: flex; flex-direction: column; }
.booking-modal::backdrop {
  background: rgb(14 40 40 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.booking-modal[open] { animation: booking-modal-in var(--dur-base) var(--ease-out); }
.booking-modal[open]::backdrop { animation: booking-backdrop-in var(--dur-base) var(--ease-out); }
.booking-modal.is-closing { animation: booking-modal-out var(--dur-fast) var(--ease-in-out) forwards; }
.booking-modal.is-closing::backdrop { animation: booking-backdrop-out var(--dur-fast) var(--ease-in-out) forwards; }
@keyframes booking-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes booking-modal-out { to { opacity: 0; transform: translateY(16px) scale(0.97); } }
@keyframes booking-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes booking-backdrop-out { to { opacity: 0; } }

.booking-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  flex-shrink: 0;
}
.booking-modal-titlewrap { display: flex; align-items: center; gap: var(--s-3); }
.booking-modal-titlewrap svg { width: 22px; height: 22px; flex-shrink: 0; }
.booking-modal-bar h2 { font-size: var(--t-lg); color: #fff; margin: 0; }
.booking-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  flex-shrink: 0;
  transition: background-color var(--dur-fast);
}
.booking-modal-close:hover { background: rgb(255 255 255 / 0.30); }
.booking-modal-close svg { width: 20px; height: 20px; }

.booking-modal-body { position: relative; flex: 1; min-height: 0; background: var(--surface); }
.booking-modal-frame { width: 100%; height: 100%; border: 0; display: block; }

.booking-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  color: var(--muted);
  background: var(--surface);
}
.booking-modal.is-ready .booking-modal-loading { display: none; }
.booking-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--brand-100);
  border-top-color: var(--brand);
  animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }

.booking-modal-foot {
  flex-shrink: 0;
  margin: 0;
  padding: var(--s-3) var(--s-5);
  font-size: var(--t-xs);
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.booking-modal-foot a { color: var(--brand-700); text-decoration: underline; }

@keyframes booking-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes booking-sheet-out { to { transform: translateY(100%); } }

@media (max-width: 640px) {
  .booking-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }
  /* Vollbild-Sheet: schiebt von unten ein — vertraute App-Anmutung */
  .booking-modal[open] { animation: booking-sheet-in var(--dur-base) var(--ease-out); }
  .booking-modal.is-closing { animation: booking-sheet-out var(--dur-fast) var(--ease-in-out) forwards; }
  /* Notch, Dynamic Island und Home-Indicator aussparen */
  .booking-modal-bar { padding-top: calc(var(--s-4) + env(safe-area-inset-top)); }
  .booking-modal-foot { padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom)); }
  .booking-modal-bar h2 { font-size: var(--t-md); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-modal[open],
  .booking-modal[open]::backdrop,
  .booking-modal.is-closing,
  .booking-modal.is-closing::backdrop { animation: none; }
}

/* ---------- FAQ-Suche (Live-Filter über Fragen & Antworten) ---------- */
.faq-search {
  position: relative;
  max-width: 34rem;
  margin: var(--s-6) auto var(--s-8);
}
.faq-search svg {
  position: absolute;
  left: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.faq-search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 3rem;
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-search-input::placeholder { color: var(--muted); }
.faq-search-input:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.faq-search-empty {
  max-width: 34rem;
  margin: var(--s-5) auto 0;
  padding: var(--s-4) var(--s-5);
  text-align: center;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  background: var(--brand-50);
  border-radius: var(--r-md);
}
.faq-search-empty a { color: var(--brand-700); font-weight: 600; }
.faq-item[hidden] { display: none; }
