/* ==========================================================================
   DR. MED. MOHAMMED SHATAT - FACHARZTPRAXIS FÜR ORTHOPÄDIE & UNFALLCHIRURGIE
   MODERN MEDICAL DESIGN SYSTEM (WHITE & BLUE)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Brand Colors */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-dark: #075985;
  --primary-darker: #0c4a6e;
  --primary-light: #e0f2fe;
  --primary-ultralight: #f0f9ff;
  --primary-tint: #bae6fd;
  
  /* Accent & Status Colors */
  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-teal: #0d9488;
  --emergency: #dc2626;
  --emergency-hover: #b91c1c;
  --emergency-light: #fee2e2;
  --success: #16a34a;
  --success-light: #dcfce7;
  
  /* Neutral / Slate Colors */
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-ice: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-blue: 0 12px 24px -6px rgba(2, 132, 199, 0.25);
  --shadow-emergency: 0 10px 20px -5px rgba(220, 38, 38, 0.3);

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --header-height: 84px;
  --topbar-height: 42px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

.section-bg-ice {
  background-color: var(--primary-ultralight);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Top Info Bar --- */
.top-bar {
  background-color: var(--navy);
  color: var(--bg-white);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 6px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #f8fafc;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--accent-sky);
}

.top-bar-item svg {
  color: var(--accent-sky);
  flex-shrink: 0;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-pill {
  background-color: rgba(2, 132, 199, 0.25);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* --- Header & Navigation --- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

.main-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-soft);
  padding: 8px 4px;
  position: relative;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Emergency Button */
.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--emergency);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.btn-emergency:hover {
  background-color: var(--emergency-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-emergency);
}

.btn-emergency .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Call Button (Primary CTA) */
.btn-call-header {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.btn-call-header:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-call-header svg {
  transition: transform 0.2s ease;
}

.btn-call-header:hover svg {
  transform: scale(1.1) rotate(-8deg);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%);
  padding: 72px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid var(--primary-tint);
  color: var(--primary-dark);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.hero-eyebrow-badge {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--primary);
  background: linear-gradient(120deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Call to Action Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Big "Rufen Sie an" Hero Button */
.btn-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.45);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-hero-call::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  25%, 100% { transform: translateX(100%) rotate(45deg); }
}

.btn-hero-call:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px -4px rgba(2, 132, 199, 0.55);
}

.btn-hero-call .icon-box {
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--primary-tint);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Trust Pills / USPs */
.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-soft);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Media / Doctor Card */
.hero-media-card {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid #ffffff;
  background-color: #ffffff;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-card:hover .hero-image-wrapper img {
  transform: scale(1.03);
}

.hero-doctor-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doctor-badge-info h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.doctor-badge-info p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}

