/* ==========================================================================
   Zahnarztpraxis Dr. Nora Buchner – Stylesheet
   Mobile-first (Referenz: iPhone 15 Pro, 393 × 852 pt), Farben & Schriften
   aus dem bisherigen Webflow-Design übernommen.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, keine Google-Server) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
  --gold: #b4ab7d;          /* Footer, Akzente */
  --gold-600: #aba171;      /* Buttons */
  --gold-700: #8f8758;      /* Hover / Linien auf hellem Grund */
  --mint: #dfece5;          /* Label-Boxen */
  --mint-2: #d9ece2;
  --mint-soft: #eef5f1;
  --ink: #313131;           /* Fließtext */
  --muted: #6b6b6b;         /* Labels (leicht abgedunkelt für Lesbarkeit) */
  --grey: #747474;
  --panel: #edf0f3;         /* Info-Kästen */
  --line: #e6e3da;
  --bg: #fcfafa;
  --white: #fff;

  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Lato", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --maxw: 1140px;
  --header-h: 64px;
  --actionbar-h: 64px;
  --radius: 3px;
  --shadow: 0 10px 30px rgba(49, 49, 49, .08);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--actionbar-h) + var(--safe-b));   /* Platz für Aktionsleiste (mobil) */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
:focus-visible { outline: 2px solid var(--gold-700); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 24px; font-weight: 600; letter-spacing: .06em; }
h2 { font-size: 21px; font-weight: 600; letter-spacing: .05em; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: .03em; }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: calc(var(--gutter) + var(--safe-l)); padding-right: calc(var(--gutter) + var(--safe-r)); }
.section { padding: 44px 0; }
.section--white { background: var(--white); }
.section--tight { padding: 28px 0; }
.section + .section--same { padding-top: 0; }
/* Gleicher Hintergrund hintereinander: kein doppelter Abstand (sonst wirkt die Lücke zu groß) */
.section--white + .section--white,
.section:not(.section--white) + .section:not(.section--white) { padding-top: 0; }

/* Typo-Bausteine aus dem Original: gesperrte Versalien */
.eyebrow, .label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 400;
}
.eyebrow { display: block; margin-bottom: 8px; }
.lead { font-size: inherit; font-weight: 400; line-height: inherit; }   /* wie Fließtext, damit Schriftfarbe/-stärke einheitlich wirkt */
.muted { color: var(--muted); }
.gold-rule { width: 150px; height: 2px; background: var(--gold); border: 0; margin: 18px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 700 14px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 2.5px;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--gold-600); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn--ghost:hover { background: var(--mint); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.link-more svg { width: 14px; height: 14px; }
.link-more { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-transform: uppercase; letter-spacing: 3px; font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--gold); }
.link-more:hover { color: var(--ink); }

/* ---------- Hinweis-Leiste (z. B. Urlaub) ---------- */
.notice { background: var(--gold-600); color: var(--ink); font-size: 15px; text-align: center; padding: 10px 44px 10px var(--gutter); position: relative; }
.notice[hidden] { display: none; }
.notice button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;   /* bewusst ohne backdrop-filter: würde das fixierte Mobilmenü einschließen */
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.lang-switch { display: inline-flex; align-items: center; font-size: 14px; letter-spacing: 1px; }
.lang-switch a, .lang-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; text-decoration: none; color: var(--grey); }
.lang-switch [aria-current] { color: var(--ink); font-weight: 700; position: relative; }
.lang-switch [aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 9px; height: 2px; background: var(--gold); }
.menu-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.menu-toggle .bars { position: relative; width: 24px; height: 2px; background: currentColor; transition: background .2s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform .25s; }
.menu-toggle .bars::before { top: -7px; } .menu-toggle .bars::after { top: 7px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Navigation – mobil: Vollbild-Panel mit Akkordeons */
.main-nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px calc(var(--gutter) + var(--safe-r)) calc(28px + var(--safe-b)) calc(var(--gutter) + var(--safe-l));
  transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
}
.menu-open .main-nav { transform: none; visibility: visible; transition: transform .3s ease; }
.menu-open { overflow: hidden; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-item > a, .nav-item > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 4px; border: 0; background: none; text-align: left;
  font: 400 18px/1.3 var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav-item > button::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--gold-700); border-bottom: 1.5px solid var(--gold-700); transform: rotate(45deg) translateY(-3px); transition: transform .2s; margin-right: 6px; }
