/* Component styles — Zahnarztpraxis Schwabing */

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 80px;
  background: var(--bg-canvas);
  transition: background 300ms var(--ease-out), backdrop-filter 300ms var(--ease-out), box-shadow 300ms var(--ease-out), height 300ms var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
  height: 68px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .header-inner { padding: 0 48px; } }
@media (min-width: 1024px) { .header-inner { padding: 0 80px; } }

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 80px; height: 80px;
  background-image: url('../assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 18px; color: var(--text-primary); letter-spacing: -0.01em; }
.logo-sub { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 640px) { .logo-text { display: none; } }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-item {
  position: relative;
  font-size: 15px;
  color: var(--text-primary);
  padding: 8px 0;
  cursor: pointer;
  transition: color 200ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-item:hover { color: var(--brand-primary); }
.nav-item .chev { transition: transform 200ms var(--ease-out); }
.nav-item.open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 640px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.dropdown.open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown-item {
  display: flex; gap: 14px; padding: 12px;
  border-radius: var(--radius-md);
  transition: background 150ms var(--ease-out);
  cursor: pointer;
}
.dropdown-item:hover { background: var(--bg-subtle); }
.dropdown-item .icon-box {
  width: 40px; height: 40px;
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}
.dropdown-item .item-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.dropdown-item .item-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.dropdown-footer {
  grid-column: 1 / -1;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* Contact dropdown (narrower, right-aligned) */
.dropdown.dropdown-contact {
  width: 320px;
  grid-template-columns: 1fr;
  padding: 16px;
  left: auto;
  right: 0;
  transform: translateX(0) translateY(-8px);
}
.dropdown.dropdown-contact.open {
  transform: translateX(0) translateY(0);
}

.header-right { display: flex; align-items: center; gap: 16px; }
.live-status {
  display: none;
  align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
@media (min-width: 1024px) { .live-status { display: inline-flex; } }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  position: relative;
}
.live-dot.open::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.3;
  animation: pulse 2.4s var(--ease-out) infinite;
}
.live-dot.closed { background: var(--text-muted); }
.live-dot.warn { background: #D9A441; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-canvas);
  z-index: 99;
  padding: 96px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a, .mobile-menu button {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.mobile-menu .mobile-cta {
  margin-top: 32px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  border: none;
}

/* Mobile menu header with logo */
.mobile-menu-header {
  padding-bottom: 32px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-subtle);
}
.mobile-menu-header .mobile-logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: none;
}
.mobile-menu-header .logo-mark {
  width: 64px;
  height: 64px;
}

/* Mobile dropdown accordion */
.mobile-dropdown-group { display: flex; flex-direction: column; }
.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  background: none;
  cursor: pointer;
}
.mobile-dropdown-trigger .chev { transition: transform 200ms var(--ease-out); }
.mobile-dropdown-trigger .chev.open { transform: rotate(180deg); }
.mobile-menu .mobile-sub-links {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
}
.mobile-menu .mobile-sub-links a {
  font-size: 22px;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ============ HERO ============ */
.hero {
  padding-top: 120px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

/* Logo-Wasserzeichen im Hero-Hintergrund */
.hero-logo-watermark {
  position: absolute;
  top: 50%;
  left: -150px;
  transform: translateY(-50%) rotate(-15deg);
  width: 500px;
  height: 500px;
  background-image: url('../assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-logo-watermark {
    width: 300px;
    height: 300px;
    left: -100px;
  }
}

@media (max-width: 480px) {
  .hero-logo-watermark {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero { padding-top: 160px; padding-bottom: 120px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 55fr 45fr; gap: 80px; }
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 { margin: 0 0 24px; max-width: 14ch; }
.hero-sub {
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 48ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}
.hero-image-wrap:hover .hero-image { transform: scale(1.03); }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
  max-width: calc(100% - 48px);
}
.hero-badge .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge-text { line-height: 1.3; }
.hero-badge-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.hero-badge-sub { font-size: 11px; color: var(--text-muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ============ TRUST BAR ============ */
.trustbar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
  overflow: hidden;
}
.trustbar-track {
  display: flex;
  width: max-content;
  animation: trustbar-scroll 25s linear infinite;
}
.trustbar-track:hover {
  animation-play-state: paused;
}
.trustbar-inner {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 32px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.trust-item svg { color: var(--brand-primary); flex-shrink: 0; }
@keyframes trustbar-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 1023px) {
  .trust-item { padding: 0 20px; }
}

/* ============ INTRO ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.intro-image {
  aspect-ratio: 3/2;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-text .eyebrow { margin-bottom: 20px; }
.intro-text h2 { margin: 0 0 32px; }
.intro-text p {
  color: var(--text-secondary);
  margin: 0 0 1.2em;
}
.intro-text .btn-tertiary { margin-top: 16px; }

/* ============ LEISTUNGEN GRID ============ */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header .eyebrow { display: inline-block; margin-bottom: 16px; }
.section-header h2 { margin: 0 0 16px; }
.section-header p { color: var(--text-secondary); margin: 0; }

.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .leistungen-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .leistungen-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}
.service-card .icon-box {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 24px;
}
.service-card h3 { margin: 0 0 12px; }
.service-card p { margin: 0 0 24px; color: var(--text-secondary); flex: 1; }
.service-card .btn-tertiary { align-self: flex-start; }

/* ============ WERTE ============ */
.werte {
  background: var(--bg-subtle);
}
.werte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .werte-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.wert-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.wert-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 24px;
  display: block;
}
.wert-card h3 { margin: 0 0 16px; }
.wert-card p { margin: 0; color: var(--text-secondary); }

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.team-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform: scale(0.92);
  opacity: 0;
  filter: blur(6px);
  transition: transform 800ms var(--ease-out), opacity 800ms var(--ease-out), filter 800ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.team-card.pop {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  box-shadow: var(--shadow-md);
}
.team-card:hover { box-shadow: var(--shadow-lg); }
.team-photo {
  aspect-ratio: 4/5;
  background: var(--bg-subtle);
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 1.2s var(--ease-out) 0.3s, transform 8s var(--ease-out);
}
.team-card.pop .team-photo img { filter: grayscale(0%) contrast(1); }
.team-card:hover .team-photo img { transform: scale(1.02); }

/* Angleichung: Dr. Jahn's Bild vergrößern (wurde weiter weg fotografiert) */
.team-photo img[src*="dr-jahn"] {
  transform: scale(1.08) !important;
  transform-origin: center 42% !important;
}

/* Hover-Zustand für Dr. Jahn */
.team-card:hover .team-photo img[src*="dr-jahn"] {
  transform: scale(1.10) !important;
  transform-origin: center 42% !important;
}

/* Pop-Zustand (wenn sichtbar wird) für Dr. Jahn */
.team-card.pop .team-photo img[src*="dr-jahn"] {
  transform: scale(1.08) !important;
  transform-origin: center 42% !important;
}
.team-content { padding: 32px; }
.team-name { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; line-height: 1.25; margin: 0 0 4px; }
.team-role { color: var(--brand-primary); font-size: 16px; margin: 0 0 20px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.team-tag {
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}
.team-bio { color: var(--text-secondary); margin: 0 0 24px; font-size: 16px; line-height: 1.6; }
.team-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============ TECH SPOTLIGHT ============ */
.tech-spotlight {
  background: var(--bg-emphasis);
  color: var(--text-on-dark);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.tech-spotlight .eyebrow { color: #A8C9AC; }
.tech-spotlight h2 { color: #FFFFFF; }
.tech-spotlight p { color: #C9D5CB; }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .tech-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.tech-bullets { list-style: none; padding: 0; margin: 32px 0; }
.tech-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #E5EDE6;
}
.tech-bullets li:last-child { border-bottom: none; }
.tech-bullets svg { color: #6FAA7C; flex-shrink: 0; margin-top: 2px; }

.tech-3d {
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.08), transparent 60%);
  border-radius: var(--radius-2xl);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.scan-visual {
  width: 70%; height: 70%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.scan-glow {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,170,124,0.3), transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}
.scan-tooth {
  width: 65%; height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(111,170,124,0.4));
}
.scan-line {
  position: absolute;
  left: 10%; right: 10%;
  height: 2px;
  background: #6FAA7C;
  box-shadow: 0 0 20px #6FAA7C, 0 0 6px #6FAA7C;
  border-radius: 1px;
  z-index: 2;
  animation: scan-sweep 3s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%   { top: 10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.05); }
}

.tech-tag {
  position: absolute;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  letter-spacing: 0.04em;
}
.tech-tag.t1 { top: 18%; right: 8%; }
.tech-tag.t2 { bottom: 22%; left: 6%; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 64px;
  line-height: 0.5;
  color: var(--brand-primary);
  opacity: 0.3;
  margin-bottom: 16px;
  height: 24px;
}
.testimonial-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 24px;
  flex: 1;
}
.testimonial-divider {
  width: 40px; height: 2px;
  background: var(--brand-primary);
  margin-bottom: 16px;
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 12px; color: var(--brand-primary); }
.testimonial-author { font-weight: 600; font-size: 16px; margin: 0 0 2px; }
.testimonial-meta { font-size: 13px; color: var(--text-muted); }

.testimonials-footer {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-secondary);
}
.google-rating-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--border-default, rgba(0,0,0,.08));
  background: var(--bg-card, #fff);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
  font-size: 14px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.google-rating-link:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
@media (max-width: 600px) {
  .testimonials-footer { flex-direction: column; gap: 12px; }
}

/* ============ TERMIN CTA ============ */
.termin-cta {
  background: var(--bg-emphasis);
  color: var(--text-on-dark);
  border-radius: var(--radius-2xl);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .termin-cta { padding: 80px; } }
.termin-cta::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}
.termin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .termin-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.termin-cta .eyebrow { color: #A8C9AC; }
.termin-cta h2 { color: #FFFFFF; margin: 0 0 16px; }
.termin-cta .lead { color: #C9D5CB; margin: 0 0 32px; }

.booking-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.booking-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.booking-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 200ms var(--ease-out);
  cursor: pointer;
  border: none;
  background: none;
}
.booking-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.call-cards { display: flex; flex-direction: column; gap: 12px; }
.call-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 200ms var(--ease-out);
}
.call-card:hover { border-color: var(--brand-primary); background: var(--bg-subtle); }
.call-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-soft);
}
.call-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.call-name { font-weight: 600; font-size: 15px; margin: 0; }
.call-number { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--brand-primary); margin: 2px 0 0; }
.call-card .arrow { margin-left: auto; color: var(--text-muted); }

