@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --navy-950: #0b1526;
  --navy-900: #0f1f38;
  --navy-800: #152c4c;
  --navy-700: #1d3b63;
  --puls-50: #eef5fc;
  --puls-100: #d7e7f6;
  --puls-300: #8fbbe3;
  --puls-500: #2f6fb0;   /* etwas kräftiger als zuvor für stärkeren Kontrast */
  --puls-600: #295f96;
  --puls-700: #1f4c7a;
  --slate-550: #3d485a;  /* dunkler für bessere Lesbarkeit auf Weiß */
  --slate-200: #c9d2e0;  /* kräftigere Konturlinien statt kaum sichtbarer Linien */
  --paper: #eef1f6;      /* spürbar abgesetzt vom reinen Weiß der Karten */
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--navy-900);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .wrap { padding: 0 2rem; }
}

/* Sichtbarer Fokus-Ring statt Browser-Default zu entfernen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--puls-500);
  outline-offset: 2px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 227, 236, 0.7);
}
.header-row {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-link img { height: 58px; width: auto; display: block; }
.logo-claim { font-size: .875rem; color: var(--slate-550); padding-left: .5rem; border-left: 1px solid var(--slate-200); }

.footer-logo img { height: 46px; width: auto; display: block; }

/* ---- Metallic-Glanz-Animation auf dem "Puls"-Schriftzug im Logo ---- */
.logo-shimmer-wrap { position: relative; display: inline-block; line-height: 0; }
.logo-shimmer-wrap picture, .logo-shimmer-wrap img { display: block; }
.logo-shimmer-mask {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: url('../img/logo-puls-mask.png');
  -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
  mask-image: url('../img/logo-puls-mask.png');
  mask-size: 100% 100%; mask-repeat: no-repeat; mask-position: center;
  background: linear-gradient(115deg, #2F6FB0 35%, #eaf4ff 48%, #ffffff 50%, #eaf4ff 52%, #2F6FB0 65%);
  background-size: 220% 100%;
  animation: logoShimmer 2.6s linear infinite;
}
@keyframes logoShimmer {
  from { background-position: 160% 0; }
  to   { background-position: -160% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-shimmer-mask { animation: none; background-position: 0 0; }
}

.desktop-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1180px) { .desktop-nav { display: flex; } }

.nav-item {
  display: flex; align-items: center; gap: .25rem; flex-shrink: 0; white-space: nowrap;
  padding: .5rem .75rem; border-radius: .375rem; position: relative;
  font-size: .875rem; font-weight: 500; color: var(--navy-900);
  background: transparent; border: none; cursor: pointer; font-family: inherit;
}
.nav-item::after {
  content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .1rem;
  height: 2px; background: var(--puls-500); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-item:hover::after { transform: scaleX(1); }
.nav-item:hover { background: #f1f3f6; }
.nav-item svg { width: 14px; height: 14px; color: var(--slate-550); transition: transform .15s ease; }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-right { display: none; align-items: center; gap: .625rem; }
@media (min-width: 1180px) { .header-right { display: flex; } }
.phone-link {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0; white-space: nowrap;
  padding-right: 1rem; border-right: 1px solid var(--slate-200);
  font-size: .875rem; color: var(--navy-900);
}
.phone-link:hover { color: var(--puls-600); }
.phone-link svg { width: 16px; height: 16px; color: var(--puls-500); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.25rem; border-radius: .5rem;
  font-size: .875rem; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(47,111,176,0.3); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--puls-500); color: #fff; }
.btn-primary:hover { background: var(--puls-600); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 48px; padding: 0 1.5rem; font-size: 1rem; }

.mobile-actions { display: flex; align-items: center; gap: .25rem; }
@media (min-width: 1180px) { .mobile-actions { display: none; } }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: .5rem; border: none;
  background: transparent; color: var(--navy-900); cursor: pointer;
}
.icon-btn:active { background: #f1f3f6; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.phone svg { color: var(--puls-500); }

/* Mega-Menu */
.mega-panel {
  display: block;
  max-height: 0; overflow: hidden; visibility: hidden;
  opacity: 0; transform: translateY(-6px);
  border-top: 0 solid rgba(221, 227, 236, 0.7);
  background: #fff;
  transition: max-height .32s cubic-bezier(.4,0,.2,1), opacity .22s ease, transform .22s ease,
              border-top-width .32s ease, visibility 0s linear .32s;
}
.mega-panel.open {
  max-height: 420px; opacity: 1; transform: translateY(0); visibility: visible;
  border-top: 1px solid rgba(221, 227, 236, 0.7);
  transition: max-height .32s cubic-bezier(.4,0,.2,1), opacity .22s ease, transform .22s ease,
              border-top-width .1s ease, visibility 0s linear 0s;
}
@media (max-width: 1179px) { .mega-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mega-panel { transition: opacity .15s ease; transform: none; max-height: none; }
  .mega-panel:not(.open) { display: none; }
}
.mega-grid {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mega-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: .5rem; border: 1px solid transparent;
}
.mega-card:hover { border-color: var(--slate-200); background: var(--paper); }
.mega-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--puls-50); color: var(--puls-600);
}
.mega-icon svg { width: 20px; height: 20px; }
.mega-title { display: flex; align-items: center; gap: .375rem; font-weight: 600; }
.mega-title svg { width: 14px; height: 14px; color: #9aa5b1; opacity: 0; transition: opacity .15s ease; }
.mega-card:hover .mega-title svg { opacity: 1; }
.mega-desc { margin-top: .25rem; font-size: .875rem; line-height: 1.4; color: var(--slate-550); }
.mega-metric { margin-top: .25rem; font-size: .875rem; color: var(--slate-550); display: flex; gap: .375rem; align-items: baseline; }
.mega-metric .mono { font-weight: 600; color: var(--navy-900); }

/* Pulslinie */
.pulse-divider { display: block; width: 100%; height: 2px; color: rgba(62, 127, 193, 0.7); }
.pulse-divider path {
  stroke-dasharray: 1200;
  animation: pulseLine 2.4s linear infinite;
}
@keyframes pulseLine { from { stroke-dashoffset: 240; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pulse-divider path { animation: none; }
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(11, 21, 38, 0.4);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 100%);
  background: #fff; z-index: 61; transform: translateX(100%);
  transition: transform .25s ease; overflow-y: auto;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--slate-200);
}
.drawer-section { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--slate-200); }
.drawer-label { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--slate-550); margin-bottom: .75rem; }
.drawer-label svg { width: 16px; height: 16px; }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 0 .5rem; border-radius: .375rem; color: var(--navy-900);
}
.drawer-link:active { background: var(--paper); }
.drawer-link svg { width: 16px; height: 16px; color: #9aa5b1; }
.drawer-cta { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.drawer-phone {
  display: flex; align-items: center; gap: .75rem; min-height: 48px;
  padding: 0 .75rem; border-radius: .5rem; background: var(--paper);
}
.drawer-phone svg { width: 20px; height: 20px; color: var(--puls-500); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--paper); }

/* ---- Schwebende Hintergrund-Formen (kontinuierlich, immer sichtbar) ---- */
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; z-index: 0;
  opacity: .35;
}
.hero-blob-1 { width: 380px; height: 380px; background: var(--puls-300); top: -120px; right: 8%; animation: floatBlob1 14s ease-in-out infinite; }
.hero-blob-2 { width: 280px; height: 280px; background: var(--puls-500); bottom: -100px; left: 4%; animation: floatBlob2 18s ease-in-out infinite; }
.hero-blob-3 { width: 200px; height: 200px; background: var(--navy-700, #1D3B63); top: 30%; right: 28%; animation: floatBlob3 16s ease-in-out infinite; opacity: .12; }
@keyframes floatBlob1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,40px) scale(1.08); } }
@keyframes floatBlob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(25px,-35px) scale(1.1); } }
@keyframes floatBlob3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,25px); } }
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }
@media (max-width: 767px) { .hero-blob { opacity: .2; } .hero-blob-1, .hero-blob-2 { width: 220px; height: 220px; } .hero-blob-3 { display: none; } }

