/* glasfaserbau.ch – Onepager
   Design-Werte aus dem heutigen Auftritt (Stand 13.10.2026) */

/* Inter, selbst ausgeliefert (SIL Open Font License, fonts/OFL-Inter.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
}

:root {
  --blau: #0066FF;
  --blau-dunkel: #0052CC;
  --blau-hell: #EFF6FF;
  --gruen: #22C55E;
  --text: #1F2937;
  --titel: #111827;
  --text-neben: #4B5563;
  --flaeche: #FFFFFF;
  --flaeche-grau: #F9FAFB;
  --rand: #E5E7EB;
  --radius-knopf: 8px;
  --radius-karte: 12px;
  --schrift: "Inter", system-ui, -apple-system, sans-serif;

  --nav-h: 64px;
  --schatten-knopf: 0 4px 14px rgba(0, 102, 255, .25);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--titel); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 48px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 34px; font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blau); }
img { max-width: 100%; display: block; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--text-neben); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Knopf ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blau); color: #fff;
  font: 600 16px/1.2 var(--schrift);
  padding: 16px 32px;
  border: 0; border-radius: var(--radius-knopf);
  box-shadow: var(--schatten-knopf);
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--blau-dunkel); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid rgba(0, 102, 255, .4); outline-offset: 2px;
}
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--light { background: #fff; color: var(--blau); box-shadow: none; }
.btn--light:hover { background: var(--blau-hell); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__tel { display: inline-flex; align-items: center; gap: 6px; color: var(--titel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav__tel .icon { color: var(--blau); }
.nav__login { color: var(--text-leise, var(--titel)); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav__login:hover { color: var(--blau); text-decoration: underline; }

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo__icon, .logo__img { width: 50px; height: 24px; color: #225283; flex: none; }
.logo__text { font-weight: 700; font-size: 22px; color: var(--titel); letter-spacing: -.01em; }
.logo__tld { color: var(--blau); }

/* ---------- 1 Hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 72px 0 64px; }
.hero__inner--split > * { min-width: 0; }
.hero__inner--split { max-width: 1240px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; text-align: left; }
.hero__inner--split .hero__lead { margin-left: 0; }
.hero__inner--split .checks, .hero__inner--split .cta { justify-content: flex-start; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  /* Foto: Steigzone mit Glasfaser-Reserveschlaufen (eigene Baustelle), weiss überblendet für Lesbarkeit */
  --hero-bild: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.60) 0%, rgba(255,255,255,.84) 55%, #fff 100%),
    var(--hero-bild, linear-gradient(135deg, #cfe0f7 0%, #e8eef7 45%, #b9cde8 100%));
  background-size: cover; background-position: center 40%;
}
@media (max-width: 640px) { .hero__bg { --hero-bild: none; } }
.hero__inner { max-width: 860px; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 18px; color: var(--text); max-width: 720px; margin: 0 auto 24px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-neben);
  background: #fff; border: 1px solid var(--rand); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 20px;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--titel); }
.checks .icon { color: var(--gruen); stroke-width: 3; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.cta__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--titel); text-decoration: none; }
.cta__tel .icon { color: var(--blau); }

/* ---------- 2 Vertrauensleiste ---------- */
.section--grau { background: var(--flaeche-grau); }
.trust { border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); padding: 18px 0; }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.trust__item .icon { color: var(--blau); }
.trust__item--zahl strong { font-size: 18px; color: var(--titel); font-weight: 800; }

/* ---------- Abschnitte ---------- */
.section { padding: 88px 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blau); margin-bottom: 10px; }
.section .btn { margin-top: 32px; }

.prose p { font-size: 19px; color: var(--text); padding-left: 18px; border-left: 3px solid var(--rand); }

/* 4 Rundum-Paket */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.promises { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.promises__nr {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blau-hell); color: var(--blau); font-weight: 700;
  display: grid; place-items: center; font-size: 15px;
}
.media { margin: 0; }
.media__ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius-karte);
  border: 2px dashed var(--rand); background: var(--flaeche-grau);
  display: grid; place-content: center; text-align: center;
  color: var(--text-neben); font-weight: 600;
}
.media__ph small { font-weight: 400; }
.media img { border-radius: var(--radius-karte); border: 2px solid var(--rand); }
.media figcaption { font-size: 14px; color: var(--text-neben); margin-top: 10px; }
.media--small .media__ph { aspect-ratio: 16 / 7; }
.split--tech { grid-template-columns: 1.3fr 1fr; align-items: start; }
.media--foto img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.media--quer img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
.media--shot img { aspect-ratio: auto; object-fit: contain; border: 1px solid var(--rand); box-shadow: 0 16px 40px rgba(17,24,39,.12); background: #fff; }

/* 5 Für wen – Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.card {
  background: #fff; border: 2px solid var(--rand); border-radius: var(--radius-karte);
  padding: 32px; display: flex; flex-direction: column;
}
.card p { color: var(--text); }
.card__note { font-size: 14px; font-weight: 600; color: var(--titel); background: var(--blau-hell); border-radius: 6px; padding: 8px 12px; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.chip {
  width: 48px; height: 48px; border-radius: 10px; background: var(--blau-hell); color: var(--blau);
  display: grid; place-items: center; margin-bottom: 18px;
}
.chip .icon { width: 24px; height: 24px; }

/* 6 So läuft es */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step::before {
  content: ""; position: absolute; top: 28px; left: 56px; right: -24px;
  height: 2px; background: var(--rand);
}
.step:last-child::before { display: none; }
.step__nr {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blau); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.step__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blau); background: var(--blau-hell); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.step p { color: var(--text-neben); font-size: 15px; }