.notfall-box {
  margin-top: 16px;
  padding: 16px;
  background: rgba(184,92,46,0.08);
  border: 1px solid rgba(184,92,46,0.2);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 12px;
}
.notfall-box svg { color: var(--accent-warning); flex-shrink: 0; }
.notfall-box strong { color: var(--accent-warning); }

/* Booking calendar (mock) */
.calendar-mock { display: flex; flex-direction: column; gap: 16px; }
.calendar-step { font-size: 13px; color: var(--text-muted); }
.calendar-doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-doctor {
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  transition: all 200ms var(--ease-out);
}
.cal-doctor.selected { border-color: var(--brand-primary); background: var(--brand-soft); }
.cal-doctor:hover { border-color: var(--brand-primary); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 150ms var(--ease-out);
}
.cal-day-header {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: default;
  letter-spacing: 0.05em;
}
.cal-day.available { color: var(--text-primary); }
.cal-day.available:hover { background: var(--brand-soft); }
.cal-day.selected { background: var(--brand-primary); color: #FFFFFF; }
.cal-day.disabled { color: var(--border-strong); cursor: not-allowed; }
.cal-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cal-time {
  padding: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 150ms var(--ease-out);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.cal-time:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.cal-time.selected { background: var(--brand-primary); color: #FFFFFF; border-color: var(--brand-primary); }
.cal-time.taken { color: var(--border-strong); cursor: not-allowed; text-decoration: line-through; }

/* Month navigation */
.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cal-month-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}
.cal-nav-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 150ms var(--ease-out);
}
.cal-nav-btn:hover:not(:disabled) { border-color: var(--brand-primary); color: var(--brand-primary); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Slot chips */
.cal-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-slot-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-primary);
}
.cal-slot-num {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.cal-slot-text { flex: 1; }
.cal-slot-remove {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border-radius: 50%;
  transition: all 150ms;
  flex-shrink: 0;
}
.cal-slot-remove:hover { background: rgba(0,0,0,0.08); color: var(--text-primary); }

/* Day with existing slot */
.cal-day.slotted {
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-weight: 600;
}

.cal-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: #FFFFFF;
  transition: border-color 150ms ease;
  box-sizing: border-box;
}
.cal-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(76, 111, 68, 0.1);
}
.cal-input::placeholder {
  color: var(--text-muted);
}
.cal-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== STICKY HEADER ===== */
.cal-sticky-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  margin: -16px -16px 16px -16px;
}