.nav-item > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.subnav { list-style: none; margin: 0; padding: 0 0 12px 12px; display: none; }
.nav-item > button[aria-expanded="true"] + .subnav { display: block; }
.subnav a { display: flex; align-items: center; min-height: 46px; padding: 0 4px; font-size: 16px; font-weight: 300; color: var(--ink); text-decoration: none; }
.subnav a[aria-current="page"], .nav-item > a[aria-current="page"] { font-weight: 700; }
.subnav a[aria-current="page"]::before { content: ""; width: 14px; height: 2px; background: var(--gold); margin-right: 10px; }
.nav-contact { margin-top: 26px; display: grid; gap: 10px; }
.nav-contact .btn { width: 100%; }
.nav-contact p { font-size: 15px; color: var(--muted); margin: 8px 0 0; text-align: center; }

/* ---------- Mobile Aktionsleiste (Daumenzone) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1.35fr 1fr;
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 6px calc(8px + var(--safe-r)) calc(6px + var(--safe-b)) calc(8px + var(--safe-l)); gap: 6px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .05);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; text-decoration: none; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.action-bar a svg { width: 22px; height: 22px; color: var(--gold-700); }
.action-bar a.primary { background: var(--gold-600); font-weight: 700; }
.action-bar a.primary svg { color: var(--ink); }
.menu-open .action-bar { display: none; }

/* Desktop: seitlicher Termin-Reiter wie im Original */
.side-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--mint-soft); overflow: hidden; }
.hero-media { position: relative; height: 300px; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; object-fit: cover; }
img[style*="--mpos"] { object-position: var(--mpos); }
@media (min-width: 768px) { img[style*="--pos"] { object-position: var(--pos); } }
.hero--tall .hero-media { height: min(58svh, 470px); }

/* Slider (Startseite) – CSS Scroll-Snap, JS nur für Autoplay/Dots */
.slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.slider-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s, background .2s; }
.slider-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.3); }
.slider-arrow { display: none; }

/* Tagline-Box „Wunderbare Dinge passieren, wenn du lachst“ */
.hero-card {
  position: relative; z-index: 3; margin: -46px var(--gutter) 0; background: var(--mint);
  padding: 22px 22px 24px; box-shadow: var(--shadow);
}
.hero-card .btn { margin-top: 16px; width: 100%; }
/* Hero-Box wie im Webflow-Original: ein Wort pro Zeile, weit gesperrt, Initialen fett in Grau */
.hero-card .smile-line { font-size: 13px; letter-spacing: .55em; line-height: 2.6; }
.hero-card .smile-line .ini { font-family: var(--font-body); font-size: 1em; font-weight: 700; color: #555; letter-spacing: inherit; line-height: inherit; }
.hero-card .btn { letter-spacing: 4px; }
.smile-line { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px; font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0; }
.smile-line .ini { font-family: var(--font-head); font-size: 1.55em; color: var(--gold-700); letter-spacing: 1px; font-weight: 500; line-height: 1; }
.smile-line .line { display: block; }

/* Seiten-Hero mit Zitat (Ärztinnen) */
.quote-card { position: relative; background: var(--mint); margin: -40px var(--gutter) 0; padding: 26px 24px 22px; z-index: 3; box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0; text-transform: uppercase; letter-spacing: 2.5px; font-size: 13.5px; line-height: 2; color: var(--muted); }
.quote-mark { font-family: Georgia, serif; font-size: 56px; line-height: .9; color: var(--gold); display: block; height: 30px; overflow: hidden; margin-bottom: 6px; }
.quote-mark--end { text-align: right; margin-top: 10px; }

/* ---------- Split-Layout (Label-Box + Text), Signatur des Originals ---------- */
.split { display: grid; gap: 18px; }
.split + .split { margin-top: 40px; }
.label-box { background: var(--mint); padding: 18px 20px; align-self: start; }
.label-box p { margin: 0; }
.label-box .label { display: block; }
.cards-more { margin: 22px 0 0; }
.split h1, .split h2 { margin-top: 2px; }
.split .content > :last-child { margin-bottom: 0; }

/* Signatur-Satz */
.tagline { background: var(--mint); padding: 26px 22px; }
.tagline p { margin: 0; }
.tagline .smile-line { font-size: 13.5px; }

/* ---------- Feature-Blöcke (Bild + Text) ---------- */
.feature { display: grid; gap: 20px; }
.feature + .feature { margin-top: 52px; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel); }
.feature-media.contain img { object-fit: contain; background: #fff; padding: 12px; }
.feature-media.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-media.two img { aspect-ratio: 3 / 4; }
.feature-media.stack { grid-template-columns: 1fr; }
.feature-media.stack img { aspect-ratio: 16 / 10; }
.feature .sub { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; color: var(--muted); margin: -6px 0 14px; }
.points { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.points li { background: var(--mint); padding: 6px 12px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); }
.points-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--gold-700); border-bottom: 2px solid var(--gold-700); transform: rotate(-45deg); }
.def-list { margin: 0; }
.def-list dt { font-weight: 700; margin-top: 14px; position: relative; }
/* „+“ hängt links außerhalb, damit Überschrift und Text bündig untereinander stehen */
.def-list dt::before { content: "+"; color: var(--gold-700); position: absolute; right: 100%; margin-right: .4em; }
.def-list dd { margin: 4px 0 0; }

