:root {
  --c-ink: #1e4a7a;
  --c-ink-soft: #4a5468;
  --c-ink-muted: #8a94a8;

  --c-white: #ffffff;
  --c-paper: #fafbfc;
  --c-paper-2: #f3f6fa;
  --c-line: #e4e9ef;
  --c-line-2: #eef2f6;

  --c-primary: #0b2b4a;
  --c-primary-2: #1e4a7a;
  --c-primary-3: #3a70a8;
  --c-accent: #1e4a7a;
  --c-accent-2: #1e4a7a;
  --c-muted: #a8bdd4;
  --c-glow: #dce8f5;
  --c-scan: #5fa8d6;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Mehrlagige, weichere Schatten für mehr Tiefe */
  --shadow-xs: 0 1px 2px rgba(10, 18, 32, 0.04);
  --shadow-soft:
    0 1px 2px rgba(10, 18, 32, 0.04),
    0 4px 8px -2px rgba(10, 18, 32, 0.06),
    0 12px 24px -8px rgba(10, 18, 32, 0.08);
  --shadow-lift:
    0 2px 4px rgba(10, 18, 32, 0.04),
    0 8px 16px -4px rgba(10, 18, 32, 0.08),
    0 24px 48px -16px rgba(10, 18, 32, 0.16),
    0 40px 80px -32px rgba(11, 43, 74, 0.2);
  --shadow-epic:
    0 4px 8px rgba(10, 18, 32, 0.04),
    0 12px 24px -8px rgba(10, 18, 32, 0.08),
    0 32px 64px -16px rgba(10, 18, 32, 0.18),
    0 60px 120px -40px rgba(11, 43, 74, 0.28);

  /* 3D-Tiefe: Mehrlagig mit gerichtetem Licht von oben */
  --shadow-3d-card:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(11, 43, 74, 0.04) inset,
    0 1px 2px rgba(10, 18, 32, 0.04),
    0 4px 8px -2px rgba(10, 18, 32, 0.05),
    0 8px 16px -4px rgba(10, 18, 32, 0.06),
    0 16px 32px -8px rgba(10, 18, 32, 0.1),
    0 32px 64px -16px rgba(11, 43, 74, 0.18);
  --shadow-3d-lift:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.05) inset,
    0 2px 4px rgba(10, 18, 32, 0.05),
    0 8px 16px -4px rgba(10, 18, 32, 0.08),
    0 16px 32px -8px rgba(10, 18, 32, 0.1),
    0 32px 64px -16px rgba(10, 18, 32, 0.16),
    0 56px 112px -28px rgba(11, 43, 74, 0.3);
  --shadow-3d-press:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(10, 18, 32, 0.04);

  /* Glanzkante oben für 3D-Material-Wirkung */
  --highlight-top: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7) 0%,
    transparent 50%
  );
  --bevel-edge:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.06) inset;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

/* Feines medizinisches Grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 43, 74, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 43, 74, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 85%
  );
}

h1,
h2,
h3,
h4,
.display {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--c-primary-2);
  line-height: 1.02;
}
h1 {
  font-weight: 400;
}

.mono {
  font-family: "Geist Mono", "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-accent);
}

.container-xxl {
  max-width: 1400px;
  position: relative;
  z-index: 2;
}

/* ========== NAVIGATION ========== */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.nav-wrap.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(228, 233, 239, 0.7);
  box-shadow: 0 4px 20px -10px rgba(11, 43, 74, 0.08);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  letter-spacing: -0.022em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 52px;
  height: 38px;
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset,
    0 1px 1px rgba(11, 43, 74, 0.2),
    0 2px 4px rgba(11, 43, 74, 0.2),
    0 6px 12px -2px rgba(11, 43, 74, 0.35),
    0 12px 24px -6px rgba(11, 43, 74, 0.25);
  position: relative;
  transform: translateZ(0);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    transparent 45%
  );
  pointer-events: none;
}
.brand:hover .brand-mark {
  transform: translateY(-1px) rotateX(8deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset,
    0 2px 2px rgba(11, 43, 74, 0.2),
    0 4px 8px rgba(11, 43, 74, 0.2),
    0 10px 20px -2px rgba(11, 43, 74, 0.4),
    0 18px 36px -8px rgba(11, 43, 74, 0.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-ink-soft);
}
.brand small {
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover {
  color: var(--c-accent);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    var(--c-ink);
  color: var(--c-white) !important;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.85rem !important;
  transition: all 0.3s var(--ease);
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 1px 2px rgba(10, 18, 32, 0.2),
    0 8px 20px -8px rgba(10, 18, 32, 0.4);
}
.nav-cta:hover {
  background: var(--c-accent) !important;
  transform: translateY(-2px);
}
.nav-cta::after {
  display: none;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 200px 0 140px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fbff 60%,
    #ffffff 100%
  );
}

/* Hintergrundbild Arztpraxis - hinter den Animationen */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fazg-pb.jpg");
  background-size: cover;
  background-position: center;
  /* Sanfter Filter, damit das Bild ruhig wirkt */
  filter: saturate(0.85) brightness(1.05) contrast(0.95);
}
/* Weicher Verlauf von links nach rechts: links transparent (Text-Bereich), rechts Bild sichtbar */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.85) 25%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.15) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(255, 255, 255, 0.4) 100%
    );
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -5%;
  width: 1100px;
  height: 1100px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 30%),
    radial-gradient(circle, rgba(168, 189, 212, 0.45) 0%, transparent 55%);
  filter: blur(60px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(11, 43, 74, 0.04) 0%,
    transparent 60%
  );
  filter: blur(40px);
}

