/* =========================================================================
   Oliver Lange – Kälte- & Klimatechnik  ·  Theme styles
   Portiert 1:1 aus dem Next.js/Strapi-Design (globals.css + Modul-CSS).
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #07131f;
  --bg-elev: #0c1e2e;
  --bg-elev-2: #102636;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #34c6ef;
  --accent-hover: #1f9fe0;
  --accent-ink: #06222f;

  --text: #ffffff;
  --text-muted: #bcd4e6;
  --text-dim: #9fb8ca;
  --eyebrow: #9fe3fb;
  --heading-ink: #ffffff;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --container: 1200px;
  --container-w: min(var(--container), 92vw);
  --radius: 16px;
  --radius-lg: 6px;
  --radius-pill: 999px;

  --section-y: clamp(56px, 8vw, 110px);
  --header-h: 96px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Section themes ---------- */
.theme { background: var(--bg); color: var(--text-muted); }
.theme-dark { }
.theme-soft {
  --bg: #0a1f33;
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(14, 99, 196, 0.22), transparent 55%),
    #0a1f33 !important;
}
.theme-light {
  --bg: #f3f7fb;
  --bg-elev: #ffffff;
  --bg-elev-2: #dce8f1;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --border: rgba(13, 34, 51, 0.12);
  --border-strong: rgba(13, 34, 51, 0.2);
  --text: #0d2233;
  --text-muted: #5b7184;
  --text-dim: #5b7184;
  --eyebrow: #0e63c4;
  --heading-ink: #0d2233;
}
.theme-accent {
  --bg: var(--accent);
  --bg-elev: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.16);
  --surface-strong: rgba(255, 255, 255, 0.24);
  --border: rgba(6, 34, 47, 0.18);
  --border-strong: rgba(6, 34, 47, 0.3);
  --text: #06222f;
  --text-muted: #06222f;
  --text-dim: #0a3243;
  --eyebrow: #06222f;
  --heading-ink: #06222f;
}

/* ---------- Layout helpers ---------- */
.container { width: var(--container-w); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--accent));
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--heading-ink, var(--text));
}
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.02rem; line-height: 1.6; color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: var(--surface-strong); color: var(--text); border-color: var(--border-strong); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--link { background: transparent; color: var(--accent); padding-inline: 0; }
.btn--link:hover { transform: none; text-decoration: underline; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent);
  padding: 4px 11px; border-radius: var(--radius-pill);
}
.pill--outline { color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); }

/* ---------- Cards / grid ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--border-strong); background: var(--surface-strong); transform: translateY(-3px); }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.prose p { margin-bottom: 1rem; color: var(--text-dim); }
.prose p:last-child { margin-bottom: 0; }

/* =========================================================================
   BLOCKS
   ========================================================================= */

/* ---- Hero ---- */
.hero { position: relative; padding-block: clamp(60px, 10vw, 130px) var(--section-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(52, 198, 239, 0.16), transparent 70%),
    radial-gradient(50% 50% at 0% 30%, rgba(31, 159, 224, 0.1), transparent 70%);
  pointer-events: none;
}
.heroInner { position: relative; max-width: 820px; }
.heroTeam { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(84px, 9vw, 140px), 1fr)); align-content: start; opacity: 0.34; filter: saturate(0.75); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 30%, #000 72%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 30%, #000 72%); }
.heroTeam img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero--team::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, transparent, #07131f); pointer-events: none; }
.hero--team .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .heroTeam { opacity: 0.22; -webkit-mask-image: none; mask-image: none; }
}
.heroCenter { margin-inline: auto; text-align: center; }
.heroTitle { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; margin: 22px 0 0; text-wrap: balance; }
.heroEyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--eyebrow, #9fe3fb); font-weight: 600;
}
.heroEyebrowDot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(52, 198, 239, 0.2); }
.heroTitleAccent { color: var(--accent); }
.heroMedia { position: relative; }
.heroMedia .mediaFrame { border: 0; }
.heroImageBadge { position: absolute; left: 0; bottom: 0; background: #07131f; color: #fff; font-size: 0.95rem; font-weight: 500; padding: 10px 18px; border-radius: 0 6px 0 6px; }
.heroSubtitle { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 50ch; margin-top: 26px; }
.heroCenter .heroSubtitle { margin-inline: auto; }
.heroCtas { margin-top: 32px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-dim); }
.heroGrid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.heroGrid .heroInner { max-width: none; }
@media (max-width: 900px) {
  .heroGrid { grid-template-columns: 1fr; }
  .heroGrid .heroMedia { order: -1; }
}

