/* Voltage Security — Design System v2 (OpenClaw-inspired) */

/* ============================================================
   Base
   ============================================================ */
html {
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body {
  height: auto;
  min-height: 100vh;
}

/* ============================================================
   Form Inputs
   ============================================================ */
.form-input {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder {
  color: #94a3b8;
}
.form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* ============================================================
   Grid Background + Glow (hero)
   ============================================================ */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.bg-grid-fade {
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 10%, transparent 70%);
}

.bg-grid-blur {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  filter: blur(6px);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 65%);
}

.bg-hero-glow {
  background: radial-gradient(ellipse 50% 40% at 50% 52%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

/* ============================================================
   Section Dividers
   ============================================================ */
.section-divider {
  border-top: 1px solid #e2e8f0;
}

/* ============================================================
   OpenClaw-Inspired Component Utilities
   ============================================================ */

/* Checklist Item */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #475569;
}
.checklist-item__circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #dbeafe;
  color: #086bff;
}
.checklist-item__circle svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* Feature Tag */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}
.feature-tag--blue {
  background-color: #eff6ff;
  color: #086bff;
}
.feature-tag--warm {
  background-color: #f1f5f9;
  color: #475569;
}
.feature-tag--slate {
  background-color: #f1f5f9;
  color: #475569;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #dbe4f0;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #fff;
  transition: background-color 0.2s ease;
}
.faq-item.is-open {
  background-color: #f8fafc;
}
.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 500;
  color: #071426;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-trigger__icon {
  color: #086bff;
  flex-shrink: 0;
}
.faq-trigger__chevron {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-trigger__chevron {
  transform: rotate(180deg);
}
.faq-content {
  padding: 0 1.5rem 1.25rem;
  padding-left: 3.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #475569;
}

/* Contact CTA Box */
.contact-cta-box {
  border-radius: 1rem;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 2rem;
}

/* ============================================================
   Icon Circles
   ============================================================ */
.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle-primary {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.icon-circle-accent {
  background-color: #faf5ff;
  color: #9333ea;
  border: 1px solid #f3e8ff;
}

.icon-circle-slate {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.icon-circle-warm {
  background-color: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

/* ============================================================
   Feature Tags
   ============================================================ */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.feature-tag-primary {
  background-color: #eff6ff;
  color: #2563eb;
}

.feature-tag-accent {
  background-color: #faf5ff;
  color: #9333ea;
}

.feature-tag-slate {
  background-color: #f1f5f9;
  color: #475569;
}

/* ============================================================
   Fade-in animation via IntersectionObserver
   Inhalt ist immer sichtbar; versteckt wird nur, was voltage.js
   unterhalb des Viewports "scharf" schaltet (data-reveal="armed").
   Ohne JS, ohne Observer oder bei reduzierter Bewegung bleibt alles da.
   ============================================================ */
[data-reveal="armed"] {
  opacity: 0;
}
[data-reveal="shown"] {
  opacity: 1;
  transition: opacity 0.7s ease-out;
}

/* ============================================================
   Typografie: Display (Barlow Condensed) + Mono-Labels
   ============================================================ */
.font-display {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
}
.display-hero {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(3rem, 1.4rem + 5.6vw, 6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display-h2 {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(2.375rem, 1.6rem + 3vw, 4rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.display-hero em,
.display-h2 em {
  font-style: italic;
}
.label-mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Abschnittstitel: zentriert, Mono-Kicker mit Linien, Display-H2
   ============================================================ */
.section-title {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #086bff;
}
.kicker::before,
.kicker::after {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.section-title__lead {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #526174;
}

/* ============================================================
   Karten: einheitliche Fläche, weiche Schatten, Hover mit Akzentlinie
   ============================================================ */
.service-card,
.trust-card,
.step-card,
.review-card {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #e3e9f2 !important;
  border-radius: 1rem !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, background-color 0.35s ease;
}
.service-card::before,
.trust-card::before,
.step-card::before,
.review-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #086bff, #5fa2ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover,
.trust-card:hover,
.step-card:hover,
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 107, 255, 0.35) !important;
}
.service-card:hover::before,
.trust-card:hover::before,
.step-card:hover::before,
.review-card:hover::before {
  transform: scaleX(1);
}

/* Icon-Kacheln: weicher Verlauf, beim Karten-Hover gefüllt */
.icon-tile {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: #eef5ff;
  border: 1px solid #dbe8ff;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.icon-tile svg {
  color: #086bff;
  transition: color 0.35s ease;
}
.icon-tile--md {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}
.icon-tile--sm {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
}
.icon-tile--sm svg {
  width: 1rem;
  height: 1rem;
}
.icon-tile--green {
  background: #effaf3;
  border-color: #d3f0dd;
}
.icon-tile--green svg {
  color: #16a34a;
}
.service-card:hover .icon-tile,
.trust-card:hover .icon-tile,
.step-card:hover .icon-tile,
.review-card:hover .icon-tile,
a:hover > .icon-tile {
  background: #086bff;
  border-color: #086bff;
}
.service-card:hover .icon-tile svg,
.trust-card:hover .icon-tile svg,
.step-card:hover .icon-tile svg,
.review-card:hover .icon-tile svg,
a:hover > .icon-tile svg {
  color: #fff;
}
a:hover > .icon-tile--green {
  background: #16a34a;
  border-color: #16a34a;
}

/* Tags: feine Pillen mit Rand */
.feature-tag {
  padding: 0.3rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.feature-tag--blue {
  background: #eef5ff;
  color: #0a5ad6;
  border-color: #d6e6ff;
}
.feature-tag--slate,
.feature-tag--warm {
  background: #f6f8fb;
  color: #516174;
  border-color: #e6ebf2;
}

/* Checklisten: gefüllter Haken */
.checklist-item {
  color: #3d4b5c;
}
.checklist-item__circle {
  width: 1.125rem;
  height: 1.125rem;
  background: #086bff;
  color: #fff;
}
.checklist-item__circle svg {
  width: 0.625rem;
  height: 0.625rem;
  stroke-width: 3;
}

/* Ablauf: große Konturziffern */
.step-num {
  display: block;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #a9c8ff;
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}
.step-card:hover .step-num {
  color: #086bff;
  -webkit-text-stroke-color: #086bff;
}

/* Warum Voltage: Positionierung, Info-Box, Kennzahlen */
.positioning-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.75rem;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(8, 107, 255, 0.45) 0%, transparent 55%),
    linear-gradient(160deg, #0d2244 0%, #071426 100%);
}
.positioning-card__text {
  margin-top: 0.875rem;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
}
.info-card {
  border-radius: 1rem;
  border: 1px solid #e3e9f2;
  background: #fff;
  padding: 1.5rem;
}
.stat-tile {
  border-radius: 1rem;
  border: 1px solid #e3e9f2;
  background: #fff;
  padding: 1.125rem 0.75rem;
  text-align: center;
}
.stat-tile__value {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #071426;
}
.stat-tile__label {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* FAQ */
.faq-item {
  border-color: #e3e9f2;
  border-radius: 0.875rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(8, 107, 255, 0.3);
}
.faq-item.is-open {
  background: #fff;
  border-color: rgba(8, 107, 255, 0.35);
}
.faq-trigger {
  font-weight: 600;
}
.faq-item:hover .faq-trigger__chevron,
.faq-item.is-open .faq-trigger__chevron {
  color: #086bff;
}

/* Buttons: flach, Hover über Farbe */
.btn-primary {
  background: #086bff !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: #0558d6 !important;
  transform: translateY(-1px);
}
.btn-dark {
  background: #071426;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-dark:hover {
  background: #13284a;
  transform: translateY(-1px);
}

/* Formular: ruhigere Felder, klarer Fokus */
.form-input {
  border-color: #dfe6ef;
  border-radius: 0.75rem;
  background: #fbfcfe;
}
.form-input:hover {
  border-color: #c9d4e2;
}
.form-input:focus {
  background: #fff;
  border-color: #086bff;
  box-shadow: 0 0 0 4px rgba(8, 107, 255, 0.12);
}

/* ============================================================
   Seitenraster: vertikale Führungslinien an den Inhaltskanten,
   horizontale Linien zwischen den Abschnitten, "+" an den Kreuzungen.
   Aktiv über <body class="page-grid">.
   ============================================================ */
.page-grid {
  --grid-line: rgba(7, 20, 38, 0.09);
  --grid-mark: #8fa6c4;
  --grid-inset: max(1rem, calc((100% - 80rem) / 2));
}
.page-grid main > section:not(.hero-bg),
.page-grid > footer {
  position: relative;
  border-top: 1px solid var(--grid-line);
}
/* Vertikale Linien */
.page-grid main > section:not(.hero-bg)::before,
.page-grid > footer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--grid-inset);
  right: var(--grid-inset);
  border-left: 1px solid var(--grid-line);
  border-right: 1px solid var(--grid-line);
  pointer-events: none;
  z-index: 1;
}
/* "+"-Markierungen an beiden Kreuzungen der oberen Linie */
.page-grid main > section:not(.hero-bg)::after,
.page-grid > footer::after {
  content: '';
  position: absolute;
  top: -5px;
  left: calc(var(--grid-inset) - 4.5px);
  right: calc(var(--grid-inset) - 4.5px);
  height: 10px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(var(--grid-mark), var(--grid-mark)) left 0 top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) left 4.5px top 0 / 1px 10px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) right 0 top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) right 4.5px top 0 / 1px 10px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) center top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) center top 0 / 1px 10px no-repeat;
}
/* Erste Linie unter dem Hero: Markierungen nur nach unten, nichts ragt ins Hero-Bild */
.page-grid main > .hero-bg + section::after {
  background:
    linear-gradient(var(--grid-mark), var(--grid-mark)) left 0 top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) left 4.5px top 4.5px / 1px 5.5px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) right 0 top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) right 4.5px top 4.5px / 1px 5.5px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) center top 4.5px / 10px 1px no-repeat,
    linear-gradient(var(--grid-mark), var(--grid-mark)) center top 4.5px / 1px 5.5px no-repeat;
}