/* Dekorative ECG-Line am unteren Hero-Rand */
.ecg-line {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-meta-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow:
    0 0 0 4px rgba(11, 43, 74, 0.15),
    0 0 12px rgba(11, 43, 74, 0.4);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(11, 43, 74, 0.15),
      0 0 12px rgba(11, 43, 74, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(11, 43, 74, 0),
      0 0 12px rgba(11, 43, 74, 0.4);
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-accent);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-accent);
  opacity: 0.25;
  border-radius: 2px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--c-ink-soft);
  max-width: 540px;
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary-custom {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    var(--c-ink);
  color: var(--c-white);
  border: none;
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  transition: all 0.35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -2px 0 rgba(0, 0, 0, 0.4) inset,
    0 1px 1px rgba(10, 18, 32, 0.2),
    0 2px 4px rgba(10, 18, 32, 0.2),
    0 8px 16px -2px rgba(10, 18, 32, 0.4),
    0 16px 32px -8px rgba(10, 18, 32, 0.4);
}
.btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.btn-primary-custom:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    var(--c-accent);
  transform: translateY(-4px);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -2px 0 rgba(0, 0, 0, 0.4) inset,
    0 2px 2px rgba(11, 43, 74, 0.2),
    0 4px 8px rgba(11, 43, 74, 0.2),
    0 14px 28px -2px rgba(11, 43, 74, 0.4),
    0 24px 48px -10px rgba(11, 43, 74, 0.4);
}
.btn-primary-custom:active {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset,
    0 1px 2px rgba(10, 18, 32, 0.2),
    0 4px 8px rgba(10, 18, 32, 0.3);
}
.btn-primary-custom:hover::before {
  transform: translateX(100%);
}

.btn-ghost-custom {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 100%
  );
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.06) inset,
    0 1px 2px rgba(10, 18, 32, 0.04),
    0 4px 12px -2px rgba(10, 18, 32, 0.08);
}
.btn-ghost-custom:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 2px 4px rgba(10, 18, 32, 0.2),
    0 12px 24px -4px rgba(10, 18, 32, 0.3),
    0 24px 48px -10px rgba(10, 18, 32, 0.3);
}
.btn-ghost-custom:active {
  transform: translateY(-1px);
}

/* ========== HERO 3D VISUAL ========== */
.hero-stage {
  position: relative;
  aspect-ratio: 1/1.15;
  max-width: 620px;
  margin-left: auto;
  perspective: 1800px;
  transform-style: preserve-3d;
  z-index: 3;
}