/* ---- Hero Lade-Animation (unabhaengig vom Scrollen, immer sichtbar) ---- */
.hero-animate { opacity: 0; transform: translateY(18px); animation: heroFadeIn .6s ease forwards; }
.hero-animate.d1 { animation-delay: .05s; }
.hero-animate.d2 { animation-delay: .18s; }
.hero-animate.d3 { animation-delay: .31s; }
.hero-animate.d4 { animation-delay: .44s; }
.hero-animate.d5 { animation-delay: .57s; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-animate { opacity: 1; transform: none; animation: none; }
}

/* ---- Rotierendes Wort in der Hero-Ueberschrift (echter Textaustausch, kein Overlay) ---- */
.rotating-word-simple {
  display: inline-block; color: var(--puls-500); transition: opacity .3s ease;
  min-width: 10.4ch; text-align: left;
}
.rotating-word-simple.fading { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rotating-word-simple { transition: none; } }
.hero-cols { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 1024px) {
  .hero-cols { grid-template-columns: 7fr 5fr; gap: 2rem; padding: 6rem 0; align-items: start; }
}
.hero-eyebrow { font-size: .875rem; font-weight: 500; color: var(--puls-600); }
.hero-title { margin: 1rem 0 0; font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.01em; font-weight: 600; }
@media (min-width: 640px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.25rem; } }
.hero-sub { margin-top: 1.5rem; max-width: 38rem; font-size: 1.125rem; line-height: 1.6; color: var(--slate-550); }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.trust-list {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-200);
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: .625rem; }
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--puls-500); }
.trust-item span { font-size: .875rem; line-height: 1.4; color: var(--slate-550); }

