/* ==========================================================================
   Meine Zahnzeit – Gestaltung der Website
   Entwurf 1 · 18.11.2026
   Farben aus dem Logo: Koralle (Zahn) + warmes Grau-Oliv (Schriftzug),
   dazu Creme und Sand als freundlicher Grund.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, keine fremden Server) ---------- */
@font-face { font-family: "Fraunces"; src: url("../schriften/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../schriften/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../schriften/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../schriften/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../schriften/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../schriften/nunito-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../schriften/nunito-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* ---------- Farben und Maße ---------- */
:root {
  --creme: #fbf6f0;
  --creme-hell: #fffdfa;
  --sand: #f3e9de;
  --sand-dunkel: #e7d8c6;
  --koralle: #ec8480;          /* Logo-Zahn: nur für Flächen und Schmuck */
  --koralle-hell: #fbe3e0;
  --koralle-text: #b5453e;     /* dunklere Koralle: Knöpfe und Links (Kontrast AA auf Weiß/Creme) */
  --koralle-dunkel: #96362f;
  --oliv: #64645c;             /* Logo-Schriftzug */
  --text: #3f3f38;
  --text-leise: #66665d;
  --salbei: #dfe5d8;
  --blau-hell: #e4eff8;        /* milchiges Pastellblau: Flächen */
  --blau: #9cc4e2;             /* Pastellblau: Linien, Schmuck */
  --blau-text: #2c6895;        /* dunkleres Blau für Schrift (Kontrast AA) */
  --oliv-dunkel: #4a4943;      /* dunkles Band hinter den Schnell-Infos */
  --gruen: #3f7a4a;
  --weiss: #ffffff;

  --schrift-titel: "Fraunces", Georgia, "Times New Roman", serif;
  --schrift-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-klein: 14px;
  --schatten: 0 10px 30px rgba(80, 60, 40, 0.10);
  --schatten-stark: 0 18px 50px rgba(60, 40, 25, 0.20);
  --breite: 1180px;
  --kopf-hoehe: 72px;
  --leiste-hoehe: 0px;         /* mobile Knopfleiste unten, siehe unten */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--kopf-hoehe); -webkit-text-size-adjust: 100%; }
/* Rundgang: Einrasten an den vier Haltepunkten (nur während der Rundgang sichtbar ist, siehe rundgang.js) */
html.rundgang-einrasten { scroll-snap-type: y mandatory; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;          /* 18 px: gut lesbar, auch für ältere Augen */
  line-height: 1.65;
  padding-bottom: var(--leiste-hoehe);
}
img, video { max-width: 100%; display: block; }
a { color: var(--koralle-text); text-underline-offset: 3px; }
a:hover { color: var(--koralle-dunkel); }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 600; color: var(--text); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.kursiv { font-style: italic; font-weight: 400; color: var(--koralle-text); }
.huelle { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--koralle-text); outline-offset: 3px; border-radius: 6px; }