.callout { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin: 22px 0; font-size: 18px; font-weight: 400; color: var(--ink); }

/* ---------- Lebenslauf ---------- */
.cv { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv li:last-child { border-bottom: 0; }
.cv time, .cv .when { font-size: 14px; letter-spacing: 1px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; list-style: none; margin: 0; padding: 0; }
.member { text-align: left; }
.member a { text-decoration: none; display: block; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel); transition: transform .4s; }
.member a:hover img { transform: scale(1.02); }
.member .role { display: block; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.member .name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.35; margin-top: 2px; }
.member .more { font-size: 13px; color: var(--gold-700); }

/* ---------- Karten (Leistungen) ---------- */
.cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.cards > li { display: flex; }
.cards > li > .card { flex: 1; }   /* alle Kacheln einer Reihe gleich hoch */
.card { background: #fff; display: grid; grid-template-columns: 112px 1fr; align-items: stretch; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; min-height: 112px; }
.card .card-body { padding: 14px 16px; }
.card h3 { font-size: 15.5px; margin: 0 0 4px; letter-spacing: .04em; }
.card p { font-size: 14.5px; margin: 0; color: var(--muted); line-height: 1.5; }
.card:hover { color: var(--ink); border-color: var(--gold); }

/* ---------- Info-Blöcke (Termin / Öffnungszeiten / Anfahrt) ---------- */
.info-grid { display: grid; gap: 16px; }
.info-block { background: var(--panel); padding: 24px 22px; font-size: 16px; display: flex; flex-direction: column; }
.info-block > .btn { margin-top: auto; }   /* Buttons der Spalten unten auf gleicher Höhe */   /* einheitliche Schriftgröße in allen drei Spalten */
.info-block h2 { font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: 3px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.info-block h2 svg { width: 26px; height: 26px; color: var(--gold-700); }
.info-block h2 .h2-marker { width: 26px; height: 26px; object-fit: contain; flex: none; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-700); flex: none; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.hours { border-collapse: collapse; font-variant-numeric: tabular-nums; align-self: flex-start; }   /* Spalten nur so breit wie nötig */
.hours th { text-align: left; font-weight: 400; padding: 5px 1.6em 5px 0; }
.hours td { padding: 5px 1.6em 5px 0; }
.hours td:last-child { padding-right: 0; }   /* gleicher Abstand zwischen Tag, Vormittag und Nachmittag */
.hours-note { margin: 12px 0 0; font-weight: 400; }   /* gleiche Schrift wie die Wochentage */
.transit { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 12px; align-items: baseline; }
.transit li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
.transit .tag { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; background: #fff; text-align: center; padding: 3px 8px; color: var(--ink); white-space: nowrap; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: 18px; }
.reviews-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); scroll-padding-left: var(--gutter); scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 86%; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); padding: 22px 20px 18px; margin: 0; display: flex; flex-direction: column; }
.review:last-child { margin-right: var(--gutter); }
.review .quote-mark { font-size: 44px; height: 24px; margin-bottom: 4px; }
.review h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 1.5px; font-size: 16px; margin: 10px 0 8px; }
.review blockquote { margin: 0 0 14px; font-weight: 400; font-size: 16.5px; line-height: 1.65; flex: 1; }
.review figcaption { font-size: 13px; color: var(--muted); }
.reviews-nav { display: flex; align-items: center; gap: 10px; }
.reviews-nav button { width: 44px; height: 44px; border: 1px solid var(--gold); background: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; color: var(--gold-700); }
.reviews-nav button svg { width: 18px; height: 18px; }
.reviews-head { display: grid; gap: 14px; }

