/* ==========================================================================
   DR. MED. MOHAMMED SHATAT - FACHARZTPRAXIS FÜR ORTHOPÄDIE & UNFALLCHIRURGIE
   ========================================================================== */

/* Google Fonts Import */
/* Google Fonts locally imported via css/fonts.css */

/* --- 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;
}


/* --- Accessibility: Skip-to-content link (BITV / WCAG 2.1 AA) --- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background-color: var(--navy);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--accent-sky);
}

/* --- Reusable Button Component System (BEM Pattern) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--md {
  padding: 12px 22px;
  font-size: 15px;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 16px;
}

.btn--primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn--call {
  background-color: var(--navy);
  color: #ffffff !important;
}

.btn--call:hover {
  background-color: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark) !important;
  background-color: var(--primary-ultralight);
}

/* --- OpenStreetMap 2-Click-Lösung (DSGVO / TTDSG konform) --- */
.map-consent-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.map-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-consent-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-consent-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.map-consent-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.map-consent-text {
  max-width: 480px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.map-consent-text a {
  color: var(--primary-dark);
  text-decoration: underline;
}

#osm-map {
  width: 100%;
  height: 100%;
}

/* --- 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: 24px;
  flex-wrap: nowrap;
  margin-right: auto;
}

.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;
}

/* Call Button (Primary CTA) */
.btn-call-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.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);
}

/* Online Registration Header Button */
.btn-online-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-online-header:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.35);
}

.btn-online-header svg {
  transition: transform 0.2s ease;
}

.btn-online-header:hover svg {
  transform: scale(1.1);
}

/* Mobile Header Call Button */
.btn-mobile-header-call {
  display: none;
  align-items: center;
  gap: 6px;
  background-color: var(--primary);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: var(--transition-fast);
  white-space: nowrap;
  font-family: inherit;
}

.btn-mobile-header-call:hover,
.btn-mobile-header-call:active {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Mobile Header Online-Buchung Button */
.btn-mobile-header-online {
  display: none;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
  transition: var(--transition-fast);
  white-space: nowrap;
  font-family: inherit;
}

.btn-mobile-header-online:hover,
.btn-mobile-header-online:active {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  transform: translateY(-1px);
}

/* 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 Brand Header with Logo & Praxis Name (Option A) */
.hero-brand-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-brand-logo {
  width: 105px;
  height: 105px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(2, 132, 199, 0.15));
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
}

.hero-brand-text .hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.hero-brand-text .hero-title-practice {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.hero-brand-text .hero-title-doctor {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.hero-brand-text .hero-title-sub {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin: 0;
}

.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;
}

/* Hero Online Booking Button */
.btn-hero-online {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff !important;
  font-size: 16.5px;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(13, 148, 136, 0.45);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-hero-online::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;
}

.btn-hero-online:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px -4px rgba(13, 148, 136, 0.55);
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

.btn-hero-online .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;
  max-width: 440px;
  margin-left: auto;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid #ffffff;
  background-color: #ffffff;
  aspect-ratio: 3 / 4;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  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: -28px;
  left: -14px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.doctor-badge-info h4,
.doctor-badge-info .doctor-badge-name {
  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;
}

/* --- 4 Pillars Section (Hero Banner) --- */
.pillars-banner-section {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%);
  padding: 64px 0;
  position: relative;
  z-index: 10;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  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: 0 20px 35px -10px rgba(15, 23, 42, 0.3);
  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;
}

/* --- 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 20%;
}

.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: 16px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.doctor-philosophy-box {
  background: var(--primary-ultralight);
  border: 1px solid var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.doctor-philosophy-box h3,
.doctor-philosophy-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-philosophy-box p {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 0;
}

.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 h3,
.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 h3,
.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%);
}

/* --- 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;
}

/* Online Booking Callout Card in Opening Hours Section */
.online-booking-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border: 1.5px solid #5eead4;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.online-booking-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.online-booking-icon {
  width: 44px;
  height: 44px;
  background-color: #0d9488;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.online-booking-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.online-booking-text p {
  font-size: 13px;
  color: #0f766e;
  margin: 2px 0 0;
  font-weight: 600;
}

.btn-online-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d9488;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  transition: var(--transition);
  font-family: inherit;
}

.btn-online-card:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.35);
}

/* 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);
}

/* --- 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,
.footer-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Accessibility screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.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;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: #cbd5e1;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(203, 213, 225, 0.35);
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #38bdf8;
  text-decoration-color: #38bdf8;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}


/* --- 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: 440px;
    margin: 0 auto;
  }

  .hero-image-wrapper {
    aspect-ratio: 3 / 4;
  }

  .hero-image-wrapper img {
    height: 100%;
    object-position: center 54%;
  }

  .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;
    object-position: center 20%;
  }

  .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-call-header {
    padding: 8px 14px;
    font-size: 13px;
  }

  .btn-online-header {
    padding: 8px 12px;
    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);
    z-index: 1002;
  }

  .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 {
    margin-left: auto;
  }

  .hero-brand-header {
    gap: 18px;
  }

  .hero-brand-logo {
    width: 85px;
    height: 85px;
  }

  .hero-brand-text .hero-title {
    font-size: 32px;
    gap: 5px;
  }

  .hero-brand-text .hero-title-practice {
    font-size: 26px;
  }

  .hero-brand-text .hero-title-doctor {
    font-size: 22px;
  }

  .hero-brand-text .hero-title-sub {
    font-size: 17px;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-actions .btn-call-header,
  .header-actions .btn-online-header,

  .header-emergency-btn {
    display: none !important;
  }

  .btn-mobile-header-call {
    display: inline-flex !important;
  }

  .btn-mobile-header-online {
    display: inline-flex !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;
  }

  /* Prevent 321med widget overlapping when mobile menu drawer is open */
  body.mobile-nav-open #button_321med_icon,
  body.mobile-nav-open #landmark_321med,
  body.mobile-nav-open #info_321med {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .hero-brand-header {
    gap: 14px;
    align-items: center;
  }

  .hero-brand-logo {
    width: 68px;
    height: 68px;
  }

  .hero-brand-text .hero-title {
    font-size: 24px;
    gap: 4px;
  }

  .hero-brand-text .hero-title-practice {
    font-size: 20px;
  }

  .hero-brand-text .hero-title-doctor {
    font-size: 17px;
  }

  .hero-brand-text .hero-title-sub {
    font-size: 15px;
  }

  .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-online,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .online-booking-card {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .btn-online-card {
    justify-content: center;
    width: 100%;
  }

  .hero-doctor-badge {
    left: 8px;
    right: 8px;
    bottom: -20px;
    padding: 12px 14px;
  }

  .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;
  }
}