/* ---- Shared media frame + placeholder ---- */
.mediaFrame {
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-elev-2);
}
.mediaFrame img { width: 100%; height: 100%; object-fit: cover; }
.heroMedia .mediaFrame { aspect-ratio: 4 / 3.2; }
.mediaFrame--ratio { aspect-ratio: 4 / 3; }
.mediaPlaceholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--text-dim);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(52, 198, 239, 0.05) 14px, rgba(52, 198, 239, 0.05) 28px),
    linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev));
}
.mediaPlaceholder svg { width: 38px; height: 38px; opacity: 0.55; color: var(--accent); }
.mediaPlaceholder span { font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---- Media + Text ---- */
.mediaText { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mediaText.reverse .mediaTextBody { order: 2; }
.mediaText.reverse .mediaTextMedia { order: 1; }
.mediaTextMedia .mediaFrame { aspect-ratio: 4 / 3; }
.mediaCaption { margin-top: 10px; font-size: 0.85rem; color: var(--text-dim); }
.mediaTextBullets { margin-top: 26px; display: grid; gap: 2px; }
.mediaTextBullets li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mediaTextBullets .check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(52, 198, 239, 0.16); color: var(--accent);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}
.mediaTextBullets li span:last-child { font-size: 1.02rem; color: var(--text); }
.mediaNote { margin-top: 22px; color: var(--text); font-weight: 500; }
@media (max-width: 820px) {
  .mediaText { grid-template-columns: 1fr; }
  .mediaText.reverse .mediaTextBody, .mediaText.reverse .mediaTextMedia { order: 0; }
  .mediaText .mediaTextMedia { order: -1; }
}

/* ---- Ticker ---- */
.ticker {
  border-block: 1px solid var(--border); background: var(--bg-elev); overflow: hidden; padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tickerTrack { display: flex; gap: 40px; width: max-content; animation: ticker-scroll 38s linear infinite; }
.tickerItem {
  display: inline-flex; align-items: center; gap: 40px;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
}
.tickerItem::after { content: "•"; color: var(--accent); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tickerTrack { animation: none; } }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.statValue { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--heading-ink, var(--text)); }
.statLabel { margin-top: 6px; color: var(--text-dim); line-height: 1.45; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---- Rechtstexte (Impressum, Datenschutz) ---- */
.legalText { max-width: 72ch; overflow-wrap: anywhere; }
@media (max-width: 600px) { .legalText { hyphens: auto; } }
.legalText h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.legalText h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2.2em 0 0.6em; }
.legalText h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.legalText h4 { font-size: 1.05rem; margin: 1.4em 0 0.4em; }
.legalText > :first-child, .legalText > div > :first-child { margin-top: 0; }
.legalText ul, .legalText ol { margin: 0 0 1rem 1.3em; color: var(--text-dim); }
.legalText ul { list-style: disc; }
.legalText li { margin-bottom: 0.35em; }
.legalText a { color: #0e63c4; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Values: numbered list ---- */
.valuesHead { max-width: 620px; }
.valuesTitle {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -0.02em;
  margin: 14px 0 clamp(20px, 3vw, 40px); max-width: 18ch; color: var(--heading-ink, var(--text)); text-wrap: balance;
}
.valueList { border-top: 1px solid var(--border); }
.valueRow { display: flex; gap: clamp(16px, 3vw, 44px); align-items: flex-start; padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--border); }
.valueNum { font-family: var(--font-display); font-size: clamp(0.95rem, 1.3vw, 1.1rem); font-weight: 600; color: var(--accent); min-width: 2.4em; padding-top: 0.4em; }
.valueBody { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: clamp(8px, 2vw, 40px); }
.valueRowTitle {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.015em; line-height: 1.1; flex: 1 1 260px; color: var(--heading-ink, var(--text));
}
.valueRowText { margin: 0; color: var(--text-dim); font-size: 1.02rem; line-height: 1.6; flex: 2 1 320px; max-width: 58ch; }

/* ---- Benefits (Foto + Liste) ---- */
.benefits { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); }
.benefitsIntro { display: flex; flex-direction: column; align-items: flex-start; }
.benefitsTitle { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; color: var(--heading-ink, var(--text)); text-wrap: balance; }
.benefitsPhoto { width: 100%; flex: 1 1 0; min-height: 280px; margin-top: clamp(24px, 3vw, 40px); object-fit: cover; object-position: 38% 30%; border-radius: 6px; }
.benefitsList li { display: grid; grid-template-columns: 13rem 1fr; gap: 8px 28px; padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid var(--border-strong); }
.benefitsList li:last-child { border-bottom: 1px solid var(--border-strong); }
.benefitsList h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--heading-ink, var(--text)); }
.benefitsList p { color: var(--text-dim); line-height: 1.55; }
@media (max-width: 1000px) { .benefitsList li { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; }
  .benefitsPhoto { flex: none; min-height: 0; aspect-ratio: 4 / 3; object-position: 50% 30%; }
}