.sprungmarke { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.sprungmarke:focus { top: 12px; }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt--sand { background: var(--sand); }
.abschnitt--weiss { background: var(--creme-hell); }
.dachzeile { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--koralle-text); margin-bottom: 14px; }
.dachzeile::before { content: ""; width: 26px; height: 2px; background: var(--koralle); border-radius: 2px; }
.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt-kopf p { font-size: 1.2rem; color: var(--text-leise); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1.05rem/1.2 var(--schrift-text);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf--voll { background: var(--koralle-text); color: #fff; box-shadow: 0 6px 18px rgba(181, 69, 62, .28); }
.knopf--voll:hover { background: var(--koralle-dunkel); color: #fff; transform: translateY(-1px); }
.knopf--rand { background: var(--creme-hell); color: var(--text); border-color: var(--sand-dunkel); }
.knopf--rand:hover { border-color: var(--koralle); color: var(--text); }
.knopf--hell { background: rgba(255,255,255,.92); color: var(--text); }
.knopf--klein { min-height: 44px; padding: 8px 18px; font-size: .98rem; }

/* ---------- Kopfzeile ---------- */
.hinweisbanner { background: var(--koralle-text); color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; font-size: 1rem; }
.hinweisbanner[hidden] { display: none; }
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--kopf-hoehe);
  display: flex; align-items: center;
  /* durchgehender beiger Balken, auch ganz oben auf der Seite */
  background: rgba(251, 246, 240, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.kopf.ist-fest { background: rgba(251, 246, 240, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kopf-logo img { height: 40px; width: auto; }
.kopf-logo { display: block; padding: 8px 0; }
.navi { display: flex; align-items: center; gap: 6px; }
.navi a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 10px 14px; border-radius: 999px; }
.navi a:hover { background: rgba(236, 132, 128, .14); }
.kopf-rechts { display: flex; gap: 10px; align-items: center; }
.menue-knopf { display: none; }

@media (max-width: 960px) {
  .navi { display: none; }
  .navi.ist-offen {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--kopf-hoehe); left: 12px; right: 12px;
    background: var(--creme-hell); padding: 12px; border-radius: var(--radius); box-shadow: var(--schatten-stark);
  }
  .navi.ist-offen a { font-size: 1.2rem; padding: 14px 16px; background: none !important; }
  .menue-knopf { display: inline-flex; width: 52px; padding: 0; background: rgba(255,255,255,.92); }
  .kopf-telefon-text { display: none; }
  .kopf-rechts .knopf--voll { width: 52px; padding: 0; }
}

/* ==========================================================================
   Rundgang „Komm mit in die Praxis“
   Bühne bleibt stehen (sticky), darunter liegen vier unsichtbare Schritte
   à 100 % Bildschirmhöhe. Beim Scrollen rastet die Seite an jedem Schritt
   ein, rundgang.js spielt dazu den passenden Clip.
   ========================================================================== */
.rundgang { position: relative; background: #1f1c18; }
.rundgang-buehne {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.rundgang-medien { position: absolute; inset: var(--kopf-hoehe) 0 0 0; }  /* Bild beginnt unter der Kopfzeile, damit oben nichts verdeckt wird */
.rundgang-medien img, .rundgang-medien video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 30%;   /* bei breiten Bildschirmen lieber unten abschneiden als Köpfe oben */
}
.rundgang-medien video { opacity: 0; }
.rundgang-medien video.spielt { opacity: 1; }
.rundgang-medien video.weich { transition: opacity .7s ease; }   /* weiche Überblendung bei Julia */
.rundgang-verlauf {   /* Abdunklung unten, damit Text immer lesbar ist */
  position: absolute; inset: 0; pointer-events: none;
  /* gleichmäßiger, kinoartiger Verlauf über die ganze Breite am unteren Rand: gibt der
     hellen Schrift „Bitte scrollen“ Kontrast, ohne Fleck oder Kante */
  background: linear-gradient(0deg,
    rgba(28, 22, 16, .62) 0%, rgba(28, 22, 16, .46) 9%, rgba(28, 22, 16, .26) 18%,
    rgba(28, 22, 16, .10) 26%, rgba(28, 22, 16, 0) 34%);
}

/* Textkarten sitzen oben (links, bei Julia rechts), damit das Motiv unten frei bleibt */
.rundgang-karten { position: absolute; left: 0; right: 0; top: var(--kopf-hoehe); }  /* Lage der Karten im Bild: rundgang.js */
/* Karten nah an den Bildrand (nicht in der zentrierten Inhaltsbreite), damit das Motiv frei bleibt */
/* Die genaue waagerechte Lage berechnet rundgang.js (Sicherheitsbereich neben dem Motiv). */
.rundgang-karten .huelle { position: relative; width: 100%; max-width: none; margin: 0; }
.karte-halt[data-position="rechts"] { left: auto; right: 84px; width: min(420px, 100%); }
.karte-halt {
  position: absolute; left: 0; top: 0;
  width: clamp(380px, 34vw, 520px);
  background: rgba(255, 253, 250, .96);
  border-radius: var(--radius);
  box-shadow: var(--schatten-stark);
  padding: clamp(22px, 3vw, 34px);
  /* Unterwegs ausgeblendet; bei Ankunft springt die Karte mit einem kleinen Federn auf („bupp“) */
  transform-origin: 30% 20%;
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.94);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.karte-halt.ist-aktiv {
  opacity: 1; visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .45s cubic-bezier(.2,1.5,.4,1), visibility 0s;
}
.karte-halt h1, .karte-halt h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .35em; color: var(--blau-text); }
.karte-halt p { margin-bottom: .7em; }
.karte-halt .knopfreihe { margin-top: 18px; }
.karte-nummer { font-weight: 800; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--koralle-text); margin-bottom: 6px; }

.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--salbei); color: #24502d; margin-bottom: 14px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px rgba(63,122,74,.18); }
.status.ist-zu { background: var(--koralle-hell); color: var(--koralle-dunkel); }
.status.ist-zu::before { background: var(--koralle-text); box-shadow: 0 0 0 4px rgba(181,69,62,.18); }

.fakten { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
.fakten li { display: flex; gap: 12px; align-items: flex-start; }
.fakten svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--koralle-text); }

.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Fortschritt (rechts, senkrecht in der Mitte) + Überspringen (unten links) */
.rundgang-fortschritt {
  position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 3;
}
.rundgang-fortschritt button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  background: rgba(30,25,20,.35); color: #fff; font: 800 1rem var(--schrift-text); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .3s ease, transform .3s ease;
}
.rundgang-fortschritt button[aria-current="step"] { background: var(--koralle-text); border-color: var(--koralle-text); transform: scale(1.08); }
.rundgang-ueberspringen {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(20px, 4vh, 36px); z-index: 3;
}

