/* =========================================
   PV21 - GLOBAL (Reset, Header, Footer)
   Wird auf jeder Seite eingebunden.
   ========================================= */

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --blue-dark: #002339;
  --page-bg: #eef3f8; /* Seitengrund: helles Blaugrau, passt zum Navy */
  --band: radial-gradient(900px 420px at 85% 0%, rgba(0, 176, 255, 0.16), transparent 65%), linear-gradient(180deg, #001a2b 0%, #002339 100%);
  --blue-tech: #00b0ff;
  --blue-text: #0072a3; /* Blau für Text auf hellem Grund (Kontrast >= 4,5:1) */
  --white: #ffffff;
  --text-light: #ecf0f1;
  --text-dark: #1e293b;
  --text-grey: #475569;
  --bg-color-solid: #f8fafc;
  --header-height-desktop: 100px;
  --header-height-mobile: 80px;
  --footer-bg: #001a2b; /* Footer im selben Navy wie der Header */
  --footer-text: #94a3b8;
  --footer-title: #ffffff;
  --footer-accent: #00b0ff;
  --footer-border: rgba(255, 255, 255, 0.1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font); /* eine Schrift für die ganze Seite, ohne externe Webfonts */
}

html {
  scroll-behavior: smooth;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* Einheitlich sichtbarer Tastatur-Fokus (WCAG 2.4.7): dunkelblau auf hellem Grund, hellblau auf dunklem Grund */
:focus-visible {
  outline: 3px solid var(--blue-text, #0072a3);
  outline-offset: 3px;
}
.header-wrapper :focus-visible,
.pv21-footer :focus-visible,
.home-hero :focus-visible,
.fab-cta:focus-visible {
  outline-color: var(--blue-tech);
}

/* Sprungziele (z.B. Funnel) nicht unter dem fixierten Header verstecken */
[id] {
  scroll-margin-top: calc(var(--header-height-desktop) + 20px);
}

/* Seiten-Hintergrund: ruhiges Hellgrau mit sanftem Lichtschein oben (statt flacher Einheitsfläche) */
body {
  background-color: var(--page-bg);
}

.pv21-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- SKIP LINK (Barrierefreiheit) --- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 10px;
  z-index: 100001;
  background: var(--blue-tech);
  color: var(--blue-dark);
  padding: 10px 18px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

/* =========================================
   HEADER
   ========================================= */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: var(--header-height-desktop);
  z-index: 99999;

  background: rgba(0, 35, 57, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0, 176, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);

  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-circle-container {
  position: absolute;
  top: 10px;
  left: 50px;
  z-index: 1000;

  width: 100px;
  height: 100px;
  background-color: var(--white);
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-circle-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 176, 255, 0.4);
}

.logo-circle-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Barrierefreiheit + Performance: Animationen abschalten, wenn das System "weniger Bewegung" wünscht */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.main-header {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-link {
  /* Reset für <button>-Elemente (z.B. Dropdown-Trigger), wirkt sich auf <a> nicht aus */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  text-decoration: none;
  color: var(--text-light);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue-tech);
  text-shadow: 0 0 10px rgba(0, 176, 255, 0.4);
}

.nav-btn-highlight {
  padding: 8px 25px;
  border: 2px solid var(--blue-tech);
  color: var(--blue-tech) !important;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.nav-btn-highlight:hover {
  background-color: var(--blue-tech);
  color: #002339 !important;
  box-shadow: 0 0 15px rgba(0, 176, 255, 0.6);
  transform: translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #002b45;
  min-width: 240px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--blue-tech);
  padding: 10px 0;
  list-style: none;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
}

@media (min-width: 1101px) {
  .nav-item:hover .dropdown,
  .nav-item.is-open .dropdown,
  .nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-item a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 15px;
  border-left: 3px solid transparent;
  transition: 0.2s;
}
.dropdown-item a:hover,
.dropdown-item a:focus-visible {
  background-color: rgba(0, 176, 255, 0.1);
  color: var(--white);
  border-left-color: var(--blue-tech);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 10px;

  position: absolute;
  right: 20px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

@media (max-width: 1100px) {
  .header-wrapper {
    height: var(--header-height-mobile);
  }
  .mobile-toggle {
    display: block;
  }

  .logo-circle-container {
    width: 52px;
    height: 52px;
    top: 8px;
    left: 30px;
    padding: 2px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height-mobile));
    background: #002339;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-link {
    padding: 15px 30px;
    width: 100%;
    font-size: 18px;
    justify-content: space-between;
  }
  .nav-btn-highlight {
    margin: 30px;
    text-align: center;
    display: block;
    width: auto;
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 0;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    background: #001a2b;
    width: 100%;
  }

  .nav-item:hover .dropdown {
    transform: none;
    position: static;
  }

  .nav-item.is-open .dropdown {
    display: block;
  }
  .dropdown-item a {
    padding-left: 50px;
    font-size: 16px;
  }
}