/* Konzentrische Ringe */
.stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.stage-ring.r1 {
  width: 100%;
  aspect-ratio: 1;
}
.stage-ring.r2 {
  width: 75%;
  aspect-ratio: 1;
  border-color: var(--c-line-2);
  border-style: dashed;
  animation: rotate 90s linear infinite;
}
.stage-ring.r3 {
  width: 50%;
  aspect-ratio: 1;
  border: 1px dashed rgba(131, 35, 41, 0.2);
  animation: rotate 60s linear infinite reverse;
}
@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Zentrum: Central Glow mit Depth-Halo */
.stage-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 30%),
    radial-gradient(
      circle,
      rgba(168, 189, 212, 0.55) 0%,
      rgba(168, 189, 212, 0.18) 40%,
      transparent 70%
    );
  filter: blur(24px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 1;
  }
}

/* Ring-Marker (Datenvisualisierung) als 3D-Bullets */
.ring-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #e8eff7 100%);
  border: 1px solid var(--c-primary);
  border-radius: 50%;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(11, 43, 74, 0.15) inset,
    0 1px 2px rgba(11, 43, 74, 0.3),
    0 4px 8px rgba(11, 43, 74, 0.25),
    0 0 0 4px rgba(11, 43, 74, 0.08);
}
.ring-marker::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--c-primary);
  opacity: 0.3;
  animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
/* m1/m3 sitzen auf dem Ring r1 (Ring folgt der Stage-Breite,
   die Stage ist 1:1.15 hoch → 6.52% Versatz oben/unten) */
.ring-marker.m1 {
  top: 6.52%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring-marker.m2 {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}
.ring-marker.m3 {
  bottom: 6.52%;
  left: 50%;
  transform: translate(-50%, 50%);
}
.ring-marker.m4 {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

/* 3D Floating Cards mit echter Tiefe */
.float-card {
  position: absolute;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.08) inset,
    0 2px 4px rgba(10, 18, 32, 0.04),
    0 8px 16px -4px rgba(10, 18, 32, 0.06),
    0 16px 32px -8px rgba(10, 18, 32, 0.1),
    0 32px 64px -16px rgba(10, 18, 32, 0.18),
    0 60px 120px -32px rgba(11, 43, 74, 0.32);
  border: 1px solid rgba(228, 233, 239, 0.8);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.float-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.85) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 30%);
  pointer-events: none;
}
.float-card::after {
  content: "";
  position: absolute;
  inset: 17px 18px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow:
    0 0 0 3px rgba(131, 35, 41, 0.15),
    0 1px 2px rgba(11, 43, 74, 0.3);
}
/* Logo-Zone: nimmt den freien Raum, Titel bleibt immer sichtbar */
.float-card .fc-logo {
  flex: 1 1 0%;
  min-height: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}
/* absolut statt Flex-Item: sonst sperrt min-width:auto das breite
   Gastro-SVG auf seine Eigenbreite und es läuft aus der Karte */
.float-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Disziplin-Bezeichnung unter dem Logo — lesbar, nicht nur Dekoration */
.float-card .fc-title {
  position: relative;
  z-index: 3;
  width: 100%;
  flex: 0 0 auto;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-2);
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--c-primary);
}

.float-card.fc-1 {
  width: 47%;
  aspect-ratio: 1/1;
  top: 1%;
  left: 0;
  transform: rotate(-5deg) translateZ(80px);
  z-index: 4;
  animation: floatA 8s ease-in-out infinite;
}
.float-card.fc-2 {
  width: 50%;
  aspect-ratio: 1.12/1;
  top: 5%;
  right: 0;
  transform: rotate(3deg) translateZ(20px);
  z-index: 3;
  animation: floatB 10s ease-in-out infinite;
}
.float-card.fc-3 {
  width: 52%;
  aspect-ratio: 1/1;
  bottom: 1%;
  left: 24%;
  transform: rotate(-2.5deg) translateZ(120px);
  z-index: 5;
  animation: floatC 9s ease-in-out infinite;
}

@keyframes floatA {
  0%,
  100% {
    transform: rotate(-5deg) translateZ(80px) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateZ(80px) translateY(-14px);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: rotate(3deg) translateZ(20px) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateZ(20px) translateY(-16px);
  }
}
@keyframes floatC {
  0%,
  100% {
    transform: rotate(-2.5deg) translateZ(120px) translateY(0);
  }
  50% {
    transform: rotate(-1.5deg) translateZ(120px) translateY(-12px);
  }
}

