/* Responsive Feinschliff – ergänzt style.css, nutzt dessen Tokens */

/* Video im Hochformat (9:16): skaliert mit, behält das Seitenverhältnis */
.video-frame {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 0;
  border-radius: var(--r);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

/* Ablauf-Schritte: Zahl links, Text rechts – auch auf dem Handy */
.stepline {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

/* Raster dürfen auf kleinen Bildschirmen nicht über den Rand wachsen */
.grid--2col { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--form { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* Fortschrittsbalken im Markenrot, volle Breite */
progress {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line);
  color: var(--primary);
  overflow: hidden;
}
progress::-webkit-progress-bar { background: var(--line); border-radius: var(--r-pill); }
progress::-webkit-progress-value { background: var(--primary); border-radius: var(--r-pill); transition: width .3s var(--ease); }
progress::-moz-progress-bar { background: var(--primary); border-radius: var(--r-pill); }

/* Schritt-Überschriften werden per Skript fokussiert – kein Rahmen darum */
[tabindex="-1"]:focus { outline: none; }

/* Footer: leere Platzhalterspalte nur auf dem Desktop (hält Kontakt rechts) */
.footer__col:empty { display: none; }
@media (min-width: 992px) { .footer__col:empty { display: flex; } }

/* CTA-Banner und Footer: nur mobil zentriert */
@media (max-width: 767px) {
  .cta-banner__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; padding-block: 48px; }
  .cta-banner__content { align-items: center; }
  .cta-banner__text { margin-inline: auto; }
  .cta-banner__actions { justify-content: center; }

  .footer__inner { text-align: center; }
  .footer__col { align-items: center; }
  .footer__bottom-inner { flex-direction: column; justify-content: center; text-align: center; gap: 12px; }
  .footer__legal { justify-content: center; }
}

/* Kleine Bildschirme */
@media (max-width: 575px) {
  .btn-group .btn { width: 100%; }
  .form__actions .btn { flex: 1 1 auto; }
  .tag-list { gap: 8px; }
}

/* Vorteile-Zeile unter dem Hero: zentriert; Handy 1 Spalte, Tablet 2 Spalten, Desktop eine Reihe */
.quickline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 28px;
  justify-items: center;
  text-align: center;
}
@media (min-width: 560px) {
  .quickline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .quickline { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 56px; }
}
