/* ==========================================================================
   Zahnarztpraxis Dr. med. dent. Albrecht Buhl – Seifhennersdorf
   Modernisiertes Layout 2026 · Corporate Design: Rot #a9112d / Grau #484749
   ========================================================================== */

:root {
  --rot: #a9112d;
  --rot-dunkel: #7c0c20;
  --rot-hell: #c4234b;
  --grau: #484749;
  --text: #3b3a3c;
  --text-leise: #6b6a6d;
  --weiss: #fff;
  --tint: #fbf5f6;
  --tint-2: #f5f4f5;
  --linie: #e8e3e4;
  --gruen: #1e784b;
  --gruen-tint: #f2fbf4;
  --radius: 14px;
  --radius-s: 8px;
  --schatten: 0 10px 30px -12px rgba(72, 71, 73, .28);
  --schatten-s: 0 4px 14px -6px rgba(72, 71, 73, .25);
  --breite: 1180px;
  --font: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font);
  color: var(--text);
  background: var(--weiss);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-underline-offset: 3px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot-hell); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--grau); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 .5em; color: var(--rot); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
h4 { font-size: 1.05rem; margin: 1.3em 0 .2em; color: var(--rot); }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 3rem 0; }
small { font-size: .85em; color: var(--text-leise); }

.wrap { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: .7rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; color: #fff; }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); margin-bottom: .7rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--rot);
  background: var(--rot); color: #fff; font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 18px -10px rgba(169, 17, 45, .8);
}
.btn:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; transform: translateY(-2px); }
.btn--hell { background: transparent; color: var(--rot); box-shadow: none; }
.btn--hell:hover { background: var(--rot); color: #fff; }
.btn--weiss { background: #fff; color: var(--rot); border-color: #fff; box-shadow: none; }
.btn--weiss:hover { background: var(--tint); border-color: var(--tint); color: var(--rot-dunkel); }
.btn--klein { padding: .5em 1em; font-size: .88rem; }
.mehr { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.mehr .icon { transition: transform .2s; }
a:hover .mehr .icon, .mehr:hover .icon { transform: translateX(4px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--grau); color: #fff; font-size: .86rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem 1.5rem; padding-block: .45rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__rechts { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; align-items: center; }

.status { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; }
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #b9b8ba; flex: none; }
.status.ist-offen::before { background: #3fcf7f; box-shadow: 0 0 0 4px rgba(63, 207, 127, .25); }
.status.ist-zu::before { background: #ff8fa3; }
.status:empty { display: none; }

.kopf { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); transition: box-shadow .25s; }
.kopf.ist-gescrollt { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .45); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: block; flex: none; margin-block: .35rem; }
.logo img { height: 84px; width: auto; transition: height .25s; mix-blend-mode: multiply; }
.kopf.ist-gescrollt .logo img { height: 62px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__liste { display: flex; align-items: center; gap: .15rem; }
.nav a, .nav button {
  display: flex; align-items: center; gap: .3em; padding: .55em .8em; border-radius: 999px;
  font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--grau); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav button:hover, .nav .hat-sub:focus-within > button { background: var(--tint); color: var(--rot); }
.nav a[aria-current="page"], .nav .ist-aktiv > button { background: var(--rot); color: #fff; }
.nav .hat-sub { position: relative; }
.nav .hat-sub > button .icon { transition: transform .2s; }
.nav .hat-sub.ist-offen > button .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 0; top: calc(100% + .5rem); min-width: 250px; padding: .5rem !important;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; inset: -.6rem 0 auto; height: .6rem; }
.nav .hat-sub:hover .nav__sub, .nav .hat-sub.ist-offen .nav__sub, .nav .hat-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { border-radius: var(--radius-s); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; padding: .55em .8em; }
.nav__nur-mobil { display: none; }
.nav-knopf { display: none; align-items: center; gap: .5em; padding: .6em 1em; border-radius: 999px; border: 2px solid var(--rot); background: #fff; color: var(--rot); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.nav-knopf .icon { width: 1.3em; height: 1.3em; }
.nav-knopf .i-zu, .nav-offen .nav-knopf .i-auf { display: none; }
.nav-offen .nav-knopf .i-zu { display: block; }

@media (max-width: 1120px) {
  .kopf { backdrop-filter: none; background: #fff; }
  .nav-offen .kopf { z-index: 125; }
  .nav-knopf { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); background: #fff; z-index: 120;
    padding: 5.5rem 1.2rem 2rem; overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4);
    transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav-offen .nav { transform: none; visibility: visible; }
  .nav-offen .nav-knopf { position: fixed; right: 1.25rem; top: 1rem; z-index: 130; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a, .nav button { font-size: .95rem; padding: .8em 1em; border-radius: var(--radius-s); width: 100%; justify-content: space-between; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 .4rem .8rem !important; display: none; min-width: 0; }
  .nav .hat-sub.ist-offen .nav__sub { display: block; }
  .nav .hat-sub:hover .nav__sub, .nav .hat-sub:focus-within .nav__sub { transform: none; }
  .nav__nur-mobil { display: block; }
  .nav__trenner { border-top: 1px solid var(--linie); margin-top: .6rem; padding-top: .6rem; }
  .schleier { position: fixed; inset: 0; background: rgba(40, 39, 41, .5); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-offen .schleier { opacity: 1; visibility: visible; }
  .nav-offen { overflow: hidden; }
}
@media (max-width: 560px) {
  .topbar__adresse { display: none !important; }
  .topbar .wrap { justify-content: center; }
  .logo img { height: 66px; }
  .kopf.ist-gescrollt .logo img { height: 54px; }
}

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, var(--rot-hell), var(--rot) 55%, var(--rot-dunkel));
  opacity: .96;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Cpath d='M520 -20C760 120 900 40 1220 150' fill='none' stroke='%23fff' stroke-opacity='.28' stroke-width='5'/%3E%3Cpath d='M600 -20C820 190 1010 90 1220 260' fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='9'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(6rem, 10vw, 8.5rem); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: .45em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__fach { font-size: 1.02rem; font-weight: 700; color: var(--grau); letter-spacing: .02em; margin-bottom: 1.8rem; padding-left: 1rem; border-left: 4px solid var(--rot); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.slider { position: relative; aspect-ratio: 590 / 400; border-radius: 22px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -25px rgba(60, 5, 18, .7); border: 6px solid #fff; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.slider img.ist-aktiv { opacity: 1; }
.slider__punkte { position: absolute; left: 0; right: 0; bottom: .8rem; display: flex; justify-content: center; gap: .45rem; z-index: 2; }
.slider__punkte button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; box-shadow: 0 0 4px rgba(0, 0, 0, .5); }
.slider__punkte button[aria-current="true"] { background: #fff; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { width: 120%; right: -40%; top: auto; bottom: -32%; }
  .hero h1 span { white-space: normal; }
}

/* ---------- Info-Karte (überlappt Hero) ---------- */
.info { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -7vw, -3.5rem); }
.info__karte { background: #fff; border-radius: 20px; box-shadow: var(--schatten); border: 1px solid var(--linie); display: grid; grid-template-columns: 1.15fr 1fr 1fr; overflow: hidden; }
.info__teil { padding: clamp(1.3rem, 2.5vw, 2rem); }
.info__teil + .info__teil { border-left: 1px solid var(--linie); }
.info__teil h2 { display: flex; align-items: center; gap: .5em; font-size: 1.05rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rot); }
.info__teil h3 { font-size: .95rem; margin: 1rem 0 .15rem; }
.info__teil p, .info__teil address { margin: 0 0 .6rem; font-style: normal; font-size: .98rem; }
.info__teil--rot { background: linear-gradient(160deg, var(--rot), var(--rot-dunkel)); color: #fff; }
.info__teil--rot h2, .info__teil--rot a { color: #fff; }
.info__tel { font-size: 1.35rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
@media (max-width: 900px) {
  .info__karte { grid-template-columns: 1fr; }
  .info__teil + .info__teil { border-left: 0; border-top: 1px solid var(--linie); }
}

/* ---------- Sprechzeiten-Liste ---------- */
.zeiten { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: .98rem; }
.zeiten dt, .zeiten dd { margin: 0; padding: .32rem .6rem; border-bottom: 1px dashed var(--linie); }
.zeiten dt { font-weight: 700; padding-right: 1.2rem; }
.zeiten dd { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten .ist-heute { background: var(--tint); color: var(--rot); border-bottom-color: transparent; }
.zeiten dt.ist-heute { border-radius: 8px 0 0 8px; }
.zeiten dd.ist-heute { border-radius: 0 8px 8px 0; }
.zeiten-status { margin: .9rem 0 0 !important; font-size: .9rem !important; color: var(--text-leise); }
.zeiten-status .status { color: var(--text); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(3rem, 7vw, 5.5rem); }
.abschnitt--tint { background: var(--tint); }
.abschnitt__kopf { text-align: center; max-width: 720px; margin: 0 auto clamp(1.8rem, 4vw, 3rem); }
.abschnitt__kopf h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 400; color: var(--rot); }
.abschnitt__kopf h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--rot); margin: .8rem auto 0; }

/* Hinweise */
.hinweise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }
.hinweis { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: #fff2f3; border: 1px solid #e7b3bc; border-left: 6px solid var(--rot); }
.hinweis > .icon { width: 1.7rem; height: 1.7rem; color: var(--rot); margin-top: .1rem; }
.hinweis h3 { margin: 0 0 .4rem; font-size: 1.08rem; color: var(--rot); line-height: 1.35; }
.hinweis p { margin: 0; font-size: .98rem; }
.hinweis p + p { margin-top: .5rem; }
.hinweis--gruen { background: var(--gruen-tint); border-color: #a5d8bb; border-left-color: var(--gruen); }
.hinweis--gruen > .icon, .hinweis--gruen h3 { color: var(--gruen); }
.hinweis--warnung { background: #fff8e6; border-color: #ecd28a; border-left-color: #c98a00; }
.hinweis--warnung > .icon, .hinweis--warnung h3 { color: #8a5d00; }

/* Praxis (Text + Bild) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.duo h2 { margin-top: 0; font-weight: 400; color: var(--rot); font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.duo__bild { position: relative; }
.duo__bild img { border-radius: 20px; box-shadow: var(--schatten); width: 100%; position: relative; }
.duo__bild::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border-radius: 20px; background: var(--rot); opacity: .12; }
.fakten { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fakten li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: .9rem 1rem; font-size: .95rem; line-height: 1.35; }
.fakten strong { display: block; font-size: 1.7rem; color: var(--rot); font-weight: 400; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }

/* Leistungs-Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.3rem; }
.karte {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.5rem 1.4rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.karte::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.karte:hover { transform: translateY(-5px); box-shadow: var(--schatten); border-color: transparent; color: var(--text); }
.karte:hover::after { transform: scaleX(1); }
.karte__icon { width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--rot); margin-bottom: .4rem; transition: background .25s, color .25s; }
.karte__icon .icon { width: 1.6rem; height: 1.6rem; }
.karte:hover .karte__icon { background: var(--rot); color: #fff; }
.karte h3 { margin: 0; font-size: 1.25rem; color: var(--grau); }
.karte p { margin: 0; font-size: .97rem; flex: 1; }
.karte .mehr { color: var(--rot); margin-top: .5rem; font-size: .93rem; }

/* Zitat-Band */
.band { position: relative; background: linear-gradient(135deg, var(--rot-hell) 0%, var(--rot) 45%, var(--rot-dunkel) 100%); color: #fff; text-align: center; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M-20 210C260 40 520 60 780 130S1100 170 1220 40' fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='4'/%3E%3Cpath d='M-20 120C300 250 620 -20 900 110S1140 250 1220 180' fill='none' stroke='%23fff' stroke-opacity='.12' stroke-width='10'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.band .wrap { position: relative; padding-block: clamp(3rem, 7vw, 5rem); max-width: 860px; }
.band blockquote { margin: 0 0 1.5rem; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.35; text-wrap: balance; }
.band blockquote::before { content: "\201E"; display: block; font: 700 4.5rem/0.6 Georgia, serif; opacity: .5; margin-bottom: .2rem; }

/* Stellen */
.stellen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.3rem; }
.stelle { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--schatten-s); display: flex; flex-direction: column; }
.stelle h3 { margin: 0 0 .6rem; color: var(--rot); font-size: 1.25rem; }
.stelle__fuss { margin-top: auto; padding-top: .6rem; font-weight: 700; }
.haken { list-style: none; padding: 0; margin: .8rem 0 1.2rem; }
.haken li { position: relative; padding: .28rem 0 .28rem 1.9rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .5rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; background: linear-gradient(120deg, var(--rot-hell) 0%, var(--rot) 40%, var(--rot-dunkel) 100%); color: #fff; overflow: hidden; }
.seitenkopf::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cpath d='M-20 150C240 20 520 10 760 70S1080 130 1220 30' fill='none' stroke='%23fff' stroke-opacity='.3' stroke-width='3'/%3E%3Cpath d='M300 240C520 60 820 40 1220 140' fill='none' stroke='%23fff' stroke-opacity='.14' stroke-width='12'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.seitenkopf .wrap { position: relative; padding-block: clamp(2rem, 5vw, 3.6rem); }
.seitenkopf h1 { color: #fff; margin: 0; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.seitenkopf .eyebrow { color: rgba(255, 255, 255, .85); }
.pfad { font-size: .85rem; margin-bottom: 1rem; opacity: .9; }
.pfad a { color: #fff; }

.seite { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.2rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem); align-items: start; }
.seite--breit { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.inhalt { min-width: 0; }
.inhalt > :first-child { margin-top: 0; }
.inhalt .lead { font-size: 1.2rem; line-height: 1.55; color: var(--grau); }
.inhalt ul:not([class]) { list-style: none; padding: 0; margin: 0 0 1.3em; }
.inhalt ul:not([class]) li { position: relative; padding: .25rem 0 .25rem 1.6rem; }
.inhalt ul:not([class]) li::before { content: ""; position: absolute; left: .2rem; top: .85em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rot); }
.inhalt h2 { padding-top: .2rem; }
.inhalt h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--rot); margin-top: .5rem; }
.quelle { font-size: .85rem; color: var(--text-leise); border-top: 1px solid var(--linie); padding-top: .9rem; margin-top: 2rem; }
.kasten { background: var(--tint); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0; border: 1px solid #f0dfe2; }
.kasten > :last-child { margin-bottom: 0; }
.kasten > :first-child { margin-top: 0; }
.bild { margin: 1.6rem 0; }
.bild img { border-radius: var(--radius); box-shadow: var(--schatten-s); }
.bild figcaption { font-size: .88rem; color: var(--text-leise); margin-top: .6rem; }
.bild--mitte img { margin-inline: auto; }
.bild--rechts { float: right; margin: .3rem 0 1rem 1.5rem; max-width: 45%; }
.bilder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0 .8rem; }
.bilder-2 img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten-s); }

/* Seitenleiste */
.leiste { display: grid; gap: 1.2rem; position: sticky; top: 120px; }
.box { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--schatten-s); }
.box h2 { display: flex; align-items: center; gap: .5em; font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .9rem; color: var(--rot); }
.box--rot { background: linear-gradient(160deg, var(--rot), var(--rot-dunkel)); color: #fff; border: 0; }
.box--rot h2, .box--rot a { color: #fff; }
.box address, .box p { font-style: normal; margin: 0 0 .5rem; font-size: .96rem; }
.box .zeiten { font-size: .93rem; }
.box__nav { list-style: none; margin: 0; padding: 0; }
.box__nav a { display: flex; justify-content: space-between; align-items: center; padding: .5rem .7rem; border-radius: var(--radius-s); text-decoration: none; color: var(--text); font-size: .97rem; }
.box__nav a:hover { background: var(--tint); color: var(--rot); }
.box__nav a[aria-current="page"] { background: var(--rot); color: #fff; font-weight: 700; }
@media (max-width: 940px) {
  .seite { grid-template-columns: 1fr; }
  .leiste { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}

/* Schritte (Implantologie-Fälle, Parodontologie-Stadien) */
.fall { margin: 1.8rem 0; }
.fall h3 { margin: 0 0 .8rem; font-size: 1.1rem; font-weight: 400; }
.fall h3 strong { color: var(--rot); font-weight: 700; }
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.schritte li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; font-size: .88rem; font-weight: 700; line-height: 1.35; box-shadow: var(--schatten-s); }
.schritte img { width: 100%; }
.schritte span { display: block; padding: .7rem .8rem .8rem; }
.schritte--text li { font-weight: 400; }
.schritte--text strong { display: block; color: var(--rot); margin-bottom: .2rem; font-size: .98rem; }
@media (max-width: 600px) { .schritte { grid-template-columns: 1fr 1fr; } .schritte--text { grid-template-columns: 1fr; } .bild--rechts { float: none; max-width: 100%; margin: 1rem 0; } .bilder-2 { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; gap: 1.3rem; margin-bottom: 2.5rem; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--schatten-s); align-items: start; }
.person img { width: 150px; height: 200px; object-fit: cover; border-radius: 10px; }
.person h3 { margin: 0; font-size: 1.3rem; color: var(--rot); }
.person__rolle { font-weight: 700; color: var(--grau); margin: .15rem 0 .8rem; }
.person__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--text-leise); margin: 0 0 .3rem; }
.vita { list-style: none; padding: 0 0 0 1.1rem; margin: 0; border-left: 2px solid #ecc7ce; }
.vita li { position: relative; padding: .2rem 0; font-size: .96rem; }
.vita li::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: .75em; width: 10px; height: 10px; border-radius: 50%; background: var(--rot); border: 2px solid #fff; }
.schwerpunkte { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.schwerpunkte li { background: var(--tint); color: var(--rot); border: 1px solid #f0d5da; border-radius: 999px; padding: .2rem .8rem; font-size: .9rem; }
.team--klein { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }

/* Kontakt */
.kontaktliste { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 0; }
.kontaktliste dt, .kontaktliste dd { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.kontaktliste dt { font-weight: 700; color: var(--grau); padding-right: 2rem; display: flex; gap: .5em; align-items: baseline; white-space: nowrap; }
.kontaktliste dt .icon { color: var(--rot); }
.kontaktliste .gross { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
@media (max-width: 520px) { .kontaktliste { grid-template-columns: 1fr; } .kontaktliste dt { border: 0; padding-bottom: 0; } .kontaktliste dd { padding-top: .2rem; } }
.karte-bild { display: block; width: 100%; padding: 0; border: 3px solid var(--rot); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; }
.karte-bild img { width: 100%; }
dialog.lupe { border: 0; padding: 0; border-radius: var(--radius); max-width: min(96vw, 900px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
dialog.lupe::backdrop { background: rgba(30, 29, 31, .8); }
dialog.lupe img { width: 100%; }
dialog.lupe form { position: absolute; right: .6rem; top: .6rem; }
dialog.lupe button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: var(--rot); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Sprechzeiten-Seite / Listen-Gruppen */
.gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.gruppe { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--schatten-s); }
.gruppe h3 { margin: 0 0 .7rem; font-size: 1.05rem; color: var(--rot); display: flex; align-items: center; gap: .5em; }
.gruppe--ja { border-top: 4px solid var(--rot); }
.gruppe--nein { border-top: 4px solid #9a999b; }
.gruppe--nein h3 { color: var(--grau); }
.gruppe ul { margin-bottom: 0 !important; }
.gruppe--voll { grid-column: 1 / -1; }
.gruppe--voll .zeiten { font-size: 1.05rem; }
.gruppe--voll .zeiten dt, .gruppe--voll .zeiten dd { padding-block: .55rem; }
.notruf { display: flex; gap: 1rem; align-items: flex-start; background: var(--grau); color: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.notruf .icon { width: 2rem; height: 2rem; color: #ffd24a; }
.notruf a { color: #fff; }
.notruf p { margin: 0; }
.notruf p + p { margin-top: .5rem; font-size: .97rem; }
.notruf strong { font-size: 1.15rem; }

/* Stellenanzeige */
.anzeige { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: clamp(1.3rem, 4vw, 2.5rem); box-shadow: var(--schatten-s); margin-bottom: 2rem; }
.anzeige > h2:first-child { margin-top: 0; color: var(--rot); font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.anzeige h3 { color: var(--grau); }
.anzeige__meta { background: var(--tint); border-radius: var(--radius); padding: 1rem 1.2rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--grau); color: #eceaeb; font-size: .96rem; }
.fuss a { color: #fff; }
.fuss .wrap.fuss__gitter { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.fuss h2 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.fuss address { font-style: normal; }
.fuss p { margin: 0 0 .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.fuss li { padding: .15rem 0; break-inside: avoid; }
.fuss li a { text-decoration: none; }
.fuss li a:hover { text-decoration: underline; }
.fuss .zeiten dt, .fuss .zeiten dd { border-bottom-color: rgba(255, 255, 255, .18); padding-inline: 0; }
.fuss .zeiten .ist-heute { background: none; color: #ffc2cc; }
.fuss__unten { border-top: 1px solid rgba(255, 255, 255, .15); }
.fuss__unten .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1rem; font-size: .87rem; }
.fuss__unten nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.fuss__fb { display: inline-flex; align-items: center; gap: .5em; margin-top: .6rem; }
@media (max-width: 860px) { .fuss .wrap.fuss__gitter { grid-template-columns: 1fr; gap: 2rem; } }

.anruf { display: none; }
@media (max-width: 700px) {
  .anruf { display: grid; place-items: center; position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--rot); color: #fff; box-shadow: 0 10px 25px -8px rgba(124, 12, 32, .9); border: 3px solid #fff; }
  .anruf .icon { width: 1.5rem; height: 1.5rem; }
  .fuss__unten { padding-bottom: 4rem; }
}

/* ---------- Einblend-Animation ---------- */
.js .zeig { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .zeig.ist-da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .zeig { opacity: 1; transform: none; }
}
@media print {
  .topbar, .kopf, .fuss, .anruf, .hero::before, .hero::after, .slider { display: none !important; }
  .js .zeig { opacity: 1; transform: none; }
  .seite { grid-template-columns: 1fr; }
  .seitenkopf { background: none; color: #000; }
  .seitenkopf h1 { color: #000; }
}