/* Dezenter Scroll-Hinweis unten in der Mitte: feine Maus mit laufendem Rad, darunter ruhige Schrift */
.scroll-hinweis {
  position: absolute; left: 50%; bottom: clamp(18px, 4vh, 34px); transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; padding: 10px 24px; cursor: pointer;
  color: #fff;
  /* Variante 3 „dunkler Schein“ (Dirks Wahl): mehrere weiche Schatten übereinander = dunkler Hof,
     damit die weiße Schrift auch auf hellem Untergrund lesbar bleibt */
  text-shadow: 0 0 4px #000, 0 0 8px #000, 0 0 14px rgba(0,0,0,.95), 0 0 22px rgba(0,0,0,.85), 0 0 34px rgba(0,0,0,.7);
  font: 800 1.2rem/1.2 var(--schrift-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: opacity .4s ease, transform .25s ease;
}
/* Weicher beiger Farbfleck dahinter: ein abgerundetes Rechteck, so stark weichgezeichnet,
   dass keine Kante mehr zu sehen ist */
/* (Kein Fleck mehr dahinter – den Kontrast liefert der gleichmäßige Verlauf am unteren Bildrand.) */
.scroll-hinweis:hover { transform: translateX(-50%) translateY(2px); }
.scroll-pfeile { display: flex; flex-direction: column; align-items: center; margin-top: -2px; color: #fff; }
.scroll-pfeile svg { width: 26px; height: 13px; animation: pfeil-leuchten 1.6s ease-in-out infinite; opacity: .25; }
.scroll-pfeile svg + svg { margin-top: -2px; animation-delay: .25s; }
@keyframes pfeil-leuchten { 0%, 100% { opacity: .2; } 35% { opacity: 1; } 60% { opacity: .2; } }
.scroll-hinweis.ist-weg { opacity: 0; }
.maus { width: 26px; height: 40px; border: 2.5px solid #fff; border-radius: 14px; position: relative; flex: none; }
.maus, .scroll-pfeile svg { filter: drop-shadow(0 0 3px #000) drop-shadow(0 0 8px #000) drop-shadow(0 0 16px rgba(0,0,0,.8)); }
.maus-rad { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: mausrad 1.8s ease-in-out infinite; }
@keyframes mausrad { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 71% { transform: translateY(0); opacity: 0; } 100% { opacity: 1; } }
.scroll-pfeil { display: none; }
@keyframes wippen { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.wisch-hinweis { display: none; }
@media (max-width: 1100px) and (min-width: 761px) {
  .rundgang-ueberspringen { bottom: auto; top: calc(var(--kopf-hoehe) + 12px); left: auto; right: clamp(16px, 3vw, 40px); }
  .karte-halt[data-position="rechts"] { left: 0; right: auto; }
}

.rundgang-schritte { margin-top: -100vh; margin-top: -100svh; position: relative; z-index: 0; pointer-events: none; }
.rundgang-schritt { height: 100vh; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }

/* Alles nach dem Rundgang: ein großer Block, in dem frei gescrollt wird */
.nach-rundgang { scroll-snap-align: start; }

/* Handy: Bild oben im Format 1:1, Karte darunter */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .rundgang-buehne { background: var(--creme); }
  .rundgang-medien { inset: var(--kopf-hoehe) 0 auto 0; height: 100vw; max-height: 48svh; }
  .rundgang-medien img, .rundgang-medien video { border-radius: 0 0 28px 28px; }
  .rundgang-verlauf { display: none; }
  .rundgang-karten { bottom: auto; top: calc(var(--kopf-hoehe) + min(100vw, 48svh) - 26px); }
  .rundgang-karten .huelle { width: calc(100% - 24px); margin: 0 auto; }
  .karte-halt { position: absolute; top: 0; bottom: auto; width: 100%; padding: 20px 20px 18px; box-shadow: var(--schatten); }
  .karte-halt h1, .karte-halt h2 { font-size: 1.65rem; }
  .karte-halt p, .fakten li { font-size: 1.05rem; }
  .karte-halt .knopfreihe .knopf { flex: 1 1 auto; }
  .rundgang-fortschritt { top: calc(var(--kopf-hoehe) + min(100vw, 48svh) - 86px); bottom: auto; right: 12px; transform: none; flex-direction: row; gap: 8px; }
  .rundgang-fortschritt button { width: 38px; height: 38px; font-size: .9rem; }
  .rundgang-ueberspringen { top: calc(var(--kopf-hoehe) + 12px); right: auto; left: 12px; min-height: 38px; padding: 6px 14px; font-size: .9rem; }
  .kopf:not(.ist-fest) { background: rgba(251,246,240,.94); }
  /* Anrufen/Termin stehen auf dem Handy schon in der Leiste unten */
  .karte-halt[data-halt="0"] .knopfreihe, .karte-halt[data-halt="3"] .knopfreihe { display: none; }
  .karte-halt .status { font-size: .92rem; padding: 4px 12px 4px 10px; margin-bottom: 10px; }
  .karte-halt .fakten { gap: 4px; }
  .karte-halt .rundgang-weiter { margin-top: 10px !important; width: 100%; min-height: 54px; font-size: 1.1rem; }
  .karte-halt .rundgang-weiter svg { animation: wippen 1.6s ease-in-out infinite; }
  .karte-halt[data-position="rechts"] { left: 0; right: auto; }
  .scroll-hinweis { display: none; }
  .wisch-hinweis { display: block; text-align: center; font-weight: 700; color: var(--text-leise); font-size: 1rem; margin: 8px 0 0; }
}

/* ---------- Schnell-Infos direkt nach dem Rundgang ---------- */
.schnellinfo {
  margin-top: clamp(56px, 10vh, 120px);          /* Luft nach dem Rundgang, damit man nicht drüberrutscht */
  padding: clamp(36px, 5vw, 56px) 0;
  background: linear-gradient(135deg, var(--oliv-dunkel) 0%, #3c3b35 100%);
}
.schnellinfo-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-kasten { background: var(--creme-hell); border-radius: var(--radius); padding: 24px; box-shadow: var(--schatten); }
.info-kasten h3 { font-family: var(--schrift-text); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--koralle-text); margin-bottom: 8px; }
.schnellinfo .info-kasten { box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.info-kasten p { margin: 0 0 .4em; }
.info-kasten .gross { font-family: var(--schrift-titel); font-size: 1.5rem; color: var(--text); line-height: 1.25; }
@media (max-width: 860px) { .schnellinfo-raster { grid-template-columns: 1fr; } }

/* ---------- Kacheln (Leistungen & Infos) ---------- */
.kachel-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 960px) { .kachel-raster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kachel-raster { grid-template-columns: 1fr; } }
.kachel {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--creme-hell); border: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); cursor: pointer; padding: 0; color: inherit; font: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten-stark); }
.kachel-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.04); }
.kachel-text { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kachel-text h3 { margin-bottom: .3em; }
.kachel-text p { color: var(--text-leise); margin-bottom: 14px; }
.kachel-mehr { margin-top: auto; font-weight: 800; color: var(--koralle-text); display: inline-flex; gap: 8px; align-items: center; }
.kachel--dringend .kachel-text { background: var(--koralle-hell); }

/* ---------- Pop-up (für Kacheln und Team) ---------- */
.popup {
  border: 0; padding: 0; margin: auto; width: min(640px, calc(100% - 24px)); max-height: min(88svh, 900px);
  border-radius: var(--radius); background: var(--creme-hell); color: var(--text);
  box-shadow: var(--schatten-stark); overflow: hidden;
}
.popup::backdrop { background: rgba(30, 24, 18, .55); backdrop-filter: blur(3px); }
.popup[open] { animation: popup-auf .35s ease; }
@keyframes popup-auf { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.popup-innen { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.popup-bild { aspect-ratio: 16 / 9; background: var(--sand); }
.popup-bild img { width: 100%; height: 100%; object-fit: cover; }
.popup--team .popup-bild { aspect-ratio: 4 / 3; }
.popup--team .popup-bild img { object-position: 50% 20%; }
.popup-text { padding: 24px clamp(20px, 4vw, 34px) 30px; }
.popup-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.h-frage { display: block; color: var(--koralle-text); font-size: .62em; font-family: var(--schrift-text); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35em; }
.h-antwort { display: block; color: var(--blau-text); }
.team-zitat { font-family: var(--schrift-titel); font-style: italic; color: var(--koralle-text); font-size: 1.12rem; }
.popup-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.popup-text li { margin-bottom: .3em; }
.popup-zu {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--text); box-shadow: var(--schatten);
  display: grid; place-items: center;
}
.popup-zu svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .popup { width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .popup[open] { animation: popup-hoch .35s ease; }
  @keyframes popup-hoch { from { transform: translateY(40px); opacity: .5; } to { transform: none; opacity: 1; } }
}

/* ---------- Warum Meine Zahnzeit ---------- */
.warum-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.warum-bild { position: relative; }
.warum-bild img { border-radius: 32px; box-shadow: var(--schatten-stark); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.warum-bild .stempel {
  position: absolute; right: -14px; bottom: 28px; background: var(--koralle-text); color: #fff;
  border-radius: 20px; padding: 16px 20px; font-weight: 800; line-height: 1.3; box-shadow: var(--schatten-stark); max-width: 220px;
}
.argumente { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.argumente li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.argument-symbol { width: 56px; height: 56px; border-radius: 18px; background: var(--koralle-hell); display: grid; place-items: center; color: var(--koralle-text); }
.argument-symbol svg { width: 28px; height: 28px; }
.argumente h3 { margin-bottom: .2em; }
.argumente p { margin: 0; color: var(--text-leise); }
@media (max-width: 860px) { .warum-raster { grid-template-columns: 1fr; } .warum-bild .stempel { right: 12px; } }

/* ---------- Team ---------- */
.team-gruppe + .team-gruppe { margin-top: 48px; }
.gruppen-balken {
  display: block; position: relative;
  font-family: var(--schrift-text); font-weight: 800; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blau-text); margin: 0 0 20px; padding: 12px 20px 12px 22px;
  background: linear-gradient(90deg, var(--blau-hell) 0%, rgba(228, 239, 248, .7) 40%, rgba(228, 239, 248, 0) 100%);
  border-radius: 14px 0 0 14px;
}
.gruppen-balken::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 3px; background: var(--blau); }
.team-gruppe + .team-gruppe, .team-gruppe + .team-zeile-geteilt { margin-top: 56px; }
.team-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
/* Verwaltung (2 Fotos) und Praxislabor (1 Foto) teilen sich eine Zeile */
.team-zeile-geteilt { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: 56px; }
.team-gruppe--zwei { grid-column: span 2; }
.team-gruppe--zwei .team-raster { grid-template-columns: repeat(2, 1fr); }
.team-gruppe--eins .team-raster { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .team-raster { grid-template-columns: repeat(2, 1fr); }
  .team-zeile-geteilt { grid-template-columns: 1fr; }
  .team-gruppe--zwei { grid-column: auto; }
  .team-gruppe--eins .team-raster { grid-template-columns: repeat(2, 1fr); }
}
.team-karte { background: var(--creme-hell); border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); cursor: pointer; padding: 0; text-align: left; font: inherit; color: inherit; transition: transform .3s ease; }
.team-karte:hover { transform: translateY(-4px); }
.team-foto { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; position: relative; }
.team-mehr {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 253, 250, .94); color: var(--koralle-text);
  font-weight: 800; font-size: .88rem; padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15); transition: transform .25s ease, background-color .25s ease;
}
.team-karte:hover .team-mehr { transform: translateX(4px); background: #fff; }
.team-foto img { width: 100%; height: 100%; object-fit: cover; }
.team-name { padding: 14px 16px 18px; }
.team-name strong { display: block; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.team-name span { display: block; color: var(--text-leise); font-size: .98rem; line-height: 1.4; margin-top: 4px; }
.team-karte--gross { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.team-karte--gross .team-foto { aspect-ratio: auto; height: 100%; }
.team-karte--gross .team-name { padding: 24px; align-self: end; }
.team-karte--gross .team-name strong { font-size: 1.6rem; }
.team-karte--gross .zitat { font-family: var(--schrift-titel); font-style: italic; color: var(--koralle-text); font-size: 1.1rem; margin-top: 14px; display: block; }
@media (max-width: 640px) { .team-karte--gross { grid-template-columns: 1fr; } .team-karte--gross .team-foto { aspect-ratio: 4/5; } }

/* ---------- Öffnungszeiten & Anfahrt ---------- */
.zeiten-raster { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .zeiten-raster { grid-template-columns: 1fr; } }
.zeiten-tabelle { width: 100%; border-collapse: collapse; font-size: 1.12rem; }
.zeiten-tabelle th, .zeiten-tabelle td { padding: 12px 0; border-bottom: 1px solid var(--sand-dunkel); text-align: left; vertical-align: top; }
.zeiten-tabelle th { font-weight: 700; width: 40%; }
.zeiten-tabelle tr.ist-heute th, .zeiten-tabelle tr.ist-heute td { color: var(--koralle-text); font-weight: 800; }
.karte-osm { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; box-shadow: var(--schatten); }
.karte-osm img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.karte-osm iframe { width: 100%; height: 100%; border: 0; }
.karte-osm .karte-laden {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 12px; padding: 24px;
  background: linear-gradient(0deg, rgba(251,246,240,.92), rgba(251,246,240,.75));
}
.karte-osm .karte-laden p { max-width: 380px; margin: 0 auto; font-size: 1rem; color: var(--text-leise); }
.anfahrt-liste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.anfahrt-liste li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: var(--creme-hell); border-radius: var(--radius-klein); padding: 14px 16px; }
.anfahrt-symbol { width: 52px; height: 52px; border-radius: 16px; background: var(--koralle-hell); display: grid; place-items: center; color: var(--koralle-text); }
.anfahrt-symbol svg { width: 28px; height: 28px; }
/* Live-Abfahrten (VVO) */
.abfahrten { margin-top: 18px; background: var(--creme-hell); border-radius: var(--radius); padding: 18px 20px; border: 2px solid var(--blau-hell); }
.abfahrten-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.abfahrten h3 { font-family: var(--schrift-text); font-size: 1.05rem; font-weight: 800; color: var(--blau-text); margin: 0; }
.abfahrten .feld-hinweis { margin: 8px 0 0; }
.abfahrten-liste { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.abfahrten-liste li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #fff; }
.linie { display: inline-flex; justify-content: center; min-width: 48px; padding: 4px 8px; border-radius: 8px; font-weight: 800; font-size: .95rem; color: #fff; }
.linie--s { background: #2e7d4f; } .linie--tram { background: #c0392b; } .linie--bus { background: #2c6895; } .linie--sonst { background: #66665d; }
.abfahrt-zeit { font-weight: 800; white-space: nowrap; }
.abfahrt-zeit small { display: block; font-weight: 600; color: var(--text-leise); font-size: .8rem; text-align: right; }
.abfahrt-spaet { color: var(--koralle-text); }

/* ---------- Blog ---------- */
.blog-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 860px) { .blog-raster { grid-template-columns: 1fr; } }
.blog-karte { background: var(--creme-hell); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; }
.blog-karte img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.blog-karte div { padding: 20px 22px 24px; }
.blog-karte time { font-size: .95rem; color: var(--text-leise); font-weight: 700; }
.blog-karte h3 { margin: .3em 0 .4em; }

/* ---------- Terminanfrage ---------- */
.kontakt-raster { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.notfall-kasten { background: var(--koralle-hell); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0; }
.notfall-kasten h3 { font-size: 1.3rem; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.slot { border: 2px solid var(--koralle-text); background: #fff; color: var(--koralle-text); border-radius: 999px; padding: 10px 18px; font: 800 1.05rem var(--schrift-text); cursor: pointer; min-height: 48px; }
.slot[aria-pressed="true"] { background: var(--koralle-text); color: #fff; }
.demo-marke { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; background: var(--text); color: #fff; padding: 2px 8px; border-radius: 6px; vertical-align: middle; margin-left: 8px; }
.formular { background: var(--creme-hell); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--schatten); }
.feld { display: grid; gap: 6px; margin-bottom: 18px; }
.feld label, .feld legend { font-weight: 800; color: var(--blau-text); font-size: 1.08rem; }
.feld legend { margin-bottom: 12px; }
.feld label .feld-hinweis { color: var(--text-leise); font-weight: 600; }
.feld input, .feld select, .feld textarea {
  font: inherit; color: var(--text); background: #fff; border: 2px solid var(--sand-dunkel); border-radius: var(--radius-klein);
  padding: 12px 14px; min-height: 52px; width: 100%;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--koralle-text); outline: none; box-shadow: 0 0 0 4px rgba(236,132,128,.25); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .feld-paar { grid-template-columns: 1fr; } }
fieldset.feld { border: 0; padding: 0; margin: 0 0 28px; }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl { position: relative; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 15px; border-radius: 999px; border: 1.5px solid var(--sand-dunkel); background: #fff; font-weight: 600; font-size: 1rem; color: var(--text); cursor: pointer; }
.wahl span:hover { border-color: var(--blau); }
.wahl input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.wahl input:focus-visible + span { outline: 3px solid var(--koralle-text); outline-offset: 2px; }
.feld-hinweis { font-size: .95rem; color: var(--text-leise); }
.honig { position: absolute; left: -9999px; }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; margin: 8px 0 20px; }
.einwilligung input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--koralle-text); flex: none; }
.formular-meldung { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-klein); background: var(--salbei); font-weight: 700; }
.formular-meldung[hidden] { display: none; }

/* ---------- Fußzeile ---------- */
.fuss { background: #3b3a34; color: #ece6dd; padding: 64px 0 40px; }
.fuss a { color: #fff; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr; } }
.fuss img { height: 44px; width: auto; margin-bottom: 18px; }
.fuss h3 { font-family: var(--schrift-text); font-size: .95rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f3b3ae; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-size: .98rem; }

/* ---------- Mobile Knopfleiste unten ---------- */
.leiste {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,253,250,.97); box-shadow: 0 -6px 24px rgba(0,0,0,.10);
  gap: 10px;
}
.leiste .knopf { flex: 1; }
@media (max-width: 760px) {
  :root { --leiste-hoehe: 74px; }
  .leiste { display: flex; }
}

/* ---------- Info-Pop-up beim Seitenaufruf (aus dem Dashboard) ---------- */
.info-popup .popup-text { padding-top: 34px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Kontakt speichern: QR-Code + vCard ---------- */
.kontakt-speichern {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center;
  background: var(--creme-hell); border-radius: var(--radius); padding: 18px; margin: 24px 0;
  border: 2px solid var(--blau-hell);
}
.kontakt-speichern h3 { font-size: 1.25rem; color: var(--blau-text); margin-bottom: .3em; }
.kontakt-speichern p { margin-bottom: .7em; font-size: 1rem; }
.kontakt-qr { width: 150px; height: 150px; background: #fff; border-radius: 12px; padding: 6px; }
.nur-handy { display: none; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .kontakt-speichern { grid-template-columns: 1fr; }
  .kontakt-qr, .nur-gross { display: none; }
  .nur-handy { display: block; }
}

/* Korrekturen Team-Raster */
.team-mehr { white-space: nowrap; }
.team-mehr svg { width: 16px; height: 16px; flex: none; }
.team-zeile-geteilt .team-gruppe { margin-top: 0; }
.team-foto, .team-name { display: block; }   /* Rahmen muss Block sein, sonst greift das Seitenverhältnis 4:5 nicht */
.abfahrt-zusatz { display: block; font-size: .82rem; color: var(--text-leise); margin-top: 1px; }
.abfahrten-liste { max-height: 560px; overflow-y: auto; padding-right: 4px; }
/* Überschrift über den Schnell-Infos im dunklen Band */
.schnellinfo-kopf { margin-bottom: 22px; }
.schnellinfo-kopf .dachzeile { color: #f3b3ae; margin-bottom: 6px; }
.schnellinfo-kopf .dachzeile::before { background: #f3b3ae; }
.schnellinfo-kopf h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.schnellinfo-kopf h2 .kursiv { color: #f3b3ae; }
.abfahrten-liste li.abfahrt-knapp { opacity: .45; }
/* Fahrzeug-Symbol vor jeder Abfahrt */
.abfahrten-liste li { grid-template-columns: 30px 52px 1fr auto; }
.abfahrt-symbol { width: 28px; height: 28px; color: var(--text-leise); }
.abfahrt-symbol--zug { color: #2e7d4f; } .abfahrt-symbol--tram { color: #c0392b; } .abfahrt-symbol--bus { color: #2c6895; }
.anfahrt-symbol svg { width: 34px; height: 34px; }
/* Spalten dürfen schmaler werden als ihr breitester Inhalt (sonst seitliches Verrutschen auf dem Handy) */
.zeiten-raster > *, .kontakt-raster > *, .warum-raster > *, .schnellinfo-raster > * { min-width: 0; }
.zeiten-tabelle td, .zeiten-tabelle th { overflow-wrap: anywhere; }
.abfahrten-liste li > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .abfahrten-liste li { grid-template-columns: 24px 44px 1fr auto; gap: 8px; padding: 8px; }
  .abfahrt-symbol { width: 22px; height: 22px; }
  .linie { min-width: 40px; font-size: .88rem; }
  .zeiten-tabelle th { width: 34%; }
}

/* ---------- Pop-up: Bild links (Hochformat), Text rechts ---------- */
@media (min-width: 761px) {
  .popup { width: min(1000px, calc(100% - 48px)); }
  .popup-innen { display: grid; grid-template-columns: minmax(300px, 40%) 1fr; overflow: hidden; max-height: min(88svh, 900px); }
  .popup-bild { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .popup-bild img { height: 100%; object-fit: cover; object-position: 50% 30%; }
  .popup--team .popup-bild { aspect-ratio: auto; }
  .popup-text { overflow-y: auto; max-height: min(88svh, 900px); padding: 44px clamp(26px, 3.5vw, 44px) 36px; }
  .popup-zu { right: 14px; top: 14px; }
}
/* Handy: Bild oben, querformatig mit Blick auf das Gesicht */
@media (max-width: 760px) {
  .popup-bild { aspect-ratio: 4 / 3; }
  .popup-bild img { object-position: 50% 25%; }
}

/* „Mehr erfahren“ auf den Teamfotos: nur Schrift + Pfeil, ohne Hintergrund */
.team-mehr {
  background: none; box-shadow: none; padding: 0;
  color: #fff; font-size: .95rem; letter-spacing: .01em;
  text-shadow: 0 0 3px rgba(0,0,0,.8), 0 0 10px rgba(0,0,0,.55), 0 0 22px rgba(0,0,0,.4);
}
.team-mehr svg { filter: drop-shadow(0 0 3px rgba(0,0,0,.8)) drop-shadow(0 0 8px rgba(0,0,0,.5)); }
.team-karte:hover .team-mehr { background: none; }
.team-foto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(0,0,0,.28), rgba(0,0,0,0)); pointer-events: none; }
@media (max-width: 760px) { .popup { max-width: 100%; width: 100%; } }

/* ---------- Anfahrtskarte (selbst gehostet) ---------- */
.karte-osm { aspect-ratio: 4 / 3.4; background: var(--sand); z-index: 0; }
.karte-osm .leaflet-tile-pane { filter: saturate(.55) sepia(.12) brightness(1.04) contrast(.97); }  /* wärmer und ruhiger, passend zur Seite */
.karte-osm .leaflet-control-attribution { font-size: .72rem; background: rgba(255,253,250,.85); }
.karte-osm .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 36px; font-size: 1.3rem; color: var(--text); }
.karten-marker { background: none; border: 0; }
.karten-marker-kreis { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--koralle-text); box-shadow: 0 6px 16px rgba(0,0,0,.3); border: 3px solid #fff; }
.karten-marker-kreis img { width: 28px; height: 28px; transform: rotate(45deg); filter: brightness(0) invert(1); }
.karten-marker-text { position: absolute; left: 56px; top: 8px; white-space: nowrap; background: #fff; color: var(--text); font: 800 .9rem var(--schrift-text); padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.karte-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.karte-fuss p { margin: 0; }
/* Teamkarten sind Knöpfe: Browser zentrieren Knopfinhalte senkrecht. Inhalt fest nach oben legen,
   sonst rutscht das Foto nach unten, wenn die Nachbarkarte (längere Funktion) höher ist. */
.team-karte { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.team-karte--gross { display: grid; }

/* ---------- Blog kompakt: 4 Kacheln ohne Bild ---------- */
.blog-raster--kompakt { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blog-raster--kompakt .blog-karte { display: flex; flex-direction: column; padding: 18px 20px 20px; text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease; border-top: 4px solid var(--blau); }
.blog-raster--kompakt .blog-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-stark); }
.blog-raster--kompakt .blog-karte h3 { font-size: 1.15rem; margin: .35em 0 .35em; }
.blog-raster--kompakt .blog-karte p { font-size: .98rem; color: var(--text-leise); margin: 0 0 12px; }
.blog-mehr { margin-top: auto; font-weight: 800; color: var(--koralle-text); font-size: .98rem; }
#aktuelles.abschnitt { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 1000px) { .blog-raster--kompakt { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .blog-raster--kompakt { grid-template-columns: 1fr; } }

/* ---------- Artikelseiten ---------- */
.artikelseite { padding-top: var(--kopf-hoehe); }
.artikel-huelle { width: min(100% - 32px, 760px); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; }
.artikel h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--blau-text); }
.artikel h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.6em; }
.artikel-datum { color: var(--text-leise); font-weight: 700; }
.artikel ul { padding-left: 1.2em; }
.artikel li { margin-bottom: .4em; }
.artikel blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--koralle); background: var(--creme-hell); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; font-style: italic; }
.artikel-hinweis { margin-top: 3em; padding: 22px 24px; background: var(--blau-hell); border-radius: var(--radius); }
.artikel-hinweis .knopf { margin: 4px 6px 0 0; }
.artikelseite .fuss { padding: 28px 0; }

/* ---------- Öffnungszeiten & Anfahrt: zwei Zeilen ----------
   oben:  Öffnungszeiten (mittig zur Karte) | Karte
   unten: Verbindungen                      | Live-Abfahrten */
.zeiten-raster { grid-template-columns: 1fr 1.1fr; column-gap: clamp(24px, 4vw, 48px); row-gap: clamp(40px, 5vw, 64px); align-items: start; }
.zeiten-tabelle-box { align-self: center; }
.anfahrt-box .anfahrt-liste { margin-top: 0; }
.abfahrten-box .abfahrten { margin-top: 0; }
@media (max-width: 860px) { .zeiten-raster { grid-template-columns: 1fr; row-gap: 32px; } }
/* Auswahl-Knöpfe im Formular: gleiche Eckenrundung wie die Textfelder (statt Pillenform) */
.wahl span { border-radius: var(--radius-klein); }
.wahl input:disabled + span { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.freitag-hinweis { margin-top: 8px; color: var(--blau-text); font-weight: 700; }
.mehrfach-hinweis { font-size: .85rem; margin: -8px 0 10px; }
/* Gruppenbalken im Team in Koralle (statt Blau) */
.gruppen-balken {
  color: var(--koralle-text);
  background: linear-gradient(90deg, var(--koralle-hell) 0%, rgba(251, 227, 224, .7) 40%, rgba(251, 227, 224, 0) 100%);
}
.gruppen-balken::before { background: var(--koralle); }

/* ---------- Station 1: Willkommen mit Logo + eigene Status-Karte darunter ---------- */
.karte-halt--doppel { background: none; box-shadow: none; padding: 0; display: grid; gap: 12px; }
.karte-teil { background: rgba(255, 253, 250, .96); border-radius: var(--radius); box-shadow: var(--schatten-stark); }
.karte-willkommen { padding: clamp(30px, 3.6vw, 44px) clamp(24px, 3vw, 36px) clamp(22px, 3vw, 32px); }
.karte-willkommen h1 { margin: 0 0 clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 20px); }
.willkommen-bei { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--blau-text); }
.willkommen-logo { width: 100%; max-width: 420px; height: auto; }
.karte-willkommen .fakten a { color: var(--text); font-weight: 700; text-decoration: none; }
.karte-statusleiste { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.karte-statusleiste > svg { width: 24px; height: 24px; flex: none; color: var(--koralle-text); }
.karte-statusleiste .status { margin: 0; background: none; padding: 0; font-size: 1rem; }
.karte-statusleiste .status::before { display: none; }
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .karte-halt--doppel { padding: 0; box-shadow: none; }
  .karte-willkommen { padding: 18px 20px 16px; box-shadow: var(--schatten); }
  .karte-statusleiste { box-shadow: var(--schatten); padding: 10px 14px; }
  .willkommen-bei { font-size: 1.3rem; }
  .willkommen-logo { max-width: 260px; }
  .karte-willkommen h1 { gap: 8px; margin-bottom: 12px; }
}
/* Handy: Station 1 kompakter, damit die Status-Karte über der Knopfleiste sichtbar bleibt */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .rundgang-medien { max-height: 42svh; }
  .rundgang-karten { top: calc(var(--kopf-hoehe) + min(100vw, 42svh) - 26px); }
  .rundgang-fortschritt { top: calc(var(--kopf-hoehe) + min(100vw, 42svh) - 86px); }
  .karte-willkommen { padding: 16px 18px 14px; }
  .willkommen-bei { font-size: 1.15rem; }
  .willkommen-logo { max-width: 220px; }
  .karte-willkommen .fakten li { font-size: 1rem; }
  .karte-willkommen .rundgang-weiter { min-height: 46px !important; margin-top: 8px !important; }
  .karte-willkommen .wisch-hinweis { margin-top: 4px; font-size: .92rem; }
  .karte-halt--doppel { gap: 8px; }
  .karte-statusleiste { padding: 8px 14px; }
  .karte-statusleiste .status { font-size: .92rem; }
}
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .rundgang-ueberspringen { bottom: auto; height: auto; }          /* sonst wird der Knopf über die ganze Höhe gezogen */
  .karte-willkommen .wisch-hinweis { display: none; }             /* Station 1: Knopf „Kommen Sie mit hinein“ reicht */
  .willkommen-logo { max-width: 205px; }
}

/* „Bitte scrollen“ präsenter – NUR an Station 1 (Fassade), Klasse ist-gross setzt rundgang.js: größer, dunkler Nebel dahinter (weicher Verlauf ohne Kante), sanftes Wippen */
.scroll-hinweis.ist-gross { font-size: 1.4rem; letter-spacing: .16em; padding: 18px 48px 12px; isolation: isolate; animation: hinweis-wippen 2.4s ease-in-out infinite; }
.scroll-hinweis.ist-gross::before {
  content: ""; position: absolute; inset: -40px -90px -30px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgba(15, 12, 9, .62) 0%, rgba(15, 12, 9, .45) 40%, rgba(15, 12, 9, .18) 72%, rgba(15, 12, 9, 0) 100%);
}
.scroll-hinweis.ist-gross .maus { width: 30px; height: 46px; border-width: 3px; }
.scroll-hinweis.ist-gross .scroll-pfeile svg { width: 32px; height: 16px; }
@keyframes hinweis-wippen { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.rundgang-verlauf {
  background: linear-gradient(0deg, rgba(20,15,10,.72) 0%, rgba(20,15,10,.52) 10%, rgba(20,15,10,.28) 20%, rgba(20,15,10,.10) 30%, rgba(20,15,10,0) 40%);
}
@media (prefers-reduced-motion: reduce) { .scroll-hinweis { animation: none; } }

/* „Rundgang überspringen“ in der Kopfzeile (nur während des Rundgangs); auf dem Handy bleibt er im Bild */
.kopf-ueberspringen { display: inline-flex; }
html:not(.rundgang-einrasten) .kopf-ueberspringen { display: none; }
.rundgang-ueberspringen.nur-handy-knopf { display: none; }
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .kopf-ueberspringen { display: none !important; }
  .rundgang-ueberspringen.nur-handy-knopf { display: inline-flex; }
}
/* Desktop: Status-Karte von Station 1 unten, auf Höhe von „Bitte scrollen“ (Lage per rundgang.js) */
@media (min-width: 761px) and (min-aspect-ratio: 4/5) {
  .karte-halt--doppel .karte-statusleiste { position: absolute; left: 0; right: 0; }
}

