/* spectrum MED – Website
   Farben und Schrift nach Farbkonzept DH01 */
/* Roboto lokal (SIL Open Font License, siehe assets/fonts/OFL.txt) – keine Verbindung zu Google */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/Roboto-Light.woff') format('woff'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/Roboto-LightItalic.woff') format('woff'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Roboto-Regular.woff') format('woff'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Roboto-Medium.woff') format('woff'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Roboto-Bold.woff') format('woff'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/Roboto-Black.woff') format('woff'); }
:root {
  --gelb: #EAC324;
  --orange: #E9612A;
  --schiefer: #2E3740;
  --schiefer-hell: #3A4550;
  --nacht: #121A30;
  --luft: #B8E3F7;
  --grau: #D9D9D9;
  --grau-hell: #F4F5F6;
  --linie: #E3E6E8;
  --text: #2E3740;
  --max: 1280px;
  --rand: 32px;
  --radius: 6px;
}
/* Vor dem Livegang: Roboto lokal in /assets/fonts einbinden (siehe README) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 300; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typografie */
.eyebrow { font-style: italic; font-size: 18px; margin: 0; }
.h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.lead { font-size: 18px; line-height: 1.7; margin: 0; }
.section { padding: 112px 0; }
.section--grau { background: var(--grau-hell); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 64px; }
.textlink { font-weight: 500; font-size: 16px; border-bottom: 2px solid var(--gelb); padding-bottom: 3px; align-self: flex-start; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 4px; font-weight: 700; font-size: 15px; letter-spacing: .03em; border: 0; cursor: pointer; white-space: nowrap; }
.btn--gelb { background: var(--gelb); color: var(--nacht); }
.btn--gelb:hover { background: #F1D04A; }
.btn--outline { background: transparent; color: #fff; border: 1px solid #5A6670; font-weight: 400; }
.btn--lg { height: 52px; padding: 0 30px; }

/* Kopf */
.header { position: sticky; top: 0; z-index: 40; background: var(--schiefer); border-bottom: 1px solid var(--schiefer-hell); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.header__logo img { height: 44px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { height: 44px; min-width: 44px; padding: 0 14px; border-radius: 4px; border: 1px solid #5A6670; background: transparent; color: #fff; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--schiefer); border-top: 1px solid var(--schiefer-hell); box-shadow: 0 24px 48px rgba(18,26,48,.35); }
.menu[hidden] { display: none; }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 48px; }
.menu__col { display: flex; flex-direction: column; gap: 12px; }
.menu__col span { font-style: italic; color: var(--luft); }
.menu__col a { color: #fff; font-size: 17px; font-weight: 400; }
.menu__col a:hover { color: var(--gelb); }

/* Hero mit Bewegtbild */
.hero { position: relative; overflow: hidden; background: var(--nacht); color: #fff; min-height: 760px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv { opacity: 0; animation: smdFade 28s linear infinite; will-change: opacity, transform; }
.hv2 { animation-delay: 7s; } .hv3 { animation-delay: 14s; } .hv4 { animation-delay: 21s; }
@keyframes smdFade { 0% { opacity: 0; transform: scale(1.03); } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hv { animation: none; } .hv1 { opacity: 1; } }
.hero__shade { position: absolute; inset: 0; background: rgba(18,26,48,.58); }
.hero__shade2 { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: rgba(18,26,48,.32); }
.hero__content { position: relative; z-index: 1; padding-top: 132px; padding-bottom: 64px; }
.hero__text { max-width: 680px; display: flex; flex-direction: column; gap: 28px; }
.hero__kicker { font-style: italic; font-size: 19px; color: var(--luft); margin: 0; }
.hero h1 { margin: 0; line-height: 1.04; font-size: clamp(40px, 5.6vw, 76px); text-transform: uppercase; }
.hero h1 .l { display: block; font-weight: 300; color: var(--luft); }
.hero h1 .b { display: block; font-weight: 700; color: var(--gelb); }
.hero__sub { margin: 0; font-size: 19px; line-height: 1.65; color: var(--grau); max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.picker { position: relative; z-index: 1; padding-bottom: 72px; }
.picker__box { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.picker__title { font-weight: 700; font-size: 18px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; }
.chip { height: 44px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--grau); background: #fff; color: var(--text); font-size: 15px; font-weight: 400; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--schiefer); border-color: var(--schiefer); color: #fff; }

/* Zahlen */
.stats { border-bottom: 1px solid var(--linie); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.stat strong { display: block; font-weight: 700; font-size: 40px; line-height: 1; margin-bottom: 8px; }
.stat strong em { font-style: normal; color: var(--gelb); }

/* Zwei Spalten */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split__text { display: flex; flex-direction: column; gap: 20px; }
.photo { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius); }

/* Karten */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__tag { font-style: italic; font-size: 15px; }
.card__title { font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0; }
.card__more { margin-top: auto; padding-top: 12px; font-weight: 500; }
a.card:hover { border-color: var(--schiefer); }
.step { padding: 28px 24px; gap: 12px; min-height: 230px; }
.step__num { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--gelb); flex: none; }
.step--dark { background: var(--schiefer); color: #fff; border-color: var(--schiefer); }
.step--dark .step__num { color: var(--gelb); }

/* Schwerpunkte */
.feature { display: flex; flex-wrap: wrap; gap: 20px; }
.feature__main { flex: 2 1 640px; min-width: 0; background: var(--schiefer); color: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; }
.feature__text { flex: 1 1 340px; padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.feature__text h3 { margin: 0; font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--gelb); }
.feature__text p { margin: 0; font-size: 17px; color: var(--grau); }
.feature__video { flex: 1 1 300px; min-height: 320px; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--luft); }
.feature__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__video::after { content: ""; position: absolute; inset: 0; background: rgba(18,26,48,.45); }
.feature__video > * { position: relative; z-index: 1; }
.play { width: 68px; height: 68px; border-radius: 999px; border: 2px solid var(--gelb); color: var(--gelb); display: flex; align-items: center; justify-content: center; }
.feature__side { flex: 1 1 340px; min-width: 0; border: 1px solid var(--linie); background: #fff; border-radius: var(--radius); padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.feature__side h3 { margin: 0; font-weight: 700; font-size: 30px; line-height: 1.2; }
.feature__side p { margin: 0; font-size: 17px; }

/* Ärzte */
.doc img { height: 340px; object-position: center top; }
.doc .ph { height: 340px; background: var(--linie); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 400; }
.doc__focus { font-style: italic; font-size: 15px; line-height: 1.5; margin: 0; }

/* Bewertungen */
.rating { display: flex; align-items: center; gap: 14px; }
.rating strong { font-size: 34px; font-weight: 700; }
.stars { color: var(--gelb); letter-spacing: 2px; }
.review { margin: 0; border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-style: italic; font-size: 17px; }
.review figcaption { font-size: 14px; font-weight: 400; }

/* Karte */
.map { flex: 2 1 560px !important; min-height: 440px; border-radius: var(--radius); background: var(--linie); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map__consent { max-width: 420px; display: flex; flex-direction: column; gap: 14px; align-items: center; font-size: 15px; }

/* Footer */
.footer { background: var(--schiefer); color: var(--grau); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; padding-top: 80px; padding-bottom: 32px; border-bottom: 1px solid var(--schiefer-hell); }
.footer__cta h2 { margin: 0; flex: 1 1 520px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; text-transform: uppercase; }
.footer__cta .l { font-weight: 300; color: var(--luft); }
.footer__cta .b { font-weight: 700; color: var(--gelb); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 48px; font-size: 15px; line-height: 1.7; }
.footer__grid div { display: flex; flex-direction: column; }
.footer__grid b { color: #fff; font-weight: 500; }
.footer__grid a:hover { color: var(--gelb); }
.footer__copy { padding-bottom: 120px; font-size: 13px; color: #B0B0B0; }

/* Unterseiten */
.page-hero { background: var(--schiefer); color: #fff; }
.page-hero .wrap { padding-top: 40px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.crumbs { font-size: 14px; color: var(--luft); font-weight: 400; }
.page-hero h1 { margin: 0; font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; color: var(--gelb); }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checklist li { display: flex; gap: 12px; }
.checklist .dot { width: 8px; height: 8px; margin-top: 10px; }
.notice { background: var(--grau-hell); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; }
.prose { max-width: 760px; }
.prose h2 { font-weight: 700; font-size: 24px; margin: 40px 0 8px; }

/* Buchungs-Widget */
.bw { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 380px; max-width: calc(100vw - 32px); }
.bw__card { background: var(--schiefer); border-radius: 8px; box-shadow: 0 16px 40px rgba(18,26,48,.35); padding: 14px 14px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bw__card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bw__card-text b { font-size: 15px; font-weight: 500; color: #fff; }
.bw__card-text span { font-style: italic; font-size: 14px; color: var(--luft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw__panel { background: #fff; border-radius: 8px; box-shadow: 0 24px 60px rgba(18,26,48,.35); max-height: min(640px, calc(100vh - 48px)); overflow: auto; }
.bw__head { position: sticky; top: 0; background: var(--schiefer); color: #fff; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bw__head b { display: block; font-size: 17px; }
.bw__head span { font-style: italic; font-size: 14px; color: var(--luft); }
.bw__close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bw__body { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.bw__step { display: flex; flex-direction: column; gap: 10px; }
.bw__label { font-size: 14px; font-weight: 500; }
.bw__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bw__chips--2 { display: grid; grid-template-columns: 1fr 1fr; }
.bw .chip { height: auto; min-height: 40px; padding: 6px 12px; font-size: 14px; }
.bw__note { font-style: italic; font-size: 14px; }
.bw__hint { background: var(--grau-hell); border-radius: 4px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.bw__small { font-size: 12px; color: #5A6670; text-align: center; }
.bw [hidden] { display: none !important; }

/* Handy */
@media (max-width: 600px) {
  :root { --rand: 16px; }
  .header__inner { padding-top: 10px; padding-bottom: 10px; }
  .header__logo img { height: 38px; }
  .hide-sm { display: none; }
  .hero { min-height: 0; }
  .hero__content { padding-top: 72px; }
  .section { padding: 72px 0; }
  .photo { height: 320px; }
  .feature__text, .feature__side { padding: 28px; }
  .bw { right: 0; left: 0; bottom: 0; width: auto; max-width: none; }
  .bw__card, .bw__panel { border-radius: 12px 12px 0 0; }
  .bw__panel { max-height: 82vh; }
}