/* ========== TRUST STRIP ========== */
.trust-strip {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      transparent 8%,
      transparent 92%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    var(--c-primary-3);
  color: var(--c-white);
  padding: 28px 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  box-shadow:
    0 8px 16px -4px rgba(11, 43, 74, 0.18) inset,
    0 -8px 16px -4px rgba(11, 43, 74, 0.12) inset;
}
.trust-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--c-muted),
    transparent
  );
  opacity: 0.3;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 1);
  font-family: "Geist Mono", monospace;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.trust-strip .item i {
  color: var(--c-muted);
  font-size: 0.95rem;
}
.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* ========== SECTIONS ========== */
section {
  position: relative;
  z-index: 2;
}
.section-pad {
  padding: 60px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 90px;
}
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  font-weight: 400;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-accent);
}
.section-head p {
  color: var(--c-ink-soft);
  font-size: 1.1rem;
  max-width: 620px;
}

/* ========== FACHBEREICHE ========== */
#fachbereiche {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.specialty-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 48px 40px 40px;
  height: 100%;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.specialty-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 0.6s var(--ease);
  z-index: 2;
}
.specialty-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.5s var(--ease);
}
.specialty-card:hover {
  transform: translateY(-14px);
  box-shadow: var(--shadow-3d-lift);
  border-color: rgba(168, 189, 212, 0.5);
}
.specialty-card:hover::before {
  transform: scaleX(1);
}
.specialty-card:hover::after {
  opacity: 1;
}

.specialty-card.card-cardio::before {
  background: var(--c-primary);
}
.specialty-card.card-rheum::before {
  background: var(--c-muted);
}
.specialty-card.card-gastro::before {
  background: var(--c-accent);
}

.specialty-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.specialty-number {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--c-ink-muted);
  letter-spacing: 0.08em;
}
.specialty-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
}
.specialty-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.3;
}
.card-cardio .specialty-dot {
  background: var(--c-primary);
  color: var(--c-primary);
}
.card-rheum .specialty-dot {
  background: var(--c-muted);
  color: var(--c-muted);
}
.card-gastro .specialty-dot {
  background: var(--c-accent);
  color: var(--c-accent);
}

/* Logo mit 3D Schwebe-Effekt */
.specialty-logo {
  height: 160px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
}
.specialty-logo img {
  max-height: 100%;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.specialty-card:hover .specialty-logo img {
  transform: translateY(-6px) scale(1.06);
}

/* Logo-Untergrund für mehr Tiefe */
.specialty-logo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 70%;
  height: 12px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(11, 43, 74, 0.12),
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.6;
  transition: all 0.6s var(--ease);
}
.specialty-card:hover .specialty-logo::after {
  bottom: -12px;
  opacity: 0.9;
  transform: translateX(-50%) scale(0.9);
}

.specialty-card h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.specialty-card .specialty-sub {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
}
.specialty-card .doctors {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}
.specialty-card .doctors li {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.specialty-card .doctors li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-ink-muted);
  flex-shrink: 0;
}
.specialty-card .doctors li:last-child {
  border-bottom: 0;
}

/* Kardiologie: 4 Ärzte in 2 Spalten, damit die Karte nicht höher wird als die anderen */
.specialty-card.card-cardio .doctors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.specialty-card.card-cardio .doctors li:nth-last-child(-n + 2) {
  border-bottom: 0;
}
@media (max-width: 480px) {
  .specialty-card.card-cardio .doctors {
    grid-template-columns: 1fr;
  }
  .specialty-card.card-cardio .doctors li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--c-line-2);
  }
  .specialty-card.card-cardio .doctors li:last-child {
    border-bottom: 0;
  }
}