/* Seiten ohne Hero (Rechtsseiten): erster Abschnitt ohne obere Linie und Markierungen */
.page-grid main > section:first-child:not(.hero-bg) {
  border-top: 0;
  background-image: none;
}
.page-grid main > section:first-child:not(.hero-bg)::after {
  display: none;
}

/* Feine Mittellinie vom Kreuzungspunkt bis kurz vor den Abschnittstitel (nur Desktop) */
@media (min-width: 1024px) {
  .page-grid main > section:not(.hero-bg) {
    background-image: linear-gradient(var(--grid-line), var(--grid-line));
    background-size: 1px 4.25rem;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

/* Auf dem Handy nur die horizontalen Linien */
@media (max-width: 767px) {
  .page-grid main > section:not(.hero-bg)::before,
  .page-grid main > section:not(.hero-bg)::after,
  .page-grid > footer::before,
  .page-grid > footer::after {
    display: none;
  }
}

/* ============================================================
   Rechtsseiten: Fließtext und Seitenwechsel
   ============================================================ */
.legal-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: #3d4b5c;
}
.legal-prose h2 {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e3e9f2;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: #071426;
}
.legal-prose > h2:first-child,
.legal-prose > p:first-child + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-prose > p:first-child {
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  color: #071426;
}
.legal-prose p,
.legal-prose ul {
  margin-top: 0.875rem;
}
.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.legal-prose li + li {
  margin-top: 0.375rem;
}
.legal-prose li::marker {
  color: #086bff;
}
.legal-prose strong {
  font-weight: 600;
  color: #071426;
}
.legal-prose a {
  color: #086bff;
  text-decoration: underline;
  text-decoration-color: rgba(8, 107, 255, 0.3);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s ease;
}
.legal-prose a:hover {
  text-decoration-color: #086bff;
}
.legal-tab {
  border-radius: 9999px;
  border: 1px solid #e3e9f2;
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.legal-tab:hover {
  border-color: rgba(8, 107, 255, 0.35);
  color: #086bff;
}
.legal-tab[aria-current="page"] {
  border-color: #086bff;
  background: #086bff;
  color: #fff;
}
/* Reiter im dunklen Seitenkopf */
.hero .legal-tab {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
}
.hero .legal-tab:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hero .legal-tab[aria-current="page"] {
  border-color: #086bff;
  background: #086bff;
  color: #fff;
}

/* Live-Status: pulsierender Punkt */
.live-dot {
  position: relative;
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse-ring 2.2s ease-out infinite;
}

/* ============================================================
   Navigation: aktiver Abschnitt als Punkt unter dem Link
   ============================================================ */
.nav-link {
  position: relative;
}
.nav-link[aria-current="location"] {
  color: #071426;
}
.nav-link[aria-current="location"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0.3rem;
  height: 0.3rem;
  margin-left: -0.15rem;
  border-radius: 9999px;
  background: #086bff;
}

/* ============================================================
   Datei-Upload: deutsches Label statt "Choose File / No file chosen"
   ============================================================ */
.file-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  min-width: 0;
}
.file-field__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.375rem;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #071426;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.file-field:hover .file-field__btn {
  border-color: #086bff;
  background: #eff6ff;
}
.file-field input:focus-visible + .file-field__btn {
  outline: 2px solid #086bff;
  outline-offset: 2px;
}
.file-field__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: #64748b;
}
.file-field.has-file .file-field__name {
  color: #071426;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .pin-pulse,
  .live-dot::after {
    animation: none;
  }
}