.cal-progress-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cal-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 300ms var(--ease-out);
}

.cal-progress-dot.active {
  background: var(--brand-primary);
  width: 12px;
  height: 12px;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.cal-progress-line {
  width: 16px;
  height: 2px;
  background: var(--border-strong);
}

.cal-compact-slots {
  display: flex;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.cal-compact-slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.15);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
}

.cal-compact-num {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.cal-compact-text {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-quick-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 150ms var(--ease-out);
  white-space: nowrap;
}

.cal-quick-call-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand-primary);
}

/* ===== BOOKING GRID (SIDE-BY-SIDE) ===== */
.cal-booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (min-width: 640px) {
  .cal-booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.cal-booking-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== PHONE DIVIDER ===== */
.cal-phone-divider {
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.cal-phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cal-phone-header svg {
  color: var(--brand-primary);
}

.cal-phone-header h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.cal-phone-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

.cal-phone-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cal-phone-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-decoration: none;
  min-height: 68px;
}

.cal-phone-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.cal-phone-card:active {
  transform: translateY(0);
}

.cal-phone-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-subtle);
}

.cal-phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cal-phone-info {
  flex: 1;
  min-width: 0;
}

.cal-phone-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.cal-phone-number {
  font-size: 16px;
  color: var(--brand-primary);
  margin: 0;
  letter-spacing: 0.02em;
}