/* Rechner-Karte */
.calc-card { border: 1px solid var(--slate-200); border-radius: .75rem; background: #fff; box-shadow: 0 1px 0 0 rgba(15,31,56,0.04); }
.calc-head { display: flex; align-items: center; gap: .625rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--slate-200); font-size: .875rem; font-weight: 500; }
.calc-head svg { width: 16px; height: 16px; color: var(--puls-500); }
.calc-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.calc-label { font-size: .875rem; color: var(--slate-550); margin-bottom: .5rem; display: block; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.branch-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem;
  min-height: 64px; padding: .5rem; border-radius: .5rem; border: 1px solid var(--slate-200);
  font-size: .75rem; font-weight: 500; color: var(--slate-550); background: #fff; cursor: pointer;
}
.branch-btn svg { width: 18px; height: 18px; }
.branch-btn.active { border-color: var(--puls-500); background: var(--puls-50); color: var(--puls-700); }
.slider-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-size: .875rem; }
.slider-row .slate { color: var(--slate-550); }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 4px; border-radius: 999px;
  background: var(--slate-200); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 999px;
  background: var(--puls-500); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--slate-200);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 999px; background: var(--puls-500);
  cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--slate-200);
}
.calc-result { border-radius: .5rem; background: var(--navy-900); color: #fff; padding: 1.25rem; transition: box-shadow .3s ease; }
.calc-result-value { transition: color .2s ease; }
@keyframes valueUpdateFlash { 0% { color: #8fbbe3; } 100% { color: #fff; } }
.calc-result-value.value-updated { animation: valueUpdateFlash .5s ease; }
@media (prefers-reduced-motion: reduce) { .calc-result-value.value-updated { animation: none; } }
.calc-result-label { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.calc-result-label svg { width: 14px; height: 14px; }
.calc-result-value { margin-top: .375rem; font-size: 1.5rem; font-weight: 600; }
.calc-result-foot { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.7); }

/* ---- Section-Grundgerüst ---- */
.section { padding: 4rem 0; }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-eyebrow { font-size: .875rem; font-weight: 500; color: var(--puls-600); }
.section-title { margin: .5rem 0 0; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }
.section-sub { margin-top: .75rem; color: var(--slate-550); line-height: 1.6; }
.section-alt { background: var(--paper); }

/* Spaltenlinien-Motiv */
.grid-lines {
  position: absolute; inset: 0; display: none; pointer-events: none;
}
@media (min-width: 1024px) { .grid-lines { display: grid; grid-template-columns: repeat(12, 1fr); } }
.grid-lines span { border-right: 1px solid rgba(221,227,236,0.5); }
.grid-lines span:last-child { border-right: none; }

/* ---- Vergleichsmatrix ---- */
.matrix-table { width: 100%; border-collapse: collapse; border: 1px solid var(--slate-200); border-radius: .5rem; overflow: hidden; }
.matrix-table th, .matrix-table td { text-align: left; padding: .875rem 1.25rem; border-bottom: 1px solid var(--slate-200); font-size: .9375rem; }
.matrix-table thead th { background: var(--navy-900); color: #fff; font-weight: 600; }
.matrix-table thead th:first-child { color: rgba(255,255,255,.6); font-weight: 500; }
.matrix-table tbody th { font-weight: 500; color: var(--slate-550); background: var(--paper); white-space: nowrap; }
.matrix-table tbody tr:last-child td, .matrix-table tbody tr:last-child th { border-bottom: none; }
.matrix-wrap-desktop { display: none; }
@media (min-width: 900px) { .matrix-wrap-desktop { display: block; } .matrix-wrap-mobile { display: none; } }

/* Mobile Accordion */
.accordion-item { border: 1px solid var(--slate-200); border-radius: .5rem; margin-bottom: .75rem; overflow: hidden; }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 1.25rem; background: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--navy-900);
}
.accordion-btn svg { width: 18px; height: 18px; color: var(--slate-550); transition: transform .15s ease; }
.accordion-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0; overflow: hidden; padding: 0 1.25rem;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-panel.open { max-height: 700px; padding: 0 1.25rem 1.25rem; }
@media (prefers-reduced-motion: reduce) { .accordion-panel { transition: none; } }
.accordion-panel.open { display: block; }
.accordion-row { display: flex; justify-content: space-between; gap: 1rem; padding: .625rem 0; border-top: 1px solid var(--slate-200); font-size: .875rem; }
.accordion-row .k { color: var(--slate-550); flex-shrink: 0; }
.accordion-row .v { text-align: right; }

/* ---- Karten (Branchen etc.) ---- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  border: 1px solid var(--slate-200); border-left: 3px solid var(--puls-500);
  border-radius: .5rem; padding: 1.75rem; background: #fff;
  box-shadow: 0 1px 2px 0 rgba(15,31,56,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover, .info-card:active { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,31,56,0.1); }
/* ---- Leistungen-Seite: nummerierte Icons + "Passt am besten fuer"-Tag ---- */
.info-card .mega-icon { margin-bottom: 1rem; }
.service-icon-badge {
  position: relative; display: inline-flex; width: 64px; height: 64px; border-radius: .75rem;
  background: var(--puls-50); color: var(--puls-600); align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: transform .3s ease;
}
.service-icon-badge svg { width: 28px; height: 28px; }
.service-icon-badge .num {
  position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 999px;
  background: var(--navy-900); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: .75rem;
  font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.reveal.in-view .service-icon-badge { animation: badgePop .5s ease .1s backwards; }
@keyframes badgePop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .reveal.in-view .service-icon-badge { animation: none; } }

.fit-tag {
  display: inline-flex; align-items: center; gap: .4375rem; margin-top: 1rem;
  padding: .4375rem .75rem; border-radius: 999px; background: var(--puls-50); color: var(--puls-700);
  font-size: .8125rem; font-weight: 500;
}
.fit-tag svg { width: 14px; height: 14px; flex-shrink: 0; }

.accordion-row { transition: background-color .15s ease; }
.accordion-row:hover { background: var(--paper); }
.accordion-row .v { font-weight: 500; color: var(--navy-900); }
.info-card .card-illustration-wrap {
  display: block; overflow: hidden; width: 100%; margin: 0 0 1.25rem;
  border-radius: .5rem; aspect-ratio: 480 / 320;
}
.info-card .card-illustration-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

.photo-banner-wrap { display: block; overflow: hidden; width: 100%; border-radius: .75rem; aspect-ratio: 16 / 9; }
.photo-banner-wrap.wide { aspect-ratio: 16 / 9; }
.photo-banner-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.info-card h3 { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 600; color: var(--navy-900); }
.info-card p { margin: 0; color: var(--slate-550); font-size: .9375rem; line-height: 1.6; }
.info-card ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.info-card li { display: flex; gap: .5rem; font-size: .875rem; color: var(--slate-550); }
.info-card li svg { width: 15px; height: 15px; color: var(--puls-500); flex-shrink: 0; margin-top: 2px; }

/* ---- Statistik-Band (hoher Kontrast, direkt unter dem Hero) ---- */
.stat-band { background: var(--navy-900); color: #fff; }
.stat-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); text-align: left; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { border-left: 2px solid var(--puls-500); padding-left: 1rem; }
.stat-value { font-size: 2rem; font-weight: 600; line-height: 1; }
.stat-label { margin-top: .5rem; font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ---- Prozess-Schritte ---- */
.process-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { position: relative; padding-top: 2.5rem; }
.process-num {
  position: absolute; top: 0; left: 0; width: 2.25rem; height: 2.25rem;
  border-radius: .5rem; background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: .9375rem;
}
.process-step h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; color: var(--navy-900); }
.process-step p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--slate-550); }

