/* ============================================================
   Praxis Dr. Sieber (aerzte-bernried.de) – Shared Stylesheet
   Version: 2026-11-14b
   ============================================================ */

/* Local GDPR-compliant Fonts (Variable fonts loaded locally to prevent CLS) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-roman.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/inter-roman.woff2') format('woff2');
}

/* ============================================================
   DESIGN TOKENS & THEMING
   Light + Dark mode via CSS custom properties + light-dark()
   ============================================================ */
:root {
  /* Palette – light values */
  --c-primary-light:       #1565C0;
  --c-primary-hover-light: #0D47A1;
  --c-bg-light:            #F8F8FB;
  --c-surface-light:       #F1F4FB;
  --c-surface-2-light:     #E3E9F6;
  --c-text-light:          #1A1A2E;
  --c-muted-light:         #6B7280;
  --c-gold-light:          #C9A84C;
  --c-border-light:        rgba(21,101,192,0.12);
  --c-hero-overlay-light:  rgba(13,71,161,0.65);

  /* Palette – dark values */
  --c-primary-dark:        #64B5F6;
  --c-primary-hover-dark:  #90CAF9;
  --c-bg-dark:             #0D1117;
  --c-surface-dark:        #161C27;
  --c-surface-2-dark:      #1E2638;
  --c-text-dark:           #E8EDF5;
  --c-muted-dark:          #8B95A8;
  --c-gold-dark:           #D4AF5C;
  --c-border-dark:         rgba(100,181,246,0.12);
  --c-hero-overlay-dark:   rgba(5,15,50,0.75);

  /* Semantic tokens using light-dark() */
  --c-primary:       light-dark(var(--c-primary-light),       var(--c-primary-dark));
  --c-primary-hover: light-dark(var(--c-primary-hover-light), var(--c-primary-hover-dark));
  --c-bg:            light-dark(var(--c-bg-light),            var(--c-bg-dark));
  --c-surface:       light-dark(var(--c-surface-light),       var(--c-surface-dark));
  --c-surface-2:     light-dark(var(--c-surface-2-light),     var(--c-surface-2-dark));
  --c-text:          light-dark(var(--c-text-light),          var(--c-text-dark));
  --c-muted:         light-dark(var(--c-muted-light),         var(--c-muted-dark));
  --c-gold:          light-dark(var(--c-gold-light),          var(--c-gold-dark));
  --c-border:        light-dark(var(--c-border-light),        var(--c-border-dark));
  --c-hero-overlay:  light-dark(var(--c-hero-overlay-light),  var(--c-hero-overlay-dark));

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 240ms;

  /* Mandatory */
  color-scheme: light dark;

  /* Scrollbar */
  --scrollbar-track: light-dark(#dde4f0, #161C27);
  --scrollbar-thumb: light-dark(#a0aec0, #3a4a6b);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;

  --in-oklch: ;
}

@supports (linear-gradient(in oklch, white, black)) {
  :root { --in-oklch: in oklch; }
}

[data-theme="dark"] {
  color-scheme: dark;
}
[data-theme="light"] {
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
  accent-color: var(--c-primary);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: clip;
  transition: background-color var(--duration), color var(--duration);
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
a:hover { color: var(--c-primary-hover); }
a:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
}

p { text-wrap: pretty; }

ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .fade-in-up {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-bg img,
  .water-glint {
    animation: none !important;
    transform: none !important;
  }
  .hero-water-layer {
    display: none;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: min(100%, 1140px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-xs);
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: light-dark(rgba(248,249,252,0.92), rgba(13,17,23,0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--duration) var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: 0.875rem;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.practice-logo {
  height: 48px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 3px 6px;
}

.footer-practice-logo {
  height: 52px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration), background var(--duration);
}
.nav-links a:hover {
  color: var(--c-primary);
  background: light-dark(rgba(21,101,192,0.07), rgba(100,181,246,0.12));
}
.nav-links a.active {
  color: var(--c-primary);
  font-weight: 600;
}

.btn-nav-cta {
  display: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--c-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  box-shadow: 0 2px 6px light-dark(rgba(21,101,192,0.15), rgba(0,0,0,0.25));
  transition: background var(--duration), transform var(--duration);
  align-items: center;
  justify-content: center;
}
.btn-nav-cta:hover {
  background: var(--c-primary-hover);
  transform: translateY(-1px);
}
@media (min-width: 900px) {
  .btn-nav-cta {
    display: inline-flex;
  }
}

/* Theme toggle button */
.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  color: var(--c-text);
  transition: background var(--duration), color var(--duration), border-color var(--duration);
}
.theme-toggle:hover {
  background: var(--c-surface);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

.icon-sun, .icon-moon {
  width: 20px; height: 20px;
}

/* Default: light → show moon; dark → show sun */
.icon-moon { display: block; }
.icon-sun  { display: none; }

[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .icon-sun,
  :root:not([data-theme]) .icon-sun  { display: block; }
  :root[data-theme="auto"] .icon-moon,
  :root:not([data-theme]) .icon-moon { display: none; }
}

/* Hamburger for mobile */
.nav-hamburger {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  color: var(--c-text);
}
@media (min-width: 900px) {
  .nav-hamburger { display: none; }
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: var(--space-sm);
  gap: 0.25rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover {
  background: light-dark(rgba(21,101,192,0.07), rgba(100,181,246,0.12));
  color: var(--c-primary);
}

/* ============================================================
   BUTTON STYLES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding: 0.875rem 1.25rem;
  }
}
.btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px light-dark(rgba(21,101,192,0.28), rgba(100,181,246,0.22));
}

.btn-secondary {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
[data-theme="dark"] .btn-secondary {
  border-color: rgba(237,233,225,0.22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-secondary {
    border-color: rgba(237,233,225,0.22);
  }
}
.btn-secondary:hover:not(:disabled) {
  background: var(--c-surface);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
  width: 100%;
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}
.btn-inline-link:hover {
  background: var(--c-surface);
  color: var(--c-primary);
}

.hero .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.hero .btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  color: #fff;
}

/* ============================================================
   S1 – HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero--compact {
  min-height: 60dvh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg picture {
  position: relative;
  z-index: 0;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg img {
  object-fit: cover;
  object-position: center 40%;
  transform-origin: 55% 42%;
  will-change: transform;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--c-hero-overlay);
  pointer-events: none;
}

/* Kombinierter Wasser-Lichtschimmer (reines CSS auf GPU-Compositor-Ebene) */
.hero-water-layer {
  position: absolute;
  left: -14%;
  right: -14%;
  top: 52%;
  bottom: -4%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 82% at 46% 58%, #000 32%, rgba(0, 0, 0, 0.5) 62%, transparent 94%);
  mask-image: radial-gradient(ellipse 72% 82% at 46% 58%, #000 32%, rgba(0, 0, 0, 0.5) 62%, transparent 94%);
}

.water-glint {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.water-glint--a {
  background:
    radial-gradient(ellipse 22% 11% at 31% 42%, rgba(190, 234, 255, 0.30) 0%, rgba(190, 234, 255, 0.13) 38%, transparent 74%),
    radial-gradient(ellipse 26% 12% at 55% 60%, rgba(255, 240, 195, 0.19) 0%, rgba(255, 240, 195, 0.08) 40%, transparent 74%),
    radial-gradient(ellipse 19% 10% at 42% 76%, rgba(175, 226, 255, 0.27) 0%, rgba(175, 226, 255, 0.11) 38%, transparent 74%);
  animation: waterDriftA 8.5s ease-in-out infinite alternate;
}

.water-glint--b {
  background:
    radial-gradient(ellipse 24% 11% at 49% 38%, rgba(165, 222, 255, 0.23) 0%, rgba(165, 222, 255, 0.10) 40%, transparent 76%),
    radial-gradient(ellipse 18% 9% at 25% 65%, rgba(255, 244, 210, 0.17) 0%, rgba(255, 244, 210, 0.07) 40%, transparent 72%),
    radial-gradient(ellipse 25% 12% at 62% 80%, rgba(155, 216, 255, 0.21) 0%, rgba(155, 216, 255, 0.09) 40%, transparent 76%);
  animation: waterDriftB 11.5s ease-in-out infinite alternate;
}

.water-glint--sweep {
  background:
    radial-gradient(
      ellipse 34% 64% at 50% 54%,
      rgba(255, 246, 215, 0.18) 0%,
      rgba(180, 230, 255, 0.14) 38%,
      rgba(180, 230, 255, 0.05) 60%,
      transparent 80%
    );
  animation: waterSweep 13s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.055) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes waterDriftA {
  0% { transform: translate3d(-6.5%, -0.8%, 0) scaleX(0.97); opacity: 0.25; }
  50% { opacity: 0.88; }
  100% { transform: translate3d(6.5%, 1.2%, 0) scaleX(1.04); opacity: 0.32; }
}

@keyframes waterDriftB {
  0% { transform: translate3d(5.8%, 1%, 0) scaleX(1.03); opacity: 0.84; }
  50% { opacity: 0.22; }
  100% { transform: translate3d(-5.8%, -1%, 0) scaleX(0.96); opacity: 0.86; }
}

@keyframes waterSweep {
  0% { transform: translate3d(-16%, 0, 0); opacity: 0.30; }
  50% { opacity: 0.85; }
  100% { transform: translate3d(16%, 0, 0); opacity: 0.35; }
}

.hero > .container {
  position: relative;
  z-index: 3;
}

.hero > * {
  width: 100%;
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-block: var(--space-xl) var(--space-lg);
}

.hero-grid > *,
.trust-grid > *,
.angio-inner > *,
.info-grid > *,
.expertise-grid > *,
.concept-grid > *,
.packages-grid > * {
  min-width: 0;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    padding-block: var(--space-2xl) var(--space-xl);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 0;
}

.hero--compact .hero-content {
  padding-block: var(--space-xl) var(--space-lg);
}

.hero-hours-card-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-hours-card {
  width: 100%;
  max-width: 420px;
  background: light-dark(rgba(248, 249, 252, 0.94), rgba(22, 28, 39, 0.9));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-hours-card h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
  text-align: center;
  letter-spacing: -0.01em;
}

.hero-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  color: var(--c-text);
  margin-bottom: var(--space-md);
}

.hero-hours-table tr {
  border-bottom: 1px solid var(--c-border);
}
.hero-hours-table tr:last-child {
  border-bottom: none;
}

.hero-hours-table td {
  padding: 0.65rem 0;
  vertical-align: top;
}

.hero-hours-table td:first-child {
  font-weight: 600;
  min-width: 95px;
}

.hero-hours-table td:last-child {
  text-align: right;
}

.hero-hours-extra {
  font-size: 0.8125rem;
  color: var(--c-muted);
  text-align: center;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.hero-covid-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: light-dark(rgba(201, 168, 76, 0.08), rgba(212, 175, 92, 0.08));
  border: 1px dashed var(--c-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-sm);
  font-size: 0.75rem;
  color: var(--c-text);
  line-height: 1.4;
  text-align: left;
}

.hero-covid-banner svg {
  color: var(--c-gold);
  flex-shrink: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-gold);
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-md);
  max-width: 33.5rem;
}

.hero--compact h1 {
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  max-width: 35rem;
}

.hero-subline {
  font-size: clamp(1rem, 0.8rem + 0.6vw, 1.1875rem);
  color: rgba(255,255,255,0.82);
  max-width: 36rem;
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}

.hero--compact .hero-subline {
  font-size: clamp(1rem, 0.8rem + 0.6vw, 1.125rem);
  color: rgba(255,255,255,0.85);
  max-width: 40rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero--compact .hero-cta-group {
  margin-bottom: 0;
}

/* Badge strip */
.badge-strip {
  position: relative;
  z-index: 1;
  background: light-dark(rgba(248,249,252,0.96), rgba(13,17,23,0.94));
  border-top: 1px solid var(--c-border);
}

.hero--compact + .badge-strip {
  border-bottom: 1px solid var(--c-border);
}

.badge-strip-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.badge-strip-inner::-webkit-scrollbar { display: none; }

@media (min-width: 900px) {
  .badge-strip-inner {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    justify-content: center;
  }
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem clamp(0.75rem, 1.8vw, 1.25rem);
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-right: 1px solid var(--c-border);
}

.hero--compact + .badge-strip .badge-item {
  padding-block: 0.875rem;
}

@media (min-width: 900px) {
  .badge-item {
    border-right: 1px solid var(--c-border);
    border-bottom: none;
  }
  .badge-item:last-child { border-right: none; }
}

.badge-item:last-child { border-right: none; }

.badge-item-focus {
  font-weight: 600;
  color: var(--c-primary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
  padding-block: var(--space-2xl);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--c-muted);
  max-width: 40rem;
  line-height: 1.6;
}

/* ============================================================
   HOME – LEISTUNGS-GRID
   ============================================================ */
.services-section {
  background: var(--c-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--c-bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: background var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--c-surface); }

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: light-dark(rgba(21,101,192,0.12), rgba(100,181,246,0.14));
  line-height: 1;
  margin-bottom: var(--space-sm);
  user-select: none;
}

.service-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ============================================================
   HOME – QUALIFIKATIONEN & VERTRAUEN
   ============================================================ */
.trust-section {
  background: var(--c-bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) clamp(2rem, 5vw, 4rem);
  }
}

.trust-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--c-border);
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--c-text);
  line-height: 1.55;
}