.doctor-badge-stat {
  text-align: right;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.doctor-badge-stat .number {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.doctor-badge-stat .label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Floating Emergency Pill on Image */
.hero-floating-pill {
  position: absolute;
  top: -16px;
  right: -12px;
  background-color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  z-index: 3;
}

.hero-floating-pill .icon {
  width: 28px;
  height: 28px;
  background-color: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Features / 4 Pillars Grid --- */
.pillars-section {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #ffffff;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-sky));
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-tint);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Highlight Banner (Philosophy) --- */
.mission-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%);
  color: #ffffff;
  padding: 48px 0;
  text-align: center;
  position: relative;
}

.mission-text {
  font-size: 24px;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.45;
}

.mission-text span {
  color: var(--accent-sky);
}

/* --- Doctor Section (Dr. Shatat Profile) --- */
.doctor-section {
  background-color: var(--bg-white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.doctor-image-col {
  position: relative;
}

.doctor-portrait-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
}

.doctor-portrait-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.doctor-experience-tag {
  position: absolute;
  bottom: -20px;
  right: 24px;
  background-color: var(--navy);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.doctor-experience-tag .years {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-sky);
  line-height: 1;
}

.doctor-experience-tag .desc {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.doctor-bio-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.doctor-title-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.doctor-lead-text {
  font-size: 16.5px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.doctor-station-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.station-item {
  background-color: var(--bg-subtle);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.station-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.station-item p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.doctor-specialties-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.doctor-specialties-wrap h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specialty-tag {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* --- Services / Leistungen Section --- */
.services-section {
  background-color: var(--bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-tint);
}

.service-card-header {
  padding: 30px 28px 20px;
  position: relative;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-card-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card-body {
  padding: 0 28px 28px;
  margin-top: auto;
}

.service-feature-list {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
}

.service-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* D-Arzt Callout Box */
.darzt-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
  border-radius: var(--radius-xl);
  padding: 36px 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

.darzt-icon {
  width: 72px;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky);
}

.darzt-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.darzt-content p {
  font-size: 15px;
  color: #e0f2fe;
  line-height: 1.6;
}

.darzt-btn {
  background-color: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: var(--transition);
}

.darzt-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* --- Praxis & Gallery Section --- */
.praxis-section {
  background-color: #ffffff;
}

.praxis-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.praxis-feature-pill {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.praxis-feature-pill svg {
  color: var(--primary);
  flex-shrink: 0;
}

.praxis-feature-pill span {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  group: 1;
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-overlay h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 13px;
  color: #cbd5e1;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(2, 132, 199, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
}

/* --- Downloads & PDFs Section --- */
.downloads-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-tint);
}

.download-icon {
  width: 48px;
  height: 48px;
  background-color: var(--emergency-light);
  color: var(--emergency);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.download-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.download-link:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}

/* --- Lageplan / OpenStreetMap & Anfahrt --- */
.map-section {
  background-color: #ffffff;
}

.map-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: stretch;
}

.map-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  height: 480px;
  position: relative;
}

#osm-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-info-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-info-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.anfahrt-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.anfahrt-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.anfahrt-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.anfahrt-text h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.anfahrt-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-route:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* --- Contact & Opening Hours Section --- */
.contact-section {
  background-color: var(--primary-ultralight);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-card-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-card-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-info .label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-info .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.contact-detail-info a.val {
  color: var(--primary-dark);
}

.contact-detail-info a.val:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Timetable */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-light);
}

.hours-table td {
  padding: 10px 4px;
  font-size: 14.5px;
}

.hours-table td.day {
  font-weight: 700;
  color: var(--navy);
  width: 40%;
}

.hours-table td.time {
  color: var(--text-main);
  text-align: right;
  font-weight: 500;
}

.hours-table tr.highlight-day {
  background-color: var(--primary-light);
}

.hours-table tr.highlight-day td {
  color: var(--primary-darker);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

/* Contact Form */
.contact-form-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--navy);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* --- Emergency Modal --- */
.emergency-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.emergency-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.emergency-modal-content {
  background-color: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.25);
  border: 3px solid var(--emergency);
  transform: scale(0.95);
  transition: var(--transition);
}

.emergency-modal-backdrop.is-open .emergency-modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--emergency-light);
  color: var(--emergency);
}

.emergency-modal-icon {
  width: 64px;
  height: 64px;
  background-color: var(--emergency-light);
  color: var(--emergency);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.emergency-modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--emergency);
  margin-bottom: 12px;
}

.emergency-modal-text {
  font-size: 15px;
  color: var(--navy-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

.emergency-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.emergency-num-box {
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.emergency-num-box.alert {
  border-color: var(--emergency);
  background-color: #fff5f5;
}

.emergency-num-box .num-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.emergency-num-box a.num-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--emergency);
  display: block;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--navy);
  color: #cbd5e1;
  padding-top: 80px;
  padding-bottom: 36px;
  font-size: 14.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-sky);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.footer-contact-item svg {
  color: var(--accent-sky);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* --- Mobile Floating Quick-Call Bar --- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
  z-index: 998;
}

.mobile-call-bar-inner {
  display: flex;
  gap: 10px;
}

.btn-mobile-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-blue);
}

.btn-mobile-emergency {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--emergency);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
}

/* --- Scroll Animations (IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-media-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-image-wrapper img {
    height: 420px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doctor-portrait-frame img {
    height: 440px;
  }
  .map-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 1080px) and (min-width: 861px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 13.5px;
    padding: 6px 2px;
  }
  .brand-logo img {
    height: 44px;
  }
  .btn-emergency {
    padding: 8px 12px;
    font-size: 13px;
  }
  .btn-call-header {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 17px;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn-call-header,
  .header-actions .btn-emergency,
  .header-emergency-btn {
    display: none !important;
  }

  .top-bar-contact {
    font-size: 12px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 2;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .praxis-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .darzt-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .darzt-icon {
    margin: 0 auto;
  }

  .darzt-btn {
    width: 100%;
    text-align: center;
  }

  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 28px;
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-call, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .pillars-grid, .services-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.large {
    grid-column: span 1;
  }
  .doctor-station-list, .form-row, .praxis-features-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-box, .contact-card-box, .map-info-card {
    padding: 24px 20px;
  }
}