/* ---- Testimonial ---- */
.testimonial {
  border-left: 3px solid var(--puls-500); background: #fff; border: 1px solid var(--slate-200);
  border-left-width: 3px; border-radius: .5rem; padding: 2rem 2.25rem;
}
.testimonial blockquote {
  margin: 0; font-size: 1.25rem; line-height: 1.5; color: var(--navy-900); font-weight: 500;
}
.testimonial footer { margin-top: 1.25rem; font-size: .875rem; color: var(--slate-550); }
.testimonial footer strong { color: var(--navy-900); }

/* ---- CTA-Band ---- */
.cta-band { background: var(--navy-900); color: #fff; }
.cta-band .section-title { color: #fff; }
.cta-band .section-sub { color: rgba(255,255,255,.7); }
.cta-band-row { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .cta-band-row { flex-direction: row; align-items: center; } }

/* ---- Footer ---- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 600; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 1rem; font-size: .8125rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }

/* ---- Formular (Anfrage) ---- */
.form-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 5fr 7fr; } }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 1rem; border: 1px solid var(--slate-200);
  border-radius: .5rem; font-family: inherit; font-size: .9375rem; color: var(--navy-900); background: #fff;
}
.field textarea { min-height: 120px; padding: .75rem 1rem; resize: vertical; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.progress-steps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.progress-steps span { height: 4px; flex: 1; border-radius: 999px; background: var(--slate-200); }
.progress-steps span.done { background: var(--puls-500); }
.contact-person { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: .75rem; background: var(--paper); }
.contact-person .avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--puls-100); color: var(--puls-700); display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }

