/* =========================================================
   Personalvermittlung Jovanovic – Stylesheet
   Farbschema: seriös / korporativ (Dunkelblau + Akzent Orange)
   ========================================================= */

:root {
  --blau-900: #0b1c30;
  --blau-800: #0f2540;
  --blau-700: #16375c;
  --blau-600: #1d4e79;
  --akzent:   #e8801a;
  --akzent-d: #c8690c;
  --grau-100: #f5f7fa;
  --grau-200: #e7ebf0;
  --grau-400: #9aa7b5;
  --grau-600: #5b6b7c;
  --text:     #17242f;
  --weiss:    #ffffff;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(11, 28, 48, .10);
  --shadow-l: 0 12px 40px rgba(11, 28, 48, .16);
  --max:      1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: var(--blau-600); text-decoration: none; }
a:hover { color: var(--akzent); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--blau-900); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); margin-bottom: .6rem; }
h3 { font-size: 1.18rem; margin-bottom: .5rem; }

.section { padding: 80px 0; }
.section--grau { background: var(--grau-100); }
.section--dunkel { background: var(--blau-800); color: #dbe4ee; }
.section--dunkel h2, .section--dunkel h3 { color: var(--weiss); }

.section-kopf { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-kopf p { color: var(--grau-600); font-size: 1.05rem; }
.section--dunkel .section-kopf p { color: #a9bcd0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--akzent);
  margin-bottom: .7rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primar { background: var(--akzent); color: var(--weiss); box-shadow: 0 6px 18px rgba(232,128,26,.32); }
.btn--primar:hover { background: var(--akzent-d); color: var(--weiss); }
.btn--hell { background: var(--weiss); color: var(--blau-800); }
.btn--hell:hover { color: var(--blau-800); }
.btn--rand { border-color: rgba(255,255,255,.6); color: var(--weiss); background: transparent; }
.btn--rand:hover { background: rgba(255,255,255,.12); color: var(--weiss); }
.btn--voll { width: 100%; justify-content: center; }

/* ---------- Kopfzeile / Navigation ---------- */
.topbar {
  background: var(--blau-900); color: #b9c8d8;
  font-size: .86rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #b9c8d8; }
.topbar a:hover { color: var(--akzent); }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

.kopf {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grau-200);
}
.kopf .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 9px; flex: 0 0 46px;
  background: linear-gradient(135deg, var(--blau-700), var(--blau-600));
  color: var(--weiss); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.02em;
}
.logo__text strong { display: block; font-size: 1.02rem; color: var(--blau-900); line-height: 1.2; }
.logo__text span { font-size: .74rem; color: var(--grau-600); letter-spacing: .08em; text-transform: uppercase; }

.nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav a { color: var(--blau-800); font-weight: 500; font-size: .96rem; padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--akzent); transition: width .22s ease;
}
.nav a:hover::after, .nav a.aktiv::after { width: 100%; }
.nav .btn { padding: 10px 20px; font-size: .92rem; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px;
}
.burger span { display: block; height: 2px; background: var(--blau-800); border-radius: 2px; transition: .25s; }
.burger.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.offen span:nth-child(2) { opacity: 0; }
.burger.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero__medien { position: absolute; inset: 0; z-index: 0; }
.hero__medien img, .hero__medien video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(11,28,48,.93) 0%, rgba(15,37,64,.84) 45%, rgba(29,78,121,.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero__inhalt { max-width: 720px; color: var(--weiss); }
.hero h1 { color: var(--weiss); font-size: clamp(2rem, 4.6vw, 3.35rem); margin-bottom: 1.1rem; }
.hero h1 em { color: var(--akzent); font-style: normal; }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: #d5e0ec; margin-bottom: 2rem; max-width: 620px; }
.hero__aktionen { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero__fakten { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero__fakt strong { display: block; font-size: 1.75rem; color: var(--weiss); line-height: 1.15; }
.hero__fakt span { font-size: .85rem; color: #a9bcd0; }

/* ---------- Trust-Leiste ---------- */
.trust { background: var(--blau-900); padding: 22px 0; }
.trust ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px;
  justify-content: center; align-items: center;
}
.trust li { color: #c3d1df; font-size: .93rem; display: flex; align-items: center; gap: 9px; }
.trust svg { flex: 0 0 18px; color: var(--akzent); }

/* ---------- Raster / Karten ---------- */
.raster { display: grid; gap: 26px; }
.raster--2 { grid-template-columns: repeat(2, 1fr); }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }

.karte {
  background: var(--weiss); border: 1px solid var(--grau-200);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.karte:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: transparent; }
.karte__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blau-800); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild img { transform: scale(1.06); }
.karte__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: var(--akzent); color: var(--weiss);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px;
}
.karte__text { padding: 24px; flex: 1; }
.karte__text p { color: var(--grau-600); font-size: .96rem; }
.karte__liste { list-style: none; margin-top: 14px; }
.karte__liste li {
  font-size: .9rem; color: var(--grau-600);
  padding-left: 20px; position: relative; margin-bottom: 5px;
}
.karte__liste li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--akzent);
}