.header-social-icons {
  display: flex;
  gap: 15px;
  margin-left: 30px;
  align-items: center;
}

.social-icon-link {
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  background: var(--blue-tech);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 176, 255, 0.4);
}

.social-icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .header-social-icons {
    margin-left: auto;
    margin-right: 62px; /* Abstand zum Menü-Button */
    gap: 8px;
  }
  .social-icon-link {
    width: 32px;
    height: 32px;
    background: transparent;
  }
  .social-icon-link svg {
    width: 22px;
    height: 22px;
  }
  .main-header {
    justify-content: flex-end;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.pv21-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: inherit;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  color: var(--footer-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.footer-logo .highlight {
  color: var(--footer-accent);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 350px;
}

.footer-contact {
  font-style: normal; /* <address> ist sonst standardmäßig kursiv */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
}

.contact-row svg {
  color: var(--footer-accent);
  flex-shrink: 0;
}

.contact-row a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  padding: 10px 0;
}

.contact-row a:hover {
  color: var(--footer-accent);
}

.footer-title {
  color: var(--footer-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 25px 0;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 2px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  padding: 9px 0; /* Touch-Ziel >= 40px hoch */
}

.footer-links a:hover {
  color: var(--footer-accent);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
  }
}

/* =========================================
   FORM-STATUS (für AJAX-Formulare, siehe forms.js)
   ========================================= */
.form-status {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status--success {
  color: #16a34a;
}
.form-status--error {
  color: #dc2626;
}

/* =========================================
   COOKIE-CONSENT-BANNER
   Kompakt (blockiert auf dem Handy nicht den ganzen Bildschirm),
   "Nur notwendige" und "Alle akzeptieren" gleichwertig gestaltet.
   ========================================= */
.cookie-banner {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  max-width: 560px;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid #d9e2ea;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 35, 57, 0.3);
  padding: 20px 22px;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-title {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.cookie-banner-text {
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

.cookie-banner-text a {
  color: var(--blue-text);
  font-weight: 600;
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
  background: #003b5e;
  border-color: #003b5e;
}

.cookie-btn:focus-visible,
.cookie-details summary:focus-visible {
  outline: 3px solid var(--blue-tech);
  outline-offset: 2px;
}

.cookie-details {
  margin-top: 10px;
  font-size: 0.85rem;
}

.cookie-details summary {
  cursor: pointer;
  padding: 8px 0;
  color: var(--blue-text);
  font-weight: 600;
}

.cookie-banner-categories {
  display: grid;
  gap: 8px;
  margin: 6px 0 12px;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
}

.cookie-category input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue-dark);
}

.cookie-btn-save {
  width: 100%;
  background: var(--white);
  color: var(--blue-dark);
}

.cookie-btn-save:hover,
.cookie-btn-save:focus-visible {
  background: #eef4f9;
  color: var(--blue-dark);
}
/* =========================================
   PAGE-HERO (wiederverwendbar, Service-Seiten)
   Heller Auftakt: Text + CTA links, echtes Projektfoto rechts.
   ========================================= */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e3eaf1;
  border-radius: 28px;
  padding: 48px;
  margin: 0 0 56px 0;
  box-shadow: 0 30px 60px -30px rgba(0, 35, 57, 0.45);
  text-align: left;
  position: relative;
}

/* Gleiche Größe und Position auf ALLEN Leistungsseiten:
   die Seitenrahmen der einzelnen Seiten haben unterschiedliche Abstände/Breiten,
   deshalb werden sie hier vereinheitlicht, sobald sie den Hero enthalten. */
main:has(.page-hero) {
  padding-top: 0 !important;
}

:is(#pv21-install-section, #pv21-network-section, .sec-wrapper-outer, .emob-section-outer, .pv-wrapper):has(> .page-hero) {
  max-width: 1192px !important;
  padding-top: calc(var(--header-height-desktop) + 40px) !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

@media (min-width: 961px) {
  .page-hero {
    min-height: 620px;
  }
}

/* Einheitliche Inhaltsbreite auf allen Leistungsseiten (1160 px Inhalt, 16 px Rand),
   damit Kopf, Diagramm, Boxen und Formular exakt untereinander bündig sind */
.pv-wrapper {
  max-width: 1192px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

#pv21-light-demo,
.echeck-widget-box {
  max-width: 1160px !important;
}

@media (max-width: 1100px) {
  :is(#pv21-install-section, #pv21-network-section, .sec-wrapper-outer, .emob-section-outer, .pv-wrapper):has(> .page-hero) {
    padding-top: calc(var(--header-height-mobile) + 24px) !important;
  }
}

/* Dunkelblaues Band hinter der oberen Hälfte der Karte – führt den Header optisch fort
   (gleiche Bildsprache wie die Startseite, bewusst ohne Muster) */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -600px;
  bottom: 42%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--band);
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6f6fe;
  color: #00557d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.page-hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-tech);
}

.page-hero h1 {
  margin: 0 0 18px 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--blue-dark);
}

.page-hero h1 .accent {
  color: #0086c3;
}

.page-hero-lead {
  max-width: 560px;
  margin: 0 0 28px 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #475569;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-hero-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(0, 35, 57, 0.6);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus-visible {
  background: #003b5e;
  transform: translateY(-2px);
}

.btn-hero-ghost {
  background: var(--white);
  color: var(--blue-dark);
  border-color: #d3dee8;
}

.btn-hero-ghost:hover,
.btn-hero-ghost:focus-visible {
  border-color: var(--blue-tech);
  color: #00557d;
}

.btn-hero:focus-visible {
  outline: 3px solid var(--blue-tech);
  outline-offset: 3px;
}

.page-hero-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.page-hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-checks li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.page-hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3; /* einheitlich auf allen Seiten (Bilder sind bereits auf 4:3 zugeschnitten) */
  border-radius: 22px;
  overflow: hidden;
  background: #e2e8f0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
    border-radius: 22px;
    margin-bottom: 36px;
  }
  .page-hero-media {
    order: -1;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 18px;
  }
  .btn-hero {
    width: 100%;
  }
}

