/* ============================================================
   Praxis Thomas Meffert – Stylesheet
   Farben stammen von der bisherigen Webseite.
   ============================================================ */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-latin-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #03a9f4;
  --blue-dark: #15779b;
  --blue-ink: #0b5e80;
  --green: #00bf87;
  --green-dark: #00986b;
  --orange: #f79007;
  --red: #c0392b;
  --ink: #17252a;
  --text: #2b3a40;
  --muted: #5f6f75;
  --line: #dfe7ea;
  --bg: #ffffff;
  --bg-alt: #f3f8fa;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(23, 37, 42, .08);
  --shadow-lg: 0 14px 40px rgba(23, 37, 42, .14);
  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4, .h2, .h3, .h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
code { background: var(--bg-alt); padding: .1em .4em; border-radius: 4px; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 900px; }
.wrap--form { max-width: 620px; }

/* ---------- Kopfzeile / Navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; min-height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.08rem; white-space: nowrap; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.nav ul { flex-wrap: nowrap; }
.nav a { display: block; padding: 8px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.nav a:hover { background: var(--bg-alt); color: var(--blue-dark); }
.nav a.is-active { color: var(--blue-dark); }
.nav .nav__login { background: var(--blue); color: #fff; margin-left: 6px; padding: 8px 16px; }
.nav .nav__login:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; border-radius: 8px; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.brand { flex: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
         max-height: calc(100vh - var(--header-h)); overflow: auto; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav__login { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--green); border-color: var(--green); }
.btn--accent:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--blue-dark); }
.btn--outline:hover { color: #fff; }
.btn--danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn--danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--small { padding: 7px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Hero ---------- */
/* Bildschirmfüllend mit Diashow (2 Bilder, je 7 Sekunden, sanft überblendet und leicht zoomend) */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
        display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
               animation: heroFade 14s infinite, heroZoom 14s infinite; }