.cal-phone-card svg {
  color: var(--brand-primary);
  transition: transform 200ms var(--ease-out);
  flex-shrink: 0;
}

.cal-phone-card:hover svg {
  transform: translateX(4px);
}

/* ===== COLLAPSED SUMMARY ===== */
.cal-collapsed-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.2);
  border-radius: var(--radius-md);
  margin: 12px 0;
}

.cal-collapsed-check {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: 50%;
  flex-shrink: 0;
}

.cal-collapsed-text {
  flex: 1;
  min-width: 0;
}

.cal-collapsed-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.cal-collapsed-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.cal-collapsed-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 150ms var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}

.cal-collapsed-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 640px) {
  .cal-sticky-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .cal-progress-dot {
    width: 8px;
    height: 8px;
  }

  .cal-progress-dot.active {
    width: 10px;
    height: 10px;
  }

  .cal-progress-line {
    width: 12px;
  }

  .cal-compact-slot {
    font-size: 10px;
    padding: 3px 8px;
  }

  .cal-compact-num {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .cal-compact-text {
    max-width: 120px;
  }

  .cal-quick-call-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .cal-phone-divider {
    padding: 20px 16px;
  }

  .cal-phone-header h4 {
    font-size: 18px;
  }

  .cal-phone-card {
    min-height: 64px;
    padding: 12px;
  }

  .cal-phone-avatar {
    width: 44px;
    height: 44px;
  }

  .cal-phone-number {
    font-size: 15px;
  }

  .cal-collapsed-summary {
    padding: 14px;
    gap: 12px;
  }

  .cal-collapsed-check {
    width: 36px;
    height: 36px;
  }

  .cal-collapsed-title {
    font-size: 14px;
  }

  .cal-collapsed-sub {
    font-size: 12px;
  }

  .cal-collapsed-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cal-compact-slots {
    max-width: 180px;
  }

  .cal-compact-text {
    max-width: 100px;
  }

  .cal-quick-call-btn span {
    display: none;
  }
}

@media (max-width: 400px) {
  .cal-sticky-header {
    padding: 8px 10px;
  }

  .cal-phone-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============ STANDORT ============ */
.standort-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) { .standort-grid { grid-template-columns: 60fr 40fr; gap: 48px; } }

.map-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
  background: #E5E5DC;
}
@media (min-width: 1024px) { .map-wrap { height: 480px; } }