/* =========================================
   SCHWEBENDER CTA-BUTTON (fab-cta)
   ========================================= */
.fab-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-tech);
  color: var(--blue-dark);
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 20px 14px 14px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 176, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-cta:hover,
.fab-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 176, 255, 0.5);
  color: var(--blue-dark);
}

.fab-cta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

body.cookie-banner-open .fab-cta {
  display: none;
}

@media (max-width: 600px) {
  .fab-cta {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }
  .fab-cta-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* =========================================
   EINHEITLICHE KLICK-FUNNELS
   Gilt für alle Funnels (auch die seiteneigenen auf PV / Netzwerk / Sicherheit).
   Höhere Spezifität (.funnel-widget ...) schlägt die Regeln der Seiten-CSS.
   ========================================= */
.funnel-widget {
  background: var(--white) !important;
  border: 1px solid #e3eaf1 !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 60px -36px rgba(0, 35, 57, 0.35) !important;
  padding-bottom: 8px !important;
  overflow: hidden;
}

.funnel-widget .widget-header {
  background: var(--white) !important;
  border: 0 !important;
  padding: 36px 40px 0 !important;
  text-align: center;
}

.funnel-widget .widget-header h2 {
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--blue-dark) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
}

.funnel-widget .widget-header p {
  margin: 8px 0 0 0;
  color: var(--text-grey);
}

.funnel-widget .progress-container {
  width: auto !important;
  height: 6px !important;
  margin: 24px 40px 0 !important;
  border-radius: 999px !important;
  background: #e8eef4 !important;
  overflow: hidden;
}

.funnel-widget .progress-bar {
  border-radius: 999px;
  box-shadow: none !important;
}

.funnel-widget .step-container {
  padding: 36px 40px 32px !important;
}

.funnel-widget .step-title {
  color: var(--blue-dark) !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
}

.funnel-widget .subtitle {
  margin: 0 auto 28px !important;
  font-size: 1rem !important;
}

.funnel-widget .option-card {
  background: var(--white) !important;
  border: 1.5px solid #e3eaf1 !important;
  border-radius: 16px !important;
  min-height: 140px;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.funnel-widget .option-card:hover,
.funnel-widget .option-card:focus-visible {
  border-color: var(--blue-tech) !important;
  background: #f5fbff !important;
}

.funnel-widget .option-card:focus-visible {
  outline: 3px solid var(--blue-tech);
  outline-offset: 2px;
}

.funnel-widget .option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px !important;
  border-radius: 50%;
  background: #eef6fb;
  font-size: 1.6rem !important;
}

.funnel-widget .option-label {
  color: var(--blue-dark) !important;
}

.funnel-widget .option-card.selected {
  background-color: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
}

.funnel-widget .option-card.selected .option-icon {
  background: rgba(255, 255, 255, 0.15);
}