/* ---- Feature grid ---- */
.featureIcon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(52, 198, 239, 0.12); color: var(--accent); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.featureTitle { font-size: 1.15rem; margin-bottom: 8px; }
.featureText { color: var(--text-dim); font-size: 0.97rem; }
.plainItem { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.plainItem .check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(52, 198, 239, 0.14); color: var(--accent); display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }

/* ---- Service showcase ---- */
.serviceCard { position: relative; }
.serviceNum { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.serviceCard h3 { font-size: 1.3rem; margin-block: 12px 10px; }
.serviceFeatures { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.serviceFeatures li { display: flex; gap: 8px; font-size: 0.92rem; color: var(--text-dim); }
.serviceFeatures li::before { content: "→"; color: var(--accent); }

/* ---- Gallery ---- */
.galleryGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .galleryGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.galleryItem { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-elev-2); }
.galleryItem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.galleryItem:hover img { transform: scale(1.05); }

/* ---- Split section head ---- */
.splitHead { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 52px); }
.splitHeadMain { max-width: 620px; }
.splitHeadTitle { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--heading-ink, var(--text)); text-wrap: balance; }
.splitHeadIntro { max-width: 34ch; color: var(--text-dim); font-size: 1.02rem; line-height: 1.6; margin: 0; }

/* ---- Service LIST (home) ---- */
.serviceSection--nohead { padding-top: 0; }
.serviceSection { padding-bottom: 0; }
.serviceList { background: #07131f; }
.serviceRow { position: relative; display: flex; align-items: center; min-height: clamp(300px, 24vw, 400px); padding: 34px 0; overflow: clip; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #fff; }
.serviceRow:first-child { border-top: 0; }
.serviceRow > .container { position: relative; }
.serviceRowBody { max-width: min(46%, 520px); }
.serviceRowNum { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #34c6ef; margin-bottom: 8px; }
.serviceRowTitle { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -0.02em; color: #fff; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; }
.serviceRowText { margin: 0.75em 0 0; color: rgba(255, 255, 255, 0.84); font-size: 1.05rem; line-height: 1.55; max-width: 44ch; }
.serviceRowArrow { display: inline-block; margin-top: 1.1em; font-weight: 600; color: #fff; border-bottom: 2px solid #34c6ef; padding-bottom: 3px; }
.serviceRowArrow span { display: inline-block; transition: transform 0.2s; }
.serviceRow:hover .serviceRowArrow span { transform: translateX(5px); }
.serviceRow:focus-visible { outline: 3px solid #34c6ef; outline-offset: -5px; }
.serviceRowPhoto { position: absolute; inset: 0 0 0 auto; width: min(60%, 900px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); overflow: clip; }
.serviceRowPhoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (max-width: 1000px) and (min-width: 761px) {
  .serviceRowPhoto { -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35) 22%, #000 55%); mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35) 22%, #000 55%); }
}
.serviceMore { display: block; background: #0e63c4; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); padding: clamp(20px, 2.2vw, 30px) 0; transition: background 0.2s; }
.serviceMore:hover { background: #0b57ae; }
.serviceMore .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.serviceMore span { transition: transform 0.2s; }
.serviceMore:hover .container > span { transform: translateX(6px); }
.serviceMore:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@media (max-width: 760px) {
  .serviceRow { display: block; min-height: 0; padding: 0 0 40px; }
  .serviceRowPhoto { position: relative; width: 100%; aspect-ratio: 3 / 2; -webkit-mask-image: linear-gradient(180deg, #000 48%, transparent); mask-image: linear-gradient(180deg, #000 48%, transparent); }
  .serviceRowBody { max-width: none; margin-top: -56px; }
  .serviceRowNum { margin-bottom: 6px; }
}
.darkPill { display: inline-flex; align-items: center; gap: 10px; background: #0d2233; color: #fff; font-weight: 600; padding: 15px 28px; border-radius: var(--radius-pill); font-size: 1rem; transition: transform 0.2s; }
.darkPill:hover { transform: translateY(-3px); }
.darkPillArrow { color: var(--accent); }

/* ---- Team ---- */
.teamGroupTitle { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin: clamp(48px, 6vw, 72px) 0 26px; }
.avatar { position: relative; overflow: hidden; background: var(--bg-elev-2); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatarPlaceholder { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent); background: linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev)); }
.teamLeadGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); }
.teamLead { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.teamLead .avatar { border-radius: 6px; aspect-ratio: 1; }
.teamLead .avatarPlaceholder { font-size: 2.4rem; }
.teamLead .teamName { font-size: 1.5rem; line-height: 1.15; }
.teamLead .teamTag { margin-top: 2px; color: var(--eyebrow); font-weight: 500; }
.teamLead .teamRole { margin-top: 10px; font-size: 1rem; line-height: 1.5; }
@media (max-width: 640px) { .teamLead { grid-template-columns: 116px 1fr; } .teamLead .teamName { font-size: 1.3rem; } }
.teamStaffGrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(28px, 3.4vw, 44px) clamp(14px, 1.8vw, 24px); }
.teamStaffCard .avatar { border-radius: 6px; aspect-ratio: 1; margin-bottom: 14px; }
/* Porträts reichen bis zur Hüfte: leicht auf das Gesicht zoomen. */
.teamStaffCard .avatarPlaceholder { font-size: 2.6rem; background: var(--bg-elev-2); color: var(--text-dim); }
@media (max-width: 1000px) { .teamStaffGrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .teamStaffGrid { grid-template-columns: repeat(2, 1fr); } }
.teamName { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1.05rem; }
.teamRole { color: var(--text-dim); font-size: 0.9rem; margin-top: 2px; }
@media (max-width: 640px) {
  .teamLeadGrid { grid-template-columns: 1fr; }
}

/* ---- Jobs (accordion) ---- */
.jobsContainer { width: var(--container-w); margin-inline: auto; }
.jobsHead { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 40px); }
.jobsTitle { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--heading-ink, var(--text)); }
.jobsNote { color: #7fb6d6; font-size: 0.95rem; }
.jobGrid { border-bottom: 1px solid var(--border-strong); }
.jobCard { border-top: 1px solid var(--border-strong); }
.jobToggle { width: 100%; background: none; border: 0; cursor: pointer; color: var(--text); font-family: inherit; text-align: left; padding: clamp(20px, 2.6vw, 30px) 0; display: flex; align-items: center; gap: 20px; }
.jobToggle:hover .jobTitle { color: var(--accent); }
.jobToggleMain { flex: 1; min-width: 0; }
.jobTags { margin-bottom: 6px; color: var(--text-dim); font-size: 0.95rem; }
.jobTitle { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -0.015em; line-height: 1.15; transition: color 0.2s; }
.jobPlus { flex-shrink: 0; font-size: 2rem; line-height: 1; font-weight: 300; color: var(--accent); transition: transform 0.25s; }
.jobPlusOpen { transform: rotate(45deg); }
.jobPanel { padding: 0 0 clamp(26px, 3.4vw, 40px); }
.jobDesc { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 20px; max-width: 70ch; }
.jobColsInner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jobColsInner h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.jobColsInner ul { display: flex; flex-direction: column; gap: 8px; }
.jobColsInner li { display: flex; gap: 8px; font-size: 0.94rem; color: var(--text-dim); }
.jobColsInner li::before { content: "–"; color: var(--accent); }
.jobFoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.jobLocation a { text-decoration: underline; text-underline-offset: 3px; }
.jobLocation a:hover { color: var(--accent); }
.jobPage .jobColsInner h2 { font-size: 1.3rem; margin-bottom: 14px; }
.jobPage .jobDesc { font-size: 1.15rem; margin-bottom: 34px; }
.heroCompact { padding-bottom: clamp(40px, 5vw, 72px); }
.jobPageTitle { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; overflow-wrap: anywhere; }
.jobLocation { color: var(--text-dim); font-size: 0.92rem; }
@media (max-width: 600px) { .jobColsInner { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.ctaBand { --text: #fff; --heading-ink: #fff; --eyebrow: #cfeafb; background: #0e63c4; color: #e3f3fd; padding-block: clamp(48px, 6vw, 84px); }
.ctaBandInner { display: flex; flex-wrap: wrap; gap: 28px clamp(32px, 6vw, 80px); align-items: center; justify-content: space-between; }
.ctaBandText { flex: 1 1 420px; max-width: 680px; }
.ctaBand h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.05; text-wrap: balance; }
.ctaBand h2 + p { margin-top: 14px; max-width: 52ch; font-size: 1.08rem; }
.ctaBand .btn--primary { background: #fff; color: #0d2233; padding: 16px 28px; font-size: 1rem; }
.ctaBand .btn--primary:hover { background: #e3f3fd; }
.ctaBand .btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); padding: 16px 28px; font-size: 1rem; }
.ctaBand--urgent { --text: #06222f; --heading-ink: #06222f; background: var(--accent); color: #06222f; padding-block: clamp(32px, 4vw, 52px); }
.ctaBand--urgent h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.ctaBand--urgent .btn--primary { background: #07131f; color: #fff; font-size: 1.2rem; }
.ctaBand--urgent .btn--primary:hover { background: #0d2233; }

/* ---- Contact ---- */
.contactWrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contactDetails { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contactDetail { display: flex; flex-direction: column; gap: 2px; }
.contactDetail .label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.contactDetail .value { font-size: 1.1rem; color: var(--text); font-weight: 500; }
.contactDetail .value:hover { color: var(--accent); }
.emergencyNote { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border-strong); color: var(--text-dim); }
@media (max-width: 820px) { .contactWrap { grid-template-columns: 1fr; } }

/* ---- Bewerbungsdialog ---- */
.applyDialog { margin: auto; width: min(640px, 94vw); max-height: 92dvh; padding: 0; border: 0; border-radius: 6px; background: #0c1e2e; color: var(--text-muted); overflow: auto; }
.applyDialog::backdrop { background: rgba(7, 19, 31, 0.8); }
.applyForm { padding: clamp(20px, 4vw, 36px); }
.applyForm [data-apply-fields]:not([hidden]) { display: flex; flex-direction: column; gap: 16px; }
.applyHead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.applyHead h2 { font-size: 1.9rem; }
.applyClose { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.applyTrap { position: absolute; left: -9999px; }
.applyForm .btn { align-self: flex-start; }
.applyForm .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.applyNote { font-size: 0.9rem; color: var(--text-dim); }
.applyNote a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.applyDone { margin-bottom: 22px; font-size: 1.15rem; color: #fff; }
.field select { background: #07131f; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; padding: 14px 16px; color: #fff; font-family: inherit; font-size: 1rem; width: 100%; }
.field select:focus { outline: none; border-color: var(--accent); }
.field input, .field textarea { min-width: 0; width: 100%; }

/* ---- Form ---- */
.form { display: flex; flex-direction: column; gap: 18px; }
.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb6cc; font-weight: 500; }
.field input, .field textarea {
  background: rgba(7, 19, 31, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px;
  padding: 14px 16px; color: #fff; font-family: inherit; font-size: 1rem; transition: border-color 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b8298; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.formSuccess { border-top: 1px solid var(--border-strong); padding-top: 24px; gap: 6px; }
.formSuccess:focus { outline: none; }
.formSuccess h3 { color: var(--accent); margin-bottom: 10px; }
.formHint { margin-top: -8px; font-size: 0.9rem; color: var(--text-dim); }
.formError { color: #ff9b9b; font-size: 0.9rem; }
@media (max-width: 520px) { .formRow { grid-template-columns: 1fr; } }

/* =========================================================================
   HEADER  (scoped under .site-header)
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(7, 19, 31, 0.78); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header .logo { display: flex; align-items: center; }
.site-header .logoImg { height: 64px; width: auto; object-fit: contain; }
.site-header .logoText { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.site-header .nav { display: flex; align-items: center; gap: 34px; }
.site-header .navLink { position: relative; display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; padding-bottom: 5px; transition: color 0.2s ease; }
.navBadge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: var(--radius-pill); line-height: 1.4; }
.navBadgeDot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ink); }
.site-header .navLink:hover { color: var(--text); }
.site-header .navLink.is-active { color: var(--text); }
.site-header .navLink.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.site-header .burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.site-header .burger span { width: 24px; height: 2px; background: var(--text); display: block; transition: background 0.2s; }
.site-header .burger span:last-child { width: 16px; background: var(--accent); }
.mobileMenu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: rgba(7, 19, 31, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 32px 7vw; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobileMenu[hidden] { display: none; }
.mobileLink { display: flex; align-items: center; gap: 14px; color: var(--text); font-family: var(--font-display); font-size: 1.9rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobileCta { margin-top: 22px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-align: center; padding: 16px; border-radius: 14px; }
@media (max-width: 860px) {
  .site-header .nav { display: none; }
  .site-header .burger { display: flex; }
}

/* =========================================================================
   FOOTER  (scoped under .site-footer)
   ========================================================================= */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); padding-top: clamp(48px, 6vw, 72px); margin-top: 0; }
.site-footer .footerGrid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); margin-bottom: 14px; }
.site-footer .note { color: var(--text-dim); max-width: 42ch; font-size: 0.95rem; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col a, .site-footer .col span { color: var(--text-dim); font-size: 0.95rem; transition: color 0.2s; }
.site-footer .col a:hover { color: var(--accent); }
.site-footer .colTitle { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.site-footer .col .footerBadge { margin-left: 8px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: var(--radius-pill); }
.site-footer .bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.88rem; }
.site-footer .legal { display: flex; gap: 20px; }
.site-footer .legal a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .site-footer .footerGrid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; }
}