.specialty-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 15px 22px;
  margin-top: auto;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    var(--c-ink);
  color: var(--c-white) !important;
  border: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    gap 0.3s var(--ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -2px 0 rgba(0, 0, 0, 0.4) inset,
    0 1px 1px rgba(10, 18, 32, 0.2),
    0 2px 4px rgba(10, 18, 32, 0.2),
    0 8px 16px -2px rgba(10, 18, 32, 0.35),
    0 16px 32px -8px rgba(10, 18, 32, 0.3);
}
.specialty-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.specialty-link:hover {
  gap: 16px;
  color: #fff !important;
  transform: translateY(-3px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    var(--c-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -2px 0 rgba(0, 0, 0, 0.4) inset,
    0 2px 2px rgba(11, 43, 74, 0.2),
    0 4px 8px rgba(11, 43, 74, 0.2),
    0 14px 28px -2px rgba(11, 43, 74, 0.4),
    0 24px 48px -10px rgba(11, 43, 74, 0.35);
}
.specialty-link:hover::before {
  transform: translateX(100%);
}
.specialty-link:active {
  transform: translateY(-1px);
}
.specialty-link i {
  transition: transform 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.specialty-link:hover i {
  transform: translate(3px, -3px);
}
.specialty-link span {
  position: relative;
  z-index: 1;
}

.specialty-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--c-line-2);
  margin-top: 4px;
}
.specialty-phone i {
  color: var(--c-muted);
  font-size: 1rem;
}
.specialty-phone a {
  font-family: "Geist Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.specialty-phone a:hover {
  color: var(--c-accent);
}

/* ========== PHILOSOPHIE ========== */
.philosophy {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 100px 70px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
}
.philosophy::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(168, 189, 212, 0.3) 0%,
    transparent 60%
  );
  filter: blur(40px);
}
.philosophy::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--c-accent),
    transparent
  );
  opacity: 0.3;
}
.philosophy h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 32px;
  position: relative;
  letter-spacing: -0.04em;
}
.philosophy h2 em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 400;
}
.philosophy p {
  color: var(--c-ink-soft);
  font-size: 1.1rem;
  max-width: 600px;
  position: relative;
}
.philosophy .big-number {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 400;
  line-height: 0.88;
  color: var(--c-ink);
  position: relative;
  letter-spacing: -0.07em;
  background: linear-gradient(
    180deg,
    var(--c-primary) 0%,
    var(--c-primary-2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Mehrlagige Text-Schatten für 3D-Tiefe */
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6))
    drop-shadow(0 2px 0 rgba(11, 43, 74, 0.06))
    drop-shadow(0 4px 0 rgba(11, 43, 74, 0.04))
    drop-shadow(0 12px 24px rgba(11, 43, 74, 0.18))
    drop-shadow(0 24px 48px rgba(11, 43, 74, 0.12));
  transition: transform 0.6s var(--ease);
}
.philosophy:hover .big-number {
  transform: translateY(-4px) scale(1.01);
}
.philosophy .big-number sup {
  font-size: 0.28em;
  color: var(--c-accent);
  -webkit-text-fill-color: var(--c-accent);
  margin-left: 12px;
  font-style: italic;
  font-weight: 400;
}
.philosophy .stat-label {
  font-family: "Geist Mono", monospace;
  color: var(--c-ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ========== KONTAKT ========== */
#kontakt {
  background: var(--c-paper);
}

.hours-table {
  background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
  border-radius: var(--radius-xl);
  padding: 50px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-3d-card);
  position: relative;
}
.hours-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.hours-table h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.hours-table .subtitle {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line-2);
  font-size: 0.98rem;
}
.hours-row:last-child {
  border-bottom: 0;
}
.hours-row .day {
  color: var(--c-ink);
  font-weight: 500;
}
.hours-row .time {
  color: var(--c-ink-soft);
  font-variant-numeric: tabular-nums;
  font-family: "Geist Mono", monospace;
  font-size: 0.85rem;
}
.hours-row.today {
  background: linear-gradient(
    90deg,
    rgba(131, 35, 41, 0.05),
    transparent
  );
  margin: 0 -50px;
  padding: 18px 50px;
  border-radius: 0;
}
.hours-row.today .day {
  color: var(--c-accent);
  font-weight: 600;
}
.hours-row.today .day::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-right: 12px;
  vertical-align: middle;
  animation: pulseDot 2s infinite;
  box-shadow: 0 0 0 3px rgba(131, 35, 41, 0.15);
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.contact-card {
  background:
    radial-gradient(
      circle at 30% 0%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 40%
    ),
    linear-gradient(145deg, var(--c-primary) 0%, var(--c-ink) 100%);
  color: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 50px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset,
    0 2px 4px rgba(10, 18, 32, 0.1),
    0 8px 16px -4px rgba(10, 18, 32, 0.15),
    0 24px 48px -12px rgba(11, 43, 74, 0.35),
    0 48px 96px -24px rgba(11, 43, 74, 0.4);
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(168, 189, 212, 0.15) 0%,
    transparent 60%
  );
  filter: blur(30px);
}
.contact-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(131, 35, 41, 0.08) 0%,
    transparent 60%
  );
  filter: blur(30px);
}
.contact-card h4 {
  color: var(--c-white);
  font-size: 1.5rem;
  margin-bottom: 8px;
  position: relative;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.contact-card .subtitle {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}
.contact-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.contact-item:last-child {
  border-bottom: 0;
}
.contact-item i {
  color: var(--c-muted);
  font-size: 1.2rem;
  margin-top: 4px;
}
.contact-item .label {
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.contact-item .value {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: -0.02em;
}
.contact-item .value a {
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.contact-item .value a:hover {
  border-bottom-color: var(--c-muted);
}

/* ========== ANFAHRT ========== */
#anfahrt {
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 100%,
      rgba(168, 189, 212, 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, var(--c-primary) 0%, var(--c-ink) 100%);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
#anfahrt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 189, 212, 0.3),
    transparent
  );
}
/* Feines Grid-Overlay */
#anfahrt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 80%
  );
}

