/* ============================================================
   Startseite Variante B – eigene Klassen (vs-*),
   kollidiert nicht mit style.css aus dem Prototyp.
   ============================================================ */

:root {
  --vs-navy: #20325C;
  --vs-navy-dunkel: #172645;
  --vs-navy-hell: #2b3f6d;
  --vs-teal: #44B6A0;
  --vs-teal-text: #2c7d6d;     /* Teal für Text auf Weiß (Kontrast ≥ 4.5:1) */
  --vs-grau-bg: #f3f5f9;
  --vs-linie: #dde3ec;
  --vs-text: #1c2433;
  --vs-text-2: #3d4757;
  --vs-text-3: #5a6578;
  --vs-hell: #dbe3f0;
}

.vs { font-family: 'PT Sans', sans-serif; color: var(--vs-text); font-size: 17px; line-height: 1.55; }
.vs *, .vs *::before, .vs *::after { box-sizing: border-box; }
.vs h1, .vs h2, .vs h3 { font-family: 'Titillium Web', sans-serif; font-weight: 700; margin: 0; }
.vs p { margin: 0; }
.vs-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.vs-eyebrow {
  font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--vs-teal-text); margin-bottom: 12px;
}
.vs-dunkel .vs-eyebrow { color: var(--vs-teal); }
.vs-h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--vs-navy); }