.trust-list li::before {
  content: '';
  display: block;
  min-width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.trust-list li strong {
  color: var(--c-primary);
  font-weight: 600;
}

.trust-list li span {
  color: var(--c-muted);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

.emergency-box {
  margin-top: var(--space-xl);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  align-items: center;
}

.emergency-box p {
  font-size: 0.875rem;
  color: var(--c-muted);
  font-weight: 500;
}

.emergency-numbers {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.emergency-num {
  display: flex;
  flex-direction: column;
}

.emergency-num a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1;
}
.emergency-num a:hover { color: var(--c-primary); }

.emergency-num small {
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   HOME – ANGIOLOGIE TEASER
   ============================================================ */
.angio-section {
  background: var(--c-surface);
}

.angio-inner {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .angio-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.angio-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: light-dark(rgba(21,101,192,0.08), rgba(100,181,246,0.12));
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.angio-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.angio-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.angio-chip {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  color: var(--c-text);
  white-space: nowrap;
}

/* ============================================================
   ANGIOLOGIE – EXPERTISE, KONZEPT, DIAGNOSTIK, PAKETE, REGION, FAQ
   ============================================================ */
.expertise-section {
  background: var(--c-bg);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.expertise-text p {
  font-size: 0.96875rem;
  color: var(--c-text);
  opacity: 0.9;
  margin-bottom: var(--space-sm);
  line-height: 1.65;
}

.expertise-quote-box {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--c-surface);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-md);
  border-top: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.expertise-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--c-text);
}

.expertise-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 500px) {
  .expertise-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.badge-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.badge-card:hover {
  border-color: light-dark(rgba(21,101,192,0.2), rgba(100,181,246,0.25));
  box-shadow: 0 4px 16px light-dark(rgba(21,101,192,0.06), rgba(0,0,0,0.15));
}

.badge-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  margin-bottom: 0.25rem;
  display: block;
}

.badge-card h4 {
  font-size: 0.9375rem;
  color: var(--c-text);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.badge-card p {
  font-size: 0.775rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.concept-section {
  background: var(--c-surface);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}

@media (min-width: 768px) {
  .concept-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.concept-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.concept-card:hover {
  border-color: light-dark(rgba(21,101,192,0.22), rgba(100,181,246,0.28));
  box-shadow: 0 12px 32px light-dark(rgba(21,101,192,0.08), rgba(0,0,0,0.25));
}

.concept-step {
  position: absolute;
  top: -15px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 600;
  color: light-dark(rgba(21,101,192,0.06), rgba(100,181,246,0.08));
  line-height: 1;
  user-select: none;
}

.concept-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--c-primary);
  position: relative;
  z-index: 1;
}

.concept-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}

.concept-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.concept-bullet {
  color: var(--c-gold);
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.concept-text strong {
  color: var(--c-text);
  font-weight: 600;
}

.concept-text p {
  color: var(--c-muted);
  margin-top: 0.15rem;
}

.diagnostics-section {
  background: var(--c-bg);
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-md);
}

.diag-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.diag-card:hover {
  background: var(--c-surface-2);
  border-color: light-dark(rgba(21,101,192,0.2), rgba(100,181,246,0.25));
}

.diag-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: light-dark(rgba(21,101,192,0.08), rgba(100,181,246,0.12));
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diag-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.diag-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--c-text);
}