#anfahrt .section-head h2 {
  color: var(--c-white);
}
#anfahrt .section-head h2 em {
  color: var(--c-muted);
}
#anfahrt .section-head p {
  color: rgba(255, 255, 255, 0.7);
}
#anfahrt .eyebrow {
  color: var(--c-muted);
}

/* Adresskarte links */
.anfahrt-info {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 12px 32px -8px rgba(0, 0, 0, 0.3),
    0 24px 48px -16px rgba(0, 0, 0, 0.25);
  position: relative;
}
.anfahrt-info h4 {
  font-size: 1.5rem;
  color: var(--c-white);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.anfahrt-info .anfahrt-sub {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.anfahrt-info .anfahrt-address {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--c-white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.anfahrt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.anfahrt-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.anfahrt-list li:last-child {
  border-bottom: 0;
}
.anfahrt-list li i {
  color: var(--c-muted);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.anfahrt-list li strong {
  color: var(--c-white);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.anfahrt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.anfahrt-btn {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--c-white);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.anfahrt-btn:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}
.anfahrt-btn i {
  color: var(--c-muted);
}

/* Map-Container rechts */
.map-container {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 48px -16px rgba(0, 0, 0, 0.4),
    0 48px 96px -24px rgba(0, 0, 0, 0.3);
}

/* Click-to-Load Overlay (Datenschutz) */
.map-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 43, 74, 0.85) 0%,
      rgba(10, 18, 32, 0.95) 100%
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="600" viewBox="0 0 600 600"><defs><pattern id="g" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23A8BDD4" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="600" height="600" fill="url(%23g)"/><circle cx="300" cy="300" r="120" fill="none" stroke="%23A8BDD4" stroke-width="1" opacity="0.4"/><circle cx="300" cy="300" r="60" fill="none" stroke="%23A8BDD4" stroke-width="1" opacity="0.5"/><circle cx="300" cy="300" r="8" fill="%23832329"/></svg>');
  background-size:
    cover,
    100% 100%;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  cursor: pointer;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}
.map-placeholder.loaded {
  opacity: 0;
  pointer-events: none;
}
.map-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 8px 24px -4px rgba(0, 0, 0, 0.4);
  animation: pulseMap 3s ease-in-out infinite;
}
@keyframes pulseMap {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
.map-placeholder h5 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.25rem;
  color: var(--c-white);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.map-placeholder p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 340px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.map-placeholder p a {
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-load-btn {
  background: var(--c-white);
  color: var(--c-primary);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -1px 0 rgba(11, 43, 74, 0.1) inset,
    0 4px 12px -2px rgba(0, 0, 0, 0.25),
    0 8px 24px -4px rgba(0, 0, 0, 0.2);
  font-family: inherit;
}
.map-load-btn:hover {
  background: var(--c-muted);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -1px 0 rgba(11, 43, 74, 0.1) inset,
    0 8px 16px -2px rgba(0, 0, 0, 0.3),
    0 16px 32px -8px rgba(0, 0, 0, 0.25);
}
.map-placeholder small {
  display: block;
  margin-top: 18px;
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
/* ---- Leaflet-Karte (OpenStreetMap) ---- */
.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--c-primary);
  font-family: "Inter Tight", sans-serif;
}
/* Kartenkacheln ins dunkle Blau-Theme tönen — Marker/Popups bleiben unberührt */
.map-canvas .leaflet-tile-pane {
  filter: invert(1) hue-rotate(188deg) brightness(0.9) contrast(0.92)
    saturate(0.55);
}

/* FAZG-Standortmarker — übernimmt die Optik der Wortmarke (.brand-mark) */
.fazg-pin {
  position: relative;
  width: 64px;
  height: 58px;
}
.fazg-pin__body {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
  width: 64px;
  height: 46px;
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset,
    0 1px 1px rgba(11, 43, 74, 0.2),
    0 2px 4px rgba(11, 43, 74, 0.2),
    0 6px 12px -2px rgba(11, 43, 74, 0.35),
    0 12px 24px -6px rgba(11, 43, 74, 0.25),
    /* zusätzliche Tiefe gegen den dunklen Kartengrund */
      0 10px 22px -6px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--c-white);
}
/* Glanzschicht — identisch zu .brand-mark::after */
.fazg-pin__body::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    transparent 45%
  );
  pointer-events: none;
}
.fazg-pin__tip {
  position: absolute;
  left: 50%;
  top: 40px;
  z-index: 1;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    var(--c-primary);
  border-radius: 0 0 3px 0;
  box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.5);
}
.fazg-pin__pulse {
  position: absolute;
  left: 50%;
  top: 23px;
  width: 64px;
  height: 46px;
  margin: -23px 0 0 -32px;
  border-radius: 12px;
  border: 2px solid var(--c-muted);
  animation: fazgPulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes fazgPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Parkhaus-Marker (sekundär) */
.park-pin {
  position: relative;
  width: 40px;
  height: 50px;
}
.park-pin__body {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--c-primary);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
}
.park-pin__tip {
  position: absolute;
  left: 50%;
  top: 34px;
  z-index: 1;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(255, 255, 255, 0.94);
  border-right: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
}

