/* ==========================================================================
   ORDINATION DR. SUSANNE PÖLL - MODERN 2026 MEDICAL DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Tokens - Modern Medical Slate & Teal */
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-darker: #115e59;
  --primary-light: #ccfbf1;
  --primary-subtle: #f0fdfa;

  --accent: #0284c7;
  --accent-dark: #0369a1;
  --accent-light: #e0f2fe;

  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;

  --surface-0: #f8fafc;
  --surface-50: #f1f5f9;
  --surface-100: #e2e8f0;
  --surface-card: #ffffff;
  --surface-card-elevated: #ffffff;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #0d9488;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--surface-0);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   MAIN NAVIGATION HEADER (UNIFIED SINGLE ROW - 2026)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.785rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Nav Menu & Distinct Chips / Pills */
.nav-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
  background: var(--surface-50);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.nav-chip:hover {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  border-color: rgba(226, 232, 240, 0.9);
}
.nav-chip.active {
  background: white;
  color: var(--primary-darker);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.25);
}

/* Right Actions (Phone & CTA Button) */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.nav-phone-chip:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.nav-phone-chip svg {
  color: var(--primary);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface-50);
}
.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   IMPORTANT ANNOUNCEMENT BANNER
   ========================================================================== */
.alert-banner {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-bottom: 1px solid #fecdd3;
  padding: 0.85rem 0;
  transition: all var(--transition-normal);
}
.alert-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.alert-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: #9f1239;
  line-height: 1.5;
}
.alert-badge {
  background-color: #e11d48;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.alert-content a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.alert-content a:hover {
  opacity: 0.8;
}

/* Vacation / Holiday theme */
.alert-banner.type-urlaub {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 1px solid #fde68a;
}
.alert-banner.type-urlaub .alert-content {
  color: #92400e;
}
.alert-banner.type-urlaub .alert-badge {
  background-color: #d97706;
}
.alert-banner.type-urlaub .alert-banner-close {
  color: #b45309;
}
.alert-banner.type-urlaub .alert-banner-close:hover {
  background-color: rgba(217, 119, 6, 0.1);
}

/* Info theme */
.alert-banner.type-info {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border-bottom: 1px solid #99f6e4;
}
.alert-banner.type-info .alert-content {
  color: #115e59;
}
.alert-banner.type-info .alert-badge {
  background-color: #0d9488;
}
.alert-banner.type-info .alert-banner-close {
  color: #0f766e;
}
.alert-banner.type-info .alert-banner-close:hover {
  background-color: rgba(13, 148, 136, 0.1);
}

