/* =================================================================
   HCS – Hydraulic Control Systems GmbH
   Design-System  ·  "Engineered Minimalism"
   Schrift: IBM Plex Sans / Mono / Sans Condensed
   Marke:  #0078C8
   ================================================================= */

:root {
  /* Markenfarben */
  --blue:        #0078c8;
  --blue-600:    #0069b0;
  --blue-700:    #00538c;
  --blue-tint:   #e8f2fb;
  --blue-tint-2: #d6e8f7;

  /* Dunkel / Navy */
  --navy:        #0a2334;
  --navy-700:    #0e2e45;
  --navy-600:    #14405e;

  /* Text */
  --ink:         #15212b;
  --slate:       #50626f;
  --slate-300:   #8696a3;

  /* Flächen */
  --bg:          #ffffff;
  --bg-soft:     #f3f7fb;
  --bg-soft-2:   #eaf1f8;
  --line:        #dce5ed;
  --line-strong: #c3d2df;

  /* Maße */
  --maxw: 1520px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(10, 35, 52, .06);
  --shadow-md: 0 14px 40px -18px rgba(10, 35, 52, .35);
  --shadow-lg: 0 30px 70px -30px rgba(10, 35, 52, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-cond: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
ul, ol { padding-left: 1.15em; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -.01em; color: var(--navy); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 5vw, 96px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cfe0ec; }
.section--flush-top { padding-top: clamp(20px, 2.5vw, 32px); }
.section--flush-bottom { padding-bottom: clamp(20px, 2.5vw, 32px); }
.section--tight { padding-block: clamp(28px, 3vw, 52px); }

/* Blueprint-Raster (technischer Hintergrund) */
.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,120,200,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,120,200,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ---------- Typo-Bausteine ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: .7em;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--blue); display: inline-block;
}
.section--navy .kicker { color: #5bb6ef; }
.section--navy .kicker::before { background: #5bb6ef; }

.display {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  color: var(--navy);
}
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-family: var(--font-cond); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--slate); line-height: 1.6; }
.muted { color: var(--slate); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-top: 18px; }
.section-head p { margin-top: 16px; color: var(--slate); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .95em 1.5em; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius); cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,120,200,.6); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-700); box-shadow: none; background: var(--blue-tint); }
.btn--light { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost-light:hover { border-color: var(--ink); background: var(--bg-soft-2); box-shadow:none; }

/* =================================================================
   HEADER / NAV
   ================================================================= */
.topbar { height: 3px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-700) 100%); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 90px; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 62px; width: auto; transition: height .18s var(--ease); }
.nav-spacer { flex: 1; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-list a {
  display: inline-block; padding: 8px 13px;
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  position: relative; border-radius: var(--radius);
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover { color: var(--blue-700); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--blue-700); }

.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px; color: var(--slate-300);
}
.lang a { color: var(--slate); padding: 2px 3px; }
.lang a.is-active { color: var(--navy); font-weight: 600; }
.lang span { opacity: .4; }

.nav-cta { font-size: .78rem; padding: .7em 1.1em; }

/* Hell/Dunkel-Umschalter */
.theme-toggle {
  width: 40px; height: 40px; border: 1px solid var(--line-strong); background: transparent;
  border-radius: var(--radius); cursor: pointer; color: var(--slate); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { color: var(--blue-700); border-color: var(--blue); background: var(--blue-tint); }
.theme-toggle .ic-moon, .theme-toggle .ic-sun { display: inline-flex; align-items: center; }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .ic-sun { display: none; }
html.theme-dark .theme-toggle .ic-moon { display: none; }
html.theme-dark .theme-toggle .ic-sun { display: inline-flex; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius); cursor: pointer; padding: 0;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--navy); transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.burger span::before { transform: translate(-50%, -8px); }
.burger span::after  { transform: translate(-50%, 6px); }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav.is-open .burger span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding-top: clamp(40px, 4vw, 72px); padding-bottom: clamp(8px, 1vw, 16px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin-top: 24px; max-width: 38ch; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero-Copy: Kicker/Ueberschrift/Text/Buttons rutschen gestaffelt von rechts ein */
.stagger > * { opacity: 0; transform: translateX(56px); }
.stagger.is-in > * { animation: stagger-in .7s var(--ease) forwards; }
.stagger.is-in > *:nth-child(1) { animation-delay: 0s; }
.stagger.is-in > *:nth-child(2) { animation-delay: .12s; }
.stagger.is-in > *:nth-child(3) { animation-delay: .24s; }
.stagger.is-in > *:nth-child(4) { animation-delay: .36s; }
.stagger.is-in > *:nth-child(5) { animation-delay: .48s; }
.stagger.is-in > *:nth-child(6) { animation-delay: .6s; }
@keyframes stagger-in { to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; animation: none; }
}