/* Hand-drawn-ish map */
.map-svg { width: 100%; height: 100%; display: block; }

/* Real Google Maps embed */
.map-embed {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
  transition: filter 600ms ease;
}
.map-wrap:hover .map-embed {
  filter: saturate(1) contrast(1);
}

.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.25;
  animation: pulse-pin 3s var(--ease-out) infinite;
}
@keyframes pulse-pin {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.8); opacity: 0; }
}
.map-overlay {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  max-width: calc(100% - 32px);
}
.map-overlay-text { font-weight: 600; line-height: 1.3; }
.map-overlay-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; transition: color 300ms ease; }

.standort-info { display: flex; flex-direction: column; gap: 24px; }
.info-block .info-label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.info-block .info-content { color: var(--text-primary); line-height: 1.6; }
.hours-table { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; font-variant-numeric: tabular-nums; }
.hours-table .day { color: var(--text-secondary); }
.hours-table .time { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; }

/* ============ FAQ ============ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out), background 200ms var(--ease-out);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-primary); color: #FFFFFF; }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out);
}
.faq-content-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand .logo-link { margin-bottom: 16px; }
.footer-brand .logo-mark {
  width: 72px;
  height: 72px;
}
.footer-brand p { font-size: 14px; color: var(--text-secondary); margin: 0 0 20px; max-width: 32ch; }
.footer-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }

.footer-col-title {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-primary);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 150ms var(--ease-out); }
.footer-col a:hover { color: var(--brand-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(8px);
  transition: transform 300ms var(--ease-out);
  position: relative;
}
.modal::-webkit-scrollbar { display: none; }
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  z-index: 2;
  transition: background 150ms var(--ease-out);
}
.modal-close:hover { background: var(--border-subtle); }

.modal-logo {
  display: flex;
  justify-content: center;
  padding: 28px 0 20px;
}

.modal-header {
  padding: 0 32px 0;
}
.modal-header h3 { margin: 0 0 8px; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; }
.modal-header p { margin: 0 0 24px; color: var(--text-secondary); font-size: 15px; }

.modal-body { padding: 0 32px 32px; }
.modal-body .wizard-container {
  margin: 0 -32px -32px -32px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  transform: translateY(120%);
  transition: transform 500ms var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; min-width: 240px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 20px; font-size: 13px; }

/* ============ RESPONSIVE — Calendar / Modal / Grids ============ */

/* Booking card: tighter on mobile */
@media (max-width: 640px) {
  .booking-card { padding: 20px; }
  .booking-tabs { margin-bottom: 16px; }
  .booking-tab { padding: 8px 12px; font-size: 13px; }
  .calendar-mock { gap: 12px; }
}
@media (max-width: 400px) {
  .booking-card { padding: 16px; }
}