.diag-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
}

.diag-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.diag-check {
  color: var(--c-gold);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: -1px;
}

.diag-card-list strong {
  color: var(--c-text);
  font-weight: 600;
}

.diag-card-list span {
  color: var(--c-muted);
  display: block;
}

.packages-section {
  background: var(--c-surface);
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

@media (min-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: var(--space-md);
  }
}

.package-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px light-dark(rgba(21,101,192,0.06), rgba(0,0,0,0.2));
}

.package-card-highlight {
  background: light-dark(#0E1E38, #111A2E);
  color: #fff;
  border: 2px solid var(--c-primary);
  box-shadow: 0 16px 40px light-dark(rgba(14,30,56,0.18), rgba(0,0,0,0.45));
}

@media (min-width: 900px) {
  .package-card-highlight {
    transform: scale(1.03);
    z-index: 2;
  }
  .package-card-highlight:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

.package-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--c-gold);
  color: #0E1E38;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

.package-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-gold);
}

.package-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.2;
}
.package-card-highlight h3 { color: #fff; }

.package-desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
}
.package-card-highlight .package-desc { color: #A5B4FC; }

.package-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  flex-grow: 1;
}

.package-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.package-bullet {
  color: var(--c-gold);
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.package-list span {
  color: var(--c-text);
  opacity: 0.85;
}
.package-card-highlight .package-list span {
  color: rgba(255,255,255,0.85);
}

.package-cta {
  margin-top: var(--space-md);
  width: 100%;
}

.package-card-highlight .btn-secondary {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.package-card-highlight .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}

.package-footnote {
  margin-top: var(--space-lg);
  font-size: 0.775rem;
  color: var(--c-muted);
  text-align: center;
  line-height: 1.5;
}

.regional-section {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--space-xl);
}