/* Bild-Panel mit technischem Rahmen */
.hero-media { position: relative; }
.hero-frame {
  position: relative; border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 10px; background:
    linear-gradient(180deg, #fff, var(--bg-soft));
  box-shadow: var(--shadow-md);
}
.page-hero-media .hero-frame.world-map { background: linear-gradient(160deg, #274a67, #16293b); }
.hero-frame img { border-radius: 3px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; filter: saturate(1.05); }
.hero-frame video { display: block; border-radius: 3px; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 22, 34, .55); border: 2px solid rgba(255, 255, 255, .85);
  cursor: pointer; transition: background .2s, transform .2s;
}
.video-play:hover { background: rgba(10, 22, 34, .78); transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.video-play.is-hidden { display: none; }
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
}
.hero-frame-tag {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2;
  padding: 20px 22px 36px; border-radius: 3px 3px 0 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,15,25,.78) 0%, rgba(4,15,25,.32) 60%, transparent 100%);
  font-family: var(--font-cond); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: opacity .3s var(--ease);
}
.hero-frame-tag.is-hidden { opacity: 0; }
.hero-tag {
  position: absolute; right: 18px; bottom: 18px; z-index: 4;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  background: rgba(10,35,52,.82); color: #cfe6f7; padding: 7px 12px; border-radius: 3px;
  backdrop-filter: blur(4px); text-transform: uppercase;
}

/* =================================================================
   STATS-BAND (im Hero verankert, statt eigener Sektion)
   ================================================================= */