.alert-banner-close {
  color: #be123c;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.alert-banner-close:hover {
  background-color: rgba(225, 29, 72, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 2.25rem 0 3.5rem;
  background: radial-gradient(100% 100% at 50% 0%, #f0fdfa 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

/* Enlarged, High-Impact Hero Badges */
.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 700;
  background: white;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.hero-badge.highlight {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.hero-badge.address-badge {
  background: white;
  color: #0f172a;
  border-color: #cbd5e1;
  font-size: 0.925rem;
}

.hero-badge.phone-badge {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
  font-size: 0.925rem;
}
.hero-badge.phone-badge:hover {
  background: #ccfbf1;
  transform: translateY(-1px);
}



/* 2-Column Hero & Practice Hub Layout */
.hero-main-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-doctor-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.hero-doctor-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Doctor Profile Hero Card */
.doctor-profile-hero-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.doctor-profile-thumb {
  width: 6.5rem;
  height: 8rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  box-shadow: var(--shadow-sm);
}
.doctor-profile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.doctor-profile-meta {
  flex-grow: 1;
}

.doctor-profile-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.doctor-profile-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.hero-quick-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: all var(--transition-fast);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.btn-secondary:hover {
  background: var(--surface-50);
  border-color: #cbd5e1;
  color: var(--primary-dark);
}

/* Hero Schedule Card & Live Banner */
.hero-schedule-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-live-status-bar {
  background: var(--surface-50);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
}
.hero-live-status-bar strong {
  display: block;
  color: var(--text-main);
}
.hero-live-status-bar span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-schedule-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  background: var(--surface-50);
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.rule-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}
.rule-chip .rule-icon {
  font-size: 1.25rem;
}
.rule-chip strong {
  display: block;
  font-size: 0.775rem;
  color: var(--text-main);
}
.rule-chip span {
  display: block;
  font-size: 0.725rem;
  color: var(--text-muted);
}

.hero-schedule-services {
  padding: 0.75rem 1.25rem;
  background: #f0fdfa;
  font-size: 0.8rem;
  color: var(--primary-darker);
  font-weight: 600;
  text-align: center;
}

.status-indicator-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.status-indicator-dot.open {
  background-color: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.status-indicator-dot.closed {
  background-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.qual-pill {
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.785rem;
  font-weight: 500;
  color: var(--text-secondary);
}



/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SCHEDULE & OPENING HOURS
   ========================================================================== */
.schedule-section {
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.schedule-table-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.schedule-table-header {
  background: var(--surface-50);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.schedule-table-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.schedule-status-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.schedule-status-badge.open {
  background: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.schedule-status-badge.closed {
  background: var(--danger-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.schedule-list {
  list-style: none;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}
.schedule-row:last-child {
  border-bottom: none;
}
.schedule-row.today {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  font-weight: 600;
}
.schedule-day-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.schedule-day-name {
  font-weight: 700;
  color: var(--text-main);
  min-width: 100px;
}
.schedule-day-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}
.schedule-time {
  font-weight: 600;
  color: var(--text-secondary);
}
.schedule-note {
  display: block;
  font-size: 0.785rem;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Schedule Info Cards Side */
.schedule-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-box {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
}
.info-box-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-box-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.info-box-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES (LEISTUNGEN)
   ========================================================================== */
.services-section {
  background-color: var(--surface-0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.3);
}

.service-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-darker);
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SMART REZEPT & ANFRAGE GENERATOR
   ========================================================================== */
.generator-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.generator-section .section-title {
  color: white;
}
.generator-section .section-desc {
  color: #94a3b8;
}
.generator-section .section-tag {
  color: #38bdf8;
}

.generator-container {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.generator-intro {
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #ccfbf1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}
.form-label span.req {
  color: #f87171;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: #64748b;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  cursor: pointer;
  margin-top: 0.5rem;
}
.form-checkbox-label input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.generator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-generator-mail {
  flex: 1;
  min-width: 240px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: all var(--transition-fast);
}
.btn-generator-mail:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-generator-copy {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}
.btn-generator-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.generator-feedback {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.25rem;
}

/* ==========================================================================
   IMPORTANT PATIENT GUIDELINES (INFO CARDS)
   ========================================================================== */
.guidelines-section {
  background-color: var(--surface-card);
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.guideline-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.guideline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.guideline-badge.badge-urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.guideline-badge.badge-privacy {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.guideline-badge.badge-access {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.guideline-badge.badge-vacation {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.guideline-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.guideline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   TEAM & VITA
   ========================================================================== */
.team-section {
  background-color: var(--surface-0);
}

.team-lead-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.team-lead-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.team-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.team-lead-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.team-lead-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}
.team-lead-bio {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.team-diplomas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.diploma-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

/* Secondary Team Cards */
.team-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.member-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.member-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-100);
  flex-shrink: 0;
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 700;
}
.member-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
.member-role {
  font-size: 0.875rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.member-details {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT, ANFAHRT & MAP
   ========================================================================== */
.contact-section {
  background-color: var(--surface-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-modern {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-item:last-child {
  margin-bottom: 0;
}
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}
.contact-item h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-item p, .contact-item a {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 600;
}

.transit-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
}
.transit-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.transit-list {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.transit-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.transit-badge {
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}
.transit-badge.u-bahn {
  background: #991b1b;
  color: white;
}
.transit-badge.bim {
  background: #dc2626;
  color: white;
}
.transit-badge.sbahn {
  background: #0284c7;
  color: white;
}

/* Online-Verzeichnisse / Finden Sie mich */
.directory-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
}
.directory-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}
.directory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.directory-badge-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.directory-badge-btn:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}
.directory-prefix {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.directory-name {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.directory-name.google {
  color: #1a73e8;
}
.directory-name.praxisplan {
  color: #0d9488;
}

/* Map Frame */
.map-frame-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 480px;
  position: relative;
  background: white;
}
.map-frame-card iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-partners {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.partner-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.partner-logo-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.partner-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0.85) contrast(1.15);
  transition: filter var(--transition-fast);
}
.partner-logo-link:hover .partner-logo-img {
  filter: brightness(1.1) contrast(1.2);
}


.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   MODAL / POPUP
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close-btn:hover {
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-main-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav-wrapper {
    display: none;
  }
  .nav-wrapper.mobile-open {
    display: block;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: white;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    z-index: 99;
  }
  .nav-wrapper.mobile-open .nav-menu {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.6rem;
    width: 100%;
  }
  .nav-wrapper.mobile-open .nav-chip {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1.15rem;
    background: var(--surface-50);
    border: 1px solid var(--border-light);
    font-size: 1rem;
  }
  .mobile-nav-toggle {
    display: flex;
  }

  .team-lead-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .team-lead-photo {
    max-width: 350px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-doctor-title {
    font-size: 1.95rem;
  }
  .hero-badge-group {
    gap: 0.5rem;
  }
  .hero-badge {
    font-size: 0.85rem;
    padding: 0.45rem 0.95rem;
  }
  .hero-badge.highlight {
    font-size: 0.9rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .generator-container {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .doctor-profile-hero-card {
    flex-direction: column;
    text-align: center;
  }
  .doctor-profile-thumb {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
  }
  .doctor-profile-quals, .hero-quick-ctas {
    justify-content: center;
  }
  .hero-schedule-footer {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .nav-phone-chip span {
    display: none;
  }
  .nav-phone-chip {
    padding: 0.55rem;
  }
  .brand-sub {
    display: none;
  }
}