/* ---------- Karte (Klick-Lösung) ---------- */
.map { position: relative; min-height: 360px; background: var(--panel) center / cover no-repeat; display: grid; place-items: center; text-align: center; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background: rgba(252, 250, 250, .82); }
.map-consent { position: relative; max-width: 520px; padding: 28px var(--gutter); }
.map-consent p { font-size: 14.5px; color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.loaded::before, .map.loaded .map-consent { display: none; }

/* ---------- Galerie + Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--panel); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 20, .94); display: none; align-items: center; justify-content: center; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100vw; max-height: 82svh; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lightbox .lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; letter-spacing: 2px; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--gold); background: #fff; cursor: pointer; font-size: 15px; }
.chips input:checked + span { background: var(--mint); border-color: var(--gold-700); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-700); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--font-body);   /* 16px verhindert iOS-Zoom */
  color: var(--ink); background: #fff; border: 1px solid #cfcab7; border-radius: var(--radius); -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold-700) 50%), linear-gradient(135deg, var(--gold-700) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-700); outline: 2px solid var(--mint); }
.row-2 { display: grid; gap: 16px; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold-700); }
.form-hint { font-size: 14px; color: var(--muted); }
.hp { display: none; }

/* ---------- Prosa (Rechtstexte) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; margin-top: 2em; }
.prose h3 { font-size: 16px; margin-top: 1.5em; }
.prose p, .prose li { font-size: 16px; }
.prose address { font-style: normal; margin-bottom: 1em; }
.draft-note { background: #fff7df; border: 1px solid #ecd9a0; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--mint); }
.cta-band .container { display: grid; gap: 16px; padding-top: 30px; padding-bottom: 30px; }
.cta-band p { margin: 0; font-size: 18px; font-weight: 400; }
.cta-band .btns { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gold); color: var(--ink); font-size: 15px; }
.footer-main { display: grid; gap: 26px; padding-top: 38px; padding-bottom: 26px; }
.footer-main h2 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 12.5px; margin-bottom: 10px; color: var(--ink); }
.footer-main a { text-decoration-color: var(--ink); }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li { min-height: 34px; display: flex; align-items: center; }
.footer-logo { width: 170px; filter: brightness(0) saturate(100%); opacity: .82; }
.footer-bottom { border-top: 1px solid rgba(49, 49, 49, .18); padding-top: 14px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 70px 0; }
.error-page .big { font-family: var(--font-head); font-size: 64px; color: var(--gold); margin: 0; }

/* ==========================================================================
   ≥ 600 px (große Phones quer / kleine Tablets)
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .review { flex-basis: 60%; }
  .hero-media { height: 360px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cta-band .btns { grid-auto-flow: column; justify-content: start; }
}

/* ==========================================================================
   ≥ 992 px – Desktop
   ========================================================================== */