.hero-stats {
  position: relative; z-index: 2;
  margin-top: clamp(17px, 3.5vw, 37px); padding-top: clamp(24px, 2.5vw, 34px);
  border-top: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.hero-stats-quote { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-stats-quote .stats-grid { grid-template-columns: 1fr; align-content: center; }
.hero-stats-quote .stat { border-left: 0; padding: clamp(10px, 1.6vw, 16px) 0; display: flex; align-items: baseline; gap: 16px; }
.hero-stats-quote .stat:first-child { border-top: 0; }
.hero-stats-quote .stat:not(:first-child) { border-top: 1px solid var(--line); }
.hero-stats-quote .stat .num { flex-shrink: 0; min-width: 6.5ch; }
.hero-stats-quote .stat .label { margin-top: 0; }
.hero-stats-quote .quote-stack { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 2.4vw, 28px); height: 100%; }
.hero-stats-quote .quote-panel {
  padding: clamp(10px, 1.6vw, 16px) 0 0; display: flex; flex-direction: column; justify-content: flex-start;
  background: none; border: 0; box-shadow: none;
}
.hero-stats-quote .quote-stack .quote-panel:not(:first-child) { padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.hero-stats-quote .quote-panel .kicker { color: var(--blue); }
.hero-stats-quote .quote-panel .kicker::before { background: var(--blue); }
.hero-stats-quote .quote-panel blockquote { color: var(--ink); }
.hero-stats-quote .quote-panel .quote-text { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
.hero-stats-quote .quote-panel figcaption { color: var(--slate); }
@media (max-width: 1080px) { .hero-stats-quote { grid-template-columns: 1fr; } }
.stat {
  padding: clamp(26px, 3.5vw, 44px) clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--font-cond); font-weight: 600; color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.02em;
}
.stat .num span { color: var(--blue); }
.stat .label {
  margin-top: 10px; font-size: .82rem; color: var(--slate); line-height: 1.4;
  font-family: var(--font-mono); letter-spacing: .02em;
}

/* =================================================================
   TEASER-CARDS
   ================================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-tint-2); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.35rem; font-family: var(--font-cond); font-weight: 600; }
.card-body p { margin-top: 10px; color: var(--slate); font-size: .98rem; flex: 1; }
.card-link {
  margin-top: 18px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: .5em;
}
.card-link .arr { transition: transform .3s var(--ease); }
.card:hover .card-link .arr { transform: translateX(5px); }
.card-stretch { position: absolute; inset: 0; z-index: 5; }

/* ---- Imagefilm + Teaser-Cards nebeneinander (statt gestapelt) ---- */
.video-cards-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.vc-col .section-head { margin-bottom: clamp(22px, 2.5vw, 32px); }
.cards--compact { display: flex; flex-direction: column; gap: 14px; }
.card--row { flex-direction: row; }
.card--row .card-media { width: 132px; flex-shrink: 0; aspect-ratio: 4 / 3; }
.card--row .card-body { padding: 14px 18px; }
.card--row .card-body h3 { font-size: 1.1rem; }
.card--row .card-body p { margin-top: 4px; font-size: .88rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card--row .card-link { margin-top: 8px; }
@media (max-width: 920px) { .video-cards-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .card--row .card-media { width: 96px; } }

/* =================================================================
   SPLIT / FEATURE
   ================================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 2px; }
.feature-list li {
  position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.feature-list li::before {
  content: "+"; position: absolute; left: 4px; top: 12px; color: var(--blue);
  font-family: var(--font-mono); font-weight: 600;
}

/* Unternehmen: kompaktere Abstaende, weniger breite Leerzeilen zwischen Listenpunkten */
body.page-company .section-head { margin-bottom: clamp(22px, 2.6vw, 34px); }
body.page-company .feature-list { margin-top: 14px; }
body.page-company .feature-list li { padding: 8px 0 8px 32px; }
body.page-company .feature-list li::before { top: 6px; }

/* =================================================================
   CTA-BAND
   ================================================================= */
.cta {
  position: relative; overflow: hidden;
  background: var(--bg-soft);
}
.cta .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(24px, 2.5vw, 34px); padding-bottom: clamp(40px, 4vw, 64px); }
.cta h2 { color: var(--ink); font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta p { color: var(--slate); margin-top: 10px; max-width: 46ch; }
.cta-deco {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(10,35,52,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,35,52,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(80% 120% at 90% 50%, #000, transparent 70%);
          mask-image: radial-gradient(80% 120% at 90% 50%, #000, transparent 70%);
}
html.theme-dark .cta-deco {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--bg-soft); color: var(--slate); padding-top: clamp(44px, 4vw, 64px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 46px; width: auto; opacity: .95; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 34ch; color: var(--slate); }
.footer-col h4 { color: var(--ink); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--slate); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-contact p { font-size: .95rem; margin-bottom: 4px; color: var(--slate); }
.footer-contact a { color: var(--blue-700); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; font-size: .82rem; color: var(--slate-300); font-family: var(--font-mono); letter-spacing: .03em;
}
.footer-bottom a { color: var(--slate-300); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Marken-Fußnote (Bus-Systeme) ---------- */
.trademark-note {
  margin-top: 8px; padding-block: 20px 4px; border-top: 1px solid var(--line);
  font-size: .78rem; line-height: 1.5; color: var(--slate-300);
}

/* =================================================================
   REVEAL-ANIMATIONEN
   ================================================================= */
/* Einblende-Animationen bewusst entfernt: Inhalte sind IMMER sofort und
   vollständig sichtbar – unabhängig von JavaScript oder Render-Timing.
   (Die Klassen .reveal/.stagger bleiben wirkungslos im HTML stehen.)
   Hover-/Karten-Effekte weiter oben sind davon unberührt. */

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; }
  .hero .lead { max-width: 52ch; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav-list, .nav .lang { display: none; }
  .burger { display: block; }
  .nav { gap: 14px; height: 66px; }
  .nav-cta { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat:nth-child(5) { border-top: 1px solid var(--line); border-left: 0; grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Mobile-Menü */
  .nav-mobile {
    position: fixed; inset: 66px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: .3s var(--ease); box-shadow: var(--shadow-md); padding: 12px var(--gut) 26px; z-index: 99;
    max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav.is-open ~ .nav-mobile, .nav-mobile.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-mobile ul { list-style: none; padding: 0; margin: 0; }
  .nav-mobile a { display: block; padding: 14px 4px; font-size: 1.05rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
  .nav-mobile .mlang { margin-top: 18px; display: flex; gap: 14px; font-family: var(--font-mono); }
  .nav-mobile .mlang a { border: 0; padding: 0; color: var(--slate); }
  .nav-mobile .mlang a.is-active { color: var(--blue-700); font-weight: 600; }
}
@media (min-width: 921px) { .nav-mobile { display: none; } }
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   UNTERSEITEN-BAUSTEINE
   ================================================================= */

/* ---- Unterseiten-Kopf ---- */
.page-hero {
  padding-block: clamp(36px, 4vw, 60px) clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--line); background: var(--bg-soft); position: relative;
}
.breadcrumb {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em;
  color: var(--slate-300); display: flex; gap: 10px; align-items: center; margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--blue-700); }
.breadcrumb span { opacity: .5; }
.page-hero .kicker { margin-bottom: 14px; }
.page-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .lead { margin-top: 18px; max-width: 62ch; }

/* ---- Fließtext / Artikel ---- */
.prose { max-width: 768px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--font-cond); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--navy); }
.prose h4 { font-size: .95rem; margin-top: 1.1em; color: var(--blue-700); font-family: var(--font-mono); letter-spacing: .02em; text-transform: uppercase; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 26px; margin-top: .5em; }
.prose ul > li::before { content: "+"; position: absolute; left: 2px; color: var(--blue); font-family: var(--font-mono); font-weight: 600; }
.prose ol { counter-reset: i; }
.prose ol > li { position: relative; padding-left: 32px; margin-top: .5em; counter-increment: i; }
.prose ol > li::before { content: counter(i, decimal-leading-zero); position: absolute; left: 0; top: .1em; color: var(--blue); font-family: var(--font-mono); font-size: .82em; font-weight: 600; }
.prose ol.agb-sub { counter-reset: alpha; }
.prose ol.agb-sub > li { counter-increment: alpha; }
.prose ol.agb-sub > li::before { content: counter(alpha, lower-alpha) ")"; }
.prose .agb-doctitle { font-family: var(--font-cond); font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--navy); }
.prose .agb-note, .prose .agb-meta { color: var(--slate); font-size: .92rem; }
.prose a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 20px; color: var(--slate); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 1.2em; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }

/* ---- Inhalt + Seitenspalte ---- */
.with-aside { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside-card { position: sticky; top: 100px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.aside-card h4 { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 14px; }
.aside-card p { font-size: .92rem; color: var(--slate); margin-bottom: 14px; }
.aside-card .btn { width: 100%; justify-content: center; }

/* ---- Seitenkopf Vertriebspartner: immer dunkel, unabhängig vom Theme-Toggle (wie die Foto-Header) ---- */
.page-hero--partners {
  background: linear-gradient(160deg, #16293b, #0c1a28);
  padding-block: clamp(20px, 2.4vw, 32px);
  --blue: #35b6f0; --blue-700: #85d2f8;
  --slate: #8ea4b6; --slate-300: #61788a;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.20);
}
.page-hero--partners .page-title { color: #fff; }
.page-hero--partners .lead { color: #d3e2ee; }

/* ---- Seitenkopf mit Bild (Split) ---- */
.page-hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-split--wide-media { grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(20px, 3vw, 40px); }
.page-hero-media .hero-frame { box-shadow: var(--shadow-md); }
/* Grid-Items schrumpfen ohne min-width:0 nie unter die Inhalts-Mindestbreite
   (z.B. die breite Weltkarten-SVG) - das drueckt sonst die ganze Seite
   horizontal auf, statt nur innerhalb der Karte zu scrollen. */
.page-hero-copy, .page-hero-media { min-width: 0; }

/* ---- 2-spaltige Aufzählung ---- */
.feature-list.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 640px) { .feature-list.cols-2 { grid-template-columns: 1fr; } }

/* ---- Dienstleistungen-Kacheln (Kachel-Raster statt gestapelter Sektionen) ---- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 28px); align-items: start; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 34px); }
.service-card h3 { font-family: var(--font-cond); font-weight: 600; font-size: 1.3rem; color: var(--navy); }
.service-card .muted { margin-top: 8px; font-size: .92rem; }
.service-card .feature-list { margin-top: 16px; }
.service-card--wide { grid-column: 1 / -1; }
@media (max-width: 880px) { .service-grid { grid-template-columns: 1fr; } .service-card--wide { grid-column: auto; } }

/* ---- Produkt-Blöcke ---- */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(44px, 5vw, 80px); border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product .feature-list { margin-top: 16px; }
.product-tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: #fff; background: var(--blue); padding: 4px 9px; border-radius: 3px; text-transform: uppercase; display: inline-block; margin-bottom: 12px; }
.product-info h2 { font-family: var(--font-cond); }
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 690px; margin-top: 58px; }
.product-gallery .shot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.product:nth-child(even) .product-info { order: 2; }
.shot { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: linear-gradient(170deg, #fff, var(--bg-soft)); aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.05); }

/* ---- Vertriebspartner: Weltkarte ---- */
.world-map { padding: clamp(12px, 1.6vw, 20px); }
.world-map svg { display: block; width: 100%; height: auto; }
.wm-grid line { stroke: var(--line); stroke-width: 1; }
.wm-decoy { fill: var(--bg-soft-2); }
.map-region { cursor: pointer; }
.map-region path {
  fill: var(--blue-tint); stroke: var(--line-strong); stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill .25s var(--ease), stroke .25s var(--ease), stroke-width .25s var(--ease);
}
.map-region text {
  font-family: var(--font-mono); font-weight: 600; letter-spacing: .03em;
  fill: var(--ink); text-transform: uppercase; pointer-events: none;
}
.map-region:hover path, .map-region:focus-visible path { fill: var(--blue-tint-2); stroke: var(--blue); }
.map-region:focus-visible path { stroke-width: 2.5; }
.map-region:focus-visible { outline: none; }
.map-region.is-active path { fill: var(--blue); stroke: var(--blue-700); }
.map-region.is-active text { fill: #fff; }

/* Kartenpanel: immer dunkel, unabhängig vom Theme-Toggle (wie die Foto-Header) */
.hero-frame.world-map .wm-grid line { stroke: rgba(255,255,255,.09); }
.hero-frame.world-map .wm-decoy { fill: rgba(53,182,240,.16); }
.hero-frame.world-map .map-region path { fill: rgba(53,182,240,.32); stroke: rgba(255,255,255,.32); }
.hero-frame.world-map .map-region text { fill: #d7e4f0; }
.hero-frame.world-map .map-region:hover path, .hero-frame.world-map .map-region:focus-visible path { fill: rgba(53,182,240,.48); stroke: #35b6f0; }
.hero-frame.world-map .map-region.is-active path { fill: #35b6f0; stroke: #2aa6e2; }
.wm-reset {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--slate); background: none; border: 0; cursor: pointer; padding: 4px 0;
}
.wm-reset:hover { color: var(--blue-700); }

/* ---- Vertriebspartner ---- */
.region { padding-block: clamp(34px, 4vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: 90px; transition: padding .35s var(--ease); }
.region.acc-ready:not(.is-open) { padding-block: 14px; }
.region:first-of-type { border-top: 0; padding-top: 0; }
.region-title { font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.region-title::before { content: ""; width: 34px; height: 2px; background: var(--blue); flex-shrink: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.partner-card { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-logo { height: 52px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.partner-card h3 { font-size: 1.05rem; }
.partner-card p { font-size: .88rem; color: var(--slate); margin: 0; line-height: 1.5; }
.partner-card .p-web { font-family: var(--font-mono); font-size: .76rem; color: var(--blue-700); margin-top: auto; padding-top: 6px; word-break: break-word; }

/* ---- Downloads ---- */
.dl-archiv-note {
  margin-top: clamp(30px, 4vw, 52px); padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--slate-300);
}
.dl-archiv-note a { color: var(--blue-700); font-weight: 600; }
.dl-cat a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.dl-cat a:hover { color: var(--blue-700); }
.lock-note { font-size: .8em; color: var(--slate); font-weight: 400; }
.dl-group { margin-top: clamp(30px, 4vw, 52px); }
.dl-group:first-of-type { margin-top: 0; }
.dl-cat { font-family: var(--font-cond); font-weight: 600; font-size: 1.4rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dl-cat .count { font-family: var(--font-mono); font-size: .8rem; color: var(--slate-300); }
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dl-sub-wrap .dl-list { margin-top: 8px; }
.dl-subcat {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-700); margin: 22px 0 0;
}
.dl-subcat:first-child { margin-top: 0; }
.dl-item a { display: flex; align-items: center; gap: 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 5px; background: #fff; transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.dl-item a:hover { border-color: var(--blue); background: var(--blue-tint); transform: translateX(3px); }
.dl-type {
  font-family: var(--font-mono); font-size: 0; font-weight: 600; letter-spacing: .05em; color: #fff;
  background-color: var(--navy); background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
  padding: 5px 8px; border-radius: 3px; min-width: 34px; height: 30px; text-align: center; flex-shrink: 0;
}
.dl-type.pdf { background-color: #c0392b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); }
.dl-type.zip { background-color: #2c7a4b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='5' rx='1'/%3E%3Cpath d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E"); }
.dl-type.exe { background-color: #34557a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m7 9 3 3-3 3'/%3E%3Cpath d='M13 15h4'/%3E%3C/svg%3E"); }
.dl-name { flex: 1; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35; }
.dl-name-sub { display: inline-block; margin-top: 2px; color: var(--slate); font-weight: 400; }
.dl-arr { color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ---- Zeitleiste (Historie) ---- */
.t-era { margin-top: clamp(26px, 4vw, 44px); }
.t-era-title { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--navy); display: inline-block; padding: 7px 14px; border-radius: 3px; margin-bottom: 6px; }
.t-year { display: grid; grid-template-columns: 92px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.t-year-num { font-family: var(--font-cond); font-weight: 600; font-size: 1.5rem; color: var(--blue); line-height: 1.2; }
.t-year ul { margin: 0; padding-left: 0; list-style: none; }
.t-year li { position: relative; padding-left: 22px; margin-top: .4em; color: var(--ink); }
.t-year li:first-child { margin-top: 0; }
.t-year li::before { content: "–"; position: absolute; left: 0; color: var(--blue); }

/* ---- Kennzahlen-Kacheln ---- */
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.keyfact { background: #fff; padding: 24px; }
.keyfact .k-num { font-family: var(--font-cond); font-weight: 600; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.keyfact .k-num span { color: var(--blue); }
.keyfact .k-label { font-size: .85rem; color: var(--slate); margin-top: 8px; line-height: 1.4; }

/* ---- Kontakt ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-main { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.contact-line { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.contact-line:first-child { padding-top: 0; }
.contact-line .c-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-300); min-width: 92px; padding-top: 2px; }
.contact-line .c-val { color: var(--ink); }
.contact-line .c-val a { color: var(--blue-700); }
.map-embed { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-height: 360px; background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-form { display: grid; gap: 20px; max-width: 720px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-300); }
.cf-field input, .cf-field textarea {
  font: inherit; font-size: .96rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .85em 1em;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cf-field textarea { resize: vertical; min-height: 140px; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--slate); cursor: pointer; }
.cf-check input { margin-top: 4px; flex-shrink: 0; }
.cf-check a { color: var(--blue-700); }
.contact-form .btn { justify-self: start; border: none; }
.cf-notice { border-radius: var(--radius); padding: 16px 20px; font-size: .95rem; margin-bottom: 28px; }
.cf-notice--ok { background: var(--blue-tint); color: var(--blue-700); border: 1px solid var(--blue-tint-2); }
.cf-notice--err { background: #fdecec; color: #a3271e; border: 1px solid #f6c7c3; }
html.theme-dark .cf-notice--err { background: rgba(220,80,70,.14); color: #ff9a90; border-color: rgba(220,80,70,.35); }

@media (max-width: 880px) {
  .contact-grid, .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 520px; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .t-year { grid-template-columns: 66px 1fr; gap: 14px; }
  .cf-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-info { order: 0; }
  .product-info { position: static; }
  .product-gallery { max-width: 420px; margin-inline: auto; margin-top: 24px; }
}

/* =================================================================
   BANNER-KOPF (Bild im Seitenkopf)
   ================================================================= */
.page-hero--banner {
  position: relative; border-bottom: 0; overflow: hidden;
  background-size: cover; background-position: center;
  padding-block: clamp(52px, 6vw, 92px);
}
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,28,42,.92) 0%, rgba(8,28,42,.72) 48%, rgba(8,28,42,.1) 100%);
}
.page-hero-scrim--lighter {
  background: linear-gradient(100deg, rgba(8,28,42,.88) 0%, rgba(8,28,42,.55) 48%, rgba(8,28,42,0) 100%);
}
.page-hero--banner .wrap { position: relative; z-index: 2; max-width: var(--maxw); }
.page-hero--banner .page-title { color: #fff; }
.page-hero--banner .lead { color: #d3e2ee; max-width: 56ch; }
.kicker--light { color: #6cc0f2; }
.kicker--light::before { background: #6cc0f2; }
.breadcrumb--light { color: rgba(255,255,255,.55); }
.breadcrumb--light a { color: rgba(255,255,255,.82); }
.breadcrumb--light a:hover { color: #fff; }
.breadcrumb--light span { opacity: .55; }

/* =================================================================
   ACCORDION (Aufklappen) – Vertriebspartner, Download
   ================================================================= */
.region.acc-ready .region-title,
.dl-group.acc-ready .dl-cat {
  cursor: pointer; justify-content: space-between; -webkit-user-select: none; user-select: none;
  transition: color .2s;
}
.region.acc-ready .region-title:hover,
.dl-group.acc-ready .dl-cat:hover { color: var(--blue-700); }
.region.acc-ready .region-title::after,
.dl-group.acc-ready .dl-cat::after {
  content: ""; width: 12px; height: 12px; margin-left: auto; flex-shrink: 0;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .35s var(--ease); align-self: center;
}
.region.acc-ready.is-open .region-title::after,
.dl-group.acc-ready.is-open .dl-cat::after { transform: rotate(-135deg); }

.region.acc-ready .partner-grid,
.dl-group.acc-ready .dl-list,
.dl-group.acc-ready .dl-sub-wrap {
  max-height: 6000px; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .35s var(--ease), margin .4s;
  opacity: 1;
}
.region.acc-ready:not(.is-open) .partner-grid,
.dl-group.acc-ready:not(.is-open) .dl-list,
.dl-group.acc-ready:not(.is-open) .dl-sub-wrap {
  max-height: 0; opacity: 0; margin-top: 0 !important;
}

/* =================================================================
   TABS (Umschalten) – wiederverwendbar: Historie, Produkte, ...
   ================================================================= */
.tabbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.tab-btn {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: #fff; color: var(--slate); cursor: pointer; transition: .2s var(--ease);
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue-700); }
.tab-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs-on .tab-item { display: none; }
.tabs-on .tab-item.is-active { display: block; animation: fadeIn .4s var(--ease); }
.tabs-on .product.tab-item.is-active { display: grid; }
.tabs-on .t-era > .t-era-title { display: none; }
/* Produkte im Tab-Modus: keine Trennlinien/Wechsel-Layout mehr nötig */
.tabs-on .product { border-top: 0; padding-top: 0; }
.tabs-on .product:nth-child(even) .product-info { order: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =================================================================
   LIGHTBOX (Bilder groß) – Produktgalerien
   ================================================================= */
.lb {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: rgba(8,22,34,.92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  padding: clamp(16px, 4vw, 60px);
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; background: #fff; padding: 10px; box-shadow: var(--shadow-lg); }
.lb-cap { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; color: #cfe0ec; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.lb-prev { left: -8px; } .lb-next { right: -8px; }
.lb-close { position: absolute; top: -46px; right: 0; width: 44px; height: 44px; border:1px solid rgba(255,255,255,.3); background:transparent; color:#fff; border-radius:50%; cursor:pointer; font-size:1.5rem; }
.lb-close:hover { background: rgba(255,255,255,.15); }
.product.acc-ready .shot, .product-gallery .shot { cursor: zoom-in; }
@media (max-width: 640px) {
  .lb-prev { left: 0; } .lb-next { right: 0; }
  .lb-btn { width: 44px; height: 44px; }
}

/* =================================================================
   PRODUKT-SLIDESHOW (ein Bild, durchblättern – wie im Original)
   ================================================================= */
.product-gallery.slideshow-ready { display: block; }
.ss-stage {
  position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(170deg, #fff, var(--bg-soft));
}
.product-gallery.slideshow-ready .shot,
.product-gallery.slideshow-ready .shot:first-child {
  display: none; border: 0; border-radius: 0; background: transparent;
  aspect-ratio: 16 / 11; grid-column: auto; margin: 0;
}
.product-gallery.slideshow-ready .shot.is-current { display: block; }
.product-gallery.slideshow-ready .shot img { padding: 22px; }
.ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), color .2s, border-color .2s;
}
.ss-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.ss-prev { left: 12px; } .ss-next { right: 12px; }
.ss-count {
  position: absolute; bottom: 12px; right: 14px; z-index: 3;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  background: rgba(10,35,52,.8); color: #fff; padding: 4px 9px; border-radius: 3px;
}
.ss-dots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.ss-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong);
  border: 0; padding: 0; cursor: pointer; transition: .25s var(--ease);
}
.ss-dot:hover { background: var(--slate-300); }
.ss-dot.is-active { background: var(--blue); width: 24px; border-radius: 5px; }

/* =================================================================
   ICONS (inline-SVG)
   ================================================================= */
[data-icon] { display: inline-flex; }
[data-icon] svg { width: 1em; height: 1em; display: block; }

/* Branchen-Kacheln - feste 5 Spalten (aktuell 10 Kacheln -> 2 gleichmaessige Zeilen) */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
.ind-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 30px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.ind-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); }
.ind-ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 13px; background: var(--blue-tint); color: var(--blue-700); display: inline-flex; align-items: center; justify-content: center; }
.ind-ic svg { width: 28px; height: 28px; }
.ind-label { font-weight: 600; color: var(--navy); font-size: .96rem; line-height: 1.35; hyphens: auto; }

/* Kontakt-Zeilen mit Icon */
.contact-line .c-label { display: flex; align-items: center; gap: 9px; }
.c-ic { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.c-ic svg { width: 18px; height: 18px; }

/* Abschnitts-/Kategorie-Köpfe mit Icon */
.head-ic { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--blue-tint); color: var(--blue-700); align-items: center; justify-content: center; margin-right: 13px; vertical-align: middle; }
.head-ic svg { width: 20px; height: 20px; }
.dl-cat .head-ic { width: 30px; height: 30px; margin-right: 11px; }
.dl-cat .head-ic svg { width: 18px; height: 18px; }

/* ---- Zitat-Panel (themefähig) ---- */
.quote-panel { background: linear-gradient(160deg, var(--navy), var(--navy-600)); padding: 38px; border: 0; box-shadow: var(--shadow-md); }
.quote-panel blockquote { margin: 0; color: #fff; }
.quote-panel .kicker { color: #5bb6ef; }
.quote-panel .kicker::before { background: #5bb6ef; }
.quote-panel .quote-text { font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; margin-top: 18px; letter-spacing: -.01em; }
.quote-panel figcaption { margin-top: 22px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; color: #9fc4dd; }

/* ---- Imagefilm ---- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong); background: #000; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