/* ---- Frage-Assistent (regelbasiert) ---- */
.chat-toggle {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 130;
  height: 56px; padding: 0 1.25rem 0 1rem; border-radius: 999px; background: var(--puls-500); color: #fff;
  display: flex; align-items: center; gap: .5rem; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,31,56,0.3);
  font-family: inherit; font-size: .875rem; font-weight: 600;
}
.chat-toggle svg { width: 24px; height: 24px; flex-shrink: 0; }
.chat-toggle span { white-space: nowrap; }
@media (max-width: 640px) {
  .chat-toggle { width: 56px; padding: 0; justify-content: center; }
  .chat-toggle span { display: none; }
}
@media (max-width: 1179px) { .chat-toggle { bottom: calc(76px + env(safe-area-inset-bottom)); left: 1rem; } }

@keyframes chatAttention {
  0%, 100% { box-shadow: 0 4px 14px rgba(15,31,56,0.3), 0 0 0 0 rgba(47,111,176,.5); }
  50% { box-shadow: 0 4px 14px rgba(15,31,56,0.3), 0 0 0 10px rgba(47,111,176,0); }
}
.chat-toggle.attention { animation: chatAttention 1.6s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .chat-toggle.attention { animation: none; } }

.chat-panel {
  position: fixed; left: 1.25rem; bottom: 5.5rem; z-index: 130;
  width: min(340px, calc(100vw - 2rem)); max-height: min(480px, calc(100vh - 8rem));
  background: #fff; border: 1px solid var(--slate-200); border-radius: .75rem;
  box-shadow: 0 8px 30px rgba(15,31,56,.18); display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; }