/* Popups & Controls ans Seitendesign angleichen */
.map-canvas .leaflet-popup-content-wrapper,
.map-canvas .leaflet-popup-tip {
  background: rgba(11, 43, 74, 0.96);
  color: var(--c-white);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}
.map-canvas .leaflet-popup-content-wrapper {
  border: 1px solid rgba(168, 189, 212, 0.28);
  border-radius: var(--radius-md);
}
.map-canvas .leaflet-popup-content {
  margin: 14px 18px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
.map-canvas .leaflet-popup-content strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-white);
}
.map-canvas a.leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 8px 0 0;
}
.map-canvas a.leaflet-popup-close-button:hover {
  color: var(--c-white);
}
.map-canvas .leaflet-control-attribution {
  background: rgba(11, 43, 74, 0.82);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  padding: 2px 8px;
}
.map-canvas .leaflet-control-attribution a {
  color: var(--c-muted);
}
.map-canvas .leaflet-control-zoom {
  border: 1px solid rgba(168, 189, 212, 0.22);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.map-canvas .leaflet-bar a,
.map-canvas .leaflet-bar a:hover {
  background: rgba(11, 43, 74, 0.92);
  border-bottom-color: rgba(168, 189, 212, 0.22);
  color: var(--c-white);
}
.map-canvas .leaflet-bar a:hover {
  background: var(--c-primary-2);
}

@media (prefers-reduced-motion: reduce) {
  .fazg-pin__pulse {
    animation: none;
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .anfahrt-info {
    padding: 32px;
  }
  .map-container {
    aspect-ratio: 4/5;
  }
}

@media (min-width: 992px) {
  .map-container {
    aspect-ratio: auto;
    height: 100%;
    min-height: 520px;
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 80px 0 36px;
  position: relative;
  z-index: 2;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--c-muted),
    transparent
  );
  opacity: 0.2;
}
footer .brand {
  color: var(--c-white);
}
footer .brand em {
  color: rgba(255, 255, 255, 0.55);
}
footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s var(--ease);
  font-size: 0.92rem;
}
footer a:hover {
  color: var(--c-muted);
}
footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 50px 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-heading {
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 20px;
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ========== FLOAT-CARD LINKS ========== */
a.float-card {
  cursor: pointer;
  text-decoration: none;
}
a.float-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(11, 43, 74, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 10;
  pointer-events: none;
}
a.float-card:hover::before {
  opacity: 1;
}
a.float-card:hover {
  transform: rotate(-5deg) translateZ(80px) translateY(-18px);
}
a.float-card.fc-2:hover {
  transform: rotate(3deg) translateZ(20px) translateY(-20px);
}
a.float-card.fc-3:hover {
  transform: rotate(-2.5deg) translateZ(120px) translateY(-16px);
}

/* Scroll-Offset wegen Fixed-Nav */
[id^="disziplin-"] {
  scroll-margin-top: 100px;
}

/* Mobile Quick-Links */
.hero-discipline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-pill {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 100%
  );
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px -2px rgba(10, 18, 32, 0.08);
  transition: all 0.25s var(--ease);
}
.hero-pill:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  transform: translateY(-2px);
}
.hero-pill i {
  font-size: 0.75rem;
}