/* Calendar grid (7-col days): tighter gap + smaller text on mobile */
@media (max-width: 640px) {
  .calendar-grid { gap: 2px; }
  .cal-day { font-size: 12px; }
  .cal-day-header { font-size: 10px; }
}

/* Calendar: 3 cols on small, 2 cols on very small */
@media (max-width: 640px) {
  .cal-times { grid-template-columns: repeat(3, 1fr); }
  .cal-time { padding: 10px; min-height: 40px; }
  .cal-nav-btn { width: 40px; height: 40px; }
}
@media (max-width: 400px) {
  .cal-times { grid-template-columns: repeat(2, 1fr); }
}

/* Slot chips: tighter on small screens */
@media (max-width: 480px) {
  .cal-slot-chip { font-size: 12px; padding: 6px 10px; gap: 8px; }
}

/* Doctor buttons: stack on very small screens */
@media (max-width: 400px) {
  .calendar-doctors { grid-template-columns: 1fr; }
}

/* Contact form: tighter inputs on mobile */
@media (max-width: 480px) {
  .cal-input { padding: 8px 12px; font-size: 13px; }
  .cal-hint { font-size: 12px; margin-top: 8px; }
  .calendar-step { font-size: 12px; }
}

/* Call cards: tighter on mobile */
@media (max-width: 480px) {
  .call-card { padding: 12px; gap: 12px; }
  .call-avatar { width: 40px; height: 40px; }
  .call-name { font-size: 14px; }
  .call-number { font-size: 13px; }
}

/* Modal: reduce padding/font on small screens */
@media (max-width: 480px) {
  .modal-backdrop { padding: 12px; }
  .modal-header { padding: 20px 20px 0; }
  .modal-header h3 { font-size: 22px; }
  .modal-header p { font-size: 13px; margin-bottom: 16px; }
  .modal-body { padding: 0 20px 20px; }
  .modal-close { top: 14px; right: 14px; width: 32px; height: 32px; }
}

/* Grids — tablet 2-col breakpoint */
@media (min-width: 640px) and (max-width: 767px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .werte-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ WIZARD BOOKING SYSTEM ============ */

/* Wizard Container - Adapts to parent container */
.wizard-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 500px;
  max-height: 640px;
  background: var(--bg-canvas);
  border-radius: var(--radius-md);
}

/* Wizard Header */
.wizard-header {
  flex-shrink: 0;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.wizard-header h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.wizard-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Progress Bar */
.wizard-progress {
  flex-shrink: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.wizard-progress-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.wizard-progress-track {
  height: 4px;
  background: var(--bg-canvas);
  border-radius: 2px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--brand-primary);
  transition: width 300ms var(--ease-out);
  border-radius: 2px;
}

/* Wizard Content Area */
.wizard-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  -webkit-overflow-scrolling: touch;
}

.wizard-content-inner {
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.wizard-content-inner.transitioning-forward {
  opacity: 0;
  transform: translateX(-20px);
}

.wizard-content-inner.transitioning-back {
  opacity: 0;
  transform: translateX(20px);
}

@media (prefers-reduced-motion: reduce) {
  .wizard-content-inner.transitioning-forward,
  .wizard-content-inner.transitioning-back {
    transform: none;
  }
}

/* Wizard Footer */
.wizard-footer {
  flex-shrink: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.wizard-btn-back {
  grid-column: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wizard-btn-next,
.wizard-btn-submit {
  grid-column: 3;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wizard-footer-spacer {
  grid-column: 2;
}

@media (min-width: 768px) {
  .wizard-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 16px;
  }

  .wizard-footer-spacer {
    display: none;
  }

  .wizard-btn-back,
  .wizard-btn-next,
  .wizard-btn-submit {
    min-height: auto;
    padding: 12px 24px;
    grid-column: auto;
  }
}

/* Step 1: Doctor Selection */
.wizard-doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wizard-doctor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.wizard-doctor-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  min-height: 180px;
}

.wizard-doctor-card:hover {
  border-color: var(--brand-primary);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.wizard-doctor-card.selected {
  border-color: var(--brand-primary);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(76, 111, 68, 0.1);
}

.wizard-doctor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.wizard-doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.wizard-doctor-card.selected .wizard-doctor-avatar img {
  filter: grayscale(0%);
}

.wizard-doctor-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
}

.wizard-doctor-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 200ms var(--ease-out);
}

.wizard-doctor-card.selected .wizard-doctor-check {
  opacity: 1;
  transform: scale(1);
}

/* Step Title */
.wizard-step-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 8px;
  text-align: center;
}