@media (max-width: 1179px) { .chat-panel { bottom: calc(140px + env(safe-area-inset-bottom)); left: 1rem; } }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1rem; background: var(--navy-900); color: #fff; font-size: .875rem; font-weight: 500; }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; display: flex; padding: .25rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.chat-msg { max-width: 88%; padding: .625rem .875rem; border-radius: .75rem; line-height: 1.5; }
.chat-msg.bot { background: var(--paper); color: var(--navy-900); align-self: flex-start; border-bottom-left-radius: .25rem; }
.chat-msg.chat-typing { display: flex; gap: 4px; padding: .875rem 1rem; align-items: center; }
.chat-msg.chat-typing span {
  width: 6px; height: 6px; border-radius: 999px; background: var(--slate-550);
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}
.chat-msg.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-msg.chat-typing span { animation: none; opacity: .8; } }
.chat-msg.user { background: var(--puls-500); color: #fff; align-self: flex-end; border-bottom-right-radius: .25rem; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .5rem; }
.chat-quick button { font-size: .75rem; min-height: 32px; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--slate-200); background: #fff; color: var(--navy-900); cursor: pointer; }
.chat-quick button:hover { border-color: var(--puls-500); color: var(--puls-600); }
.chat-input-row { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--slate-200); }
.chat-input-row input { flex: 1; min-height: 40px; padding: 0 .75rem; border: 1px solid var(--slate-200); border-radius: .5rem; font-family: inherit; font-size: .8125rem; }
.chat-input-row button { min-height: 40px; padding: 0 .875rem; }

/* ---- Sprachumschalter (Dropdown mit Flaggen) ---- */
.lang-dropdown { position: relative; flex-shrink: 0; }
.lang-dropdown-toggle {
  display: flex; align-items: center; gap: .4375rem; flex-shrink: 0; white-space: nowrap;
  padding: .4375rem .625rem; border-radius: .375rem; border: 1px solid var(--slate-200);
  background: #fff; cursor: pointer; font-family: inherit; font-size: .8125rem; font-weight: 500;
  color: var(--navy-900);
}
.lang-dropdown-toggle:hover { background: var(--paper); }
.lang-dropdown-toggle svg.chevron { width: 11px; height: 11px; color: var(--slate-550); transition: transform .15s ease; }
.lang-dropdown-toggle[aria-expanded="true"] svg.chevron { transform: rotate(180deg); }
.flag-icon {
  display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.15); flex-shrink: 0;
}
.flag-icon svg { width: 100%; height: 100%; display: block; }
.lang-dropdown-panel {
  display: none; position: absolute; top: calc(100% + .5rem); right: 0; background: #fff;
  border: 1px solid var(--slate-200); border-radius: .5rem; box-shadow: 0 8px 24px rgba(15,31,56,.14);
  padding: .375rem; min-width: 170px; z-index: 70;
}
.lang-dropdown-panel.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: .625rem; padding: .5rem .625rem; border-radius: .375rem;
  font-size: .875rem; color: var(--navy-900); white-space: nowrap;
}
.lang-option:hover { background: var(--paper); }
.lang-option.active { background: var(--puls-50); color: var(--puls-700); font-weight: 500; }