.funnel-widget .btn-submit,
.funnel-widget .btn-next {
  background-color: var(--blue-dark) !important;
  color: var(--white) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 1.05rem !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.funnel-widget .btn-submit:hover,
.funnel-widget .btn-submit:focus-visible,
.funnel-widget .btn-next:hover,
.funnel-widget .btn-next:focus-visible {
  background-color: #003b5e !important;
}

.funnel-widget .contact-form input,
.funnel-widget .contact-form textarea {
  background: #f8fafc !important;
  border: 1.5px solid #d9e2ea !important;
  border-radius: 12px !important;
}

.funnel-widget .contact-form input:focus,
.funnel-widget .contact-form textarea:focus {
  border-color: var(--blue-tech) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}

.funnel-widget .btn-back {
  min-height: 44px;
  padding: 10px 18px !important;
  margin-top: 20px !important;
}

@media (max-width: 768px) {
  .funnel-widget .widget-header {
    padding: 28px 20px 0 !important;
  }
  .funnel-widget .progress-container {
    margin: 20px 20px 0 !important;
  }
  .funnel-widget .step-container {
    padding: 28px 16px 24px !important;
  }
  .funnel-widget .option-card {
    min-height: 120px;
  }
  .funnel-widget .option-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem !important;
  }
}
.nowrap {
  white-space: nowrap; /* z. B. Castrop-Rauxel nicht am Bindestrich umbrechen */
}

/* Anfrage-Bereich auf ALLEN Seiten als weißes Band über die volle Breite (Wechsel Blaugrau / Weiß) */
:is(.funnel-section, .pv-wrapper):has(> .funnel-widget) {
  position: relative;
  padding-top: 72px !important;
  padding-bottom: 80px !important;
}

:is(.funnel-section, .pv-wrapper):has(> .funnel-widget)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--white);
  border-top: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
}

/* =========================================
   GEMEINSAME ABSCHNITTE + FAQ (Startseite und Leistungsseiten)
   ========================================= */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-kicker {
  margin: 0 0 8px 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-text);
}

.section-heading {
  margin: 0 0 16px 0;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue-dark);
}

.section-lead {
  max-width: 820px;
  margin: 0 auto 48px auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #334155;
}

/* 5. FAQ (aufklappbar, ohne JavaScript) */
.faq-section {
  padding: 80px 0 88px;
}

.faq-list {
  max-width: 860px;
  margin: 32px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e3eaf1;
  border-radius: 16px;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-text);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  line-height: 1.75;
  color: #334155;
}
@media (max-width: 480px) {
  .faq-item summary {
    padding: 18px 48px 18px 18px;
    font-size: 1rem;
  }
  .faq-item p {
    padding: 0 18px 20px;
  }
}

/* =========================================
   EINHEITLICHER SEITENKOPF (Seiten ohne eigenen Hero)
   Gleiches Navy-Band wie auf allen anderen Seiten, Inhalt liegt als Karte darauf.
   ========================================= */
main.has-band {
  position: relative;
  isolation: isolate;
}

main.has-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--header-height-desktop) + 300px);
  background: var(--band);
}

/* Seiten mit eigenem Überschriftenblock (Karriere, Über uns): das Band wächst mit dem Text mit,
   damit die helle Schrift auch am Handy immer auf Navy steht */
main.has-band :is(.career-header, .contact-header-external) {
  position: relative;
}

main.has-band :is(.career-header, .contact-header-external)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -600px;
  bottom: -70px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--band);
}

main.has-band .career-header h1 {
  color: var(--blue-tech);
}

/* Überschriften, die auf dem Band stehen, hell */
main.has-band .career-title,
main.has-band .contact-title {
  color: var(--white);
}
main.has-band .career-desc,
main.has-band .contact-intro {
  color: #d5dde6;
}
main.has-band .contact-header-external h1 {
  color: var(--blue-tech);
}

/* Rechtliche Seiten als weiße Karte */
main.has-band :is(.impressum-wrapper, .datenschutz-wrapper, .agb-wrapper, .cookie-wrapper) {
  width: calc(100% - 32px);
  margin: 40px auto 72px;
  padding: 48px 56px;
  background: var(--white);
  border: 1px solid #e3eaf1;
  border-radius: 24px;
  box-shadow: 0 30px 60px -36px rgba(0, 35, 57, 0.35);
}

main.has-band .pv21-thankyou-wrapper {
  background: transparent;
}

@media (max-width: 1100px) {
  main.has-band::before {
    height: calc(var(--header-height-mobile) + 240px);
  }
}

@media (max-width: 768px) {
  main.has-band :is(.impressum-wrapper, .datenschutz-wrapper, .agb-wrapper, .cookie-wrapper) {
    margin-top: 24px;
    padding: 28px 20px;
    border-radius: 18px;
  }
}

/* =========================================
   SR-ONLY (Utility für Barrierefreiheit)
   ========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