.wizard-step-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  text-align: center;
}

/* Step 2: Date Picker */
.wizard-selected-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  min-height: 36px;
}

.wizard-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.2);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-primary);
}

.wizard-date-chip-remove {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(76, 111, 68, 0.15);
  color: var(--brand-primary);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  border-radius: 50%;
  transition: all 150ms;
  flex-shrink: 0;
}

.wizard-date-chip-remove:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* Calendar styling (reuse existing with modifications) */
.wizard-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wizard-calendar-month {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.wizard-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

/* Step 3: Time Picker */
.wizard-date-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.wizard-date-tab {
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms var(--ease-out);
  flex-shrink: 0;
}

.wizard-date-tab:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.wizard-date-tab.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.wizard-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .wizard-time-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wizard-time-slot {
  padding: 12px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  cursor: pointer;
  text-align: center;
  transition: all 150ms var(--ease-out);
  background: var(--bg-surface);
  color: var(--text-primary);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-time-slot:hover:not(:disabled) {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.wizard-time-slot.selected {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.wizard-time-slot:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.wizard-time-summary {
  padding: 16px;
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(76, 111, 68, 0.15);
}

.wizard-time-summary-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.wizard-time-summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wizard-time-summary-item {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-time-summary-item svg {
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* Inline Proceed Button (Steps 2 & 3) */
.wizard-inline-proceed {
  background: var(--brand-soft);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  animation: slide-up 300ms var(--ease-out);
  box-shadow: 0 4px 12px rgba(76, 111, 68, 0.15);
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-inline-proceed-message {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.wizard-inline-proceed-message svg {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.wizard-inline-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
}

/* Mobile: Sticky positioning */
@media (max-width: 767px) {
  .wizard-inline-proceed {
    position: sticky;
    bottom: 72px;
    left: 0;
    right: 0;
    margin: 20px -20px 0 -20px;
    border-radius: var(--radius-md);
    z-index: 5;
  }
}

/* Step 4: Contact Form */
.wizard-contact-summary {
  background: var(--brand-soft);
  border: 1px solid rgba(76, 111, 68, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.wizard-contact-summary-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.wizard-contact-summary-text {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
}

.wizard-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .wizard-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wizard-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: border-color 150ms ease;
  box-sizing: border-box;
}

.wizard-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(76, 111, 68, 0.1);
}

.wizard-input::placeholder {
  color: var(--text-muted);
}

.wizard-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.wizard-hint-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: -4px;
}

.wizard-hint-text svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.wizard-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
  margin-top: 8px;
}

.wizard-consent input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--brand-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.wizard-consent a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.wizard-error {
  color: #c0392b;
  font-size: 13px;
  margin: 12px 0 0;
  padding: 12px;
  background: #fee;
  border-radius: var(--radius-sm);
  border: 1px solid #fcc;
}

/* Step 5: Success */
.wizard-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  min-height: 300px;
}

.wizard-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: success-pop 400ms var(--ease-out);
}

.wizard-success-icon svg {
  color: var(--brand-primary);
  animation: success-check 600ms var(--ease-out) 200ms both;
}

@keyframes success-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes success-check {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.wizard-success-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.wizard-success-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 40ch;
  margin: 0 0 32px;
  line-height: 1.6;
}

.wizard-success-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .wizard-header {
    padding: 16px 20px;
  }

  .wizard-progress {
    padding: 12px 20px;
  }

  .wizard-content {
    padding: 20px;
  }

  .wizard-footer {
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .wizard-step-title {
    font-size: 20px;
  }

  .wizard-step-subtitle {
    margin: 0 0 20px;
  }

  .wizard-container {
    min-height: auto;
    max-height: 85vh;
  }

  .wizard-doctor-grid {
    gap: 8px;
  }

  .wizard-doctor-card {
    padding: 12px 16px;
    min-height: 110px;
  }

  .wizard-doctor-avatar {
    width: 48px;
    height: 48px;
  }

  .wizard-doctor-name {
    font-size: 16px;
  }

  .wizard-doctor-check {
    width: 20px;
    height: 20px;
  }

  .wizard-success {
    padding: 20px;
  }

  .wizard-success-title {
    font-size: 20px;
  }
}

/* ============ RESPONSIVE — Landing Page (320–480px) ============ */

/* Hero */
@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero-image-wrap { aspect-ratio: 3/4; }
  .hero-badge { padding: 10px 14px; gap: 10px; }
  .hero-badge-title { font-size: 12px; }
  .hero-badge-sub { font-size: 10px; }
  .hero-badge .check { width: 24px; height: 24px; }
}

/* Service cards */
@media (max-width: 480px) {
  .service-card { padding: 20px; }
  .service-card .icon-box { margin-bottom: 16px; }
  .service-card p { margin-bottom: 16px; }
}

/* Werte cards */
@media (max-width: 480px) {
  .wert-card { padding: 24px; }
}

/* Team cards */
@media (max-width: 480px) {
  .team-content { padding: 20px; }
  .team-name { font-size: 22px; }
  .team-photo { aspect-ratio: 1/1; }
}

/* Testimonials */
@media (max-width: 480px) {
  .testimonial-card { padding: 28px 20px; }
  .testimonial-text { font-size: 18px; }
}

/* Tech spotlight */
@media (max-width: 640px) {
  .tech-3d { aspect-ratio: 3/4; }
  .tech-tag { font-size: 11px; padding: 5px 10px; }
}

/* Standort */
@media (max-width: 640px) {
  .map-wrap { height: 240px; }
  .hours-table { gap: 4px 16px; }
}

/* Footer */
@media (max-width: 640px) {
  .footer-grid { gap: 32px; }
  .site-footer { padding: 48px 0 24px; }
}

/* Mobile menu */
@media (max-width: 480px) {
  .mobile-menu { padding-top: 80px; }
  .mobile-menu a, .mobile-menu button { font-size: 26px; }
  .mobile-dropdown-trigger { font-size: 26px; }
  .mobile-menu .mobile-sub-links a { font-size: 18px; }
}

/* Termin CTA */
@media (max-width: 480px) {
  .termin-cta { padding: 48px 20px; }
}

/* ==========================================
   DEKO-BILDER (Keramik-Zahn-Tulpen)
   ========================================== */

/* Deko-Sektion zwischen Sektionen */
.deko-section {
  padding: 64px 0;
  overflow: hidden;
}

.deko-image {
  width: 30%; /* 25-35% wie gewünscht */
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0.92;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
}

.deko-image:hover {
  transform: scale(1.03);
  opacity: 1;
}

.deko-image-float-right {
  float: right;
  margin-left: 48px;
  margin-bottom: 24px;
}

/* Mobile: volle Breite, zentriert */
@media (max-width: 768px) {
  .deko-image {
    width: 60%;
    float: none;
    display: block;
    margin: 0 auto;
  }

  .deko-section {
    padding: 48px 0;
  }
}