/* ---------- Über uns (Split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); }
.split__bild img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split p + p { margin-top: 1rem; }
.split p { color: var(--grau-600); }

.merkmale { list-style: none; margin-top: 1.6rem; display: grid; gap: 14px; }
.merkmale li { display: flex; gap: 13px; align-items: flex-start; }
.merkmale svg { flex: 0 0 22px; color: var(--akzent); margin-top: 3px; }
.merkmale strong { display: block; color: var(--blau-900); font-size: .98rem; }
.merkmale span { font-size: .9rem; color: var(--grau-600); }

/* ---------- Zielgruppen ---------- */
.ziel {
  background: var(--weiss); border-radius: var(--radius); padding: 38px 32px;
  border-top: 4px solid var(--akzent); box-shadow: var(--shadow);
}
.ziel--alt { border-top-color: var(--blau-600); }
.ziel__icon {
  width: 56px; height: 56px; border-radius: 12px; margin-bottom: 20px;
  background: rgba(232,128,26,.12); color: var(--akzent);
  display: flex; align-items: center; justify-content: center;
}
.ziel--alt .ziel__icon { background: rgba(29,78,121,.12); color: var(--blau-600); }
.ziel ol { margin: 18px 0 24px 20px; color: var(--grau-600); font-size: .95rem; }
.ziel ol li { margin-bottom: 8px; padding-left: 4px; }

/* ---------- Ablauf ---------- */
.schritte { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.schritt { position: relative; padding-top: 8px; }
.schritt__nr {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--akzent); color: var(--weiss);
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.schritt p { font-size: .93rem; color: #a9bcd0; }

/* ---------- Video ---------- */
.video-rahmen {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-l); background: var(--blau-900); aspect-ratio: 16/9;
}
.video-rahmen video, .video-rahmen iframe, .video-rahmen img {
  width: 100%; height: 100%; object-fit: cover; border: 0;
}
.video-hinweis { margin-top: 14px; font-size: .84rem; color: var(--grau-400); text-align: center; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galerie__item {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--blau-800); cursor: pointer;
}
.galerie__item:nth-child(1), .galerie__item:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie__item:hover img { transform: scale(1.07); }
.galerie__item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 26px 16px 14px; color: var(--weiss); font-size: .92rem; font-weight: 600;
  background: linear-gradient(to top, rgba(11,28,48,.88), transparent);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(6,15,26,.94); align-items: center; justify-content: center; padding: 30px;
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox__zu {
  position: absolute; top: 20px; right: 24px; background: none; border: 0;
  color: var(--weiss); font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }

.kontakt-block { margin-bottom: 26px; display: flex; gap: 16px; align-items: flex-start; }
.kontakt-block svg { flex: 0 0 22px; color: var(--akzent); margin-top: 4px; }
.kontakt-block strong { display: block; color: var(--blau-900); font-size: .95rem; margin-bottom: 2px; }
.kontakt-block a, .kontakt-block p { color: var(--grau-600); font-size: .98rem; }

.karte-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 26px; }
.karte-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

.formular {
  background: var(--weiss); border: 1px solid var(--grau-200);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.feld { margin-bottom: 18px; }
.feld label { display: block; font-size: .88rem; font-weight: 600; color: var(--blau-800); margin-bottom: 7px; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 13px 15px; font-size: .97rem; font-family: inherit; color: var(--text);
  border: 1px solid var(--grau-200); border-radius: 8px; background: var(--grau-100);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--akzent); background: var(--weiss);
  box-shadow: 0 0 0 3px rgba(232,128,26,.14);
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pflicht { color: var(--akzent); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; }
.check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: var(--akzent); }
.check label { font-size: .84rem; color: var(--grau-600); font-weight: 400; line-height: 1.5; }