/* ============================================================
   Fade-in keyframe for form sections
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Custom scrollbar
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ============================================================
   Mapael tooltip styling
   ============================================================ */
.mapTooltip {
  position: absolute;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Partner carousel boxes
   ============================================================ */
.partner-box {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   Bootstrap Grid Compatibility Shim (subpages)
   ============================================================ */
.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.row > [class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
  min-height: 1px;
}

.col-xs-1  { width: 8.333333%; }
.col-xs-2  { width: 16.666667%; }
.col-xs-3  { width: 25%; }
.col-xs-4  { width: 33.333333%; }
.col-xs-5  { width: 41.666667%; }
.col-xs-6  { width: 50%; }
.col-xs-7  { width: 58.333333%; }
.col-xs-8  { width: 66.666667%; }
.col-xs-9  { width: 75%; }
.col-xs-10 { width: 83.333333%; }
.col-xs-11 { width: 91.666667%; }
.col-xs-12 { width: 100%; }

@media (min-width: 640px) {
  .col-sm-1  { width: 8.333333%; }
  .col-sm-2  { width: 16.666667%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.333333%; }
  .col-sm-5  { width: 41.666667%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.333333%; }
  .col-sm-8  { width: 66.666667%; }
  .col-sm-9  { width: 75%; }
  .col-sm-10 { width: 83.333333%; }
  .col-sm-11 { width: 91.666667%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1  { width: 8.333333%; }
  .col-md-2  { width: 16.666667%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333333%; }
  .col-md-5  { width: 41.666667%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.333333%; }
  .col-md-8  { width: 66.666667%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 1024px) {
  .col-lg-1  { width: 8.333333%; }
  .col-lg-2  { width: 16.666667%; }
  .col-lg-3  { width: 25%; }
  .col-lg-4  { width: 33.333333%; }
  .col-lg-5  { width: 41.666667%; }
  .col-lg-6  { width: 50%; }
  .col-lg-7  { width: 58.333333%; }
  .col-lg-8  { width: 66.666667%; }
  .col-lg-9  { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  .col-lg-11 { width: 91.666667%; }
  .col-lg-12 { width: 100%; }
}

@media (min-width: 1280px) {
  .col-xl-1  { width: 8.333333%; }
  .col-xl-2  { width: 16.666667%; }
  .col-xl-3  { width: 25%; }
  .col-xl-4  { width: 33.333333%; }
  .col-xl-5  { width: 41.666667%; }
  .col-xl-6  { width: 50%; }
  .col-xl-7  { width: 58.333333%; }
  .col-xl-8  { width: 66.666667%; }
  .col-xl-9  { width: 75%; }
  .col-xl-10 { width: 83.333333%; }
  .col-xl-11 { width: 91.666667%; }
  .col-xl-12 { width: 100%; }
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.list-unstyled { list-style: none; padding-left: 0; margin-bottom: 0; }
.list-inline { list-style: none; padding-left: 0; }
.list-inline > li { display: inline-block; }
.img-responsive { max-width: 100%; height: auto; display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   Old Subpage Content Compatibility
   ============================================================ */

.aboutHeader {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.list-align {
  list-style: none;
  padding-left: 0;
  text-align: left;
}
.list-align li {
  padding: 0.25rem 0;
}

/* Diagonal image section — image is missing, hide it and expand text */
.diagonal {
  display: none !important;
}
.textEdit {
  width: 100% !important;
  margin-top: 2rem;
  padding: 0 1rem;
}
.textEdit h2 {
  color: #9333ea;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.textEdit p {
  color: #475569;
  line-height: 1.7;
}

/* CTA button in parallax bands */
.break-btn {
  display: inline-block;
  color: white;
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.break-btn:hover {
  color: #0f172a;
  background-color: white;
}

/* Highlight parallax border variant */
.highlight-para {
  border: 2px solid #9333ea;
}

/* Cities list container */
.cities {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}
.cities ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.cities li a {
  color: #475569;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.cities li a:hover {
  color: #2563eb;
}
.cities h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

/* Parallax CTA bands (subpages) */
.js__parallax-window,
.js__parallax-window1,
.js__parallax-window2,
.js__parallax-window3 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4rem 1rem;
  text-align: center;
  color: white;
}
/* Parallax bands — kept for subpages, main page now uses clean CTA sections */
.js__parallax-window {
  background-image: url(/CustomPictures/break5.jpg);
}
.js__parallax-window1 {
  background-image: url(/CustomPictures/break2.jpg);
}
.js__parallax-window2 {
  background-image: url(/CustomPictures/break1.jpg);
}
.js__parallax-window3 {
  background-image: url(/CustomPictures/break3.jpg);
}

.autoText {
  color: white;
}
.autoText p {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.autoText span {
  font-size: 1.125rem;
}

/* AboutHr in subpages */
#AboutHr {
  width: 4rem;
  height: 3px;
  background-color: #9333ea;
  border: none;
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}


/* ============================================================
   Swiper pagination spacing
   ============================================================ */
.partner-swiper .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
.partner-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0 6px !important;
}
.partner-swiper .swiper-pagination-bullet-active {
  background: #2563eb;
}

/* ============================================================
   Mapael responsive safeguard
   ============================================================ */
.mapcontainer {
  max-width: 100%;
}

.mapael .map svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reduce plot markers on narrow screens */
@media (max-width: 640px) {
  .mapael .map [data-id] {
    transform: scale(0.65);
    transform-origin: center;
  }
}

/* ============================================================
   Abschnitts-Index im Kicker: "01 / Leistungen"
   ============================================================ */
.kicker__index {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #8fa6c4;
  font-variant-numeric: tabular-nums;
}
.kicker__index::after {
  content: '/';
  color: #c3d2e6;
}

/* ============================================================
   Seit-2017-Zeitleiste (Unternehmen)
   Handy: vertikal mit Linie links, ab md: horizontal mit Linie oben
   ============================================================ */
.timeline {
  display: grid;
  gap: 1.75rem;
  margin-top: 3.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #dbe4f0;
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: calc(-1.5rem - 4px);
  width: 7px;
  height: 7px;
  border: 1.5px solid #086bff;
  border-radius: 9999px;
  background: #fff;
}
.timeline li:last-child::before {
  background: #086bff;
  box-shadow: 0 0 0 4px rgba(8, 107, 255, 0.15);
}
.timeline__year {
  display: block;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: #071426;
  font-variant-numeric: tabular-nums;
}
.timeline__text {
  display: block;
  max-width: 17rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #526174;
}
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    padding-left: 0;
    padding-top: 1.75rem;
    border-left: 0;
    border-top: 1px solid #dbe4f0;
  }
  .timeline li::before {
    top: calc(-1.75rem - 4px);
    left: 0;
  }
}

/* ============================================================
   Kundenstimmen: Hauptzitat, Übersicht, Bewertungskarten
   ============================================================ */
.review-feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 22rem;
  padding: 2rem;
  border: 1px solid #0b1b36;
  border-radius: 1rem;
  background: radial-gradient(circle at 88% 0%, rgba(8, 107, 255, 0.38), transparent 46%), #071426;
  color: #fff;
}
@media (min-width: 768px) {
  .review-feature {
    padding: 2.75rem;
  }
}
.review-feature::before {
  content: '\201C';
  position: absolute;
  top: -3.25rem;
  right: 1.5rem;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 18rem;
  line-height: 1;
  color: rgba(8, 107, 255, 0.2);
  pointer-events: none;
}
.review-feature__quote {
  position: relative;
  max-width: 46rem;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.625rem);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: pretty;
}
.review-feature__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.review-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #9ec5ff;
  transition: color 0.25s ease;
}
.review-link svg,
.review-card__arrow {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.25s ease;
}
.review-feature:hover .review-link {
  color: #fff;
}
.review-feature:hover .review-link svg,
.review-card:hover .review-card__arrow {
  transform: translate(2px, -2px);
}
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #fff;
}
.review-source::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #22c55e;
}
.review-source--light {
  border-color: #dbe4f0;
  background: #fff;
  color: #475569;
}
.review-avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #e8f1ff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #086bff;
}
.review-avatar--dark {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
/* Textmarker: zeichnet sich beim Einblenden der Karte */
.review-mark {
  padding: 0 0.08em;
  background: linear-gradient(transparent 58%, rgba(8, 107, 255, 0.2) 58%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: inherit;
  transition: background-size 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}
.review-feature .review-mark {
  background-image: linear-gradient(transparent 62%, rgba(8, 107, 255, 0.75) 62%);
}
[data-reveal="armed"] .review-mark {
  background-size: 0% 100%;
}
.review-summary {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid #e3e9f2;
  border-radius: 1rem;
  background: #fff;
}
.review-summary__score {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 5rem;
  font-weight: 600;
  line-height: 0.8;
  color: #071426;
}
.review-bars {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.review-bars li {
  display: grid;
  grid-template-columns: 0.75rem 1fr 1rem;
  align-items: center;
  gap: 0.625rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: #64748b;
}
.review-bars i {
  position: relative;
  overflow: hidden;
  height: 6px;
  border-radius: 9999px;
  background: #eef2f7;
}
.review-bars i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: #086bff;
}
.review-summary__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e3e9f2;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #071426;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.review-summary__link:hover {
  border-color: #086bff;
  color: #086bff;
}
.quote-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #94a3b8;
}
.review-card__meta .label-mono {
  font-size: 0.6875rem;
}
.review-card__stars {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #fbbf24;
}
.review-card__quote {
  flex: 1;
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.review-card__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}
.review-card__arrow {
  color: #94a3b8;
}
.review-card:hover .review-card__arrow {
  color: #086bff;
}