/* Buttons */
.vs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 4px; border: 0;
  font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer;
}
.vs-btn-teal { background: var(--vs-teal); color: var(--vs-navy); }
.vs-btn-teal:hover, .vs-btn-teal:focus-visible { background: #5cc9b3; color: var(--vs-navy); }
.vs-btn-navy { background: var(--vs-navy); color: #fff; }
.vs-btn-navy:hover, .vs-btn-navy:focus-visible { background: var(--vs-navy-dunkel); color: #fff; }
.vs-btn:focus-visible, .vs a:focus-visible, .vs input:focus-visible, .vs label.vs-tab:focus-within {
  outline: 3px solid var(--vs-teal); outline-offset: 2px;
}

/* Hero */
.vs-dunkel { background: var(--vs-navy); color: #fff; }
/* style.css färbt alle Überschriften navy, auf dunklem Grund daher weiß erzwingen */
.vs-dunkel h1, .vs-dunkel h2, .vs-dunkel h3 { color: #fff; }
/* Hero: Foto vollflächig im Hintergrund, Navy-Verlauf direkt im background
   (kein ::before-Overlay, das andere Sektionen verdecken könnte) */
.vs-hero {
  padding: 120px 0 128px;
  min-height: 640px;
  display: flex; align-items: center;
  background-color: var(--vs-navy);
  background-image:
    linear-gradient(90deg, rgba(32,50,92,.94) 0%, rgba(32,50,92,.82) 45%, rgba(32,50,92,.45) 100%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
}
.vs-hero .vs-wrap { width: 100%; }
.vs-hero-text { max-width: 680px; }
.vs-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin-bottom: 24px; }
.vs-hero-lead { font-size: 20px; line-height: 1.6; color: var(--vs-hell); max-width: 600px; margin-bottom: 36px; }
.vs-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.vs-link-hell { color: #fff; font-size: 18px; padding: 14px 8px; text-underline-offset: 4px; }
.vs-link-hell:hover { color: var(--vs-teal); }
.vs-hinweis { margin-top: 18px; font-size: 15px; color: #b8c4da; }

/* Branchen */
.vs-branchen { background: var(--vs-grau-bg); border-bottom: 1px solid var(--vs-linie); }
.vs-branchen .vs-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.vs-branchen-label { font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--vs-text-3); }
.vs-branchen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.vs-branchen li { font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 18px; color: var(--vs-navy); }

/* Sektionen */
.vs-sektion { padding: 96px 0; }
.vs-sektion.vs-grau { background: var(--vs-grau-bg); }
.vs-intro { font-size: 19px; color: var(--vs-text-2); max-width: 680px; margin: 16px 0 48px; }

/* Ablauf */
.vs-schritte { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.vs-schritt { border-top: 3px solid var(--vs-navy); padding-top: 24px; }
.vs-schritt-nr { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--vs-teal-text); margin-bottom: 16px; }
.vs-schritt h3 { font-size: 22px; color: var(--vs-navy); margin-bottom: 10px; }
.vs-schritt p { color: var(--vs-text-2); }

/* Vorher / Nachher */
.vs-vergleich { display: flex; flex-wrap: wrap; gap: 24px; }
.vs-karte { flex: 1 1 420px; min-width: 0; border-radius: 6px; padding: 36px; }
.vs-karte-hell { background: #fff; border: 1px solid var(--vs-linie); }
.vs-karte-label { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #6b7587; margin-bottom: 24px; }
.vs-karte.vs-dunkel .vs-karte-label { color: var(--vs-teal); }
.vs-zeilen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vs-zeilen li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #f6f7f9; border-radius: 4px; }
.vs-zeilen li span:last-child { color: #6b7587; text-align: right; }
.vs-karte-fuss { margin-top: 24px; color: var(--vs-text-2); }
.vs-karte.vs-dunkel { display: flex; flex-direction: column; }
.vs-haken { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.vs-haken li { display: flex; align-items: center; gap: 14px; font-size: 20px; }
.vs-karte.vs-dunkel .vs-karte-fuss { color: #c9d3e6; }

/* Leistungen */
.vs-leistungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.vs-leistung { border: 1px solid var(--vs-linie); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.vs-leistung h3 { font-size: 22px; color: var(--vs-navy); }
.vs-leistung p { color: var(--vs-text-2); }

/* Ansprechpartner + Fakten */
.vs-person-fakten .vs-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.vs-person { flex: 1 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.vs-person img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--vs-linie); }
.vs-person blockquote { margin: 0 0 14px; font-family: 'Titillium Web', sans-serif; font-size: 24px; line-height: 1.35; color: var(--vs-navy); }
.vs-person-text { flex: 1 1 240px; min-width: 0; }
.vs-person-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.vs-person-aktionen .vs-btn { font-size: 17px; min-height: 48px; padding: 12px 22px; }
.vs-person-tel { font-size: 18px; font-weight: 700; color: var(--vs-navy); }
.vs-fakten { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; }
.vs-fakten dt { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 40px; color: var(--vs-navy); line-height: 1.2; }
.vs-fakten dd { margin: 0; color: var(--vs-text-2); }

/* Karriere-Band */
.vs-karriere { background: #fff; border-top: 1px solid var(--vs-linie); }
.vs-karriere .vs-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.vs-karriere h2 { font-size: 28px; color: var(--vs-navy); }
.vs-karriere p { color: var(--vs-text-2); }

/* Anfrage */
.vs-anfrage .vs-wrap { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.vs-anfrage-text { flex: 1 1 380px; min-width: 0; }
.vs-anfrage-text h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin-bottom: 20px; }
.vs-anfrage-text > p { font-size: 19px; color: var(--vs-hell); margin-bottom: 28px; }
.vs-punkte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; color: var(--vs-hell); }
.vs-punkte li { display: flex; gap: 12px; }
.vs-punkte svg { flex: 0 0 auto; margin-top: 2px; }
.vs-punkte a { color: #fff; font-weight: 700; }

.vs-form { flex: 1 1 480px; min-width: 0; background: #fff; color: var(--vs-text); border-radius: 6px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.vs-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.vs-modus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: #eef1f6; padding: 6px; border-radius: 6px; }
.vs-modus input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-tab { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px; border-radius: 4px; font-weight: 700; color: var(--vs-navy); cursor: pointer; }
.vs-modus input:checked + .vs-tab { background: var(--vs-navy); color: #fff; }
.vs-modus input:focus-visible + .vs-tab { outline: 3px solid var(--vs-teal); outline-offset: 2px; }

.vs-feld { display: flex; flex-direction: column; gap: 6px; }
.vs-feld label { font-weight: 700; font-size: 15px; }
.vs-feld .vs-optional { font-weight: 400; color: var(--vs-text-3); }
.vs-feld input[type=text], .vs-feld input[type=email], .vs-feld input[type=tel] {
  font: inherit; padding: 12px 14px; border: 1px solid #b9c2d0; border-radius: 4px; min-height: 48px; width: 100%; background: #fff; color: var(--vs-text);
}
.vs-upload { border: 2px dashed #8a95a8; border-radius: 6px; padding: 20px; background: #f6f7f9; display: flex; flex-direction: column; gap: 8px; }
.vs-upload small { color: var(--vs-text-3); font-size: 14px; }
.vs-upload input { font-size: 15px; }

/* Nur der gewählte Modus zeigt seine Felder (funktioniert ohne JavaScript) */
.vs-nur-rueckruf { display: none; }
.vs-btn-rueckruf { display: none; }
.vs-form:has(#vs-modus-rueckruf:checked) .vs-nur-zeichnung { display: none; }
.vs-form:has(#vs-modus-rueckruf:checked) .vs-nur-rueckruf { display: flex; }
.vs-form:has(#vs-modus-rueckruf:checked) .vs-btn-zeichnung { display: none; }
.vs-form:has(#vs-modus-rueckruf:checked) .vs-btn-rueckruf { display: inline-flex; }
.vs-felder { display: flex; flex-direction: column; gap: 18px; }

.vs-einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--vs-text-2); }
.vs-einwilligung input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.vs-form .vs-btn { width: 100%; }
.vs-vertraulich { font-size: 14px; color: var(--vs-text-3); text-align: center; }
.vs-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.vs-meldung { border-radius: 6px; padding: 18px 20px; }
.vs-meldung-ok { background: #e3f4f0; color: #1d5a4e; }
.vs-meldung-ok h3 { font-size: 22px; color: #1d5a4e; margin-bottom: 6px; }
.vs-meldung-fehler { background: #fdecec; color: #8a1f1f; }
.vs-meldung ul { margin: 6px 0 0; padding-left: 20px; }

/* Feste CTA-Leiste auf dem Smartphone */
.vs-mobil-cta { display: none; }
@media (max-width: 720px) {
  .vs-hero {
    padding: 56px 0 64px; min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(32,50,92,.90) 0%, rgba(32,50,92,.84) 100%),
      url('../img/hero.jpg');
  }
  .vs-hero-ctas .vs-btn { width: 100%; }
  .vs-sektion { padding: 56px 0; }
  .vs-karte, .vs-form { padding: 24px; }
  .vs-anfrage .vs-wrap { padding-top: 56px; padding-bottom: 56px; }
  .vs-person img { width: 96px; height: 96px; }
  .vs-mobil-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--vs-linie); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .vs-mobil-cta a { min-height: 52px; }
  .vs-mobil-cta .vs-tel { width: 52px; flex: 0 0 auto; border: 2px solid var(--vs-navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--vs-navy); }
  .vs-mobil-cta .vs-btn { flex: 1 1 auto; font-size: 17px; }
  body { padding-bottom: 76px; }
}

@media print {
  .vs-mobil-cta, .vs-form, .vs-hero-ctas { display: none !important; }
}