.regional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.regional-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.regional-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

.regional-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.25rem;
}

.regional-city {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}

.regional-route {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.45;
}

.faq-section {
  background: var(--c-bg);
  padding-block: var(--space-xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.faq-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-q::before {
  content: "Q:";
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-gold);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-a {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.6;
  padding-left: 1.5rem;
}

/* ============================================================
   PATIENTENSTIMMEN (REVIEWS)
   ============================================================ */
.reviews-section {
  background: var(--c-bg);
}

.reviews-section--compact {
  padding-block: var(--space-xl);
}

.carousel-outer {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

@media (max-width: 600px) {
  .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-sm);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-xs);
  }
  .carousel-track::-webkit-scrollbar { display: none; }
}

.review-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

@media (max-width: 600px) {
  .review-card {
    flex: 0 0 min(85vw, 340px);
    min-width: 280px;
    max-width: min(85vw, 340px);
    scroll-snap-align: start;
  }
}

.review-card:hover {
  border-color: light-dark(rgba(21,101,192,0.22), rgba(100,181,246,0.28));
  box-shadow: 0 8px 32px light-dark(rgba(21,101,192,0.09), rgba(0,0,0,0.35));
}

.stars {
  display: flex;
  gap: 2px;
}

.star-svg {
  width: 16px;
  height: 16px;
  fill: var(--c-gold);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--c-text);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.review-text::before { content: '\201E'; }