/* ============================================================
   Spotlight: weicher Lichtkegel folgt dem Mauszeiger (voltage.js)
   ============================================================ */
.spotlight::after,
.service-card::after,
.trust-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 50%), rgba(8, 107, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.review-feature.spotlight::after {
  background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 50%), rgba(95, 162, 255, 0.16), transparent 60%);
}
.spotlight:hover::after,
.service-card:hover::after,
.trust-card:hover::after {
  opacity: 1;
}

/* ============================================================
   Footer-Wortmarke: übergroß, immer vollständig sichtbar
   (Schriftgröße an der Breite ausgerichtet, damit das Wort nie übersteht)
   ============================================================ */
.footer-wordmark {
  overflow-x: clip;
  padding: 0.06em 0 0.1em;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: min(29vw, 24rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.25px rgba(8, 107, 255, 0.32);
  background: linear-gradient(180deg, rgba(8, 107, 255, 0.14), rgba(8, 107, 255, 0.03));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}


/* ============================================================
   Hero: Foto als Bühne, Headline unten links, Faktenleiste
   ============================================================ */
.hero {
  min-height: clamp(40rem, 100svh, 75rem);
}
.hero__dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__dither.is-ready {
  opacity: 1;
}
/* Abdunklung über dem Punktraster, damit die Headline lesbar bleibt */
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.5) 0%, rgba(7, 20, 38, 0) 22%, rgba(7, 20, 38, 0) 60%, rgba(7, 20, 38, 0.8) 100%),
    linear-gradient(90deg, rgba(7, 20, 38, 0.88) 0%, rgba(7, 20, 38, 0.55) 36%, rgba(7, 20, 38, 0) 62%);
}
@media (max-width: 767px) {
  .hero__shade {
    background: linear-gradient(180deg, rgba(7, 20, 38, 0.3) 0%, rgba(7, 20, 38, 0.55) 40%, rgba(7, 20, 38, 0.92) 78%);
  }
}
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  color: rgba(219, 231, 247, 0.75);
}
/* TÜV-Hinweis: sofort sichtbar, mit gelegentlichem Lichtreflex */
.cert-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.cert-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #086bff;
  color: #fff;
}
.cert-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: cert-sheen 6s ease-in-out 1.2s infinite;
}
@keyframes cert-sheen {
  0%, 70% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.hero__title {
  font-size: clamp(3.1rem, 0.9rem + 7.4vw, 8.25rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.06em 0;
  margin-bottom: -0.06em;
}
.hero__line > span {
  display: inline-block;
  animation: hero-line 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__line:nth-child(2) > span { animation-delay: 0.08s; }
.hero__line:nth-child(3) > span { animation-delay: 0.16s; }
.hero__title em {
  color: #086bff;
}
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .hero__bottom {
    margin-top: 2.25rem;
  }
}
.hero__lead {
  max-width: 26rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(219, 231, 247, 0.85);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  border-radius: 9999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #071426;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #086bff;
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover {
  background: #086bff;
  color: #fff;
}
.hero-cta:hover .hero-cta__icon {
  transform: rotate(45deg);
  background: #fff;
  color: #086bff;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  transition: border-color 0.3s ease;
}
.hero-phone:hover {
  border-color: #fff;
}
/* Faktenleiste am unteren Rand */
.hero-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 20, 38, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-strip__cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(219, 231, 247, 0.7);
  font-size: 0.8125rem;
}
.hero-strip__cell:nth-child(odd) {
  border-left: 0;
}
.hero-strip__cell:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-strip__cell .label-mono {
  font-size: 0.6875rem;
  color: rgba(219, 231, 247, 0.55);
}
.hero-strip__cell strong {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.hero-strip__cell--link {
  transition: background-color 0.3s ease;
}
.hero-strip__cell--link:hover {
  background: rgba(8, 107, 255, 0.18);
}
@media (min-width: 640px) {
  .hero-strip__cell {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-strip__cell,
  .hero-strip__cell:nth-child(odd),
  .hero-strip__cell:nth-child(n + 3) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
    padding: 1.5rem 2rem;
  }
  .hero-strip__cell:first-child {
    border-left: 0;
    padding-left: 2rem;
  }
  .hero-strip__cell strong {
    font-size: 2rem;
  }
}
/* Fokusrahmen wie eine Kamera, die auf das Jackenlogo scharf stellt (voltage.js positioniert) */
.hero__focus {
  --c: rgba(255, 255, 255, 0.85);
  position: absolute;
  display: none;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 16px no-repeat;
  animation: focus-lock 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}
.hero__focus.is-placed {
  display: block;
}
.hero__focus-label {
  position: absolute;
  bottom: calc(100% + 0.6rem);
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
}
@keyframes hero-line {
  from { transform: translateY(105%); }
}
@keyframes focus-lock {
  0% { opacity: 0; transform: scale(1.35); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

/* Kompakter Hero für Unterseiten ohne Foto-Bühne (Rechtsseiten) */
.hero--compact {
  min-height: 0;
}
/* Text steht hier auch rechts: Raster gleichmäßiger abdunkeln */
.hero--compact .hero__shade {
  background: linear-gradient(90deg, rgba(7, 20, 38, 0.92) 0%, rgba(7, 20, 38, 0.74) 45%, rgba(7, 20, 38, 0.6) 100%);
}
.hero .section-head__lead {
  color: rgba(219, 231, 247, 0.75);
}
.hero .kicker {
  color: #5fa2ff;
}
/* Dunkle Variante des Pillen-Buttons für helle Flächen */
.hero-cta--dark {
  background: #071426;
  color: #fff;
}

/* Header über dem Hero: transparent, weiß; nach dem Scrollen die weiße Leiste */
#main-header nav {
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
#main-header[data-over-hero] nav {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 20, 38, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#main-header[data-over-hero] nav > div > a > img {
  filter: brightness(0) invert(1);
}
#main-header[data-over-hero] .nav-link,
#main-header[data-over-hero] a[href^="tel:"] {
  color: rgba(255, 255, 255, 0.85);
}
#main-header[data-over-hero] .nav-link:hover,
#main-header[data-over-hero] a[href^="tel:"]:hover {
  color: #fff;
}
#main-header[data-over-hero] #mobile-menu-btn {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ============================================================
   Abschnittskopf links/rechts (Leistungen, Ablauf)
   ============================================================ */
.section-head {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 4rem;
  }
}
.section-head__lead {
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #526174;
}
.kicker--left::before {
  display: none;
}

/* ============================================================
   Leistungen als Index-Liste: große Zeilen, Hover füllt dunkel
   ============================================================ */
.svc-list {
  border-top: 1px solid #071426;
}
.svc-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #dbe4f0;
  color: #071426;
  transition: color 0.4s ease;
}
/* Nur transform animieren: Zeilenhöhe bleibt beim Hover exakt gleich */
.svc-row__num,
.svc-row__title,
.svc-row__body {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  background: #071426;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row__num {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  color: #086bff;
}
.svc-row__num span {
  color: #94a3b8;
}
.svc-row__title {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.svc-row__body {
  grid-column: 1 / -1;
  color: #526174;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.svc-row__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.svc-row__body li {
  padding: 0.2rem 0.6rem;
  border: 1px solid #dbe4f0;
  border-radius: 9999px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  transition: border-color 0.4s ease;
}
.svc-row__arrow {
  grid-row: 2;
  grid-column: 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #dbe4f0;
  border-radius: 9999px;
  color: #071426;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
@media (min-width: 1024px) {
  .svc-row {
    grid-template-columns: 9rem 1.1fr 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
  }
  .svc-row__num {
    grid-column: auto;
    flex-direction: column;
    gap: 0.35rem;
  }
  .svc-row__body {
    grid-column: auto;
  }
  .svc-row__arrow {
    grid-row: auto;
    grid-column: auto;
  }
}
@media (hover: hover) {
  .svc-row:hover {
    color: #fff;
  }
  .svc-row:hover .svc-row__num,
  .svc-row:hover .svc-row__title,
  .svc-row:hover .svc-row__body {
    transform: translateX(1rem);
  }
  .svc-row:hover::before {
    transform: scaleY(1);
  }
  .svc-row:hover .svc-row__body {
    color: rgba(219, 231, 247, 0.8);
  }
  .svc-row:hover .svc-row__body li {
    border-color: rgba(255, 255, 255, 0.2);
  }
  .svc-row:hover .svc-row__num span {
    color: rgba(219, 231, 247, 0.6);
  }
  .svc-row:hover .svc-row__arrow {
    transform: rotate(45deg);
    border-color: #086bff;
    background: #086bff;
    color: #fff;
  }
}

/* ============================================================
   Laufband mit Leistungen (unter der Liste)
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid #dbe4f0;
  background: #fff;
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(3rem, 1.5rem + 5vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  color: #071426;
}
.marquee__track span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px #071426;
}
.marquee__track i {
  font-style: normal;
  font-size: 0.4em;
  color: #086bff;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 1.25rem)); }
}

/* ============================================================
   Dunkler Abschnitt (Ablauf) mit Raster aus Haarlinien
   ============================================================ */
.section-dark {
  background: #071426;
  color: #fff;
}
.page-grid main > section.section-dark {
  --grid-line: rgba(255, 255, 255, 0.08);
}
.section-dark .section-head__lead {
  color: rgba(219, 231, 247, 0.7);
}
.section-dark .kicker {
  color: #5fa2ff;
}
.section-dark .kicker__index {
  color: rgba(219, 231, 247, 0.45);
}
.section-dark .kicker__index::after {
  color: rgba(219, 231, 247, 0.25);
}
.steps {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.step {
  position: relative;
  padding: 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.4s ease;
}
@media (min-width: 1024px) {
  .step {
    padding: 2.25rem;
  }
}
.step:hover {
  background: rgba(8, 107, 255, 0.08);
}
.step__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.step__num {
  font-family: 'Barlow Condensed', 'Inter Tight', system-ui, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #086bff;
  transition: color 0.4s ease;
}
.step:hover .step__num {
  color: #fff;
}
.step__tag {
  font-size: 0.625rem;
  color: rgba(219, 231, 247, 0.5);
}
.step__title {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.step__desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(219, 231, 247, 0.7);
}
.step__list {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(219, 231, 247, 0.55);
}
.step__list li + li {
  margin-top: 0.4rem;
}
.step__list li::before {
  content: '→ ';
  color: #5fa2ff;
}

@media (prefers-reduced-motion: reduce) {
  .cert-badge::after,
  .hero__line > span,
  .hero__focus,
  .marquee__track {
    animation: none;
  }
  .review-mark {
    transition: none;
  }
}