/* ========== HAMBURGER & MOBILE NAV ========== */
.hamburger-btn {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px -2px rgba(10, 18, 32, 0.1);
  flex-shrink: 0;
}
.hamburger-btn:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

#mobileNav {
  border-left: 1px solid var(--c-line);
}
#mobileNav .offcanvas-header {
  padding: 24px;
  border-bottom: 1px solid var(--c-line-2);
  align-items: flex-start;
}
#mobileNav .offcanvas-body {
  padding: 20px 24px 32px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.mobile-nav-link:hover {
  background: var(--c-paper-2);
  color: var(--c-accent);
}
.mobile-nav-link i {
  color: var(--c-ink-muted);
  font-size: 1.05rem;
}

/* Schmalere Desktops: Stage wird kleiner → Kartentitel mit skalieren */
@media (max-width: 1199.98px) {
  .float-card {
    padding: 22px 18px 18px;
    gap: 12px;
  }
  .float-card .fc-title {
    font-size: 0.86rem;
    padding-top: 11px;
  }
  .float-card::after {
    inset: 13px 14px auto auto;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 992px) {
  .hero-photo {
    width: 100%;
    opacity: 0.25;
  }
}
@media (max-width: 768px) {
  .section-pad {
    padding: 90px 0;
  }
  .hero {
    padding: 100px 0 70px;
  }
  .ecg-line {
    display: none;
  }
  .philosophy {
    padding: 60px 32px;
  }
  .hours-table,
  .contact-card {
    padding: 32px;
  }
  .hours-row.today {
    margin: 0 -32px;
    padding: 18px 32px;
  }
  .specialty-card {
    padding: 36px 28px 28px;
  }
  .hero-stage {
    margin-top: 60px;
    max-width: 420px;
  }
}

/* ========== UNTERSEITEN (IMPRESSUM / DATENSCHUTZ) ========== */
.subpage-main {
  padding: 118px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  min-height: 70vh;
  position: relative;
  z-index: 2;
}
.legal-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3d-card);
  padding: 64px 60px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-card h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}
.legal-card .legal-sub {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 44px;
}
.legal-card h2 {
  font-size: 1.25rem;
  margin: 42px 0 14px;
  letter-spacing: -0.02em;
}
.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  font-style: normal;
}
.legal-card ul {
  padding-left: 1.2rem;
}
.legal-card a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 74, 122, 0.25);
  transition: border-color 0.25s var(--ease);
}
.legal-card a:hover {
  border-bottom-color: var(--c-accent);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  border: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.06) inset,
    0 1px 2px rgba(10, 18, 32, 0.04),
    0 4px 12px -2px rgba(10, 18, 32, 0.08);
}
.legal-back i {
  color: var(--c-accent);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease);
}
.legal-back:hover {
  color: var(--c-accent);
  border-color: rgba(168, 189, 212, 0.6);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(11, 43, 74, 0.06) inset,
    0 2px 4px rgba(10, 18, 32, 0.05),
    0 10px 24px -4px rgba(10, 18, 32, 0.14);
}
.legal-back:hover i {
  transform: translateX(-3px);
}
.legal-back:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .subpage-main {
    padding: 100px 0 64px;
  }
  .legal-card {
    padding: 40px 24px;
  }
}
