:root {
  --ink: #020617;
  --ink-2: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --soft-line: #f1f5f9;
  --blue: #0284c7;
  --blue-2: #0ea5e9;
  --blue-soft: #e0f2fe;
  --blue-wash: #f7fcff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --footer: #111827;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 92px 0; }
.section-pad-sm { padding: 84px 0; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 6vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.062em;
  font-weight: 500;
  background: linear-gradient(105deg, #020617 12%, #0ea5e9 150%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.052em;
  font-weight: 500;
}
h3 { letter-spacing: -.028em; }
p { color: var(--muted); line-height: 1.55; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { color: #334155; font-size: .98rem; transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 10px 24px rgba(2,132,199,.18);
}
.btn-primary:hover { box-shadow: 0 16px 28px rgba(2,132,199,.24); }
.btn-soft { color: var(--blue); background: var(--blue-soft); }

.hero {
  padding-top: 56px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 50% 26%, rgba(14,165,233,.09), transparent 36%),
    #fff;
}
.hero-grid {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 76px;
}
.hero-copy { max-width: 555px; }
.lead { max-width: 535px; margin-bottom: 28px; font-size: 1.08rem; line-height: 1.65; }
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px 4px 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .86rem;
}
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 5px rgba(15,23,42,.06);
}
.hero-actions { margin-bottom: 44px; }
.expert-row { display: flex; align-items: center; gap: 16px; }
.expert-row p { margin: 0; font-size: .9rem; color: #3f3f46; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img, .avatar-stack span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-right: -9px;
}
.avatar-stack span {
  display: grid;
  place-items: center;
  margin-right: 0;
  background: #f1f5f9;
  font-weight: 600;
  font-size: .8rem;
}
.hero-media {
  position: relative;
  min-height: 625px;
  border-radius: 26px;
  overflow: hidden;
  background: #eef2f7;
}
.hero-photo { width: 100%; height: 625px; object-fit: cover; object-position: center; }
.treatment-stack {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 12px;
  width: 196px;
}
.treatment-chip {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
  backdrop-filter: blur(14px);
}
.treatment-chip.is-active { background: #fff; }
.treatment-chip.muted { opacity: .56; }
.treatment-chip > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
}
.treatment-chip > span img { width: 20px; height: 20px; object-fit: contain; }
.treatment-chip b { font-size: .8rem; font-weight: 500; }
.treatment-chip .ok { color: #16a34a; }

.trust { background: #f5f8fb; }
.trust-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 24px; align-items: stretch; }
.section-intro { padding: 8px 28px 8px 0; }
.section-intro p { margin-bottom: 30px; }
.value-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: #fff;
}
.value-card h3 { margin-bottom: 8px; font-size: 1.32rem; }
.value-card p { margin: 0; font-size: .94rem; }
.icon-tile {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  font-size: 1.45rem;
  background: #fff;
  border: 1px solid var(--soft-line);
}
.icon-tile.gold { color: #ca8a04; background: #fefce8; border-color: #fef9c3; }
.icon-tile.green { color: #16a34a; background: #f0fdf4; border-color: #dcfce7; }

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid #eff6ff;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: .78rem;
}
.eyebrow.light { background: #fff; }
.eyebrow.dark { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.16); }
.eyebrow.light-bg { background: #fff; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 38px;
}
.section-head > div:first-child { max-width: 760px; }
.section-head p { margin-bottom: 0; }
.section-head.compact { margin-bottom: 34px; }

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.service-tab {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid #eff6ff;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}
.service-tab.is-active {
  border-color: #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 378px;
  gap: 50px;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: #f8fafc;
}
.service-copy { min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; }
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #fff;
}
.service-icon img { width: 30px; height: 30px; object-fit: contain; }
.service-copy h3 { margin-bottom: 8px; font-size: 1.45rem; }
.service-copy > p { max-width: 410px; }
.service-doctor { display: flex; gap: 14px; align-items: center; margin-top: auto; margin-bottom: 28px; }
.service-doctor img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.service-doctor strong, .service-doctor span { display: block; }
.service-doctor strong { margin-bottom: 3px; font-size: 1rem; }
.service-doctor span { color: var(--muted); font-size: .82rem; }
.quick-book { display: flex; align-items: center; gap: 8px; }
.quick-book > span:not(.square-icon), .quick-book a { padding: 9px 15px; border-radius: 9px; background: #fff; font-size: .82rem; }
.square-icon { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 9px; }
.service-photo { width: 100%; height: 400px; object-fit: cover; object-position: right center; border-radius: 28px; }

.team { overflow: hidden; }
.team-head { margin-bottom: 26px; }
.slider-arrows { display: flex; gap: 12px; }
.arrow-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #f0f9ff;
  border-radius: 13px;
  background: #f0f9ff;
  color: var(--blue);
  cursor: pointer;
}
.arrow-btn.white { background: #fff; }
.team-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.team-track::-webkit-scrollbar { display: none; }
.doctor-card { min-width: 270px; scroll-snap-align: start; }
.doctor-card > img { width: 100%; height: 326px; object-fit: cover; object-position: top; border: 1px solid var(--soft-line); border-radius: 30px; background: #f8fafc; }
.doctor-info { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px 0; }
.doctor-info h3 { margin-bottom: 3px; font-size: 1rem; }
.doctor-info p { margin: 0; font-size: .78rem; }
.doctor-info > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #f8fafc; }

.reviews { background: #f7fcff; overflow: hidden; }
.review-window { overflow: hidden; }
.review-track { display: flex; gap: 20px; transition: transform .45s ease; }
.review-card {
  min-width: min(490px, calc(100vw - 64px));
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: #fff;
}
.quote-mark { font-size: 4.1rem; line-height: .65; color: var(--blue); font-weight: 700; }
.quote-mark.pale { color: #bae6fd; }
.review-card > p { margin: 0; color: #0f172a; font-size: 1.05rem; line-height: 1.6; }
.reviewer { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.reviewer img, .review-avatar { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.review-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; margin-top: 0 !important; padding: 0; text-align: center; font-size: 1rem; line-height: 1; font-weight: 700; color: #0f172a !important; border: 1px solid rgba(2,132,199,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.review-avatar--serpil { background: linear-gradient(180deg, #e9d5ff, #ddd6fe); }
.review-avatar--dieter { background: linear-gradient(180deg, #bfdbfe, #93c5fd); }
.review-avatar--baris { background: linear-gradient(180deg, #bbf7d0, #86efac); }
.review-avatar--marco { background: linear-gradient(180deg, #fde68a, #fcd34d); }
.review-avatar--cornely { background: linear-gradient(180deg, #fecdd3, #fda4af); }
.reviewer strong { display: block; }
.reviewer > div span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.review-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.google-source { margin: 0; padding: 6px 10px; border-radius: 999px; color: #475569; background: #f8fafc; font-size: .72rem; font-weight: 600; }
.review-stars { color: #f59e0b !important; letter-spacing: .08em; white-space: nowrap; }
.review-heading { align-items: center; }
.google-rating { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.google-rating > strong { font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.google-rating > div { display: grid; gap: 2px; }
.google-rating small { color: var(--muted); font-size: .72rem; }

.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.article-image-wrap { position: relative; }
.article-image-wrap img { width: 100%; height: 378px; object-fit: cover; border-radius: 20px; }
.article-image-wrap span { position: absolute; left: 20px; bottom: 20px; padding: 7px 10px; background: #fff; border-radius: 8px; font-size: .78rem; }
.article-meta { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; color: var(--muted); font-size: .82rem; }
.article-main h3 { margin-bottom: 22px; font-size: 1.9rem; line-height: 1.22; }
.article-list { display: grid; gap: 24px; }
.article-row { display: grid; grid-template-columns: 42% 1fr; gap: 22px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid #eff5f5; }
.article-row:last-child { border-bottom: 0; }
.article-row img { width: 100%; height: 160px; object-fit: cover; border-radius: 16px; }
.article-row .article-meta { margin: 0 0 10px; }
.article-row h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }

.faq { background: #f7fcff; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.faq-intro > p { max-width: 370px; }
.question-box { max-width: 410px; margin-top: 72px; padding: 28px; border: 1px solid rgba(226,232,240,.75); border-radius: 20px; }
.question-box h3 { margin-bottom: 7px; font-size: 1.25rem; }
.accordion { display: grid; gap: 14px; }
.accordion details { border: 1px solid rgba(226,232,240,.75); border-radius: 20px; background: transparent; overflow: hidden; }
.accordion details[open] { background: #fff; }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details p { margin: 0; padding: 0 24px 24px; color: #475569; line-height: 1.65; }
.accordion details[open] summary i { transform: rotate(180deg); }

.cta-panel {
  min-height: 456px;
  display: flex;
  align-items: center;
  padding: 70px 80px;
  border-radius: 32px;
  background-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.08) 78%), url("assets/cta.jpg");
  background-size: cover;
  background-position: center;
}
.cta-copy { max-width: 470px; }
.cta-copy h2, .cta-copy p { color: #fff; }
.cta-copy h2 { font-size: 2.65rem; }
.cta-copy p { color: rgba(255,255,255,.72); }

.booking { background: #f7fcff; }
.booking-grid { display: grid; grid-template-columns: 390px 1fr; gap: 86px; align-items: center; }
.contact-copy > p { line-height: 1.75; }
.contact-cards { display: grid; gap: 14px; margin-top: 70px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--soft-line); border-radius: 16px; background: #fff; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { margin-bottom: 4px; color: var(--muted); }
.contact-card strong { font-size: .92rem; }
.booking-form { padding: 40px; border: 1px solid var(--soft-line); border-radius: 32px; background: #fff; }
.form-title { display: flex; gap: 16px; margin-bottom: 34px; }
.form-title > i { color: var(--blue); font-size: 2.75rem; }
.form-title h2 { margin-bottom: 6px; font-size: 1.5rem; letter-spacing: -.035em; }
.form-title p { margin: 0; }
.booking-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .84rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.field i { color: #0f172a; }
.field input { width: 100%; border: 0; outline: 0; color: #0f172a; background: transparent; }
.field input::placeholder { color: #94a3b8; }
.booking-form .btn { margin-top: 2px; }
.form-message { min-height: 20px; margin: 14px 0 0; color: #15803d; font-size: .86rem; }

.site-footer { padding: 24px; background: #fff; }
.footer-shell { max-width: 1392px; margin: 0 auto; overflow: hidden; border-radius: 38px; color: #fff; background: var(--footer); }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .9fr .8fr; gap: 64px; padding: 58px 78px 72px; }

.footer-brand p { max-width: 300px; margin-top: 20px; color: #fff; font-size: 1.04rem; }
.footer-links { display: grid; align-content: start; gap: 11px; }
.footer-links h3 { margin: 0 0 6px; font-size: 1rem; }
.footer-links a { color: #94a3b8; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 78px; border-top: 1px solid #1e293b; font-size: .86rem; }
.socials { display: flex; align-items: center; gap: 16px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .hero-grid { gap: 42px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section-intro { grid-column: 1 / -1; max-width: 650px; }
  .service-feature { grid-template-columns: 1fr 330px; }
  .team-track { grid-template-columns: repeat(3, 280px); }
  .faq-grid { gap: 58px; }
  .booking-grid { grid-template-columns: 330px 1fr; gap: 50px; }
  .footer-main { gap: 38px; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 30px rgba(15,23,42,.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--soft-line); }
  .menu-btn { display: inline-flex; }
  .hero-grid, .articles-grid, .faq-grid, .booking-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-copy { max-width: none; }
  .hero-media { min-height: 520px; }
  .hero-photo { height: 520px; }
  .trust-grid { grid-template-columns: 1fr; }
  .section-intro { grid-column: auto; }
  .service-feature { grid-template-columns: 1fr; }
  .service-copy { min-height: auto; }
  .service-photo { order: -1; height: 330px; }
  .service-doctor { margin-top: 32px; }
  .articles-grid { gap: 54px; }
  .faq-grid { gap: 50px; }
  .question-box { margin-top: 34px; }
  .cta-panel { padding: 54px 40px; background-position: 60% center; }
  .booking-grid { gap: 40px; }
  .contact-cards { margin-top: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container, .nav-wrap { width: min(100% - 32px, 1200px); }
  .section-pad { padding: 68px 0; }
  .section-pad-sm { padding: 64px 0; }
  .brand img { width: 122px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.15rem; }
  .availability-pill { align-items: flex-start; flex-direction: column; padding: 4px; border-radius: 18px; }
  .availability-pill > span:last-child { padding: 0 12px 9px; }
  .hero { padding-top: 34px; }
  .hero-grid { gap: 34px; }
  .hero-media { min-height: 430px; border-radius: 22px; }
  .hero-photo { height: 430px; }
  .treatment-stack { right: 12px; bottom: 12px; width: 178px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .value-card { min-height: 210px; }
  .service-feature { padding: 22px; border-radius: 24px; }
  .service-photo { height: 280px; border-radius: 20px; }
  .quick-book { flex-wrap: wrap; }
  .team-head .slider-arrows { display: none; }
  .doctor-card > img { height: 300px; }
  .review-card { height: 380px; padding: 26px; }
  .article-image-wrap img { height: 280px; }
  .article-main h3 { font-size: 1.55rem; }
  .article-row { grid-template-columns: 130px 1fr; gap: 16px; }
  .article-row img { height: 116px; }
  .article-row h3 { font-size: 1rem; }
  .article-row .article-meta { font-size: .72rem; }
  .accordion summary { padding: 20px; }
  .accordion details p { padding: 0 20px 20px; }
  .cta-section { padding-top: 54px; }
  .cta-panel { min-height: 430px; padding: 42px 26px; border-radius: 24px; }
  .cta-copy h2 { font-size: 2.2rem; }
  .booking-form { padding: 26px 20px; border-radius: 24px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding: 12px; }
  .footer-shell { border-radius: 26px; }
  .footer-main { grid-template-columns: 1fr; padding: 42px 24px 50px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Praxis Zimmermann brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #082f49;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #0284c7;
  background: #e0f2fe;
}
.brand-tooth { width: 26px; height: 26px; display: block; object-fit: contain; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-name { font-size: 1.08rem; line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.brand-claim { color: #0284c7; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand-name strong { font-weight: 700; }
.brand-footer { color: #f0f9ff; }
.brand-footer .brand-mark { color: #38bdf8; background: rgba(56,189,248,.12); }
.brand-footer .brand-name { font-size: 1.35rem; }
.brand-footer .brand-claim { color: #7dd3fc; }
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* Multi-page layout */
.subpage-hero {
  padding: 86px 0 82px;
  background: radial-gradient(circle at 72% 20%, rgba(14,165,233,.12), transparent 35%), #fff;
  border-bottom: 1px solid var(--soft-line);
}
.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 70px;
}
.subpage-hero h1 { max-width: 820px; }
.subpage-hero .lead { margin-bottom: 0; }

.why-us {
  position: relative;
  overflow: hidden;
  background: #eef8ff;
}
.why-us .container { position: relative; z-index: 1; }
.why-us-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.why-us-intro p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.06rem;
}
.why-us-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.why-us-column {
  display: grid;
  gap: 42px;
}
.why-point {
  display: flex;
  align-items: center;
  gap: 18px;
}
.why-point > div { max-width: 320px; }
.why-point h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}
.why-point p { margin: 0; }
.why-point.left { justify-content: flex-end; text-align: right; }
.why-point.left .why-icon { order: 2; }
.why-point.right { justify-content: flex-start; text-align: left; }
.why-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--blue);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(2,132,199,.12);
  box-shadow: 0 12px 28px rgba(2,132,199,.08);
  font-size: 1.65rem;
}
.why-us-center {
  display: grid;
  place-items: center;
}
.why-us-center img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(15, 23, 42, .08));
}
.why-us-shape {
  position: absolute;
  opacity: .55;
  pointer-events: none;
}
.why-us-shape--plus {
  width: 52px;
  height: 52px;
}
.why-us-shape--plus::before,
.why-us-shape--plus::after {
  content: "";
  position: absolute;
  background: rgba(2,132,199,.12);
  border-radius: 999px;
}
.why-us-shape--plus::before { inset: 22px 0; }
.why-us-shape--plus::after { inset: 0 22px; }
.why-us-shape--spark {
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, rgba(14,165,233,.8), rgba(2,132,199,.95));
  clip-path: polygon(50% 0%, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0% 50%, 36% 36%);
}
.why-us-shape--one { top: 72px; left: 34px; }
.why-us-shape--two { right: 44px; top: 40px; }
.why-us-shape--three { left: 40px; bottom: 120px; }
.why-us-shape--four { right: 100px; bottom: 86px; transform: scale(.8); }

.subpage-hero-card {
  width: 300px;
  display: grid;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.subpage-hero-card > i { color: var(--blue); font-size: 2rem; }
.subpage-hero-card strong { font-size: 1.05rem; }
.subpage-hero-card span { color: var(--muted); line-height: 1.5; font-size: .9rem; }
.content-section { background: #fff; }
.service-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-card { padding: 34px; border: 1px solid var(--soft-line); border-radius: 24px; background: #f8fafc; }
.page-card h2 { margin: 22px 0 10px; font-size: 1.65rem; }
.page-card p { margin-bottom: 0; }
.service-page-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: #e0f2fe; font-size: 1.6rem; }
.image-content-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.image-content-grid > img { width: 100%; height: 500px; object-fit: cover; border-radius: 28px; }
.team-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-page-grid .doctor-card { min-width: 0; }
.team-page-grid .doctor-info h2 { font-size: 1.12rem; margin-bottom: 4px; }
.service-page-icon-image img { width: 28px; height: 28px; object-fit: contain; }

.story-section { background: #fff; }
.story-panel { min-height: 460px; display: flex; align-items: center; padding: 64px 72px; border-radius: 32px; background-image: linear-gradient(90deg, rgba(9, 32, 66, .72) 0%, rgba(9, 32, 66, .36) 48%, rgba(9, 32, 66, .06) 100%), url("assets/story-whale.jpg"); background-size: cover; background-position: center; overflow: hidden; }
.story-copy { max-width: 560px; }
.story-copy h2, .story-copy p { color: #fff; }
.story-copy h2 { margin-bottom: 16px; }
.story-copy p { margin-bottom: 28px; color: rgba(255,255,255,.82); }
.btn-outline-light { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.76); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.story-text { max-width: 760px; margin: 28px auto 0; text-align: center; }
.story-text p { font-size: 1.02rem; line-height: 1.7; }
.location-grid { align-items: center; }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 0 0 30px; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.feature-list i { color: var(--blue); font-size: 1.2rem; margin-top: 2px; }
.location-grid > div > p { margin-bottom: 24px; }
.page-booking { padding-top: 80px; }
.page-contact .contact-cards { margin-top: 36px; }
.field-textarea { min-height: 150px; align-items: flex-start; padding-top: 16px; }
.field textarea { width: 100%; min-height: 116px; resize: vertical; border: 0; outline: 0; background: transparent; font: inherit; color: #0f172a; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; font-size: 1.7rem; }
.legal-hero { padding-bottom: 60px; }

@media (max-width: 1080px) {
  .team-page-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-layout { grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); gap: 24px; }
  .why-point > div { max-width: 260px; }
  .why-point h3 { font-size: 1.05rem; }
}

@media (max-width: 820px) {
  .subpage-hero-grid, .image-content-grid { grid-template-columns: 1fr; }
  .why-us-intro { margin-bottom: 32px; }
  .why-us-layout { grid-template-columns: 1fr; gap: 28px; }
  .why-us-column { gap: 18px; }
  .why-us-center { order: -1; }
  .why-us-center img { width: min(100%, 320px); }
  .why-point, .why-point.left, .why-point.right { justify-content: flex-start; text-align: left; }
  .why-point.left .why-icon { order: 0; }
  .story-panel { padding: 48px 40px; min-height: 380px; }
  .story-copy { max-width: 480px; }
  .subpage-hero-grid { align-items: start; gap: 34px; }
  .subpage-hero-card { width: 100%; }
  .service-page-grid { grid-template-columns: 1fr; }
}

/* Mobile layout based on the supplied 402 px Figma frame */
@media (max-width: 560px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { font-size: 14px; }
  .site-header { height: 80px; }
  .nav-wrap { width: 100%; padding: 0 20px; gap: 16px; }
  .brand { gap: 7px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand-tooth { width: 22px; height: 22px; }
  .brand-name { font-size: .92rem; }
  .brand-claim { font-size: .55rem; letter-spacing: .06em; }
  .menu-btn { width: 44px; height: 44px; border-radius: 10px; background: #f8fafc; }
  .main-nav { inset: 80px 0 auto 0; padding: 12px 20px 22px; }
  .container { width: calc(100% - 40px); }
  .section-pad { padding: 40px 0; }
  .section-pad-sm { padding: 46px 0; }
  h1 { font-size: 48px; line-height: 56px; letter-spacing: -.05em; }
  h2 { font-size: 32px; line-height: 40px; letter-spacing: -.04em; }
  h3 { letter-spacing: -.02em; }
  p { line-height: 20px; }
  .lead { font-size: 16px; line-height: 24px; }
  .btn { min-height: 42px; font-size: 14px; }
  .eyebrow { margin-bottom: 16px; padding: 7px 14px; font-size: 14px; line-height: 20px; }

  .hero { padding: 40px 0; }
  .hero-grid { display: flex; min-height: auto; flex-direction: column; gap: 0; }
  .hero-copy { width: 100%; max-width: none; padding-bottom: 32px; }
  .availability-pill { flex-direction: row; align-items: center; width: fit-content; padding: 4px 20px 4px 4px; margin-bottom: 20px; border-radius: 124px; }
  .availability-pill > span:last-child { padding: 0; }
  .hero h1 { margin-bottom: 12px; }
  .hero .lead { margin-bottom: 24px; }
  .hero-actions { margin-bottom: 46px; }
  .expert-row { display: grid; gap: 12px; }
  .expert-row p { font-size: 14px; line-height: 18px; }
  .hero-media { width: 100%; min-height: 400px; height: 400px; border-radius: 24px; }
  .hero-photo { height: 400px; object-position: 52% center; }
  .treatment-stack { right: 12px; bottom: 12px; width: 176px; gap: 10px; }
  .treatment-chip { grid-template-columns: 32px 1fr 18px; padding: 5px 12px 5px 5px; }
  .treatment-chip > span { width: 32px; height: 32px; }
  .treatment-chip b { font-size: 12px; }

  .trust-grid { gap: 20px; }
  .why-us-intro { margin-bottom: 28px; }
  .why-us-intro p { font-size: 14px; line-height: 20px; }
  .why-us-layout { gap: 24px; }
  .why-us-column { gap: 14px; }
  .why-point { gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.68); border: 1px solid rgba(2,132,199,.08); }
  .why-point > div { max-width: none; }
  .why-point h3 { margin-bottom: 6px; font-size: 18px; line-height: 24px; }
  .why-point p { font-size: 14px; line-height: 20px; }
  .why-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 1.4rem; }
  .why-us-center img { width: min(100%, 270px); }
  .why-us-shape--one { top: 40px; left: 14px; }
  .why-us-shape--two { right: 14px; top: 24px; }
  .why-us-shape--three { left: 14px; bottom: 80px; }
  .why-us-shape--four { right: 28px; bottom: 54px; }
  .section-intro { padding: 0; }
  .section-intro h2 { margin-bottom: 8px; }
  .section-intro p { margin-bottom: 32px; font-size: 14px; }
  .value-card { min-height: 192px; padding: 24px; gap: 16px; }
  .value-card .icon-tile { width: 56px; height: 56px; }
  .value-card h3 { margin-bottom: 4px; font-size: 18px; line-height: 28px; }
  .value-card p { font-size: 14px; line-height: 20px; }

  .services .section-head { margin-bottom: 24px; }
  .section-head { gap: 16px; margin-bottom: 24px; }
  .section-head p { font-size: 14px; line-height: 20px; }
  .services .section-head > .btn { display: none; }
  .service-tabs { width: calc(100vw - 20px); flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 0 0 32px; padding-right: 20px; scrollbar-width: none; }
  .service-tabs::-webkit-scrollbar { display: none; }
  .service-tab { flex: 0 0 auto; height: 40px; padding: 9px 16px; font-size: 14px; }
  .service-feature { display: flex; flex-direction: column; gap: 40px; padding: 20px; border-radius: 24px; }
  .service-copy { min-height: 298px; }
  .service-icon { margin-bottom: 16px; }
  .service-copy h3 { font-size: 18px; line-height: 28px; margin-bottom: 4px; }
  .service-copy > p { font-size: 14px; line-height: 20px; }
  .service-doctor { margin-top: auto; margin-bottom: 22px; }
  .service-doctor img { width: 40px; height: 40px; }
  .service-doctor strong { font-size: 14px; line-height: 20px; }
  .service-doctor span { font-size: 12px; line-height: 16px; }
  .quick-book { flex-wrap: nowrap; }
  .quick-book > span:not(.square-icon), .quick-book a { height: 32px; padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  .square-icon { width: 32px; height: 32px; border-radius: 6px; }
  .service-photo { order: 0; height: 197px; border-radius: 12px; }
  .mobile-section-link { width: 100%; margin-top: 32px; }

  .team { padding-top: 40px; padding-bottom: 40px; }
  .team-head { margin-bottom: 32px; }
  .team-head .slider-arrows { display: none; }
  .team-track { grid-template-columns: repeat(3, 175px); gap: 12px; width: calc(100vw - 20px); padding-right: 20px; }
  .doctor-card { min-width: 175px; }
  .doctor-card > img { height: 190px; border-radius: 12px; }
  .doctor-info { padding: 12px 6px 0; }
  .doctor-info h3 { font-size: 14px; line-height: 20px; }
  .doctor-info p { font-size: 12px; line-height: 16px; }
  .doctor-info > span { width: 28px; height: 28px; font-size: 12px; }
  .team .container > .slider-arrows { display: flex; margin-top: 32px; }

  .reviews { padding-top: 40px; padding-bottom: 40px; }
  .reviews .section-head .slider-arrows { display: none; }
  .reviews .section-head { align-items: flex-start; }
  .google-rating { width: fit-content; padding: 10px 12px; }
  .google-rating > strong { font-size: 1.6rem; }
  .review-window { width: calc(100vw - 20px); }
  .review-card { min-width: 340px; min-height: 330px; padding: 20px; border-radius: 16px; }
  .quote-mark { font-size: 3rem; }
  .review-card > p { font-size: 16px; line-height: 24px; }
  .reviewer img, .review-avatar { width: 42px; height: 42px; }
  .review-avatar { flex-basis: 42px; font-size: .9rem; }
  .reviewer strong { font-size: 14px; line-height: 20px; }
  .reviewer span { font-size: 12px; line-height: 16px; }

  .faq-grid { gap: 40px; }
  .faq-intro > p { font-size: 14px; line-height: 20px; }
  .question-box { max-width: none; margin-top: 24px; padding: 20px; border-radius: 20px; background: #fff; }
  .question-box h3 { font-size: 16px; line-height: 24px; }
  .question-box p { font-size: 14px; line-height: 20px; }
  .accordion { gap: 16px; }
  .accordion details { border-radius: 12px; }
  .accordion summary { min-height: 56px; padding: 18px; font-size: 14px; line-height: 20px; }
  .accordion details p { padding: 0 18px 18px; font-size: 14px; line-height: 20px; }

  .cta-section { padding: 40px 0; }
  .cta-panel { min-height: 445px; padding: 20px; align-items: flex-end; border-radius: 20px; background-image: linear-gradient(225deg, rgba(0,0,0,0) 36%, rgba(0,0,0,.48) 58%, rgba(0,0,0,.82) 82%), url('assets/cta.jpg'); background-position: center; }
  .cta-copy { width: 100%; max-width: none; }
  .cta-copy h2 { font-size: 32px; line-height: 40px; }
  .cta-copy p { font-size: 14px; line-height: 20px; color: #fff; }
  .cta-copy .btn { width: 100%; }

  .site-footer { padding: 12px; }
  .footer-shell { border-radius: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px 38px; padding: 40px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 297px; margin-top: 16px; font-size: 16px; line-height: 24px; }
  .brand-footer .brand-name { font-size: 1rem; }
  .footer-links { gap: 12px; }
  .footer-links h3 { font-size: 16px; line-height: 24px; }
  .footer-links a { font-size: 14px; line-height: 20px; }
  .footer-links:last-child { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); align-items: center; }
  .footer-links:last-child h3 { grid-column: 1 / -1; }
  .footer-bottom { align-items: center; text-align: center; padding: 24px 16px; }
  .socials { justify-content: center; width: 100%; }

  .subpage-hero { padding: 48px 0 44px; }
  .subpage-hero-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .subpage-hero h1 { font-size: 42px; line-height: 48px; }
  .subpage-hero-card { width: 100%; padding: 20px; border-radius: 18px; }
  .service-page-grid { gap: 16px; }
  .page-card { padding: 24px; border-radius: 20px; }
  .page-card h2 { font-size: 22px; line-height: 28px; }
  .image-content-grid { gap: 32px; }
  .image-content-grid > img { height: 300px; border-radius: 20px; }
  .team-page-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .story-panel { min-height: 320px; padding: 24px 20px; border-radius: 24px; background-position: 62% center; }
  .story-copy h2 { font-size: 32px; line-height: 40px; }
  .story-copy p, .story-text p { font-size: 14px; line-height: 20px; }
  .story-text { margin-top: 20px; text-align: left; }
  .feature-list { gap: 10px; margin-bottom: 24px; }
  .feature-list li { font-size: 14px; line-height: 20px; }
  .team-page-grid .doctor-card { min-width: 0; }
  .team-page-grid .doctor-card > img { height: 190px; }
  .team-page-grid .doctor-info h2 { font-size: 14px; line-height: 20px; }
  .page-booking { padding-top: 40px; }
  .booking-grid { gap: 32px; }
  .contact-copy h2 { font-size: 40px; line-height: 46px; }
  .contact-cards { margin-top: 32px; gap: 12px; }
  .contact-card { min-height: 64px; padding: 12px; border-radius: 12px; }
  .contact-card .icon-tile { width: 40px; height: 40px; border-radius: 8px; font-size: 1.15rem; }
  .contact-card strong { font-size: 14px; line-height: 20px; }
  .booking-form { padding: 20px; border-radius: 20px; }
  .form-title { margin-bottom: 32px; }
  .form-title > i { font-size: 2rem; }
  .form-title h2 { font-size: 18px; line-height: 28px; }
  .form-title p { font-size: 14px; line-height: 20px; }
  .booking-form .btn { width: 100%; }
}

.mobile-section-link, .mobile-slider-arrows { display: none; }
@media (max-width: 560px) {
  .mobile-section-link { display: inline-flex; }
  .mobile-slider-arrows { display: flex; margin-top: 32px; }
  .reviews .mobile-review-arrows { display: flex; }
}

/* Hero-Hintergrundvideo */
.hero-video {
  width: 100%;
  height: 625px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #eef2f7;
}

@media (max-width: 820px) {
  .hero-video { height: 520px; }
}

@media (max-width: 560px) {
  .hero-video {
    height: 400px;
    object-position: center;
  }
}

/* Domain-Claim */
@media (max-width: 760px) {
  .availability-pill > span:last-child { display: none; }
}

/* Termin-Modal */
body.modal-open {
  overflow: hidden;
}

.appointment-modal[hidden] {
  display: none;
}

.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.appointment-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.appointment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .56);
  backdrop-filter: blur(3px);
}

.appointment-dialog {
  position: relative;
  width: min(660px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(2, 6, 23, .24);
  transform: translateY(16px) scale(.985);
  transition: transform .2s ease;
}

.appointment-modal.is-open .appointment-dialog {
  transform: translateY(0) scale(1);
}

.appointment-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.appointment-modal__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 2.65rem;
}

.appointment-modal__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  color: #141b34;
  background: #f8fafc;
  cursor: pointer;
}

.appointment-modal__copy {
  margin-top: 24px;
}

.appointment-modal__copy h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -.033em;
  font-weight: 600;
}

.appointment-modal__copy p {
  max-width: 580px;
  margin-bottom: 0;
  color: #334155;
  opacity: .78;
  font-size: 16px;
  line-height: 24px;
}

.appointment-modal__form {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.appointment-modal__form label {
  display: grid;
  gap: 8px;
  color: #020617;
  font-size: 14px;
  line-height: 20px;
}

.appointment-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}

.appointment-field {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid #d9e4ef;
  border-radius: 24px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.appointment-field:focus-within {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.appointment-field i {
  flex: 0 0 auto;
  color: #020617;
  font-size: 24px;
}

.appointment-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #020617;
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
}

.appointment-field input::placeholder {
  color: #7c8799;
}

.appointment-modal__submit {
  width: fit-content;
  min-width: 203px;
}

.appointment-modal__status {
  min-height: 20px;
  margin: -4px 0 0;
  color: #15803d;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 680px) {
  .appointment-modal {
    align-items: end;
    padding: 12px;
  }

  .appointment-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 24px;
    border-radius: 24px;
  }

  .appointment-modal__form {
    gap: 16px;
    margin-top: 28px;
  }

  .appointment-modal__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .appointment-dialog {
    padding: 20px;
    border-radius: 20px;
  }

  .appointment-modal__copy h2 {
    font-size: 22px;
  }

  .appointment-modal__copy p {
    font-size: 14px;
    line-height: 20px;
  }

  .appointment-modal__submit {
    width: 100%;
  }
}


/* Kontakt und datenschutzfreundliche Kartenansicht */
.contact-card { position: relative; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.contact-card:hover { transform: translateY(-2px); border-color: #bae6fd; box-shadow: 0 14px 30px rgba(2,132,199,.08); }
.contact-card > div { min-width: 0; }
.contact-card > div > span { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.contact-card-arrow { margin-left: auto; color: var(--blue); }
.map-section { background: #fff; }
.map-section-head { align-items: end; }
.privacy-map { position: relative; min-height: 460px; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; border: 1px solid var(--soft-line); border-radius: 32px; background: #edf7fc; box-shadow: var(--shadow); }
.privacy-map__visual { position: relative; min-height: 460px; overflow: hidden; background: linear-gradient(145deg, #eaf5fb 0%, #f9fcfe 100%); }
.privacy-map__visual::before, .privacy-map__visual::after { content: ""; position: absolute; inset: auto; border: 2px solid rgba(2,132,199,.12); border-radius: 999px; }
.privacy-map__visual::before { width: 520px; height: 220px; left: -110px; top: 30px; transform: rotate(-14deg); }
.privacy-map__visual::after { width: 620px; height: 250px; right: -210px; bottom: -80px; transform: rotate(12deg); }
.privacy-map__road { position: absolute; display: block; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(148,163,184,.16); }
.privacy-map__road--one { width: 82%; left: -8%; top: 31%; transform: rotate(8deg); }
.privacy-map__road--two { width: 88%; left: 5%; top: 61%; transform: rotate(-11deg); }
.privacy-map__road--three { width: 62%; left: 28%; top: 45%; transform: rotate(73deg); }
.privacy-map__pin { position: absolute; left: 55%; top: 48%; width: 64px; height: 64px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50% 50% 50% 12px; color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue)); font-size: 1.7rem; box-shadow: 0 18px 36px rgba(2,132,199,.28); rotate: -45deg; }
.privacy-map__pin i { rotate: 45deg; }
.privacy-map__label { position: absolute; left: 55%; top: calc(48% + 54px); transform: translateX(-50%); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #0f172a; font-size: .82rem; font-weight: 600; box-shadow: 0 8px 24px rgba(15,23,42,.08); }
.privacy-map__content { display: flex; align-items: center; gap: 18px; padding: 44px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.privacy-map__icon { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 18px; color: var(--blue); background: #e0f2fe; font-size: 1.65rem; }
.privacy-map__content h3 { margin-bottom: 10px; font-size: 1.45rem; }
.privacy-map__content p { margin-bottom: 24px; }
.privacy-map__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.privacy-map__actions > a { color: var(--blue); font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.privacy-map iframe { width: 100%; min-height: 460px; border: 0; grid-column: 1 / -1; }
.privacy-map.is-loaded { display: block; background: #fff; }

@media (max-width: 900px) {
  .privacy-map { grid-template-columns: 1fr; }
  .privacy-map__visual { min-height: 320px; }
  .privacy-map__content { padding: 32px; }
}

@media (max-width: 560px) {
  .map-section-head { align-items: stretch; }
  .map-section-head > .btn { width: 100%; }
  .privacy-map { min-height: 0; border-radius: 22px; }
  .privacy-map__visual { min-height: 250px; }
  .privacy-map__content { align-items: flex-start; padding: 22px; }
  .privacy-map__content h3 { font-size: 20px; line-height: 28px; }
  .privacy-map__content p { font-size: 14px; line-height: 20px; }
  .privacy-map__actions { align-items: stretch; }
  .privacy-map__actions .btn { width: 100%; }
  .privacy-map iframe { min-height: 420px; }
}

/* Schritt 1: dynamischer Terminmodus */
.appointment-modal__dynamic { margin-top: 36px; }
.appointment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.appointment-form-item { display: grid; gap: 10px; color: #020617; font-size: 14px; line-height: 20px; }
.appointment-form-item--full { grid-column: 1 / -1; }
.appointment-field { position: relative; }
.appointment-field select,
.appointment-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #020617;
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
}
.appointment-field select { appearance: none; padding-right: 42px; color: #64748b; }
.appointment-field select:valid { color: #020617; }
.appointment-field textarea { min-height: 138px; resize: vertical; padding: 22px 0; }
.appointment-field textarea::placeholder { color: #7c8799; }
.appointment-field--textarea { align-items: flex-start; }
.appointment-field--textarea > i { margin-top: 24px; }
.appointment-field__chevron { position: absolute; right: 20px; pointer-events: none; color: #64748b !important; font-size: 20px !important; }
.appointment-slots { margin: 0; padding: 0; border: 0; }
.appointment-slots legend { margin-bottom: 12px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.appointment-slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.appointment-slots__empty { display: flex; align-items: center; min-height: 84px; padding: 18px 20px; border: 1px solid #e2e8f0; border-radius: 22px; color: #334155; background: #f8fafc; font-size: 16px; line-height: 1.55; }
.appointment-slot { display: block !important; cursor: pointer; }
.appointment-slot input { position: absolute; opacity: 0; pointer-events: none; }
.appointment-slot span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 12px; color: #334155; background: #fff; text-align: center; transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease; }
.appointment-slot input:checked + span { border-color: #38bdf8; color: #0369a1; background: #f0f9ff; box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.appointment-slot input:focus-visible + span { outline: 2px solid #0284c7; outline-offset: 2px; }
.appointment-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid #bae6fd; border-radius: 14px; color: #075985; background: #f0f9ff; font-size: 13px; line-height: 19px; }
.appointment-notice i { flex: 0 0 auto; margin-top: 1px; font-size: 18px; }
.appointment-consent { display: flex !important; grid-column: 1 / -1; grid-template-columns: none !important; align-items: flex-start; gap: 12px !important; color: #475569 !important; font-size: 14px !important; line-height: 22px !important; }
.appointment-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #0284c7; }
.appointment-consent a { color: #0369a1; text-decoration: underline; }
.appointment-phone-box { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 18px; background: #f8fafc; }
.appointment-phone-box > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: #0284c7; background: #e0f2fe; font-size: 1.4rem; }
.appointment-phone-box small, .appointment-phone-box strong { display: block; }
.appointment-phone-box small { margin-bottom: 3px; color: #64748b; }
.appointment-phone-box strong { font-size: 1.25rem; }
.appointment-modal__form { margin-top: 0; }
.appointment-modal__form > .appointment-notice { margin-top: 0; }
.appointment-modal__status { margin-top: 0; }

.appointment-mode-explainer { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 40px; border: 1px solid var(--soft-line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.appointment-mode-explainer__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: var(--blue); background: var(--blue-soft); font-size: 1.8rem; }
.appointment-mode-explainer h2 { font-size: 1.75rem; }
.appointment-mode-explainer .feature-list { margin: 24px 0 30px; }
.appointment-page-grid { align-items: start; }

/* Eigene Geschichtsseite */
.history-hero { min-height: 680px; display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(4,31,57,.82) 0%, rgba(4,31,57,.42) 48%, rgba(4,31,57,.06) 100%), url('assets/story-whale.jpg'); background-size: cover; background-position: center; }
.history-hero__inner { max-width: 700px; margin-left: max(24px, calc((100vw - 1200px) / 2)); margin-right: auto; }
.history-hero h1 { max-width: 700px; color: #fff; background: none; -webkit-text-fill-color: initial; }
.history-hero .lead { max-width: 620px; color: rgba(255,255,255,.82); }
.history-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.history-prose p { font-size: 1.08rem; line-height: 1.75; }
.history-visual { background: #f7fcff; }
.history-visual__panel { overflow: hidden; border-radius: 32px; box-shadow: var(--shadow); }
.history-visual__panel img { width: 100%; min-height: 420px; object-fit: cover; }
.history-chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.history-chapter { position: relative; min-height: 310px; padding: 32px; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 26px; background: #f8fafc; }
.history-chapter > span { position: absolute; top: 18px; right: 24px; color: #cbd5e1; font-size: 3.2rem; font-weight: 700; }
.history-chapter > i { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 62px; border-radius: 16px; color: var(--blue); background: #e0f2fe; font-size: 1.65rem; }
.history-chapter h3 { font-size: 1.35rem; }
.prototype-note { display: flex; align-items: flex-start; gap: 16px; max-width: 880px; margin: 34px auto 0; padding: 22px 24px; border: 1px dashed #7dd3fc; border-radius: 18px; background: #f0f9ff; }
.prototype-note > i { flex: 0 0 auto; color: var(--blue); font-size: 1.5rem; }
.prototype-note strong { display: block; margin-bottom: 5px; }
.prototype-note p { margin: 0; }
.history-cta__panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px 64px; border-radius: 30px; background: #0e384c; }
.history-cta__panel h2, .history-cta__panel p { color: #fff; }
.history-cta__panel p { margin: 0; color: rgba(255,255,255,.72); }
.history-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Terminmodus- und Kalender-Prototyp */
.admin-prototype { min-height: 100vh; background: #f1f5f9; }
.admin-prototype h1 { color: #020617; background: none; -webkit-text-fill-color: initial; }
.admin-topbar { position: sticky; top: 0; z-index: 60; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 28px; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.admin-topbar__actions { display: flex; align-items: center; gap: 12px; }
.admin-prototype-badge { padding: 7px 11px; border-radius: 999px; color: #92400e; background: #fef3c7; font-size: .78rem; }
.admin-shell { width: min(1500px, 100%); margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { min-height: calc(100vh - 76px); padding: 28px 18px; border-right: 1px solid #e2e8f0; background: #fff; }
.admin-sidebar > strong { display: block; padding: 0 12px 18px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: #475569; }
.admin-sidebar a:hover, .admin-sidebar a.is-active { color: #0369a1; background: #f0f9ff; }
.admin-content { min-width: 0; padding: 42px; }
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.admin-page-head > div { max-width: 760px; }
.admin-page-head h1 { margin-bottom: 10px; font-size: clamp(2.5rem, 4vw, 4rem); }
.admin-card { margin-bottom: 24px; padding: 28px; border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(15,23,42,.05); }
.admin-mode-card { display: grid; grid-template-columns: 1fr minmax(280px, .7fr) auto; align-items: end; gap: 24px; }
.admin-mode-card h2 { margin-bottom: 6px; font-size: 1.4rem; }
.admin-mode-card p { margin: 0; }
.admin-mode-card label { display: grid; gap: 8px; color: #334155; font-size: .86rem; }
.admin-select-wrap { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 13px; background: #fff; }
.admin-select-wrap select { flex: 1; min-width: 0; appearance: none; border: 0; outline: 0; background: transparent; }
.admin-mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-mode-grid article { padding: 24px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
.admin-mode-grid i { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: var(--blue); background: #e0f2fe; font-size: 1.4rem; }
.admin-mode-grid h3 { margin-bottom: 8px; }
.admin-mode-grid p { margin: 0; font-size: .9rem; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.admin-section-head h2 { margin-bottom: 5px; font-size: 1.55rem; }
.admin-section-head p { margin: 0; }
.admin-count { padding: 7px 11px; border-radius: 999px; color: #9a3412; background: #ffedd5; font-size: .8rem; font-weight: 600; }
.admin-request-list { display: grid; }
.admin-request-list article { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 17px 0; border-top: 1px solid #f1f5f9; }
.admin-request-list article:first-child { border-top: 0; }
.admin-request-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #475569; background: #f1f5f9; }
.admin-request-icon.is-new { color: #0369a1; background: #e0f2fe; }
.admin-request-icon.is-done { color: #15803d; background: #dcfce7; }
.admin-request-list strong { display: block; margin-bottom: 3px; }
.admin-request-list p { margin: 0; font-size: .85rem; }
.admin-request-list button, .calendar-nav button { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; cursor: pointer; }
.admin-status { padding: 6px 9px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: .75rem; }
.admin-status.is-new { color: #0369a1; background: #e0f2fe; }
.admin-status.is-done { color: #15803d; background: #dcfce7; }
.calendar-nav { display: flex; align-items: center; gap: 10px; }
.calendar-prototype { height: 580px; display: grid; grid-template-columns: 70px 1fr; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; }
.calendar-times { display: grid; grid-template-rows: repeat(10, 1fr); padding-top: 14px; border-right: 1px solid #e2e8f0; color: #64748b; font-size: .75rem; text-align: center; }
.calendar-day { position: relative; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(10% - 1px), #f1f5f9 calc(10% - 1px), #f1f5f9 10%); }
.calendar-event, .calendar-break { position: absolute; left: 18px; right: 18px; top: calc(var(--start) * 10%); height: calc(var(--span) * 10%); min-height: 44px; padding: 11px 14px; border-left: 4px solid #0284c7; border-radius: 10px; color: #075985; background: #e0f2fe; }
.calendar-event.is-cleaning { border-color: #16a34a; color: #166534; background: #dcfce7; }
.calendar-event.is-request { border-color: #f59e0b; color: #92400e; background: #fef3c7; }
.calendar-event strong, .calendar-event small { display: block; }
.calendar-event small { margin-top: 3px; }
.calendar-break { display: grid; place-items: center; border: 1px dashed #94a3b8; color: #64748b; background: rgba(241,245,249,.82); }
.prototype-toast { position: fixed; right: 24px; bottom: 24px; z-index: 1200; max-width: 360px; padding: 14px 18px; border-radius: 14px; color: #fff; background: #0f172a; box-shadow: 0 18px 50px rgba(15,23,42,.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.prototype-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .history-intro__grid { gap: 50px; }
  .admin-mode-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-mode-card { grid-template-columns: 1fr 1fr; }
  .admin-mode-card > .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .appointment-form-grid { grid-template-columns: 1fr; }
  .appointment-form-item--full { grid-column: auto; }
  .appointment-slot-grid { grid-template-columns: 1fr; }
  .appointment-mode-explainer { grid-template-columns: 1fr; padding: 28px; }
  .history-hero { min-height: 560px; background-position: 62% center; }
  .history-hero__inner { margin-inline: 24px; }
  .history-intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .history-chapter-grid { grid-template-columns: 1fr; }
  .history-chapter { min-height: 260px; }
  .history-cta__panel { align-items: flex-start; flex-direction: column; padding: 40px; }
  .admin-topbar { position: static; }
  .admin-prototype-badge { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .admin-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .admin-content { padding: 28px 20px; }
  .admin-page-head { align-items: flex-start; flex-direction: column; }
  .admin-mode-card { grid-template-columns: 1fr; }
  .admin-mode-card > .btn { grid-column: auto; }
  .admin-request-list article { grid-template-columns: auto 1fr; }
  .admin-request-list .admin-status, .admin-request-list button { grid-column: 2; justify-self: start; }
}

@media (max-width: 560px) {
  .history-hero { min-height: 500px; }
  .history-hero h1 { font-size: 42px; line-height: 48px; }
  .history-visual__panel { border-radius: 20px; }
  .history-visual__panel img { min-height: 300px; object-position: 64% center; }
  .history-chapter { padding: 24px; }
  .history-chapter > i { margin-bottom: 42px; }
  .history-cta__panel { padding: 28px 22px; border-radius: 22px; }
  .history-cta__actions, .history-cta__actions .btn { width: 100%; }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar__actions .btn { display: none; }
  .admin-sidebar nav { grid-template-columns: 1fr; }
  .admin-mode-grid { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; border-radius: 18px; }
  .admin-section-head { align-items: flex-start; flex-direction: column; }
  .calendar-prototype { height: 500px; grid-template-columns: 54px 1fr; }
  .calendar-event, .calendar-break { left: 8px; right: 8px; padding: 8px; font-size: .75rem; }
  .prototype-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}


/* CMS-Erweiterungen */
.brand-copy{display:grid;gap:2px}.brand-claim{display:block;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;color:#0284c7}.nav-item{position:relative}.nav-item>a{display:flex;align-items:center;gap:5px}.nav-dropdown{position:absolute;top:calc(100% + 14px);left:-18px;min-width:220px;display:none;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.nav-dropdown a{display:block;padding:10px 12px;border-radius:10px}.nav-dropdown a:hover{background:#f0f9ff}.has-dropdown:hover .nav-dropdown,.has-dropdown:focus-within .nav-dropdown{display:block}.cms-toast{position:fixed;right:24px;bottom:24px;z-index:1200;max-width:420px;padding:16px 20px;border-radius:14px;color:#fff;background:#0f172a;box-shadow:0 18px 50px rgba(15,23,42,.22)}.mode-info-card{max-width:760px;padding:36px;border-radius:28px;background:#f8fafc}.staff-bio{padding:12px 10px}.appointment-form-item select,.appointment-form-item input,.appointment-form-item textarea{width:100%}.story-page-hero{padding-top:70px}.story-page-hero h1{color:#fff;background:none;-webkit-text-fill-color:initial}.validation-errors{margin:12px 0;color:#b91c1c}
@media(max-width:820px){.nav-item{width:100%}.nav-item>a{justify-content:space-between}.nav-dropdown{position:static;display:grid;box-shadow:none;border:0;padding:4px 0 4px 16px}.has-dropdown:hover .nav-dropdown{display:grid}}

/* Lokale Symbolersetzung – keine externen Icon-Schriften */
.hgi-stroke{display:inline-flex;align-items:center;justify-content:center;font-style:normal;line-height:1}
.hgi-arrow-right-02::before{content:"→"}.hgi-arrow-left-02::before{content:"←"}.hgi-arrow-down-01::before{content:"⌄"}.hgi-checkmark-circle-02::before{content:"✓"}.hgi-calendar-04::before{content:"▦"}.hgi-sparkles::before{content:"✦"}.hgi-shield-02::before{content:"◆"}.hgi-user-love-02::before{content:"♡"}.hgi-message-02::before{content:"✉"}.hgi-pin-location-03::before{content:"⌖"}.hgi-clock-01::before{content:"◷"}.hgi-user-group::before{content:"◉"}.hgi-menu-01::before{content:"☰"}.hgi-cancel-01::before{content:"×"}.hgi-call-02::before{content:"☎"}.hgi-user::before{content:"●"}.hgi-mail-01::before{content:"@"}.hgi-building-07::before{content:"▤"}.hgi-car-01::before{content:"▰"}.hgi-dental-braces::before{content:"◌"}.hgi-medical-mask::before{content:"◇"}
.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.cms-toast{position:fixed;right:22px;bottom:22px;z-index:1200;max-width:420px;padding:15px 18px;border-radius:14px;background:#0f172a;color:#fff;box-shadow:0 18px 48px rgba(15,23,42,.24);animation:toast-in .2s ease}.cms-toast--success{background:#047857}.cms-toast--error{background:#b91c1c}.cms-toast--warning{background:#b45309}@keyframes toast-in{from{transform:translateY(12px);opacity:0}}
.map-consent-card{margin-top:28px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#f8fafc}.map-consent-card h3{margin-bottom:6px}.map-frame{margin-top:18px;min-height:360px;border-radius:16px;overflow:hidden;background:#e2e8f0}.map-frame iframe{width:100%;height:360px;border:0;display:block}
.staff-bio{padding:16px 6px 0}.staff-bio p{font-size:.92rem}
.nav-item{position:relative}.nav-item>a{display:inline-flex;align-items:center;gap:5px}.nav-dropdown{position:absolute;top:calc(100% + 14px);left:50%;min-width:210px;padding:10px;display:grid;gap:2px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translate(-50%,-6px);transition:.18s ease}.nav-dropdown a{padding:10px 12px;border-radius:10px}.nav-dropdown a:hover{background:var(--surface-2)}.nav-item:hover .nav-dropdown,.nav-item:focus-within .nav-dropdown{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:760px){.nav-item{width:100%}.nav-item>a{width:100%;justify-content:space-between}.nav-dropdown{position:static;min-width:0;padding:4px 0 4px 16px;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none;background:transparent}.map-frame,.map-frame iframe{height:280px;min-height:280px}}

/* Terminmodal: sauberes internes Scrollen ohne horizontales Verrutschen */
.appointment-dialog {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, .45) transparent;
}

.appointment-dialog::-webkit-scrollbar {
  width: 9px;
  height: 0;
}

.appointment-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.appointment-dialog::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(2, 132, 199, .46);
  background-clip: padding-box;
}

.appointment-dialog::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 132, 199, .68);
  background-clip: padding-box;
}

.appointment-form-grid,
.appointment-form-item,
.appointment-field,
.appointment-slot-grid {
  min-width: 0;
  max-width: 100%;
}

.appointment-slots {
  min-width: 0;
}

.appointment-slot-grid {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  padding: 4px 8px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, .42) #f1f5f9;
}

.appointment-slot-grid::-webkit-scrollbar {
  width: 8px;
  height: 0;
}

.appointment-slot-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #f1f5f9;
}

.appointment-slot-grid::-webkit-scrollbar-thumb {
  border: 2px solid #f1f5f9;
  border-radius: 999px;
  background: #7dd3fc;
}

.appointment-slot-grid::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

@media (max-width: 680px) {
  .appointment-slot-grid {
    max-height: 250px;
    padding-right: 6px;
  }
}


/* Release 21: Terminmodal mit festem Kopf und genau einem internen Scrollbereich */
.appointment-modal {
  overflow: hidden;
  overscroll-behavior: none;
}

.appointment-dialog {
  width: min(660px, calc(100vw - 48px));
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  contain: layout paint;
}

.appointment-modal__top {
  flex: 0 0 auto;
}

.appointment-dialog__scroll {
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, .5) transparent;
}

.appointment-dialog__scroll::-webkit-scrollbar {
  width: 8px;
  height: 0;
}

.appointment-dialog__scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: transparent;
}

.appointment-dialog__scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(2, 132, 199, .52);
  background-clip: padding-box;
}

.appointment-dialog__scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(2, 132, 199, .72);
  background-clip: padding-box;
}

.appointment-dialog__scroll > *,
.appointment-modal__form,
.appointment-form-grid,
.appointment-form-item,
.appointment-field,
.appointment-slots,
.appointment-slot-grid {
  min-width: 0;
  max-width: 100%;
}

.appointment-form-grid {
  width: 100%;
}

.appointment-field {
  width: 100%;
  overflow: hidden;
}

.appointment-field input,
.appointment-field select,
.appointment-field textarea {
  min-width: 0;
  max-width: 100%;
}

.appointment-slots {
  width: 100%;
  min-inline-size: 0;
}

/* Keine zweite Scrollfläche in der Terminliste; das Modal scrollt als Einheit. */
.appointment-slot-grid {
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0;
  scrollbar-width: auto;
}

@media (max-width: 680px) {
  .appointment-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .appointment-dialog__scroll {
    scrollbar-gutter: auto;
  }
}


/* Release 22: Scrollbar am rechten Modalrand + kompakter Inline-Scroll für Termine */
.appointment-dialog {
  --appointment-dialog-padding: 40px;
}

.appointment-dialog__scroll {
  align-self: stretch;
  width: calc(100% + var(--appointment-dialog-padding));
  max-width: none;
  margin-right: calc(var(--appointment-dialog-padding) * -1);
  padding-right: var(--appointment-dialog-padding);
  scrollbar-gutter: stable;
}

.appointment-slots {
  overflow: hidden;
}

.appointment-slot-grid {
  width: 100%;
  max-height: 318px;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  padding: 4px 10px 4px 2px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, .5) #eef6fb;
}

.appointment-slot-grid::-webkit-scrollbar {
  width: 8px;
  height: 0;
}

.appointment-slot-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #eef6fb;
}

.appointment-slot-grid::-webkit-scrollbar-thumb {
  border: 2px solid #eef6fb;
  border-radius: 999px;
  background: #7dd3fc;
}

.appointment-slot-grid::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

@media (max-width: 680px) {
  .appointment-dialog {
    --appointment-dialog-padding: 24px;
  }

  .appointment-slot-grid {
    max-height: 270px;
  }
}

@media (max-width: 420px) {
  .appointment-dialog {
    --appointment-dialog-padding: 20px;
  }

  .appointment-slot-grid {
    max-height: 240px;
  }
}