/* 7 Referenzen */
.quote { margin: 32px 0 40px; padding: 32px; background: #fff; border-left: 4px solid var(--blau); border-radius: 0 var(--radius-karte) var(--radius-karte) 0; }
.quote p { font-size: 22px; font-weight: 500; color: var(--titel); line-height: 1.45; }
.quote footer { color: var(--text-neben); }
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin-top: 32px; }
.ref { background: #fff; border: 2px solid var(--rand); border-radius: var(--radius-karte); padding: 16px 16px 20px; }
.ref__img {
  aspect-ratio: 4 / 3; border-radius: 8px; background: var(--flaeche-grau); border: 2px dashed var(--rand);
  display: grid; place-items: center; color: var(--text-neben); font-size: 14px; font-weight: 600; margin-bottom: 14px;
}
.ref__foto { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 8px; margin-bottom: 14px; }
.ref__vn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ref__vn .ref__img { aspect-ratio: 3 / 4; }
.ref dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.ref dt { color: var(--text-neben); }
.ref dd { margin: 0; font-weight: 600; }

/* 8 Technik */
.tech { border: 2px solid var(--rand); border-radius: var(--radius-karte); margin-top: 24px; background: #fff; }
.tech summary {
  list-style: none; cursor: pointer; padding: 18px 24px; font-weight: 600; color: var(--titel);
  display: flex; justify-content: space-between; align-items: center;
}
.tech summary::-webkit-details-marker { display: none; }
.tech summary .icon { color: var(--blau); transition: transform .2s; }
.tech[open] summary .icon { transform: rotate(180deg); }
.tech__body { padding: 0 24px 24px; }
.tech__list { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 0 0 20px; }
.tech__list dt { font-weight: 600; color: var(--titel); }
.tech__list dd { margin: 0; }
.tech .muted { margin-top: 12px; font-size: 14px; }

/* 9 Einwände */
.faq { margin: 24px 0 0; display: grid; gap: 12px; }
.faq > div { background: #fff; border: 2px solid var(--rand); border-radius: var(--radius-karte); padding: 20px 24px; }
.faq dt { font-weight: 700; color: var(--titel); margin-bottom: 4px; }
.faq dd { margin: 0; }

/* ---------- 10 Buchung ---------- */
.booking { background: var(--blau); color: #fff; padding: 88px 0; }
.booking h2, .booking h3 { color: #fff; }
.booking__grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.booking__side > p { color: rgba(255, 255, 255, .9); }
.pl { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.pl__photo { width: 80px; height: 80px; flex: none; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .18); display: grid; place-items: center; overflow: hidden; }
.pl__photo img { width: 100%; height: 100%; object-fit: cover; }
.pl__photo .icon { width: 28px; height: 28px; }
.pl strong { display: block; font-size: 17px; }
.pl span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.booking__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; }
.booking__tel:hover { text-decoration: underline; }

.callback { margin-top: 32px; padding: 24px; border-radius: var(--radius-karte); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.callback h3 { margin-bottom: 4px; }
.callback > p { font-size: 14px; color: rgba(255, 255, 255, .85); }
.callback label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.callback input {
  display: block; width: 100%; margin-top: 4px;
  font: 400 16px var(--schrift); padding: 12px 14px;
  border: 0; border-radius: var(--radius-knopf); color: var(--titel);
}
.callback .btn { width: 100%; justify-content: center; margin-top: 4px; }
.callback__msg { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Buchung (eigener Ablauf, Daten ans Cockpit) */
.bk { background: #fff; color: var(--text); border-radius: var(--radius-karte); padding: 32px; min-height: 480px; }
.bk__test { background: #FEF3C7; color: #78350F; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 8px 12px; margin-bottom: 20px; }
.bk__label { font-weight: 700; color: var(--titel); font-size: 17px; margin-bottom: 16px; }
.bk__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 20px; }
.bk__day, .bk__slot {
  font: 600 15px/1.2 var(--schrift); color: var(--titel); background: #fff;
  border: 2px solid var(--rand); border-radius: var(--radius-knopf); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bk__day { padding: 10px 4px; text-align: center; }
.bk__day small { display: block; font-weight: 500; font-size: 12px; color: var(--text-neben); margin-bottom: 2px; }
.bk__day:hover, .bk__slot:hover { border-color: var(--blau); }
.bk__day[aria-selected="true"] { border-color: var(--blau); background: var(--blau-hell); color: var(--blau); }
.bk__day:disabled { opacity: .4; cursor: not-allowed; }
.bk__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; min-height: 100px; align-content: start; }
.bk__group { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--text-neben); margin-top: 6px; }
.bk__slot { padding: 12px 8px; }
.bk__slot:hover { background: var(--blau); color: #fff; }
.bk__empty { grid-column: 1 / -1; color: var(--text-neben); }
.bk__hint { font-size: 14px; margin: 20px 0 0; }

.bk__back { background: none; border: 0; padding: 0; margin-bottom: 16px; font: 600 14px var(--schrift); color: var(--blau); cursor: pointer; }
.bk__back:hover { text-decoration: underline; }
.bk fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.bk legend { font-size: 14px; font-weight: 600; color: var(--titel); margin-bottom: 8px; padding: 0; }
.bk__roles, .bk__art { display: flex; flex-wrap: wrap; gap: 8px; }
.bk__roles label, .bk__art label { position: relative; }
.bk__roles input, .bk__art input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk__roles span, .bk__art span {
  display: inline-block; padding: 10px 14px; border: 2px solid var(--rand); border-radius: var(--radius-knopf);
  font-size: 14px; font-weight: 600; color: var(--titel); cursor: pointer;
}
.bk__roles input:checked + span, .bk__art input:checked + span { border-color: var(--blau); background: var(--blau-hell); color: var(--blau); }
.bk__roles input:focus-visible + span, .bk__art input:focus-visible + span { outline: 3px solid rgba(0, 102, 255, .4); outline-offset: 2px; }
.bk__roles .bk__andere {
  position: static; opacity: 1; inset: auto; cursor: text; margin-top: 4px;
  flex-basis: 100%; font: 400 16px var(--schrift); color: var(--titel);
  padding: 11px 13px; border: 2px solid var(--rand); border-radius: var(--radius-knopf);
}
.bk__andere:focus { border-color: var(--blau); outline: 0; }
.bk__andere[aria-invalid="true"] { border-color: #DC2626; }
.bk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.bk__grid label { font-size: 14px; font-weight: 600; color: var(--titel); }
.bk__full { grid-column: 1 / -1; }
.bk__grid input {
  display: block; width: 100%; margin-top: 4px; font: 400 16px var(--schrift); color: var(--titel);
  padding: 11px 13px; border: 2px solid var(--rand); border-radius: var(--radius-knopf);
}
.bk__grid input:focus { border-color: var(--blau); outline: 0; }
.bk__grid input[aria-invalid="true"] { border-color: #DC2626; }
.bk__submit { width: 100%; justify-content: center; }
.bk__submit[disabled] { opacity: .6; cursor: wait; }
.bk__msg { color: #DC2626; font-size: 14px; font-weight: 600; margin: 12px 0 0; min-height: 1em; }

.bk__done { text-align: center; padding: 40px 8px; outline: 0; }
.bk__ok { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: var(--gruen); display: grid; place-items: center; margin: 0 auto 16px; }
.bk__ok .icon { width: 32px; height: 32px; stroke-width: 3; }
.bk__done h3 { color: var(--titel); font-size: 24px; }
.bk__summary { font-size: 17px; font-weight: 600; color: var(--titel); }
.bk__ics { margin-top: 8px; }

/* ---------- 11 Fuss ---------- */
.footer { background: var(--titel); color: #D1D5DB; padding: 56px 0 24px; font-size: 14px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .footer__h { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer address { font-style: normal; margin-top: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 32px; }
.logo--footer .logo__text, .logo--footer .logo__icon { color: #fff; }
.footer__bottom { border-top: 1px solid #374151; margin-top: 40px; padding-top: 20px; color: #9CA3AF; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page { padding: 64px 0 88px; }
.page h1 { font-size: 40px; }
.page h2 { font-size: 22px; margin-top: 32px; }

/* ---------- Platzhalter-Markierung (Bauphase) ----------
   Auf <html class="todos"> sichtbar; vor dem Livegang die Klasse entfernen. */
.todos [data-todo] { outline: 2px dashed #F59E0B; outline-offset: 2px; position: relative; }
.todos [data-todo]::after {
  content: "TODO: " attr(data-todo);
  position: absolute; left: 0; top: 100%; z-index: 40; margin-top: 4px;
  font: 600 11px/1.3 var(--schrift); color: #78350F; background: #FEF3C7;
  padding: 2px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none;
  max-width: 90vw; overflow: hidden; text-overflow: ellipsis;
}
.todos .hero__bg[data-todo]::after { top: auto; bottom: 8px; left: 8px; }
.todos .hero__bg[data-todo] { outline: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .split, .split--tech { grid-template-columns: 1fr; gap: 40px; }
  .media--foto img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .booking__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .logo__text { font-size: 17px; }
  .logo__icon, .logo__img { width: 40px; height: 19px; }
  .nav__tel-text { display: none; }
  .nav__tel { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--rand); border-radius: var(--radius-knopf); }
  .nav .btn--sm { padding: 9px 12px; font-size: 14px; white-space: nowrap; }
  .nav .btn--sm .icon { display: none; }
  .nav__actions { gap: 8px; }
  .nav__login { display: none; }

  /* Hero + Vertrauensleiste ohne Scrollen auf dem Handy */
  .hero { padding: 24px 0 24px; }
  .status { margin-bottom: 12px; font-size: 13px; }
  .hero h1 { margin-bottom: 12px; }
  .hero__lead { font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
  .checks { flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; font-size: 15px; }
  .cta { flex-direction: column; gap: 10px; }
  .cta .btn { width: 100%; justify-content: center; }

  .trust { padding: 12px 0; }
  .trust__list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 20px; scrollbar-width: none; padding-bottom: 2px; }
  .trust__list::-webkit-scrollbar { display: none; }
  .trust__item { white-space: nowrap; font-size: 13px; }

  .section, .booking { padding: 64px 0; }
  .prose p { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .quote { padding: 24px; }
  .quote p { font-size: 19px; }
  .tech__list { grid-template-columns: 1fr; gap: 2px; }
  .tech__list dd { margin-bottom: 10px; }
  .section .btn { width: 100%; justify-content: center; }
  .bk { padding: 20px 16px; }
  .bk__days { gap: 6px; }
  .bk__day { font-size: 14px; padding: 8px 2px; }
  .bk__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .nav .logo__icon { display: none; }
  .logo__text { font-size: 16px; }
  .nav .btn--sm { padding: 8px 10px; font-size: 13px; }
  .nav__tel { width: 36px; height: 36px; }
}

/* ---------- Portal-Demo im Hero (durchklickbar) ---------- */
.portal { margin: 0; min-width: 0; max-width: 100%; background: #fff; border: 1px solid var(--rand); border-radius: 14px; box-shadow: 0 30px 70px rgba(17,24,39,.18); overflow: hidden; text-align: left; }
.portal__frame { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F3F4F6; border-bottom: 1px solid var(--rand); }
.portal__frame span { width: 10px; height: 10px; border-radius: 50%; background: #D1D5DB; }
.portal__frame small { margin-left: 10px; font-size: 12px; color: var(--text-neben); background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; }
.portal__tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #0B1220; overflow-x: auto; scrollbar-width: none; }
.portal__tabs::-webkit-scrollbar { display: none; }
.portal__tabs button { white-space: nowrap; flex: 0 0 auto; }
.portal__tabs button { appearance: none; border: 0; background: transparent; color: #CBD5E1; font: inherit; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px 8px 0 0; cursor: pointer; }
.portal__tabs button:hover { color: #fff; background: rgba(255,255,255,.08); }
.portal__tabs button[aria-selected="true"] { color: var(--titel); background: #F1F3F7; }
.portal__tabs button:focus-visible { outline: 2px solid #60A5FA; outline-offset: -2px; }
.portal__view { position: relative; background: #F1F3F7; }
.portal__panel img { display: block; width: 100%; height: auto; }
.portal__panel { animation: portal-in .25s ease; }
@keyframes portal-in { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .portal__panel { animation: none; } }
.portal__note { margin: 0; padding: 9px 14px; font-size: 12px; color: var(--text-neben); border-top: 1px solid var(--rand); background: var(--flaeche-grau); }
@media (max-width: 960px) { .hero__inner--split { grid-template-columns: 1fr; gap: 32px; text-align: center; } .portal__tabs button { font-size: 12px; padding: 7px 10px; } .hero__inner--split .checks, .hero__inner--split .cta { justify-content: center; } .hero__inner--split .hero__lead { margin-left: auto; } .portal { max-width: 640px; margin: 0 auto; } }