/* Drawer-Variante: Panel oeffnet nach unten im Fluss statt als Overlay */
.drawer-section .lang-dropdown-panel { position: static; box-shadow: none; border: none; padding: .5rem 0 0; display: none; }
.drawer-section .lang-dropdown-panel.open { display: block; }
.drawer-section .lang-dropdown-toggle { width: 100%; justify-content: space-between; min-height: 44px; }

/* Schlanker Header fuer fremdsprachige Bewerberseiten */
.lang-header-row { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 0; }
.lang-header-row .logo-link img { height: 40px; }
.lang-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .lang-header-row { justify-content: center; text-align: center; }
  .lang-header-row .logo-link { width: 100%; justify-content: center; }
  .lang-nav { width: 100%; justify-content: center; gap: .75rem 1rem; }
  .lang-nav .phone-link { border-right: none; padding-right: 0; }
}

/* ---- Stellen-Ticker (kontinuierlich laufend) ---- */
.job-ticker { display: flex; align-items: stretch; background: var(--navy-900); color: #fff; overflow: hidden; }
.job-ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: .375rem;
  padding: .625rem 1rem; background: var(--puls-500); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.job-ticker-label svg { width: 13px; height: 13px; }
.job-ticker-track { flex: 1; overflow: hidden; position: relative; }
.job-ticker-content {
  display: flex; width: max-content; align-items: center; height: 100%;
  animation: tickerScroll 38s linear infinite;
}
.job-ticker:hover .job-ticker-content, .job-ticker:focus-within .job-ticker-content { animation-play-state: paused; }
.job-ticker-item { display: flex; align-items: center; gap: .5rem; padding: .625rem 1.5rem; font-size: .8125rem; white-space: nowrap; color: rgba(255,255,255,.9); }
.job-ticker-item .job-ticker-city { color: var(--puls-300); font-weight: 500; }
.job-ticker-dot { color: rgba(255,255,255,.3); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .job-ticker-content { animation-duration: 120s; } }

/* ---- Scroll-Fortschrittsbalken ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--puls-500); z-index: 250; transition: width .1s ease-out;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { transition: none; } }

/* ---- Header reagiert auf Scrollen ---- */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(15,31,56,0.08); }