/* „Rundgang überspringen“ im freien Rand rechts neben der Telefonnummer (Telefonnummer bleibt an ihrem Platz).
   Breiter Bildschirm: mit Text. Sonst nur rundes Symbol (Doppelpfeil), Text als Tooltip. */
.kopf-ueberspringen {
  position: absolute; top: 50%; transform: translateY(-50%);
  right: calc((100% - min(100% - 32px, var(--breite))) / 2 - 56px);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--creme-hell); border: 2px solid var(--sand-dunkel); color: var(--text);
  font: 700 .98rem var(--schrift-text); text-decoration: none; white-space: nowrap;
}
.kopf-ueberspringen:hover { border-color: var(--koralle); color: var(--text); }
.kopf-ueberspringen svg { width: 20px; height: 20px; flex: none; }
.kopf-ueberspringen span { display: none; }
@media (min-width: 1700px) {
  .kopf-ueberspringen { width: auto; padding: 0 18px 0 14px; right: calc((100% - var(--breite)) / 2 - 252px); }
  .kopf-ueberspringen span { display: inline; }
}
html:not(.rundgang-einrasten) .kopf-ueberspringen { display: none; }
@media (max-width: 1299px) { .kopf-ueberspringen { display: none !important; } }        /* zu wenig Rand: Knopf bleibt im Bild */
@media (min-width: 761px) and (max-width: 1299px) { .rundgang-ueberspringen.nur-handy-knopf { display: inline-flex; } }