.hero__slide--1 { object-position: 30% 20%; animation-delay: -1s, -1s; }
.hero__slide--2 { object-position: 50% 50%; filter: blur(2px); animation-delay: 6s, 6s; }
.hero__slides::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(11,94,128,.35) 0%, rgba(23,37,42,.55) 60%, rgba(23,37,42,.8) 100%); }
@keyframes heroFade { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroZoom { 0% { transform: scale(1); } 58% { transform: scale(1.08); } 100% { transform: scale(1.08); } }
.hero__content { position: relative; padding-top: 60px; padding-bottom: 110px; display: flex; flex-direction: column; align-items: center; }
.hero__title { color: #fff; margin-bottom: .3em; font-size: clamp(2.3rem, 6vw, 4.2rem); text-shadow: 0 2px 24px rgba(0,0,0,.35);
               animation: heroIn 1s .2s both; }
.hero__lead { font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 400; margin-bottom: 1.6em; text-shadow: 0 1px 12px rgba(0,0,0,.4);
              animation: heroIn 1s .5s both; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: heroIn 1s .8s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__down { position: absolute; left: 50%; bottom: 22px; width: 48px; height: 48px; margin-left: -24px; color: #fff;
              display: grid; place-items: center; border-radius: 50%; animation: heroBounce 2.2s infinite; }
.hero__down .icon { width: 34px; height: 34px; }
.hero__down:hover { color: var(--orange); }
@keyframes heroBounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5em; }
.claim { text-align: center; margin-bottom: 48px; }
.claim__text { margin: 0; } /* gleiche Größe wie die übrigen Abschnitts-Überschriften (h2) */
.claim__text::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--orange); margin: 18px auto 0; }
@media (max-width: 760px) {
  .hero__slide--1 { object-position: 25% 15%; }
  .hero__content { padding-bottom: 90px; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #eaf7fd; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .section__head p { color: #d4f0fc; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section__head h2 { position: relative; padding-bottom: .5em; }
.section__head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); }
.section__head p { font-size: 1.1rem; color: var(--muted); font-style: italic; margin: 0; }
.page { min-height: 60vh; }
.intro, .outro { max-width: 860px; margin: 0 auto 32px; text-align: center; }
.outro { margin: 32px auto 0; text-align: left; }
.anchor-alias { display: block; height: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card--feature { display: flex; flex-direction: column; border-top: 4px solid var(--blue); }
.card--feature p { flex: 1; }
.card--feature .btn { align-self: flex-start; }
.card--image { flex-direction: row; gap: 22px; border-top-color: var(--orange); }
.card--image img { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; flex: none; }
.card--image > div { display: flex; flex-direction: column; }
@media (max-width: 520px) { .card--image { flex-direction: column; } .card--image img { width: 100%; height: 180px; } }
.card--condition { padding: 24px; transition: transform .2s, box-shadow .2s; border-left: 4px solid var(--green); }
.card--condition:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--condition h3 { font-size: 1.1rem; color: var(--blue-dark); }
.card--condition p { font-size: .96rem; }
.card--small h3 { color: var(--blue-dark); }
.card--small p { font-size: .96rem; }
.card--step { position: relative; padding-top: 44px; }
.step { position: absolute; top: -20px; left: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card--link p { flex: 1; }
.card--link .btn { align-self: flex-start; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card--video { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--video h3 { padding: 18px 22px 0; font-size: 1.08rem; }
.card--video p { padding: 0 22px 22px; font-size: .95rem; color: var(--muted); margin: 0; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .75em; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* Säulen */
.pillar { text-align: center; padding: 8px 12px; }
.pillar__icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: rgba(3,169,244,.12); }
.pillar__icon svg { width: 32px; height: 32px; fill: var(--blue); }
.pillar__icon--green { background: rgba(0,191,135,.12); }
.pillar__icon--green svg { fill: var(--green); }
.pillar__icon--orange { background: rgba(247,144,7,.14); }
.pillar__icon--orange svg { fill: var(--orange); }
.pillar p { color: var(--muted); }

/* Zitate */

/* Bestandspatient */
.feature { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; font-size: .96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.split--contact { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 900px) { .split, .split--contact { grid-template-columns: 1fr; } }

/* Akkordeon */
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.accordion summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); list-style: none; position: relative; font-size: 1.08rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); color: var(--blue-dark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; }
.accordion details[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
.accordion summary:hover { color: var(--blue-dark); }
.accordion__body { padding: 0 22px 22px; }

/* Videos */
.video { margin: 0; position: relative; background: #0d1a1f; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.card--video .video { border-radius: 0; }
.accordion .video, .split .video { box-shadow: var(--shadow); }
.video video { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

/* Kontakt */
.contact-card address { font-style: normal; font-size: 1.05rem; margin-bottom: 1em; }
.contact-line { margin: 0 0 .4em; }
.contact-line span { display: inline-block; min-width: 64px; color: var(--muted); }
.contact-card h4 { margin-top: 1.2em; }
.contact-img { margin-top: 24px; }

/* ---------- Formulare ---------- */
.form h1, .form h2, .form h3 { margin-bottom: .4em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c9d6db; border-radius: 8px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,169,244,.18); }
::placeholder { color: #9aa9ae; }
.req { color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 20px; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.form__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; font-size: .93rem; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--red); }
.field__error { color: var(--red); font-size: .88rem; margin: 6px 0 0; }

.form--long fieldset { border: 0; padding: 0; margin: 32px 0 0; }
.form--long legend { font-size: 1.2rem; font-weight: 700; color: var(--blue-dark); padding: 0 0 8px; border-bottom: 2px solid var(--line); width: 100%; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fields .field { grid-column: 1 / -1; }
.fields .field--half { grid-column: auto; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } .fields .field--half { grid-column: 1 / -1; } }
.accept__text { background: var(--bg-alt); border-radius: 8px; padding: 16px 18px 4px; font-size: .94rem; }
.accept__text ul { margin-top: 0; }
.accept .check { margin-bottom: 4px; }
.form--long .btn--block { margin-top: 28px; }
.form--long { background: #eef7fb; }

/* Meldungen */
.notice { padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; font-size: .96rem; border-left: 4px solid; }
.notice--success { background: #e6f9f2; border-color: var(--green); color: #0b5c43; }
.notice--error { background: #fdecea; border-color: var(--red); color: #7b2117; }
.notice--info { background: #e6f6fe; border-color: var(--blue); color: var(--blue-ink); }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 8px; }
.details dt { font-weight: 600; color: var(--muted); }
.details dd { margin: 0; }
.legal h2 { margin-top: 1.6em; color: var(--blue-dark); }

/* Verwaltung */
.admin__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin h2.h4 { margin-top: 36px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-alt); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.actions { white-space: nowrap; }
.actions > * { margin: 0 4px 4px 0; vertical-align: top; }
form.inline { display: inline-block; }
.pw-reset { display: inline-block; }
.pw-reset summary { list-style: none; }
.pw-reset summary::-webkit-details-marker { display: none; }
.pw-reset form { display: flex; gap: 6px; margin-top: 6px; }
.pw-reset input { width: 160px; padding: 6px 10px; font-size: .9rem; }
.admin__forms { margin-top: 40px; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--ink); color: #b7c6cb; font-size: .92rem; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 28px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .topbar, .footer, .hero__cta, .btn { display: none !important; }
}

/* ============================================================
   Symbole, Karussells, Animationen (wie auf der alten Seite)
   ============================================================ */

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* Symbol über jeder Abschnitts-Überschrift */
.section__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(3,169,244,.12); color: var(--blue); margin-bottom: 14px; }
.section__icon .icon { width: 32px; height: 32px; }
.section--blue .section__icon { background: rgba(255,255,255,.16); color: #fff; }

/* Symbole in Karten */
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(3,169,244,.12); color: var(--blue); margin-bottom: 14px; }
.card__icon .icon { width: 28px; height: 28px; }
.card__icon--green { background: rgba(0,191,135,.13); color: var(--green); }
.card__icon--orange { background: rgba(247,144,7,.14); color: var(--orange); }
.pillar__icon { color: var(--blue); }
.pillar__icon .icon { width: 32px; height: 32px; }
.pillar__icon--green { color: var(--green); }
.pillar__icon--orange { color: var(--orange); }
.pillar__icon svg { fill: none; }

/* Kleines Symbol vor Titeln */
.title-icon { display: inline-grid; place-items: center; color: var(--blue); margin-right: .5em; vertical-align: -.15em; }
.title-icon .icon { width: 1.25em; height: 1.25em; }
.card--condition h3 { display: flex; align-items: flex-start; }
.card--condition .title-icon { color: var(--green); margin-top: .05em; }
.card--video h3 { display: flex; align-items: flex-start; }
.accordion summary { display: flex; align-items: center; }

/* Bestandspatient: Symbole */
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(3,169,244,.12); color: var(--blue); margin-bottom: 12px; }
.feature__icon .icon { width: 24px; height: 24px; }

/* Kontakt-Zeilen mit Symbol */
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; font-size: 1.05rem; }
.contact-row__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(3,169,244,.12); color: var(--blue); }
.contact-row__icon .icon { width: 20px; height: 20px; }
.contact-row > span:last-child, .contact-row > a { padding-top: 7px; }
.contact-sub { display: flex; align-items: center; margin-top: 1.4em; }

/* Terminvergabe als Aufklapp-Schritte */
.accordion--steps summary { gap: 14px; }
.accordion--steps .step { position: static; width: 38px; height: 38px; font-size: 1.05rem; flex: none; box-shadow: none; }
.accordion--steps .accordion__body { padding-left: 74px; }
@media (max-width: 560px) { .accordion--steps .accordion__body { padding-left: 22px; } }

/* Aufklappen sanft einblenden */
.accordion details[open] .accordion__body { animation: openIn .35s ease; }
@keyframes openIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Karussell ---------- */
.carousel { --per: 3; --gap: 24px; position: relative; padding: 0 0 8px; }
.carousel__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 26px; margin: -10px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -3px; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }
.carousel--single { --per: 1; }
.carousel__btn { position: absolute; top: calc(50% - 30px); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-lg); display: grid; place-items: center; z-index: 2;
  transition: background .15s, color .15s, opacity .2s, transform .15s; }
.carousel__btn .icon { width: 24px; height: 24px; }
.carousel__btn:hover { background: var(--blue); color: #fff; }
.carousel__btn:active { transform: scale(.94); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #c5d6dc; transition: background .2s, width .2s; }
.carousel__dot[aria-selected="true"] { background: var(--blue); width: 28px; border-radius: 5px; }
@media (max-width: 1000px) { .carousel { --per: 2; } .carousel--single { --per: 1; } }
@media (max-width: 680px) {
  .carousel { --per: 1; --gap: 16px; }
  .carousel__slide { flex-basis: 86%; }
  .carousel--single .carousel__slide { flex-basis: 100%; }
  .carousel__btn { display: none; }
}
@media (max-width: 1260px) { .carousel__btn--prev { left: -6px; } .carousel__btn--next { right: -6px; } }


/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .reveal--zoom { transform: scale(.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Leichte Bewegung beim Überfahren */
.card--feature, .card--small, .pillar, .feature { transition: transform .25s, box-shadow .25s; }
.card--feature:hover, .card--small:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar__icon, .section__icon, .card__icon { transition: transform .35s; }
.pillar:hover .pillar__icon, .card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.feature:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide--1 { opacity: 1; }
  .hero__title, .hero__lead, .hero__cta, .hero__down { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Eigene Videos: Vorschaubild mit großem Play-Knopf ---------- */
.video--local video { object-fit: cover; }
.video--local.is-playing video { object-fit: contain; }
.video__play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(23,37,42,0) 40%, rgba(23,37,42,.35) 100%); }
.video__play-btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(3,169,244,.92); color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.video__play-btn svg { width: 34px; height: 34px; margin-left: 4px; }
.video__play:hover .video__play-btn, .video__play:focus-visible .video__play-btn { transform: scale(1.1); background: var(--green); }
.video--local.is-playing .video__play { display: none; }
.card--video .video__play-btn { width: 60px; height: 60px; }
.card--video .video__play-btn svg { width: 26px; height: 26px; }

/* ---------- Krankheitsbilder: erst 6, dann alle ---------- */
.js .conditions:not(.is-expanded) .is-extra { display: none; }
.conditions.is-expanded .is-extra { animation: openIn .5s ease both; }
.more { text-align: center; margin-top: 32px; }
.more__btn .icon { width: 20px; height: 20px; transition: transform .25s; }
.more__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.more__count { font-weight: 400; opacity: .8; }
.no-js .more, html:not(.js) .more { display: none; }

/* Einzelnes Video mittig (Abschnitt Thomas Meffert) */
.video-single { max-width: 880px; margin: 0 auto; }
.features { margin-top: 40px; }

/* Automatische Silbentrennung in schmalen Textspalten (nur Fließtext, nicht Überschriften).
   Nur Wörter ab 10 Buchstaben, mind. 4 Buchstaben vor und nach dem Trennstrich. */
.card p, .card li, .feature p, .pillar p, .quote blockquote, .accordion__body p, .accordion__body li, .checks li, .accept__text {
  -webkit-hyphens: auto; hyphens: auto;
  -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4;
  hyphenate-limit-chars: 10 4 4;
}

/* Längere Einleitungstexte linksbündig (bessere Lesbarkeit) */
.intro { text-align: left; }

/* Hinweis mit Video vor dem Kontaktformular */
.before-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; margin-bottom: 40px;
  background: #fff8ec; border: 1px solid #f6dcb1; border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 28px; }
.before-contact h3 { margin-bottom: .5em; }
.before-contact p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .before-contact { grid-template-columns: 1fr; gap: 20px; padding: 22px; } }

/* Startbereich: Slogan als Hauptaussage */
.hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: clamp(.72rem, 1.4vw, .88rem); font-weight: 700;
  color: #bfe9fb; margin-bottom: 1em; text-shadow: 0 1px 8px rgba(0,0,0,.4); animation: heroIn 1s .05s both; }
.hero__title { font-size: clamp(2rem, 5.2vw, 3.8rem); max-width: 16em; }
.hero__lead { max-width: 34em; }

/* Anreise & Aufenthalt */
.facts { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.facts li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.facts li:last-child { border-bottom: 0; }
.travel-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px 28px;
  background: #fff8ec; border: 1px solid #f6dcb1; border-left: 5px solid var(--orange); border-radius: var(--radius); }
.travel-note .card__icon { margin: 0; flex: none; }
.travel-note h3 { margin-bottom: .35em; }
.travel-note p { margin: 0; }
@media (max-width: 560px) { .travel-note { flex-direction: column; padding: 20px; } }

/* Sprach-Umschalter DE / EN */
.lang-switch { display: flex; gap: 2px; order: 3; margin-left: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; flex: none; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--muted); letter-spacing: .04em; }
.lang-switch a:hover { color: var(--blue-dark); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.nav { order: 2; }
.nav-toggle { order: 4; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
         max-height: calc(100vh - var(--header-h)); overflow: auto; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav__login { margin: 8px 0 0; text-align: center; }
}
.center { text-align: center; }
.video-lang { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -24px 0 28px; color: var(--muted); font-size: .92rem; }
.video-lang .icon { color: var(--orange); width: 20px; height: 20px; }

/* ---------- Hauptmenü mit 3 Gruppen ---------- */
.nav__group { position: relative; }
.nav__group-btn { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; background: none; border-radius: 8px;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
.nav__group-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__group-btn:hover, .nav__group.is-open > .nav__group-btn { background: var(--bg-alt); color: var(--blue-dark); }
.nav__group.is-open > .nav__group-btn .icon { transform: rotate(180deg); }
.nav .nav__sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; display: block; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* Brücke für die Maus */
.nav__group:hover > .nav__sub, .nav__group:focus-within > .nav__sub, .nav__group.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .94rem; font-weight: 600; }
.nav .nav__sub .icon { width: 18px; height: 18px; color: var(--blue); flex: none; }
.nav .nav__contact { background: var(--green); color: #fff; margin-left: 10px; padding: 8px 18px; border-radius: 999px; }
.nav .nav__contact:hover { background: var(--green-dark); color: #fff; }
.nav .nav__login { border-radius: 999px; }

@media (max-width: 1100px) {
  .nav__group-btn { width: 100%; padding: 14px 14px 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted); cursor: default; pointer-events: none; }
  .nav__group-btn .icon { display: none; }
  .nav .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; }
  .nav .nav__sub::before { content: none; }
  .nav .nav__sub a { padding: 11px 14px; font-size: 1rem; }
  .nav .nav__contact { margin: 12px 0 0; text-align: center; justify-content: center; }
  .nav .nav__login { margin: 8px 0 0; }
}

/* ---------- Kopfzeile am Handy kompakt (alles muss auf ca. 320–412 px passen) ---------- */
@media (max-width: 560px) {
  .topbar__inner { padding: 0 10px; gap: 8px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; font-size: .92rem; line-height: 1.15; white-space: normal; }
  .brand img { width: 36px; height: 36px; flex: none; }
  .brand span { overflow-wrap: anywhere; }
  .lang-switch { margin-left: 0; }
  .lang-switch a { padding: 4px 7px; font-size: .74rem; }
  .nav-toggle { flex: none; }
}
@media (max-width: 340px) {
  .brand span { display: none; } /* sehr schmale Geräte: nur Logo */
}
/* Sicherheitsnetz: nie seitlich scrollen */
html, body { overflow-x: clip; }

/* ---------- Google-Bewertungen (Hinweis mit Link) ---------- */
.rating { max-width: 600px; margin: 40px auto 0; padding: 26px 28px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.rating__stars { position: relative; display: inline-block; line-height: 0; }
.rating__stars svg { width: 30px; height: 30px; margin: 0 2px; }
.rating__base svg { fill: var(--line); }
.rating__fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.rating__fill svg { fill: #fbbc04; }
.rating__text { margin: 10px 0 16px; color: var(--muted); }
.rating__text strong { color: var(--ink); font-size: 1.15rem; }

/* ---------- Handy: Karten zum Aufklappen, größere Tippflächen, fester Kontakt-Knopf ---------- */
.mcard__body { display: flex; flex-direction: column; flex: 1; }
.mcard__body > :last-child { margin-bottom: 0; }
.mcard__toggle { all: unset; }
.mobile-cta { display: none; }

@media (max-width: 760px) {
  [data-mobile-collapse] { gap: 10px; }
  .card.mcard { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 12px 16px; }
  .mcard > .card__icon { width: 40px; height: 40px; margin: 0; }
  .mcard > h2, .mcard > h3 { margin: 0; font-size: 1.05rem; }
  .mcard__toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; cursor: pointer; }
  .mcard__toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
  .mcard__toggle::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-alt); color: var(--blue-dark); font-weight: 700; }
  .mcard.is-open .mcard__toggle::after { content: "–"; background: var(--blue); color: #fff; }
  .mcard__body { display: none; grid-column: 1 / -1; padding: 10px 0 6px; }
  .mcard.is-open .mcard__body { display: flex; }

  .btn--small { display: inline-flex; align-items: center; min-height: 44px; }
  .lang-switch a { position: relative; }
  .lang-switch a::after { content: ""; position: absolute; inset: -8px -2px; }
  .carousel__dots { gap: 0; }
  .carousel__dot { position: relative; width: 24px; height: 44px; border-radius: 0; background: transparent; }
  .carousel__dot::before { content: ""; position: absolute; left: 7px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: #c5d6dc; }
  .carousel__dot[aria-selected="true"] { width: 36px; border-radius: 0; background: transparent; }
  .carousel__dot[aria-selected="true"]::before { left: 4px; width: 28px; border-radius: 5px; background: var(--blue); }

  .mobile-cta { position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px;
    background: var(--green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .25s, transform .25s, visibility .25s; }
  .mobile-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
  .mobile-cta:hover { background: var(--green-dark); color: #fff; }
}

/* ---------- Großes Bild: Text unten, damit das Gesicht frei bleibt ---------- */
.hero { align-items: flex-end; }
.hero__slides::after { background: linear-gradient(to bottom, rgba(23,37,42,.05) 0%, rgba(23,37,42,.12) 34%, rgba(23,37,42,.72) 66%, rgba(23,37,42,.92) 100%); }
.hero__content { padding-top: 24px; padding-bottom: 76px; }
.hero__title { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.hero__lead { font-size: clamp(1.02rem, 1.7vw, 1.35rem); margin-bottom: 1.2em; }

@media (max-width: 760px) {
  .hero__content { padding-left: 16px; padding-right: 16px; padding-bottom: 64px; }
  .hero__eyebrow { font-size: .68rem; margin-bottom: .6em; }
  .hero__title { font-size: 1.7rem; }
  .hero__lead { font-size: 1rem; line-height: 1.45; }
  .hero__cta { flex-wrap: nowrap; gap: 8px; width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; padding-left: 12px; padding-right: 12px; font-size: .92rem; white-space: nowrap; }
  .hero__down { bottom: 8px; }
}

/* Niedrige Laptop-Bildschirme: Text kompakter, Bildausschnitt etwas höher */
@media (min-width: 761px) and (max-height: 780px) {
  .hero__slide--1 { object-position: 30% 8%; }
  .hero__eyebrow { margin-bottom: .5em; }
  .hero__title { max-width: none; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: .2em; }
  .hero__lead { max-width: none; font-size: 1.05rem; margin-bottom: .9em; }
  .hero__content { padding-bottom: 76px; }
}
/* Kleine Handys */
@media (max-width: 760px) and (max-height: 620px) {
  .hero__eyebrow { font-size: .6rem; letter-spacing: .08em; }
  .hero__title { font-size: 1.42rem; }
  .hero__lead { font-size: .9rem; margin-bottom: .8em; }
  .hero__content { padding-left: 12px; padding-right: 12px; padding-bottom: 64px; }
  .hero__cta .btn { min-height: 44px; padding-left: 8px; padding-right: 8px; font-size: .82rem; }
}

/* Handy: alle Krankheitsbilder als kompakte Liste zum Aufklappen */
@media (max-width: 760px) {
  .conditions[data-mobile-collapse] { gap: 6px; }
  .js .conditions:not(.is-expanded) .is-extra { display: grid; }
  .conditions.is-expanded .is-extra { animation: none; }
  #krankheitsbilder .more { display: none; }
  .card.card--condition.mcard { grid-template-columns: minmax(0, 1fr); padding: 6px 14px; }
  .card--condition.mcard > h3 { display: block; font-size: 1rem; }
  .card--condition .mcard__toggle { justify-content: flex-start; gap: 0; }
  .card--condition .mcard__toggle .title-icon { flex: none; margin-top: 0; }
  .card--condition .mcard__toggle::after { margin-left: auto; }
  .card--condition .mcard__body { padding: 4px 0 10px; }
}

/* Handy: Säulen und Bestandspatient-Vorteile als Karten zum Aufklappen */
@media (max-width: 760px) {
  .pillar.mcard, .feature.mcard { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px;
    padding: 10px 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .feature.mcard { border-top: 3px solid var(--blue); }
  .pillar.mcard > .pillar__icon, .feature.mcard > .feature__icon { width: 40px; height: 40px; margin: 0; }
  .pillar.mcard > .pillar__icon .icon, .feature.mcard > .feature__icon .icon { width: 21px; height: 21px; }
}