/* ---- Skip-Link (Barrierefreiheit) ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--navy-900); color: #fff; padding: .875rem 1.25rem;
  border-radius: 0 0 .5rem 0; font-size: .9375rem; font-weight: 500;
}
.skip-link:focus { left: 0; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---- Mobile Sticky Action Bar ---- */
.mobile-action-bar { display: none; }
@media (max-width: 1179px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-action-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: #fff; border-top: 1px solid var(--slate-200);
    padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
    gap: 8px; box-shadow: 0 -2px 10px rgba(15,31,56,0.08);
  }
}
.mobile-action-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 48px; border-radius: .5rem; font-size: .6875rem; font-weight: 500;
  color: var(--navy-900); background: var(--paper);
}
.mobile-action-bar a svg { width: 19px; height: 19px; }
.mobile-action-bar a.primary { background: var(--puls-500); color: #fff; }
body.cookie-banner-open .mobile-action-bar { display: none; }
body.cookie-banner-open .chat-toggle,
body.cookie-banner-open .chat-panel { display: none !important; }

/* ---- Nach-oben-Button ---- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 120;
  width: 46px; height: 46px; border-radius: 999px; background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center; border: none; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 14px rgba(15,31,56,0.3);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (max-width: 1179px) { .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom)); right: 1rem; } }

/* ---- Cookie-Banner ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 1.25rem 1.5rem;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner { max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie-text { font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.85); max-width: 40rem; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-actions .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-actions .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Scroll-Reveal (dezent, ein einziges Muster) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Gestaffelte Einblendung von Karten/Schritten innerhalb eines Reveal-Bereichs */
.reveal .card-grid > *, .reveal .process-grid > *, .reveal .accordion-item, .reveal .accordion-row {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in-view .card-grid > *, .reveal.in-view .process-grid > *, .reveal.in-view .accordion-item, .reveal.in-view .accordion-row {
  opacity: 1; transform: translateY(0);
}
.reveal.in-view .card-grid > *:nth-child(1), .reveal.in-view .process-grid > *:nth-child(1), .reveal.in-view .accordion-item:nth-child(1), .reveal.in-view .accordion-row:nth-child(1) { transition-delay: .05s; }
.reveal.in-view .card-grid > *:nth-child(2), .reveal.in-view .process-grid > *:nth-child(2), .reveal.in-view .accordion-item:nth-child(2), .reveal.in-view .accordion-row:nth-child(2) { transition-delay: .11s; }
.reveal.in-view .card-grid > *:nth-child(3), .reveal.in-view .process-grid > *:nth-child(3), .reveal.in-view .accordion-item:nth-child(3), .reveal.in-view .accordion-row:nth-child(3) { transition-delay: .17s; }
.reveal.in-view .card-grid > *:nth-child(4), .reveal.in-view .process-grid > *:nth-child(4), .reveal.in-view .accordion-item:nth-child(4), .reveal.in-view .accordion-row:nth-child(4) { transition-delay: .23s; }
.reveal.in-view .card-grid > *:nth-child(5), .reveal.in-view .process-grid > *:nth-child(5), .reveal.in-view .accordion-item:nth-child(5), .reveal.in-view .accordion-row:nth-child(5) { transition-delay: .29s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal .card-grid > *, .reveal .process-grid > *, .reveal .accordion-item, .reveal .accordion-row { opacity: 1; transform: none; transition: none; }
}

/* ---- FAQ ---- */
.faq-wrap { max-width: 44rem; }

/* ---- Stellenfilter ---- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  padding: 1.25rem; background: var(--paper); border: 1px solid var(--slate-200);
  border-radius: .75rem; margin-bottom: 2rem;
}
.filter-bar select, .filter-bar input[type="text"] {
  min-height: 44px; padding: 0 1rem; border: 1px solid var(--slate-200);
  border-radius: .5rem; font-family: inherit; font-size: .875rem;
  background: #fff; color: var(--navy-900);
}
.filter-bar label { font-size: .8125rem; color: var(--slate-550); display: flex; flex-direction: column; gap: .25rem; }
.filter-bar .btn { min-height: 44px; }
.filter-bar [data-ort-clear] { width: 44px; padding: 0; font-size: 1.125rem; line-height: 1; flex-shrink: 0; }
@media (max-width: 640px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar label { width: 100%; }
  .filter-bar label > span { flex-wrap: wrap; }
  .filter-bar label > span input[type="text"] { flex: 1 1 140px; min-width: 0 !important; }
  .filter-bar > button[data-use-location] { width: 100%; align-self: stretch !important; }
}
.filter-count { font-size: .8125rem; color: var(--slate-550); margin-bottom: 1rem; }
.job-card-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem;
  border-radius: 999px; font-size: .75rem; font-weight: 500;
  background: #fff; color: var(--slate-550); border: 1px solid var(--slate-200);
}
.badge svg { width: 12px; height: 12px; }
.badge-new { background: var(--puls-50); color: var(--puls-700); border-color: var(--puls-100); }
.badge-distance { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.jobs-empty { padding: 3rem 1.5rem; text-align: center; color: var(--slate-550); }
.job-card h3 { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