@media (min-width: 992px) {
  :root { --header-h: 76px; --actionbar-h: 0px; }
  body { font-size: 17px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .section { padding: 64px 0; }
  .action-bar { display: none; }

  .brand img { width: 196px; }
  .menu-toggle { display: none; }
  .header-actions { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); }   /* DE/EN neben dem Menü (Kontaktzeile oben entfällt) */
  .main-nav { position: static; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; inset: auto; }
  .nav-list { display: flex; gap: 2px; }
  .nav-item { border: 0; position: relative; }
  .nav-item > a, .nav-item > button { min-height: var(--header-h); padding: 0 13px; font-size: 15px; font-weight: 400; white-space: nowrap; }
  .nav-item > button::after { width: 6px; height: 6px; margin-left: 8px; margin-right: 0; }
  .nav-item > button:hover, .nav-item > a:hover { color: var(--gold-700); }
  .subnav {
    position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px 0; background: #fefdfd;
    box-shadow: var(--shadow); border-top: 2px solid var(--gold); display: none;
  }
  .nav-item:hover > .subnav, .nav-item:focus-within > .subnav { display: block; }
  .nav-item > button[aria-expanded="true"] + .subnav { display: block; }
  .nav-item:last-child .subnav { left: auto; right: 0; }
  .subnav a { min-height: 40px; padding: 0 20px; font-size: 15px; color: #686868; }
  .subnav a:hover { background: var(--mint-soft); color: var(--ink); }
  .nav-contact { display: none; }

  .side-cta {
    display: block; position: fixed; right: 0; top: 38%; z-index: 40;
    background: var(--gold-600); color: var(--ink); text-decoration: none; text-transform: uppercase;
    letter-spacing: 2px; font-size: 13.5px; font-weight: 700; padding: 13px 22px 13px 26px; box-shadow: var(--shadow);
    transition: padding .2s, background .2s;
  }
  .side-cta:hover { padding-right: 32px; background: var(--ink); color: #fff; }

  .hero-media { height: 460px; }
  .hero--tall .hero-media { height: clamp(460px, 42vw, 620px); }
  .hero-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
  .hero-overlay .container { height: 100%; display: flex; align-items: flex-start; padding-top: 0; }
  /* Box schließt oben bündig an den Header an, Text fluchtet mit dem Logo, Button über die volle Breite */
  /* gleiche Breite und Fluchtlinie wie die Label-Box darunter (300px), endet mit dem Button */
  .hero-card { margin: 0; width: 300px; pointer-events: auto; padding: 40px 20px 0; box-shadow: none; transition: opacity .6s ease, visibility 0s 0s; }
  .hero-card .smile-line { line-height: 3.1; }
  .hero-card .btn { width: calc(100% + 40px); margin: 30px -20px 0; min-height: 60px; border-radius: 0; }
  /* nur beim ersten Bild (Nora) sichtbar */
  .hero.not-first .hero-card { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
  .quote-card { margin: 0; width: 330px; pointer-events: auto; box-shadow: none; }
  .slider-arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 52px; height: 52px; border: 0; background: rgba(255, 255, 255, .0); color: #fff; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
  .slider-arrow svg { width: 30px; height: 30px; }
  .slider-arrow.prev { left: 24px; } .slider-arrow.next { right: 24px; }

  .split { grid-template-columns: 300px 1fr; gap: 44px; }
  .split + .split { margin-top: 56px; }
  .split--wide-label { grid-template-columns: 340px 1fr; }

  .feature { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .feature + .feature { margin-top: 80px; }
  .feature.reverse .feature-media { order: 2; }

  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child img { height: 100%; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .card img { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .card .card-body { padding: 18px 20px 22px; }

  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .reviews { grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
  .reviews-track { margin: 0; padding-left: 2px; }
  .review { flex-basis: calc(50% - 7px); }
  .review:last-child { margin-right: 0; }

  .map { min-height: 440px; }
  .cta-band .container { grid-template-columns: 1fr auto; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr 1fr; padding-top: 52px; }
  .cv li { grid-template-columns: 170px 1fr; gap: 24px; }
}

@media (min-width: 1200px) {
  .nav-item > a, .nav-item > button { padding: 0 16px; }
}

/* Druck */
@media print {
  .site-header, .action-bar, .side-cta, .site-footer, .map, .notice { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* Kompakte Desktop-Navigation für 992–1199 px (6 Menüpunkte) */
@media (min-width: 992px) and (max-width: 1199px) {
  .brand img { width: 160px; }
  .nav-item > a, .nav-item > button { padding: 0 7px; font-size: 14px; }
  .nav-item > button::after { margin-left: 5px; }
}

/* Kacheln ohne Bild (z. B. Digitale Zahnmedizin) */
.tiles { display: grid; gap: 16px; }
.tile { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 24px 22px 20px; }
.tile h3 { font-size: 18px; margin-bottom: 4px; }
.tile .sub { font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.tile .points li { font-size: 11.5px; padding: 5px 10px; }
.tile p { font-size: 16px; }
.tile > :last-child { margin-bottom: 0; }
.section--white .tile { background: var(--bg); }
@media (min-width: 992px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tile-media { display: grid; gap: 10px; margin: -6px -4px 18px; background: #fff; padding: 10px; }
.tile-media.two { grid-template-columns: 1fr 1fr; }
.tile-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }


/* ---------- Karte (wie im Webflow-Original: graue Google-Karte, goldener Marker, Kontaktbox) ---------- */
.map-section { position: relative; background: #f5f5f5; }
.map-canvas { position: relative; height: 340px; overflow: hidden; background: #f5f5f5; }
.map-placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(32deg, transparent 0 96px, rgba(255,255,255,.9) 96px 100px),
    repeating-linear-gradient(-58deg, transparent 0 140px, rgba(255,255,255,.9) 140px 145px),
    linear-gradient(32deg, transparent 63%, #e2e2e2 63% 68%, transparent 68%),
    #f1f1f1;
}
.map-pin { position: absolute; left: 50%; top: 38%; width: 42px; height: auto; transform: translate(-50%, -100%); filter: drop-shadow(0 4px 6px rgba(0,0,0,.18)); }
.map-consent {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(92%, 380px);
  background: rgba(255,255,255,.96); padding: 14px 16px 16px; text-align: center; box-shadow: var(--shadow);
}
.map-consent p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; }
.map-consent .btn { min-height: 44px; padding: 10px 18px; }
.gm-target, .map-canvas iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-canvas.loaded .map-placeholder, .map-canvas.loaded .map-consent { display: none; }
.map-contact-wrap { background: var(--white); }
.map-contact { background: var(--mint); padding: 24px 22px 14px; }
.map-contact-icon svg { width: 30px; height: 30px; color: var(--muted); opacity: .7; }
.map-contact h2 { font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: 3px; font-size: 13.5px; color: var(--muted); margin: 10px 0 12px; }
.map-contact .contact-list svg { color: var(--muted); }
.map-contact-wrap .container { padding-top: 0; padding-bottom: 0; }
@media (max-width: 991px) {
  .map-section { display: flex; flex-direction: column-reverse; }
  .map-contact-wrap .container { padding: 0; }
}
@media (min-width: 992px) {
  .map-canvas { height: 440px; }
  .map-pin { width: 63px; top: 50%; }
  .map-consent { left: calc(50% + 70px); bottom: auto; top: 50%; transform: translateY(-50%); width: 340px; }
  .map-contact-wrap { position: absolute; inset: 0 0 auto 0; background: none; pointer-events: none; z-index: 2; }
  .map-contact { width: 330px; margin-top: 26px; pointer-events: auto; }
}


/* ---------- Buttons wie im Webflow-Original: Gold #aba171, weiße Lato-Schrift (Regular), Versalien ---------- */
.btn { font-weight: 400; }
.btn--primary { background: var(--gold-600); color: #fff; }
.btn--primary svg { color: #fff; }
.btn--primary:hover { background: var(--mint); color: var(--ink); }
.btn--primary:hover svg { color: var(--ink); }
.action-bar a.primary { background: var(--gold-600); color: #fff; font-weight: 400; }
.action-bar a.primary svg { color: #fff; }
@media (min-width: 992px) {
  /* kompakter, zweizeiliger Termin-Button am rechten Rand (ragt nicht in den Inhalt) */
  .side-cta {
    display: flex; flex-direction: column; align-items: center; gap: 7px; width: auto; white-space: nowrap;
    background: #aba171; color: #fff; font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.35; text-align: center;
    padding: 16px 16px 15px 18px; border-radius: 10px 0 0 10px; top: 35%;
    box-shadow: 0 6px 18px rgba(60, 52, 20, .18);
  }
  .side-cta .icon, .side-cta svg { width: 24px; height: 24px; flex: none; }
  .side-cta-text { display: flex; flex-direction: column; }
  .side-cta-text span + span { font-weight: 400; letter-spacing: 1px; }
  .side-cta:hover { background: var(--mint); color: var(--ink); padding-right: 16px; }
}
/* schmalere Desktop-Fenster: Button kompakter, damit er im Seitenrand bleibt */
@media (min-width: 992px) and (max-width: 1339.98px) {
  .side-cta { width: 88px; white-space: normal; font-size: 10px; letter-spacing: .5px; padding: 13px 6px 12px; gap: 6px; }
  .side-cta-text span + span { letter-spacing: .4px; }
  .side-cta .icon, .side-cta svg { width: 21px; height: 21px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .side-cta { width: 52px; padding: 13px 0; }
  .side-cta-text { display: none; }
  /* beim Scrollen ausblenden, nach dem Scrollen verzögert wieder einblenden (siehe main.js) */
  .side-cta { transition: opacity .6s ease, transform .6s ease, padding .2s, background .2s; }
  .side-cta.is-hidden { opacity: 0; transform: translateX(30px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
}


/* ---------- Footer: weiße Schrift, Öffnungszeiten tabellarisch ---------- */
.site-footer, .site-footer a, .site-footer h2, .footer-main h2 { color: #fff; }
.site-footer a { text-decoration-color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer-logo { filter: brightness(0) invert(1); opacity: 1; }
.footer-bottom { border-top-color: rgba(255,255,255,.35); }
.footer-hours { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.footer-hours th { text-align: left; font-weight: 400; padding: 3px 18px 3px 0; min-width: 2.6em; }
.footer-hours td { padding: 3px 18px 3px 0; white-space: nowrap; }
.footer-hours td:last-child { padding-right: 0; }
.footer-note { margin: 8px 0 0; }
.hours td { white-space: nowrap; }