.review-text::after  { content: '\201C'; }

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-top: auto;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-text);
}

.review-date {
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.reviews-source {
  margin-top: var(--space-lg);
  text-align: center;
}

.reviews-source a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1px;
}
.reviews-source a:hover { color: var(--c-primary); border-color: var(--c-primary); }

@media (max-width: 900px) and (min-width: 601px) {
  .review-card:nth-child(n+3) { display: none; }
}

/* ============================================================
   HOME – PRAXISINFORMATIONEN
   ============================================================ */
.info-section {
  background: var(--c-surface);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.covid-icon {
  flex-shrink: 0;
  color: var(--c-gold);
  margin-top: 1px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
}

.contact-value a {
  color: var(--c-text);
  font-weight: 500;
  transition: color var(--duration);
}
.contact-value a:hover { color: var(--c-primary); }

.contact-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-consent {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 380px;
}

.map-consent-title {
  font-weight: 600;
  color: var(--c-text);
  font-size: 0.9375rem;
  margin: 0;
}

.map-consent-note {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ SECTION STYLES
   ============================================================ */
.legal-main {
  padding-top: 80px;
}

.legal-header {
  padding-block: var(--space-xl) var(--space-md);
  text-align: center;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}
.legal-header p {
  color: var(--c-muted);
}

.legal-section {
  padding-block: var(--space-md) var(--space-xl);
}

.legal-text-container {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, var(--space-xl));
  color: var(--c-text);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.legal-text-container h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 0.25rem;
}
.legal-text-container h2:first-of-type {
  margin-top: 0;
}
.legal-text-container h3 {
  font-size: 1.15rem;
  color: var(--c-primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}
.legal-text-container h4 {
  font-size: 1rem;
  color: var(--c-text);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}
.legal-text-container p {
  margin-bottom: var(--space-sm);
  color: var(--c-text);
  opacity: 0.9;
}
.legal-text-container p:last-child {
  margin-bottom: 0;
}
.legal-text-container ul {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  list-style-type: disc;
}
.legal-text-container li {
  margin-bottom: var(--space-xs);
  color: var(--c-text);
  opacity: 0.9;
}
.legal-text-container a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-text-container a:hover {
  color: var(--c-primary-hover);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: light-dark(#0D1B3E, #060F1E);
  color: rgba(255,255,255,0.65);
  padding-block: var(--space-xl) var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-lg);
  }
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  transition: color var(--duration), border-color var(--duration), background var(--duration);
  min-height: 44px;
}
.social-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

.footer-nav h4, .footer-legal h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-sm);
}

.footer-nav ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a,
.footer-legal a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--duration);
}
.footer-nav a:hover,
.footer-legal a:hover { color: rgba(255,255,255,1); }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.footer-copyright,
.footer-specialty {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   ANIMATIONS & SCROLL REVEAL
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