.meldung { padding: 14px 18px; border-radius: 8px; font-size: .93rem; margin-bottom: 20px; }
.meldung--ok { background: #e7f6ec; color: #1c6b38; border: 1px solid #b9e2c8; }
.meldung--fehler { background: #fdeceb; color: #a52a21; border: 1px solid #f6c9c5; }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blau-800), var(--blau-600)); padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--weiss); margin-bottom: .35rem; }
.cta-band p { color: #c2d3e4; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--blau-900); color: #9fb2c4; padding: 62px 0 0; font-size: .93rem; }
.fuss a { color: #9fb2c4; }
.fuss a:hover { color: var(--akzent); }
.fuss__raster { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.fuss h4 { color: var(--weiss); font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.fuss ul { list-style: none; }
.fuss ul li { margin-bottom: 9px; }
.fuss .logo__text strong { color: var(--weiss); }
.fuss .logo__text span { color: #7f93a8; }
.fuss__unten {
  border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem;
}

/* ---------- Rechtsseiten ---------- */
.rechtstext { max-width: 860px; margin: 0 auto; }
.rechtstext h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.rechtstext h3 { margin-top: 1.6rem; }
.rechtstext p, .rechtstext li { color: var(--grau-600); font-size: .97rem; margin-bottom: .8rem; }
.rechtstext ul { margin-left: 22px; }
.hinweisbox {
  background: #fff8ec; border-left: 4px solid var(--akzent);
  padding: 18px 22px; border-radius: 6px; margin: 24px 0;
}
.hinweisbox p { color: #7a4d0d; margin: 0; font-size: .93rem; }

/* ---------- Animation beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

/* ---------- Nach-oben-Button ---------- */
.hoch {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--akzent); color: var(--weiss); font-size: 1.3rem; line-height: 1;
  box-shadow: var(--shadow-l); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.hoch.sichtbar { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .split { gap: 36px; }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .hero { min-height: 560px; }

  .burger { display: flex; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; background: var(--weiss);
    border-bottom: 1px solid var(--grau-200); box-shadow: var(--shadow-l);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.offen { max-height: 520px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; }
  .nav ul li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--grau-200); }
  .nav ul li:last-child { margin-top: 14px; }
  .nav .btn { width: 100%; justify-content: center; }

  .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; }
  .split, .kontakt-raster { grid-template-columns: 1fr; }
  .split__bild { order: -1; }
  .schritte { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie__item:nth-child(1), .galerie__item:nth-child(6) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .fuss__raster { grid-template-columns: 1fr; gap: 30px; }
  .hero__fakten { gap: 26px; }
  .hero__fakt strong { font-size: 1.4rem; }
  .topbar .container { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .formular { padding: 24px 20px; }
  .feld-reihe { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; justify-content: center; }
  .hero__aktionen { flex-direction: column; }
  .galerie { grid-template-columns: 1fr; }
  .galerie__item:nth-child(1), .galerie__item:nth-child(6) { grid-column: span 1; }
}

@media print {
  .kopf, .topbar, .hoch, .hero__medien, .cta-band, .burger { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ERWEITERUNG: Video-Hintergründe, Animationen, Dynamik
   ========================================================= */

/* ---------- Medien-Bühne: Video ODER animiertes Bild ---------- */
.buehne { position: absolute; inset: 0; overflow: hidden; background: var(--blau-900); }
.buehne__ebene {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.buehne__ebene.aktiv { opacity: 1; }
.buehne__ebene img,
.buehne__ebene video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Ken-Burns: langsames Zoomen/Wandern, solange kein Video da ist */
.buehne__ebene.aktiv img { animation: kenburns 18s ease-out both; }
@keyframes kenburns {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-1.5%, -1.5%, 0); }
}
.buehne.hat-video .buehne__ebene img { animation: none; }

/* ---------- Hero dynamisch ---------- */
.hero { min-height: 100vh; min-height: 100svh; }
.hero__overlay {
  background:
    linear-gradient(100deg, rgba(11,28,48,.94) 0%, rgba(15,37,64,.80) 42%, rgba(11,28,48,.42) 100%),
    linear-gradient(to top, rgba(11,28,48,.85) 0%, transparent 45%);
}

/* Laufender Lichtschein über dem Hero */
.hero__schein {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 40%, rgba(232,128,26,.16), transparent 70%);
  animation: schein 9s ease-in-out infinite alternate;
}
@keyframes schein {
  0%   { transform: translate3d(-4%, 0, 0) scale(1); opacity: .75; }
  100% { transform: translate3d(6%, 3%, 0) scale(1.14); opacity: 1; }
}

/* Zeilenweises Einfliegen der Headline */
.zeile { display: block; overflow: hidden; }
.zeile > span {
  display: block;
  transform: translateY(105%);
  animation: hochfliegen .95s cubic-bezier(.22,.85,.28,1) forwards;
}
.zeile:nth-child(1) > span { animation-delay: .15s; }
.zeile:nth-child(2) > span { animation-delay: .32s; }
@keyframes hochfliegen { to { transform: translateY(0); } }

.einblenden-verzoegert { opacity: 0; animation: sanftRein .9s ease forwards; }
.v1 { animation-delay: .55s; } .v2 { animation-delay: .75s; } .v3 { animation-delay: .95s; }
@keyframes sanftRein { to { opacity: 1; transform: none; } }

/* Scroll-Hinweis unten im Hero */
.scrollhinweis {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.scrollhinweis__linie {
  width: 1px; height: 46px; background: rgba(255,255,255,.35); position: relative; overflow: hidden;
}
.scrollhinweis__linie::after {
  content: ""; position: absolute; inset: 0; background: var(--akzent);
  animation: linieLauf 2.1s ease-in-out infinite;
}
@keyframes linieLauf {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Laufband / Ticker ---------- */
.ticker {
  background: var(--akzent); overflow: hidden; padding: 13px 0;
  border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08);
}
.ticker__spur { display: flex; width: max-content; animation: tickerLauf 34s linear infinite; }
.ticker:hover .ticker__spur { animation-play-state: paused; }
.ticker__gruppe { display: flex; align-items: center; flex: 0 0 auto; }
.ticker__gruppe span {
  color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: .03em;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
}
.ticker__gruppe span::after { content: "◆"; font-size: .55rem; opacity: .65; }
@keyframes tickerLauf { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Zahlen-Sektion mit Zählern ---------- */
.zahlen { background: var(--blau-900); position: relative; overflow: hidden; }
.zahlen .buehne { opacity: .22; }
.zahlen__inhalt { position: relative; z-index: 2; }
.zahlen__raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.zahl { padding: 10px 0; }
.zahl strong {
  display: block; font-size: clamp(2.1rem, 4.4vw, 3.1rem); color: var(--weiss);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.zahl strong .plus { color: var(--akzent); }
.zahl span { display: block; font-size: .88rem; color: #a9bcd0; margin-top: 8px; }

/* ---------- Video-Karten (Branchen) ---------- */
.vkarte {
  position: relative; border-radius: 12px; overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  background: var(--blau-800); isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.vkarte:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.vkarte .buehne { z-index: 0; }
.vkarte .buehne__ebene.aktiv img { animation-duration: 26s; }
.vkarte__schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,20,35,.95) 0%, rgba(8,20,35,.55) 45%, rgba(8,20,35,.15) 100%);
  transition: opacity .35s ease;
}
.vkarte:hover .vkarte__schleier { opacity: .82; }
.vkarte__inhalt { position: relative; z-index: 2; padding: 28px 26px; color: var(--weiss); width: 100%; }
.vkarte__inhalt h3 { color: var(--weiss); font-size: 1.3rem; margin-bottom: .4rem; }
.vkarte__inhalt p { color: #cbd8e6; font-size: .93rem; margin-bottom: 12px; }
.vkarte__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.vkarte__tags li {
  font-size: .78rem; padding: 4px 11px; border-radius: 20px;
  background: rgba(255,255,255,.13); color: #e4edf6;
  backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,.14);
}
.vkarte__marke {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--akzent); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px;
}
.vkarte__play {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center; color: #fff;
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s;
}
.vkarte.spielt .vkarte__play { opacity: 1; }
.vkarte__play::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulsieren 1.6s ease-in-out infinite; }
@keyframes pulsieren { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Video-Galerie ---------- */
.vgalerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vgalerie__item {
  position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10;
  background: var(--blau-800); cursor: pointer; isolation: isolate;
}
.vgalerie__item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.vgalerie__item .buehne { z-index: 0; }
.vgalerie__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,20,35,.82), transparent 60%);
  transition: opacity .3s;
}
.vgalerie__item:hover::after { opacity: .6; }
.vgalerie__titel {
  position: absolute; z-index: 2; left: 16px; bottom: 14px;
  color: #fff; font-size: .95rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.vgalerie__lupe {
  position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.vgalerie__item:hover .vgalerie__lupe { opacity: 1; }
.vgalerie__lupe span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(232,128,26,.92); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transform: scale(.85); transition: transform .3s;
}
.vgalerie__item:hover .vgalerie__lupe span { transform: scale(1); }

/* ---------- Großes Video-Band (Parallax) ---------- */
.videoband {
  position: relative; min-height: 520px; display: flex; align-items: center;
  overflow: hidden; color: var(--weiss);
}
.videoband .buehne { z-index: 0; }
.videoband__schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,28,48,.92) 0%, rgba(11,28,48,.62) 55%, rgba(11,28,48,.35) 100%);
}
.videoband .container { position: relative; z-index: 2; }
.videoband h2 { color: var(--weiss); }
.videoband p { color: #cbd8e6; max-width: 560px; }

/* ---------- Lightbox erweitert (Video) ---------- */
.lightbox video { max-width: 92vw; max-height: 86vh; border-radius: 8px; background: #000; }

/* ---------- Gestaffelte Reveal-Animation ---------- */
.reveal-staffel > * { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal-staffel.sichtbar > * { opacity: 1; transform: none; }
.reveal-staffel.sichtbar > *:nth-child(1) { transition-delay: .05s; }
.reveal-staffel.sichtbar > *:nth-child(2) { transition-delay: .15s; }
.reveal-staffel.sichtbar > *:nth-child(3) { transition-delay: .25s; }
.reveal-staffel.sichtbar > *:nth-child(4) { transition-delay: .35s; }
.reveal-staffel.sichtbar > *:nth-child(5) { transition-delay: .45s; }
.reveal-staffel.sichtbar > *:nth-child(6) { transition-delay: .55s; }

/* ---------- Kopfzeile: kompakter beim Scrollen ---------- */
.kopf { transition: box-shadow .3s ease, height .3s ease; }
.kopf.geschrumpft { box-shadow: 0 2px 18px rgba(11,28,48,.12); }
.kopf.geschrumpft .container { height: 64px; }
.kopf.geschrumpft .logo__mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 1rem; }

/* ---------- Fortschrittsbalken oben ---------- */
.fortschritt {
  position: fixed; top: 0; left: 0; z-index: 1000; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--akzent), #ffb45f);
}

/* ---------- Hinweis, wenn Videos fehlen ---------- */
.videohinweis {
  background: #fff8ec; border: 1px dashed var(--akzent);
  border-radius: 8px; padding: 14px 18px; margin-top: 22px;
  font-size: .88rem; color: #7a4d0d; text-align: center;
}

/* ---------- Responsive Ergänzungen ---------- */
@media (max-width: 1024px) {
  .zahlen__raster { grid-template-columns: repeat(2, 1fr); }
  .vgalerie { grid-template-columns: repeat(2, 1fr); }
  .vgalerie__item:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 860px) {
  .hero { min-height: 88vh; }
  .vgalerie { grid-template-columns: 1fr; }
  .vgalerie__item:nth-child(1) { grid-column: span 1; }
  .vkarte { min-height: 320px; }
  .videoband { min-height: 440px; }
  .ticker__spur { animation-duration: 22s; }
  .scrollhinweis { display: none; }
}
@media (max-width: 520px) {
  .zahlen__raster { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* Datensparmodus / Bewegung reduzieren: keine Videos, keine Animationen */
@media (prefers-reduced-motion: reduce) {
  .buehne__ebene.aktiv img,
  .hero__schein, .ticker__spur, .scrollhinweis__linie::after,
  .zeile > span, .einblenden-verzoegert { animation: none !important; }
  .zeile > span { transform: none; }
  .einblenden-verzoegert { opacity: 1; }
  .reveal-staffel > * { opacity: 1; transform: none; }
}

/* Zähler-Ziffern: gleiche Breite, damit die Zahl beim Hochzählen nicht springt */
.zaehler { display: inline-block; font-variant-numeric: tabular-nums; min-width: 1.6em; text-align: right; }
