/* ═══════════════════════════════════════════════════════
   GLOBALE PATTERN-TITEL (für alle Pattern 1-27)
   Einheitliches Design für alle Überschriften
   ════════════════════════════════════════════════════════ */

/* Pattern Haupt-Titel (h2) - MIT blauer Unterstrich-Linie */
.pattern-title,
.section__title,
.welcome-section__title,
.roi-section__title,
.system-diagram__title,
.image-gallery-title,
.product-grid-title,
.company-list-title,
.publication-title,

/* Pattern Unter-Titel (h3) - MIT blauem Unterstrich */
.pattern-subtitle,
.section__subtitle,
.system-diagram__subtitle,
.company-category-title,
.product-detail__subtitle,

/* ═══════════════════════════════════════════════════════
   EINHEITLICHES SECTION LAYOUT (für alle Pattern)
   ════════════════════════════════════════════════════════ */

/* Alle Pattern-Sections bekommen einheitliches Layout */
.welcome-section,
.roi-section,
.system-diagram-section,
.image-gallery-section,
.product-grid-section,
.company-list-section,
.publication-section,

/* Container innerhalb der Sections */
.welcome-section .container,
.roi-section .container,
.system-diagram-section .container,
.image-gallery-section .container,
.product-grid-section .container,
.company-list-section .container,
.publication-section .container,

/* Alle Titel innerhalb von Sections haben gleichen Abstand */
.welcome-section .pattern-title,
.roi-section .pattern-title,
.system-diagram-section .pattern-title,
.system-diagram-section .system-diagram__title,
section .pattern-title,
section .system-diagram__title {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
}

/* Kleinere Überschriften innerhalb von Patterns (h4) */
.pattern-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════
   ABSOLUT KRITISCH: DRAWER VERSTECKEN AUF DESKTOP
   ═══════════════════════════════════════════════════════ */

/* Drawer ist standardmäßig versteckt */
.nav__drawer {
  display: none;
}

/* Nur auf Mobile UND wenn Burger geklickt wird, dann anzeigen */
@media (max-width: 1200px) {
  .nav__drawer.open {
    display: flex;
  }
}

/* Drawer auf Desktop (> 1200px) komplett entfernen */
@media (min-width: 1201px) {
  .nav__drawer,
  .nav__drawer.open,
  div[id="drawer"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
    transform: translateX(-200%) !important;
  }
}

/* ═══════════════════════════════════════════════════════
   NORDMANN WEBSITE – ZENTRALE DESIGN-KLASSE
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   CSS-CUSTOM-PROPERTIES (eine Design-Klasse)
   ───────────────────────────────────────── */

:root {
  /* Corporate Colors */
  --c-blue:      #1E8ECC;
  --c-blue-dark: #286696;
  --c-blue-deep: #333e61;
  --c-dark:      #333e61;  /* Alias für --c-blue-deep, weit verbreitet im CSS */
  --c-blue-pale: #e8f4fb;

  /* Neutrals */
  --c-bg:        #f5f6f8;
  --c-surface:   #ffffff;
  --c-surface2:  #f0f4f7;
  --c-border:    #dde3ea;
  --c-grey:      #C3C3C3;
  --c-grey-dark: #7a8694;
  --c-text:      #1a2330;
  --c-muted:     #5a6b7c;

  /* Accent = Corporate Blue */
  --c-accent:    #1E8ECC;
  --c-accent2:   #286696;
  --c-highlight: #1E8ECC;
  --c-primary:   #1E8ECC;   /* Alias für --c-blue, für ältere Pattern */

  /* Status */
  --c-success: #2ecc71;
  --c-warning: #f39c12;

  /* Typography */
  --font-head: 'Segoe UI', 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius:   4px;
  --shadow:   0 2px 16px rgba(30,142,204,.12);
  --trans:    .22s ease;

  --nav-h:    55px;
}

/* ─── RESET ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Sicherheitsnetz gegen horizontalen Overflow auf schmalen Mobilgeräten
     (z. B. Z Flip 5 mit ~360 px CSS-Pixel Viewport) */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: var(--c-accent); text-decoration: none; transition: opacity var(--trans); }
a:hover { opacity: .75; }

/* ─────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  /* Glaseffekt */
  background: rgba(255,255,255,.80);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
	
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 8px rgba(30,142,204,.08);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem,4vw,2.5rem);
  gap: 1rem;
}

.nav__logo {
  display: block;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  max-width: none;   /* verhindert, dass img{max-width:100%} das Logo bei schmalem 1fr-Grid-Cell schrumpft */
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;  /* WICHTIG: alle Menüpunkte vertikal zentrieren,
                           damit Text-Items und Icon-Items (Home/Login)
                           auf exakt derselben Mittellinie sitzen und
                           Grundlinien der Texte übereinstimmen */
  gap: .75rem;
  list-style: none;
  /* Navigations-UL nimmt den gesamten Platz zwischen Logo und
     Sprachumschalter ein. In Kombination mit den unten gesetzten
     Auto-Margins auf .nav__home-item und .nav__login-item ergibt
     das: Hauptmenü (Home + Lösungen … Kontakt) zentriert,
     Login-Button rechtsbündig; der Sprachumschalter (außerhalb
     der UL) bleibt ganz rechts. Auf kleinen Desktop-Breiten bleibt
     die Navigation eng gepackt (kein Free Space zum Verteilen),
     auf größeren Breiten rückt das Hauptmenü in die Mitte. */
  flex: 1;
  margin: 0;
  padding: 0;
}

/* Main menu items */

.nav__links > li {
  position: relative;
  display: inline-block;
}

.nav__links a {
  color: var(--c-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .4rem .85rem;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

/* Hover im Hauptmenü: invers – weißer Text auf blauem Hintergrund */
.nav__links a:hover {
  color: #fff;
  background: var(--c-blue);
  opacity: 1;
  text-decoration: none !important;
}

/* Aktives Hauptmenü: Schrift Weiß auf Blau (var(--c-blue) = #1E8ECC). */
.nav__links a.active,
.nav__links a.active:hover,
.nav__links > li.has-submenu.open > a,
.nav__links > li.has-submenu.open > a:hover {
  color: #fff !important;
  background: var(--c-blue);
  opacity: 1;
  box-shadow: none;
  text-decoration: none !important;
}

/* Submenu container - FULL WIDTH DROPDOWN */

.nav__submenu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  /* Deckkraft höher als Hauptmenü – Blur greift wegen Hero-Slider-Compositing nicht */
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 8px rgba(30,142,204,.08);
  padding: .5rem 0;
  z-index: 98;
}

.nav__submenu.open {
  display: block;
}

/* Submenu inner - zentriert (analog zum Hauptmenü), kein Umbruch,
   kompakte Abstände */

.nav__submenu-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(1rem,4vw,2.5rem);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: .75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Submenu links - SAME STYLE AS MAIN MENU */

.nav__submenu a {
  color: var(--c-blue) !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .35rem .6rem;
  border-radius: var(--radius);
  background: transparent;
  transition: background var(--trans), color var(--trans);
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

/* Submenü-Hover: blauer Hintergrund, Text dunkel (lesbar auf Blau). */
.nav__submenu a:hover {
  background: var(--c-blue);
  color: var(--c-dark) !important;
  opacity: 1;
  text-decoration: none !important;
}

/* Aktiver Submenü-Link: gleicher Stil wie Hauptmenü-Active (blaue Fläche, weiße Schrift) */
.nav__submenu a.active {
  color: #fff !important;
  background: var(--c-blue);
  text-decoration: none !important;
}

/* Aktiver Submenü-Link beim Hover: Zustand stabil halten */
.nav__submenu a.active:hover {
  color: #fff !important;
  background: var(--c-blue);
  opacity: 1;
}

/* Hamburger */

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--c-blue);
  border-radius: 4px;
  transition: transform var(--trans), opacity var(--trans);
}

/* Drawer – MOBILE MENU */

.nav__drawer {
  display: none;           /* Standard: versteckt */
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-bottom: 2px solid var(--c-blue);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0;
  z-index: 99;
  box-shadow: 0 6px 20px rgba(30,142,204,.1);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

/* Nur wenn JS die Klasse .open setzt, anzeigen */
.nav__drawer.open {
  display: flex;
}

/* Veraltete Drawer-Klassen (drawer-item, drawer-main, drawer-sublink):
   seit März 2026 ersetzt durch drawer-label / drawer-submenu / drawer-link.
   Blöcke unten bleiben als Fallback für ältere Seiten erhalten,
   werden aber durch die neue Drawer-Sektion weiter unten überschrieben. */

.nav__drawer > .drawer-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--c-border);
}

.nav__drawer > .drawer-item:last-child {
  border-bottom: none;
}

.nav__drawer .drawer-main {
  color: var(--c-text);
  font-size: 1rem;
  font-weight: 600;
  padding: .65rem .5rem;
  text-decoration: none;
  display: block;
  width: 100%;
}

.nav__drawer .drawer-main:hover {
  color: var(--c-blue);
  opacity: 1;
}


/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────────*/
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1rem,6vw,4rem) 4rem;
  background: linear-gradient(150deg, var(--c-dark) 0%, var(--c-blue) 45%, #3aa8e0 100%);
  position: relative; overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: rgba(255,255,255,.85);
  font-weight: 300;
}

.hero__sub {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
}

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .72rem 1.6rem;
  border-radius: var(--radius);
  font-size: .88rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  transition: transform var(--trans), box-shadow var(--trans), opacity var(--trans), background var(--trans);
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn--primary {
  background: #ffffff; color: var(--c-blue);
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.btn--primary:hover { box-shadow: 0 8px 28px rgba(0,0,0,.25); background: var(--c-blue-pale); }
.btn--outline {
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn--outline:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.btn--blue {
  background: var(--c-blue); color: #fff;
  box-shadow: 0 4px 18px rgba(30,142,204,.3);
}
.btn--blue:hover { background: var(--c-blue-dark); box-shadow: 0 8px 28px rgba(30,142,204,.4); }
.btn--blue-outline {
  background: transparent; color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
}
.btn--blue-outline:hover { background: var(--c-blue-pale); }

.pulse { position: relative; width: 10px; height: 10px; display: inline-block; }
.pulse::before, .pulse::after {
  content: ''; position: absolute;
  border-radius: 9999px; background: rgba(255,255,255,.9);
}
.pulse::before { inset: 0; animation: pulse 1.8s infinite; opacity: .5; }
.pulse::after  { inset: 2px; }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(2.4); opacity: 0; }
}

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────*/
.section {
  padding: 5rem 0;          /* horizontal: 0 – Container übernimmt das Spacing */
  background: var(--c-bg);
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.section--alt { background: var(--c-bg); }

/* ─────────────────────────────────────────
   CONTENT CARD & NOTE BLOCK – Wiederverwendbare Inhaltsboxen
   Referenz-Design: Wirtschaftlichkeitsbetrachtung loesungen.html
   ───────────────────────────────────────── */

/* Weißer Inhaltsbereich (wie roi-table-wrapper) */
.content-card {
  background: var(--c-surface);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(30,142,204,.10);
  padding: 2rem 2.5rem;
  margin: 0 0 2rem;
  /* Verhindert horizontalen Overflow durch lange unumbrechbare Strings
     (E-Mail-Adressen, URLs, Cloudflare-Email-Placeholder etc.) */
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* Mobile: Padding und max-width anpassen, damit die Karte
   nicht durch ihr eigenes Padding den schmalen Viewport sprengt */
@media (max-width: 600px) {
  .content-card {
    padding: 1.25rem 1rem;
    max-width: 100% !important;
  }
}

/* Hellblauer Hinweiskasten (wie roi-note) */
.note-block {
  background: linear-gradient(135deg, #EAF0F5 0%, #DFEBF4 100%);
  border-left: 4px solid var(--c-blue);
  padding: 1.5rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(30,142,204,.10);
  margin: 0 0 2rem;
  color: var(--c-text);
  line-height: 1.7;
}

.note-block p { margin-bottom: 0.75rem; }
.note-block p:last-child { margin-bottom: 0; }

/* ── Paragraph-/Section-Titel auf Rechtsseiten (AGB, Datenschutz, Impressum) ─
   Ersetzt 100+ identische Inline-Styles in agb.html / datenschutz.html /
   impressum.html über alle 4 Sprachen. */
.legal-h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 2.5rem 0 0.75rem;
  border-left: 4px solid var(--c-blue);
  padding-left: 1rem;
}
/* Variante mit etwas kompakterem oberen Abstand (für h2 direkt nach Pattern-Title) */
.legal-h2--tight {
  margin-top: 2rem;
}

/* ── pattern-title Modifier (ersetzen Inline-Style-Overrides) ─────
   --spaced: zusätzlicher oberer Abstand (z. B. zwischen zwei Pattern-Titles)
   --centered: zentriert (z. B. „Nur auf Deutsch"-Notice-Seiten) */
.pattern-title--spaced { margin-top: 3rem; }
.pattern-title--centered { text-align: center; }

/* ── Notice-Title (für „Inhalt nur auf Deutsch verfügbar"-Hinweise) ─
   Eigenständig statt pattern-title, weil komplett anderer Stil */
.notice-title {
  font-size: 1.6rem;
  color: var(--c-dark, #0d4a6e);
  margin: 2.2rem 0 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.section__tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-blue);
  border-left: 3px solid var(--c-blue);
  padding-left: .55rem;
  margin-bottom: .7rem;
}
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.15;
  margin-bottom: .9rem;
}

/* ── Automatische Silbentrennung für alle Überschriften ─────────
   Nutzt das Browser-Wörterbuch via lang="de/en/fr/it" auf <html>.
   hyphens: auto  → Trennstriche an grammatisch korrekten Stellen
   overflow-wrap  → Fallback falls kein Wörterbucheintrag vorhanden
   ─────────────────────────────────────────────────────────────── */
.section__title,
.pattern-title,
.system-diagram__title,
.hero-slider__title,
/* Auch h1/h2/h3/h4 ohne Klasse innerhalb von Inhalts-Karten und
   .welcome-section (z. B. AGB-Paragraphen, Datenschutz-Abschnitte,
   Impressum-Firmen­blöcke) – greift selbst bei Inline-Styles ohne
   eigene CSS-Klasse, sodass auch langer Komposita wie
   „Eigentumsvorbehalt" oder „Zahlungsbedingungen" sauber umbrechen */
.welcome-section h1,
.welcome-section h2,
.welcome-section h3,
.welcome-section h4,
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4 {
  hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section__lead {
  max-width: 580px;
  color: var(--c-muted);
  font-size: .97rem; font-weight: 400; line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Content Box for old content insertion */
.content-box {
  background: #fff3cd;
  border: 2px dashed var(--c-blue);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
/* ── Download-Box (PDF-Download-Kacheln in sensoren.html, geraete.html etc.) ── */
.download-box {
  display: block;
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-blue) 60%, #3ab8f0 100%);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  margin-top: 1.5rem;
}
.download-box--mt1  { margin-top: 1rem; }
.download-box--no-mt { margin-top: 0; }

.content-box__title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--c-blue-deep);
  margin-bottom: .5rem;
}
.content-box__desc {
  font-size: .9rem; color: #856404;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────*/
.cta-band {
  padding: 5rem clamp(1rem,6vw,4rem);
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-blue) 60%, #3ab8f0 100%);
  text-align: center;
  width: 100%;
}
.cta-band h2 {
  font-weight: 800;
  font-size: clamp(1.7rem,4vw,2.8rem);
  color: #ffffff !important;
  margin-bottom: .75rem;
}
.cta-band p {
  color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 2rem;
  font-size: .97rem; line-height: 1.75; font-weight: 300;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────────*/
footer {
  padding: 2rem clamp(1rem,4vw,2.5rem);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
  width: 100%;
}
.footer__brand {
  display: flex; flex-direction: column; line-height: 1;
}
.footer__links {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  list-style: none;
}
.footer__links a {
  font-size: .78rem; font-weight: 600;
  color: var(--c-muted);
  letter-spacing: .03em;
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--c-blue); opacity: 1; }
.footer__copy {
  width: 100%; font-size: .72rem; color: var(--c-grey-dark);
  text-align: center; padding-top: 1.25rem;
  position: relative;
}
/* Trennlinie als Pseudoelement – bricht aus dem Footer-Padding aus
   und läuft randlos von links nach rechts durch den gesamten Viewport */
.footer__copy::before {
  content: '';
  position: absolute;
  top: 0;
  left:  calc(-1 * clamp(1rem, 4vw, 2.5rem));
  right: calc(-1 * clamp(1rem, 4vw, 2.5rem));
  height: 1px;
  background: var(--c-border);
}
@media (min-width: 1501px) {
  .footer__copy::before {
    left:  calc(-1 * ((100vw - 1420px) / 2));
    right: calc(-1 * ((100vw - 1420px) / 2));
  }
}

/* Footer-Padding ab 1501 px einfrieren – analog zur Nav:
   padding = (Viewport - 1420px) / 2  →  Inhalt bleibt auf 1420 px */
@media (min-width: 1501px) {
  footer {
    padding-left:  calc((100vw - 1420px) / 2);
    padding-right: calc((100vw - 1420px) / 2);
  }
}

/* ─────────────────────────────────────────
   PRINT
───────────────────────────────────────────*/
@media print {
  .nav, .nav__drawer, .hero__ctas, .btn { display: none !important; }
  .hero img[src="pic/Logo-Nordmann-white.png"] { content: url('pic/Logo-Nordmann.png'); }
  body { background: #fff !important; color: #111 !important; font-size: 10pt; }
  .hero { min-height: auto; padding: 1.5cm 1cm 1cm; background: none !important; color: #111 !important; text-align: left; }
  .hero::before, .hero::after { display: none; }
  .hero__eyebrow { background: none; border: 1px solid #ccc; color: #555; }
  .hero__title { color: #1a2330 !important; }
  .hero__title em { color: #1E8ECC !important; }
  .hero__sub { color: #555 !important; }
  .section { background: #fff !important; }
  .section--alt { background: #f8fafc !important; }
  .cta-band { background: #e8f4fb !important; }
  .cta-band h2 { color: #1E8ECC !important; }
  .cta-band p { color: #555 !important; }
  footer { background: #fff !important; }
  a { color: #1E8ECC !important; }
  .section__tag { color: #1E8ECC !important; border-left-color: #1E8ECC !important; }
  .content-box { border: 2px solid #ccc; background: #f9f9f9; }
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */

/* Tablet/Laptop: Schrift und Abstände reduzieren */
@media (max-width: 1350px) {
  .nav__links a {
    font-size: .94rem;
    padding: .35rem .7rem;
    letter-spacing: .02em;
  }

  /* Login-Link mitziehen, damit der Text auf gleicher Höhe / Größe
     bleibt wie die anderen Hauptmenü-Links */
  .nav__links a.nav__login-link {
    padding: .35rem .7rem;
  }
  .nav__links a.nav__login-link span {
    font-size: .94rem;
    letter-spacing: .02em;
  }

  /* Trennlinie neu mittig: bei 0.7rem Kontakt-Padding → margin-left 0.5rem,
     damit beide Seiten (0.7 + 0.5 = 1.2rem) gleich groß sind */
  .nav__links .nav__login-item {
    margin-left: 0.5rem;
    padding-left: 1.2rem;
  }

  .lang-switcher {
    margin-left: .5rem;
  }
}

/* Burger-Menü aktivieren bei 1200px */
@media (max-width: 1200px) {
  .nav__links {
    display: none;            /* Desktop-Menü ausblenden */
  }

  .nav__burger {
    display: flex;            /* Burger-Button einblenden */
  }

  .lang-switcher {
    display: none;  /* Auf Mobil ausblenden – Sprachenwahl läuft über drawer-lang */
  }

  /* Submenus im Desktop-Stil nicht benutzen */
  .nav__submenu {
    display: none !important;
  }
}

/* Mobile: weitere Optimierungen */
@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
  }

  .nav__logo-img {
    height: 36px;
  }
}

@media (max-width: 480px) {
  .nav__logo-img {
    height: 32px;
  }

  /* Sprachwechsler bleibt sichtbar - nur etwas kleiner */
  .lang-btn {
    font-size: 1.2rem;
    padding: 0.3rem 0.5rem;
  }
}
/* ═══════════════════════════════════════════════════════
   SPRACHUMSCHALTER
   ════════════════════════════════════════════════════════ */

.lang-switcher {
  position: relative;
  margin-left: .5rem; /* enger an .nav__login-item dran – Cluster-Wirkung */
  flex-shrink: 0; /* Darf nicht schrumpfen */
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  background: #fff; /* immer weiß – eine Sprache ist stets ausgewählt */
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  white-space: nowrap; /* Verhindert Umbruch */
}

.lang-btn:hover {
  border-color: var(--c-blue);
  background: var(--c-blue-pale);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 160px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: .5rem 0;
}

.lang-menu.open {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  color: var(--c-text);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--trans);
}

.lang-menu a:hover {
  background: var(--c-blue-pale);
  opacity: 1;
}

.lang-menu a.active {
  background: var(--c-blue-pale);
  color: var(--c-blue);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   MOBILE DRAWER – NEUE HIERARCHIE (ab März 2026)
   Hauptmenüpunkte: <span class="drawer-label"> (kein Link)
   Submenüs:        <div class="drawer-submenu"> mit <a class="drawer-link">
   Direktlinks:     <a class="drawer-link"> ohne drawer-submenu (z.B. Login)
   ════════════════════════════════════════════════════════ */

/* Hauptmenü-Label (klickbar, öffnet Submenü) */
.drawer-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1rem .5rem .35rem;
  border-top: 1px solid var(--c-border);
  margin-top: .25rem;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* Chevron-Pfeil */
.drawer-label::after {
  content: '▸';
  font-size: .7rem;
  transition: transform .25s ease;
  margin-left: .5rem;
}

/* Pfeil dreht sich bei geöffnetem Submenü */
.drawer-label.open::after {
  transform: rotate(90deg);
}

/* Erstes drawer-label braucht keine obere Trennlinie */
.nav__drawer .drawer-label:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: .75rem;
}

/* Submenü-Container – standardmäßig eingeklappt */
.nav__drawer .drawer-submenu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 3px solid var(--c-blue);
  background: rgba(30,142,204,.04);
  margin-bottom: .5rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}

/* Submenü geöffnet */
.nav__drawer .drawer-submenu.open {
  display: flex;
  max-height: 500px;
  opacity: 1;
}

/* Links im Submenü und Direkt-Links (z.B. Login) */
.drawer-link {
  color: var(--c-muted);
  font-size: .92rem;
  font-weight: 500;
  padding: .6rem .75rem;
  text-decoration: none;
  display: block;
  transition: color var(--trans), background var(--trans);
  border-radius: var(--radius);
}

.drawer-link:hover {
  color: var(--c-blue);
  background: rgba(30,142,204,.07);
  opacity: 1;
}

/* Aktiver Drawer-Link (aktuelle Seite / Ankerpunkt) */
.drawer-link.active {
  color: var(--c-blue);
  background: var(--c-blue-pale);
  font-weight: 600;
}

/* Aktives Drawer-Label (Elternmenü der aktuellen Seite) */
.drawer-label.active {
  color: var(--c-blue);
}

/* Login-Direktlink: gleiche Optik wie drawer-label, aber klickbar */
.nav__drawer > .drawer-link {
  color: var(--c-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1rem .5rem .35rem;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  background: none;
  margin-top: .25rem;
}

.nav__drawer > .drawer-link:hover {
  color: var(--c-blue);
  background: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   DRAWER-BOTTOM – Login-Icon + Sprachschalter (Mobile)
   Sitzt am unteren Ende des Drawers, optisch abgesetzt.
   ════════════════════════════════════════════════════════ */
.drawer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0 .25rem;
  margin-top: .5rem;
  border-top: 1px solid var(--c-border);
}

/* Login-Link: Icon + Text nebeneinander */
.nav__drawer .drawer-login {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  color: var(--c-dark) !important;
  font-size: .85rem !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none !important;
  padding: .4rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--c-blue);
  background: var(--c-blue-pale, #E8F4FB);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}

.nav__drawer .drawer-login span {
  display: inline !important;
  color: var(--c-dark) !important;
  font-size: .85rem !important;
  font-weight: 700;
  line-height: 1;
}

.nav__drawer .drawer-login:hover {
  background: var(--c-blue);
  color: #fff !important;
}

.nav__drawer .drawer-login:hover span {
  color: #fff !important;
}

.nav__drawer .drawer-login svg {
  flex-shrink: 0;
  transition: stroke var(--trans);
}

.nav__drawer .drawer-login:hover svg {
  stroke: #fff;
}

/* Sprachschalter im Drawer */
.drawer-lang {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.drawer-lang a {
  font-size: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--trans);
}

.drawer-lang a:hover {
  background: var(--c-blue-pale, #E8F4FB);
}

.drawer-lang a.active {
  background: var(--c-blue);
  box-shadow: 0 0 0 2px var(--c-blue);
  border-radius: 9999px;
}

/* ═══════════════════════════════════════════════════════
   SPRACH-INDIKATOR (Download-Bereich)
   ════════════════════════════════════════════════════════ */
.lang-indicator-text {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--c-muted);
  background: var(--c-surface);
  border-radius: 4px;
  font-weight: 500;
  cursor: default;
  white-space: nowrap;
}

/* Responsive: Bleibt sichtbar auf allen Bildschirmgrößen */
@media (max-width: 1200px) {
  .lang-indicator-text {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .lang-indicator-text {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: Hero-Logo
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero img[src*="Logo-Nordmann-white.png"] {
    height: 70px !important;
    max-width: 85% !important;
  }
}

@media (max-width: 480px) {
  .hero img[src*="Logo-Nordmann-white.png"] {
    height: 50px !important;
    max-width: 90% !important;
  }
}

@media (max-width: 360px) {
  .hero img[src*="Logo-Nordmann-white.png"] {
    height: 40px !important;
    max-width: 95% !important;
  }
}

/* ═══════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ════════════════════════════════════════════════════════ */
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--c-blue);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 142, 204, 0.2);
}

.back-to-top-btn:hover {
  background: var(--c-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 142, 204, 0.3);
}

/* Print Button */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .9rem 2.25rem;
  color: #fff;
  background: var(--c-blue);
  border: none;
  font-size: .95rem;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(30,142,204,.18);
  transition: all .22s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.print-btn svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  width: 1.25rem;
  height: 1.25rem;
}

.print-btn:hover {
  box-shadow: 0 8px 28px rgba(30,142,204,.15);
  transform: translateY(-2px);
  opacity: 1;
}

/* Footer Actions – Print-Button rechtsbündig, fluchtet mit Nav-Sprachumschalter */
.footer-actions {
  text-align: right;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
  width: 100%;
}

/* Ab 1501 px: Padding einfrieren – identisch zur Nav */
@media (min-width: 1501px) {
  .footer-actions {
    padding-left:  calc((100vw - 1420px) / 2);
    padding-right: calc((100vw - 1420px) / 2);
  }
}

@media (max-width: 768px) {
  .footer-actions {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-actions {
    padding: 1rem 0.5rem;
  }
  /* .print-btn uses Login-Button style, no size override needed */
}

/* ═══════════════════════════════════════════════════════
   STICKY SUBMENU - Passt zur Hauptnavigation
   ════════════════════════════════════════════════════════ */
.page-submenu {
  position: sticky;
  top: var(--nav-h); /* 80px - direkt unter Hauptnav */
  z-index: 90;
  background: white;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 50px;
  display: flex;
  align-items: center;
}

.page-submenu__inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 6vw, 4rem);
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.page-submenu a {
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.page-submenu a:hover,
.page-submenu a.active {
  background: var(--c-blue);
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .page-submenu {
    top: var(--nav-h);
  }
}

@media (max-width: 768px) {
  .page-submenu {
    height: 48px;
  }
  
  .page-submenu__inner {
    gap: 1rem;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  
  .page-submenu a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .page-submenu {
    height: 44px;
  }
  
  .page-submenu__inner {
    gap: 0.5rem;
  }
  
  .page-submenu a {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
}

/* Verstecke Submenu beim Drucken */
@media print {
  .page-submenu {
    display: none !important;
  }
}

.drawer-sublink:hover {
  color: var(--c-blue);
  background: rgba(30, 142, 204, 0.05);
}

/* Page Submenu - nur auf Desktop */
@media (max-width: 1200px) {
  .page-submenu {
    display: none !important; /* Verstecke sticky Submenu auf Mobile */
  }
}

/* Drawer-Submenü auf Desktop: irrelevant, da der gesamte Drawer versteckt ist.
   Kein separater Hide-Override nötig – .nav__drawer erhält display:none auf Desktop. */

/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL PATTERN (für geraete.html)
   ════════════════════════════════════════════════════════ */

.product-detail {
  background: var(--c-surface, #ffffff);
  margin: 3rem 0;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-left: 4px solid var(--c-blue);
}

/* ─────────────────────────────────────────
   ARTIKEL- UND PATENT-LISTE
   (fachartikel.html + patente.html)
───────────────────────────────────────── */
.article-item,
.patent-item {
  display: flex;
  gap: 2rem;
  margin: 1.25rem 0;
  padding: 1.75rem 2rem;
  background: var(--c-surface, #ffffff);
  border-radius: 12px;
  border-left: 4px solid var(--c-blue);
  box-shadow: 0 2px 10px rgba(30,142,204,.09);
}
.article-image,
.patent-image {
  flex-shrink: 0;
}
.article-image img {
  max-width: 120px;
  height: auto;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.patent-image img {
  max-width: 200px;
  height: auto;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.article-image img:hover,
.patent-image img:hover {
  transform: scale(1.05);
}
.article-content,
.patent-content {
  flex: 1;
}
.article-title,
.patent-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.article-title a,
.patent-title a {
  color: var(--c-blue);
  text-decoration: none;
}
.article-title a:hover,
.patent-title a:hover {
  text-decoration: underline;
}
.article-magazine {
  font-size: 0.95rem;
  color: var(--c-muted, #666);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.article-size,
.patent-size {
  font-size: 0.85rem;
  color: var(--c-muted, #999);
  margin-top: 0.25rem;
}
.patent-type {
  display: inline-block;
  background: var(--c-blue);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
/* ── GERMAN-LANGUAGE BADGE (fachartikel / patente EN/FR/IT) ── */
.lang-de-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-muted, #5a6b7c);
  background: #f0f4f8;
  border: 1px solid #d0d9e3;
  border-radius: 3px;
  padding: 0.12rem 0.48rem;
  margin-top: 0.35rem;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .article-item,
  .patent-item {
    flex-direction: column;
  }
  .article-image img,
  .patent-image img {
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────
   JOB CARDS (jobs.html)
───────────────────────────────────────── */
.job-card {
  background: var(--c-surface);
  border-left: 4px solid var(--c-blue);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: var(--c-surface2, #f0f7fc);
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.job-card__dept {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-blue);
  border-left: 3px solid var(--c-blue);
  padding-left: .55rem;
  margin-bottom: .4rem;
}
.job-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
  margin: 0;
}
.job-card__badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28em .75em;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: .2rem;
}
.job-card__badge--unbefristet { background: var(--c-dark); color: #fff; }
.job-card__badge--befristet   { background: var(--c-muted); color: #fff; }
.job-card__intro {
  padding: 1rem 1.75rem;
  font-size: .92rem;
  color: var(--c-muted);
  line-height: 1.7;
  border-bottom: 1px solid var(--c-border);
}
.job-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.job-card__col {
  padding: 1.5rem 1.75rem;
  font-size: .9rem;
  color: var(--c-text);
  line-height: 1.65;
}
.job-card__col:first-child {
  border-right: 1px solid var(--c-border);
}
.job-card__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .6rem;
}
.job-card__list {
  padding-left: 1.1rem;
  color: var(--c-text);
}
.job-card__list li { margin-bottom: .35rem; }
.job-card__list li::marker { color: var(--c-blue); }
.job-card__address {
  font-style: normal;
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.8;
}
.job-card__address a { color: var(--c-blue); }
@media (max-width: 680px) {
  .job-card__body { grid-template-columns: 1fr; }
  .job-card__col:first-child { border-right: none; border-bottom: 1px solid var(--c-border); }
  .job-card__header { flex-direction: column; }
}

.product-detail__header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--c-border);
}

.product-detail__header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}

.product-detail__subtitle {
  font-size: 1.1rem;
  color: var(--c-muted);
  font-weight: 400;
}

/* Image Layout */
.product-detail__images {
  margin-bottom: 3rem;
}

.product-detail__main-image {
  margin-bottom: 1.5rem;
}

.product-detail__main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.product-detail__thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-detail__thumbnails img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-detail__thumbnails img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Content Layout */
.product-detail__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail__description img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.product-detail__description p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--c-text);
  font-size: 1.05rem;
}

.product-detail__features {
  background: linear-gradient(135deg, rgba(30,142,204,0.05) 0%, rgba(30,142,204,0.12) 100%);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--c-blue);
}

.product-detail__features h4 {
  font-size: 1.3rem;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.product-detail__features ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.product-detail__features li {
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
  color: var(--c-text);
}

.product-detail__features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-blue);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 968px) {
  .product-detail__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-detail {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .product-detail__thumbnails {
    grid-template-columns: 1fr;
  }
  
  .product-detail {
    padding: 1.5rem;
  }
  
  .product-detail__header h3 {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════
   PATTERN 16: INTERACTIVE IMAGE GALLERY (ENHANCED)
   Mit Text-Bereich rechts & Subtext unter Thumbnails
   ════════════════════════════════════════════════════════ */

.image-gallery-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.image-gallery-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--c-blue);
}

/* Main Area: Image + Text Side by Side */
.gallery-main-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 968px) {
  .gallery-main-area {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Main Image */
.gallery-main-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  background: var(--c-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}

.gallery-main-image img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 400px;
  object-fit: cover;
}

.gallery-main-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Main Text Area (neben dem Bild) */
.gallery-main-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery-description {
  line-height: 1.8;
  color: var(--c-text);
  font-size: 1.05rem;
}

.gallery-features {
  background: linear-gradient(135deg, rgba(30,142,204,0.05) 0%, rgba(30,142,204,0.12) 100%);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--c-blue);
}

.gallery-features h4 {
  font-size: 1.3rem;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.gallery-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.gallery-features li {
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
  color: var(--c-text);
}

.gallery-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-blue);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Thumbnail Grid */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gallery-thumbnail {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: var(--c-blue);
}

.gallery-thumbnail:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(30,142,204,0.3);
}

.gallery-thumbnail.active {
  border: 3px solid var(--c-blue);
  box-shadow: 0 0 0 4px rgba(30,142,204,0.2);
}

.gallery-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Subtext unter Thumbnails */
.gallery-thumbnails-subtext {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--c-bg);
  border-radius: 8px;
  border: 2px solid var(--c-border);
}

.gallery-thumbnails-subtext h4 {
  font-size: 1.1rem;
  color: var(--c-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.gallery-thumbnails-subtext p {
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.gallery-thumbnails-subtext p:last-child {
  margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox .lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: white;
  color: var(--c-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lightbox .lightbox-close:hover {
  background: var(--c-blue);
  color: white;
  transform: rotate(90deg);
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Navigation Arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: var(--c-blue);
}

.lightbox-nav.prev {
  left: 2rem;
}

.lightbox-nav.next {
  right: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-thumbnails {
    grid-template-columns: 1fr;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .lightbox-nav.prev {
    left: 1rem;
  }
  
  .lightbox-nav.next {
    right: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   PATTERN 17: PRODUCT GRID
   2x2 Grid mit je 2 Bildern, Titel & Beschreibung
   ════════════════════════════════════════════════════════ */

.product-grid-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.product-grid-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--c-blue);
}

/* Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (max-width: 968px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--c-border);
}

.product-card:hover {
  border-color: var(--c-blue);
  box-shadow: 0 8px 24px rgba(30,142,204,0.15);
  transform: translateY(-4px);
}

/* Images Container */
.product-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--c-bg);
}

.product-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(30,142,204,0.3);
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Content Area */
.product-content {
  padding: 2rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-title:hover {
  color: var(--c-dark);
}

.product-description {
  color: var(--c-text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Action Buttons */
.product-action {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--c-blue);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.product-btn:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,142,204,0.3);
}

.product-btn--secondary {
  background: white;
  color: var(--c-blue);
  border: 2px solid var(--c-blue);
}

.product-btn--secondary:hover {
  background: var(--c-blue);
  color: white;
}

/* ═══════════════════════════════════════════════════════
   PATTERN 18: COMPANY TIMELINE
   Vertikale Timeline für Unternehmensgeschichte
   ════════════════════════════════════════════════════════ */

/* Vertical Timeline */
.company-timeline {
  position: relative;
  padding: 2rem 0;
}

/* Center Line */
.company-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, 
    var(--c-blue) 0%, 
    var(--c-dark) 50%, 
    var(--c-blue) 100%
  );
  transform: translateX(-50%);
}

@media (max-width: 968px) {
  .company-timeline::before {
    left: 30px;
  }
}


/* ═══════════════════════════════════════════════════════
   PATTERN 19: COMPANY LIST
   2-spaltige Unternehmensliste mit Kategorien
   ════════════════════════════════════════════════════════ */

.company-list-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.company-list-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1rem;
}

.company-list-intro {
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* Category Container */
.company-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .company-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Single Category */
.company-category {
  background: var(--c-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--c-border);
}

.company-category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--c-blue);
}

/* Company Grid */
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.company-item {
  padding: 0.75rem 0;
  color: var(--c-text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.company-item:last-child {
  border-bottom: none;
}

.company-item::before {
  content: '▪';
  color: var(--c-blue);
  font-size: 1.2rem;
  margin-right: 0.75rem;
  font-weight: bold;
}

.company-item:hover {
  color: var(--c-blue);
  padding-left: 0.5rem;
  background: rgba(30, 142, 204, 0.05);
}

/* Special markers */
.company-item.has-note {
  font-weight: 600;
}

.company-note {
  color: var(--c-blue);
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

/* Footer note */
.company-footer-note {
  margin-top: 2rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(30,142,204,0.05) 0%, rgba(30,142,204,0.1) 100%);
  border-left: 4px solid var(--c-blue);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PATTERN 20: PUBLICATION LIST
   Fachartikel-Liste mit Vorschaubild und PDF-Download
   ════════════════════════════════════════════════════════ */

.publication-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.publication-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1rem;
}

.publication-intro {
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.publication-intro a {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
}

.publication-intro a:hover {
  text-decoration: underline;
}

/* Publication List */
.publication-list {
  display: grid;
  gap: 2rem;
}

/* Single Publication Item */
.publication-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: white;
  border: 2px solid var(--c-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.publication-item:hover {
  border-color: var(--c-blue);
  box-shadow: 0 4px 16px rgba(30,142,204,0.15);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .publication-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Thumbnail/Preview */
.publication-preview {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.publication-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.publication-preview img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--c-border);
}

/* PDF Badge */
.pdf-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #d32f2f;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Content Area */
.publication-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.publication-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.publication-header h3 a {
  color: var(--c-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.publication-header h3 a:hover {
  color: var(--c-blue);
}

.publication-meta {
  color: var(--c-muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.publication-filesize {
  color: var(--c-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Download Button */
.publication-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--c-blue);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.publication-download:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,142,204,0.3);
}

.publication-download::before {
  content: '📄';
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════
   CONTENT PATTERNS (Pattern 1-12)
   ════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   NORDMANN CONTENT DESIGN PATTERNS
   Moderne, responsive Content-Komponenten
   ════════════════════════════════════════════════════════ */

/* ═══ PATTERN 1: Feature List ═══ */
.feature-list {
  display: grid;
  gap: 1.5rem;
}

.feature-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c-dark);
}

.feature-content p {
  color: var(--c-muted);
  line-height: 1.7;
}

/* ═══ PATTERN 2: Two-Column Split ═══ */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .split-content { grid-template-columns: 1fr; }
}

.split-content__text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--c-dark);
}

.split-content__text p {
  margin-bottom: 1rem;
  color: var(--c-text);
  line-height: 1.8;
}

.split-content__sidebar {
  background: var(--c-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--c-border);
}

.split-content__sidebar h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--c-dark);
  font-weight: 700;
}

.split-content__sidebar ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.split-content__sidebar li::before {
  content: '→';
  color: var(--c-blue);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* ═══ PATTERN 3: Card Grid ═══ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--c-blue);
}

.card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 800;
}

.card__content {
  padding: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--c-dark);
}

.card__text {
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card__link {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.card__link:hover {
  gap: 0.75rem;
}

/* ═══ PATTERN 4: Timeline/Process ═══ */

/* ═══ PATTERN 5: Highlight Boxes ═══ */
.highlight-box {
  background: linear-gradient(135deg, rgba(30,142,204,0.05) 0%, rgba(30,142,204,0.12) 100%);
  border-left: 6px solid var(--c-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(30,142,204,0.1);
}

.highlight-box--success {
  background: linear-gradient(135deg, rgba(46,204,113,0.05) 0%, rgba(46,204,113,0.12) 100%);
  border-left-color: #2ecc71;
}

.highlight-box--warning {
  background: linear-gradient(135deg, rgba(241,196,15,0.05) 0%, rgba(241,196,15,0.12) 100%);
  border-left-color: #f1c40f;
}

.highlight-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--c-dark);
  font-weight: 700;
}

/* ═══ PATTERN 6: Stats Grid ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-blue) 100%);
  color: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30,142,204,0.2);
}

.stat-card__number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ═══ PATTERN 7: Product Showcase ═══ */
.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product {
  background: white;
  border: 2px solid var(--c-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.product:hover {
  border-color: var(--c-blue);
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(30,142,204,0.15);
}

.product__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-dark) 100%);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 800;
}

.product__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--c-dark);
}

.product__description {
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product__cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--c-blue);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product__cta:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,142,204,0.3);
}

/* ═══════════════════════════════════════════════════════
   ROI SECTION – Referenz-Design (Wirtschaftlichkeitsbetrachtung)
   Einheitliches Section-Padding, bg = #F5F6F8
   ════════════════════════════════════════════════════════ */

.roi-section {
  background: var(--c-bg);
  padding: 4rem 0;
}

/* ═══════════════════════════════════════════════════════
   ROI TABLE STYLES (Pattern 13)
   ════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   ROI TABLE STYLES - Wirtschaftlichkeitsbetrachtung
   ════════════════════════════════════════════════════════ */

.roi-table-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow-x: auto;
  margin: 2rem 0;
}

.roi-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.roi-table thead th {
  background: #1e8ecc;
  color: white;
  font-weight: 700;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.roi-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.roi-table thead th:last-child {
  border-radius: 0 8px 0 0;
  text-align: right;
}

.roi-table tbody tr {
  transition: all 0.2s ease;
}

.roi-table tbody tr:hover {
  background: rgba(30, 142, 204, 0.04);
  transform: scale(1.01);
}

.roi-table tbody th {
  background: linear-gradient(135deg, rgba(30,142,204,0.08) 0%, rgba(30,142,204,0.12) 100%);
  color: var(--c-dark);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-left: 4px solid var(--c-blue);
  font-size: 0.95rem;
}

.roi-table tbody td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  line-height: 1.6;
}

.roi-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--c-dark);
  white-space: nowrap;
}

.roi-table tbody tr:last-child td {
  border-bottom: none;
}

/* Amount Styling */
.amount-positive {
  color: #2ecc71;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.amount-positive .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.amount-negative {
  color: #f39c12;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.amount-negative .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Summary Row */
.roi-table tfoot {
  font-weight: 800;
  font-size: 1.1rem;
}

.roi-table tfoot th {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-blue) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 0 0 0 8px;
}

.roi-table tfoot td {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  padding: 1.5rem;
  text-align: right;
  font-size: 1.5rem;
  border-radius: 0 0 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .roi-table {
    font-size: 0.85rem;
  }
  
  .roi-table thead th,
  .roi-table tbody th,
  .roi-table tbody td {
    padding: 1rem;
  }
  
  .roi-table tfoot th,
  .roi-table tfoot td {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   PATTERN 9: WELCOME SECTION
   ════════════════════════════════════════════════════════ */
    .welcome-section {
      background: var(--c-bg);
      padding: 0;
      margin: 0;
    }
    
    .welcome-section h2 {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--c-dark);
      margin-bottom: 1rem;
    }
    
    .welcome-section ul {
      list-style: none;
      padding: 0;
      display: grid;
      gap: 1rem;
    }
    
    .welcome-section li {
      padding-left: 2rem;
      position: relative;
      line-height: 1.7;
    }
    
    .welcome-section li::before {
      content: '▸';
      position: absolute;
      left: 0;
      color: var(--c-blue);
      font-weight: bold;
      font-size: 1.2rem;
    }
    
    /* Application Areas Gallery */

/* ═══════════════════════════════════════════════════════
   PATTERN 11: SYSTEM DIAGRAM
   ════════════════════════════════════════════════════════ */
    .system-diagram {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      text-align: center;
      margin: 2rem 0;
    }
    
    .system-diagram h3 {
      font-size: 1.5rem;
      color: var(--c-dark);
      margin-bottom: 2rem;
      font-weight: 700;
    }
    
    .system-diagram img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
    
    /* Product Concept Box */

/* ═══════════════════════════════════════════════════════
   PATTERN 21-27: BILD & TEXT LAYOUTS
   ════════════════════════════════════════════════════════ */

/* ── PATTERN 21: Bild linksbündig mit umfließendem Text ── */
    .image-text-left {
      margin: 2rem 0;
    }
    
    .image-text-left figure {
      float: left;
      margin: 0 2rem 1rem 0;
      max-width: 400px;
    }
    
    .image-text-left img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    
    .image-text-left figcaption {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: var(--c-muted);
      font-style: italic;
    }
    
    .image-text-left::after {
      content: "";
      display: table;
      clear: both;
    }
    
    @media (max-width: 768px) {
      .image-text-left figure {
        float: none;
        margin: 0 0 1.5rem 0;
        max-width: 100%;
      }
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 22: Bild zentriert mit Text
       ════════════════════════════════════════════════════════ */
    
    .image-text-center {
      margin: 2rem 0;
    }
    
    .image-text-center figure {
      margin: 2rem auto;
      max-width: 600px;
      text-align: center;
    }
    
    .image-text-center img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    
    .image-text-center figcaption {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: var(--c-muted);
      font-style: italic;
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 23: Bild rechtsbündig mit umfließendem Text
       ════════════════════════════════════════════════════════ */
    
    .image-text-right {
      margin: 2rem 0;
    }
    
    .image-text-right figure {
      float: right;
      margin: 0 0 1rem 2rem;
      max-width: 400px;
    }
    
    .image-text-right img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    
    .image-text-right figcaption {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: var(--c-muted);
      font-style: italic;
    }
    
    .image-text-right::after {
      content: "";
      display: table;
      clear: both;
    }
    
    @media (max-width: 768px) {
      .image-text-right figure {
        float: none;
        margin: 0 0 1.5rem 0;
        max-width: 100%;
      }
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 24: Zwei Bilder nebeneinander + Text darunter
       ════════════════════════════════════════════════════════ */
    
    .two-images {
      margin: 2rem 0;
    }
    
    .two-images__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    
    .two-images figure {
      margin: 0;
    }
    
    .two-images img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    
    .two-images figcaption {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: var(--c-muted);
      font-style: italic;
      text-align: center;
    }
    
    @media (max-width: 768px) {
      .two-images__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 25: Drei Bilder nebeneinander + Text darunter
       ════════════════════════════════════════════════════════ */
    
    .three-images {
      margin: 2rem 0;
    }
    
    .three-images__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-bottom: 2rem;
    }
    
    .three-images figure {
      margin: 0;
    }
    
    .three-images img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    
    .three-images figcaption {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: var(--c-muted);
      font-style: italic;
      text-align: center;
    }
    
    @media (max-width: 968px) {
      .three-images__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 26: Text in zwei gleich großen Spalten
       ════════════════════════════════════════════════════════ */
    
    .text-two-columns {
      margin: 2rem 0;
      column-count: 2;
      column-gap: 3rem;
      column-rule: 1px solid var(--c-border);
    }
    
    .text-two-columns p {
      margin-bottom: 1rem;
    }
    
    .text-two-columns h3 {
      color: var(--c-dark);
      font-size: 1.3rem;
      margin-top: 1.5rem;
      margin-bottom: 1rem;
      break-after: avoid;
    }
    
    @media (max-width: 768px) {
      .text-two-columns {
        column-count: 1;
      }
    }
    
    /* ═══════════════════════════════════════════════════════
       PATTERN 27: Text in drei gleich großen Spalten
       ════════════════════════════════════════════════════════ */
    
    .text-three-columns {
      margin: 2rem 0;
      column-count: 3;
      column-gap: 2rem;
      column-rule: 1px solid var(--c-border);
    }
    
    .text-three-columns p {
      margin-bottom: 1rem;
    }
    
    .text-three-columns h3 {
      color: var(--c-dark);
      font-size: 1.2rem;
      margin-top: 1.5rem;
      margin-bottom: 1rem;
      break-after: avoid;
    }
    
    @media (max-width: 968px) {
      .text-three-columns {
        column-count: 2;
      }
    }
    
    @media (max-width: 640px) {
      .text-three-columns {
        column-count: 1;
      }
    }
  
/* ═══════════════════════════════════════════════════════
   ROI NOTE & LINK (Ergänzung zu Pattern 13)
   ════════════════════════════════════════════════════════ */

.roi-note {
  background: linear-gradient(135deg, #EAF0F5 0%, #DFEBF4 100%);
  border-left: 4px solid var(--c-blue);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(30,142,204,.10);
}

.roi-note p {
  margin-bottom: 1rem;
  color: var(--c-text);
  line-height: 1.7;
}

.roi-note p:last-child {
  margin-bottom: 0;
}

.roi-link {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
}

.roi-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   SYSTEM DIAGRAM - VOLLSTÄNDIGES CSS (Pattern 11)
   ════════════════════════════════════════════════════════ */

.system-diagram-section {
  background: var(--c-bg);
  padding: 4rem 0;
}

.system-diagram__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 2rem;
}

.system-diagram__intro {
  background: linear-gradient(135deg, #EAF0F5 0%, #DFEBF4 100%);
  border-left: 4px solid var(--c-blue);
  padding: 1.5rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(30,142,204,.10);
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.system-diagram__intro p {
  margin-bottom: 1rem;
}

.system-diagram__intro p:last-child {
  margin-bottom: 0;
}

/* Grid Layouts */
.system-diagram__grid {
  display: grid;
  gap: 2rem;
  margin: 0 0 2rem;
  background: var(--c-surface);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(30,142,204,.10);
  padding: 2rem 2.5rem;
}

.system-diagram__grid--two-cols {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 968px) {
  .system-diagram__grid--two-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Columns */
.system-diagram__column {
  background: var(--c-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--c-border);
}

.system-diagram__subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--c-blue);
}

/* Lists */
.system-diagram__list {
  list-style: none;
  padding: 0;
}

.system-diagram__list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--c-text);
  line-height: 1.7;
  border-bottom: 1px solid var(--c-border);
}

.system-diagram__list li:last-child {
  border-bottom: none;
}

.system-diagram__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-blue);
  font-weight: bold;
}

.system-diagram__list li strong {
  color: var(--c-dark);
  font-weight: 700;
}

/* Links in Lists */
.system-link {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
}

.system-link:hover {
  text-decoration: underline;
}

/* Image Container */
.system-diagram__image-container {
  margin: 3rem 0;
  text-align: center;
}

.system-diagram__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--c-border);
}

.system-diagram__caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--c-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════
   PATTERN 8: NEWS TICKER
   ════════════════════════════════════════════════════════ */

.news-ticker-section {
  background: var(--c-bg);
  padding: 5rem 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
}

.news-ticker-section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem;
}

.news-ticker {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 100px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--c-surface);
  border-radius: 12px;
  border-left: 4px solid var(--c-blue);
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(30,142,204,0.15);
  transform: translateX(4px);
}

.news-date {
  font-weight: 600;
  color: var(--c-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.news-image {
  display: flex;
  align-items: center;
}

.news-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--c-border);
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.4;
  margin: 0;
}

.news-link {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.news-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

/* News-Image Links (klickbare Thumbnails) */
.news-image a {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-image a:hover {
  transform: scale(1.05);
}

.news-image a:hover img {
  box-shadow: 0 4px 12px rgba(30,142,204,0.3);
}

  
  .news-image {
    max-width: 150px;
  }
}

/* ═══════════════════════════════════════════════════════
   PATTERN 10: APPLICATION GALLERY
   ════════════════════════════════════════════════════════ */

.application-gallery-section {
  background: var(--c-bg);
  padding: 5rem 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
}

.application-gallery-section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.application-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--c-border);
  transition: all 0.3s ease;
  text-align: center;
}

.application-card:hover {
  border-color: var(--c-blue);
  box-shadow: 0 4px 16px rgba(30,142,204,0.15);
  transform: translateY(-4px);
}

.application-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--c-bg);
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.application-card:hover .application-image img {
  transform: scale(1.05);
}

.application-title {
  padding: 1.25rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark);
  margin: 0;
  background: white;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 968px) {
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS ARTICLES (Pattern 21 angepasst)
   ════════════════════════════════════════════════════════ */

.news-article-section {
  background: var(--c-bg);
  padding: 2rem 2rem 0; /* 2rem oben, 2rem Seiten, 0 unten – letzter Artikel schliesst mit Container-Margin */
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
}

.news-article-section:last-of-type {
  padding-bottom: 2rem;
}

.news-article-section .container {
  background: var(--c-surface);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(30,142,204,.10);
  border-left: 4px solid var(--c-blue);
  margin: 0 auto;
  max-width: 1500px;
  padding: 3rem;
}

.news-article-header {
  margin-bottom: 2rem;
}

.news-article-date {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-blue);
  background: rgba(30,142,204,0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* News Image Grid (für mehrere Bilder) */
.news-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  float: left;
  margin: 0 2rem 1rem 0;
  max-width: 500px;
}

.news-image-grid figure {
  margin: 0;
}

.news-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .news-image-grid {
    float: none;
    margin: 0 0 1.5rem 0;
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}

/* Lightbox Links */
.lightbox-link {
  display: block;
  cursor: zoom-in;
  position: relative;
}

.lightbox-link:hover img {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(30,142,204,0.3);
}

.lightbox-link::after {
  content: '🔍';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-link:hover::after {
  opacity: 1;
}

/* Lightbox Overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.3s ease;
}

.lightbox-overlay .lightbox-close:hover {
  background: rgba(30,142,204,0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS IMAGES - Linksbündig mit umfließendem Text
   ════════════════════════════════════════════════════════ */

.news-article-section .image-text-left figure {
  float: left;
  max-width: 400px;
  margin: 0 2rem 1rem 0;
}

.news-article-section .image-text-left figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.news-article-section .image-text-left figcaption {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--c-muted);
  margin-top: 0.5rem;
}

/* Clearfix für umfließenden Text */
.news-article-section .image-text-left::after {
  content: "";
  display: table;
  clear: both;
}

/* Mobile: Bilder nicht floaten */
@media (max-width: 768px) {
  .news-article-section .image-text-left figure {
    float: none;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* Bilder die direkt im Content sind (ohne figure) */
.news-article-section .image-text-left > img {
  float: left;
  max-width: 400px;
  margin: 0 2rem 1rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}


/* ═══════════════════════════════════════════════════════
   TIMELINE - VERBESSERT: Breiter + Mehr Abstand
   ════════════════════════════════════════════════════════ */

.timeline-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.timeline-section .container {
  max-width: 1500px !important;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline-section .section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--c-muted);
  max-width: 900px;
  margin: -1rem auto 4rem;
  line-height: 1.6;
}

/* Timeline Container */
.timeline {
  position: relative;
  padding-left: 80px; /* Mehr Platz links für Icon */
}

/* Vertikale Linie */
.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-accent));
}

/* Timeline Event - MEHR ABSTAND! */
.timeline-event {
  position: relative;
  margin-bottom: 5rem !important; /* GRÖSSERER ABSTAND! */
  padding-bottom: 3rem;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

/* Timeline Icons */
.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 142, 204, 0.3);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.timeline-event:hover .timeline-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 142, 204, 0.4);
}

/* Current Event Icon */
.timeline-icon--current {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
  animation: pulse-current 2s ease-in-out infinite;
}

@keyframes pulse-current {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Timeline Content - BREITER! */
.timeline-content {
  margin-left: 0;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-event:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Timeline Date Badge */
.timeline-date {
  display: inline-block;
  background: var(--c-blue);
  color: #ffffff;
  padding: 0.7rem 1.8rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(30, 142, 204, 0.4);
  letter-spacing: 1px;
}

.timeline-date--current {
  background: linear-gradient(135deg, #28a745, #20c997);
}

/* Timeline Image */
.timeline-image {
  margin: 1.5rem 0 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-event:hover .timeline-image img {
  transform: scale(1.02);
}

/* Timeline Titles */
.timeline-event-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.timeline-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

/* Timeline Text */
.timeline-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 1.5rem 0;
}

.timeline-content p:last-of-type {
  margin-bottom: 0;
}

.timeline-content strong {
  color: var(--c-primary);
  font-weight: 600;
}

/* Timeline Highlight */
.timeline-highlight {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(30, 142, 204, 0.08), rgba(30, 142, 204, 0.05));
  border-left: 4px solid var(--c-primary);
  border-radius: 8px;
  font-weight: 600;
  color: var(--c-primary);
}

.timeline-highlight--primary {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.1));
  border-left-color: #28a745;
  color: #28a745;
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline {
    padding-left: 60px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-icon {
    left: -10px;
    width: 50px;
    height: 50px;
  }
  
  .timeline-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .timeline-event {
    margin-bottom: 3rem !important;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .timeline-event-title {
    font-size: 1.4rem;
  }
  
  .timeline-subtitle {
    font-size: 1.1rem;
  }
  
  .timeline-content p {
    font-size: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════
   COMPANY VALUES SECTION
   ════════════════════════════════════════════════════════ */

.company-values-section {
  padding: 5rem 0;
  background: white;
}

.company-values-section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--c-muted);
  max-width: 800px;
  margin: -1rem auto 3rem;
}

.section-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--c-primary);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: rotate(5deg) scale(1.1);
}

.value-icon svg {
  stroke: white;
}

.value-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
}


/* ═══════════════════════════════════════════════════════
   STATISTICS SECTION
   ════════════════════════════════════════════════════════ */

.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.stat-card--highlight {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: white;
}

.stat-card--highlight::before {
  background: white;
}

.stat-card--highlight .stat-number,
.stat-card--highlight .stat-label,
.stat-card--highlight p {
  color: white;
}

.stat-card--highlight .stat-icon svg {
  stroke: white;
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(30, 142, 204, 0.1), rgba(30, 142, 204, 0.05));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.stat-card--highlight .stat-icon {
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   LOCATIONS SECTION
   ════════════════════════════════════════════════════════ */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.location-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.location-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.location-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 1rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.location-address {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .values-grid,
  .stats-grid,
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .value-icon,
  .stat-icon {
    width: 60px;
    height: 60px;
  }
}



/* ═══════════════════════════════════════════════════════
   LIGHTBOX - Gallery Navigation & Styling
   ════════════════════════════════════════════════════════ */

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  border-radius: 9999px;
}

.lightbox-prev:hover:not(:disabled),
.lightbox-next:hover:not(:disabled) {
  background: var(--c-blue);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════
   NEWS ARTIKEL - Maximale Höhe & Bild-Skalierung
   ════════════════════════════════════════════════════════ */

/* News-Artikel sollen nicht zu hoch werden */
.news-article-section {
  max-height: none; /* Keine harte Grenze, aber Bilder begrenzen */
}

/* Bilder in News-Artikeln begrenzen */
.news-article-section figure img,
.image-text-left figure img {
  max-height: 400px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Bei mehreren Bildern noch kleiner */
.news-article-section:has(.image-text-left figure:nth-of-type(3)) figure img {
  max-height: 300px !important;
}

.news-article-section:has(.image-text-left figure:nth-of-type(4)) figure img {
  max-height: 250px !important;
}

/* Mobile: Bilder etwas kleiner */
@media (max-width: 768px) {
  .news-article-section figure img,
  .image-text-left figure img {
    max-height: 300px !important;
  }
}


/* ═══════════════════════════════════════════════════════
   SURF-NEWS - Max 2 Bilder pro Zeile (200px)
   ════════════════════════════════════════════════════════ */

/* Alle figures: float left, 200px breit */
.image-text-left > figure {
  float: left !important;
  max-width: 200px !important;
  width: 200px !important;
  margin: 0 1.5rem 1rem 0 !important;
  display: block !important;
}

/* Jedes 3., 5., 7., ... Bild: Neue Zeile (clear left) */
.image-text-left > figure:nth-child(odd):not(:first-child) {
  clear: left !important;
}

/* Jedes 1., 2., 4., 6., ... Bild: Kann nebeneinander */
.image-text-left > figure:nth-child(even) {
  clear: none !important;
}

/* Erstes Bild: Immer neue Zeile */
.image-text-left > figure:first-child {
  clear: left !important;
}

/* Bilder in figures */
.image-text-left figure img {
  max-width: 200px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Text-Content: kein float */
.image-text-left .news-content,
.image-text-left > div.news-content {
  display: block !important;
  float: none !important;
  clear: none !important;
}

/* Clearfix */
.news-article-section::after,
.image-text-left::after {
  content: "";
  display: table;
  clear: both;
}


/* ═══════════════════════════════════════════════════════
   UNIVERSAL CONTAINER - Zentriert alle Seiten gleich
   ════════════════════════════════════════════════════════ */

/* Alle Container auf 1500px max-width */
.container,
.welcome-section .container,
.roi-section .container,
.system-diagram-section .container,
.image-gallery-section .container,
.product-grid-section .container,
.company-list-section .container,
.publication-section .container,
.news-ticker-section .container,
.application-gallery-section .container,
.news-article-section .container {
  width: 100%;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}


/* Mobile: Weniger Padding – alle spezifischen Container-Selektoren explizit */
@media (max-width: 768px) {
  .container,
  .welcome-section .container,
  .roi-section .container,
  .system-diagram-section .container,
  .image-gallery-section .container,
  .product-grid-section .container,
  .company-list-section .container,
  .publication-section .container,
  .news-ticker-section .container,
  .application-gallery-section .container,
  .news-article-section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* ROI-Tabelle: innere Box-Padding reduzieren */
  .roi-table-wrapper {
    padding: 1rem 0.5rem;
  }

  /* System-Diagram: Grid- und Spalten-Padding reduzieren */
  .system-diagram__grid {
    padding: 1.25rem 1rem;
    gap: 1.25rem;
  }

  .system-diagram__column {
    padding: 1rem;
  }
}

/* Sehr schmale Screens (Z Flip 5 ≈ 360 px) */
@media (max-width: 480px) {
  .container,
  .welcome-section .container,
  .roi-section .container,
  .system-diagram-section .container,
  .image-gallery-section .container,
  .product-grid-section .container,
  .company-list-section .container,
  .publication-section .container,
  .news-ticker-section .container,
  .application-gallery-section .container,
  .news-article-section .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .roi-table-wrapper {
    padding: 0.75rem 0.25rem;
    border-radius: 8px;
  }

  .system-diagram__grid {
    padding: 1rem 0.75rem;
    gap: 1rem;
    border-radius: 8px;
  }

  .system-diagram__column {
    padding: 0.75rem;
    border-radius: 8px;
  }

  .system-diagram__title {
    font-size: 1.4rem;
  }
}


/* ═══════════════════════════════════════════════════════
   HERO IMAGE - OBEN NICHT ABGESCHNITTEN
   ════════════════════════════════════════════════════════ */

/* Hero Wrapper - KEIN flex centering */
.hero-image-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
  display: block !important;
  text-align: center;
  overflow: visible !important;
  line-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hero Image - von OBEN anzeigen */
.hero-image {
  width: 100%;
  height: auto !important;
  max-width: 1920px;
  display: inline-block !important;
  vertical-align: top !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Für sehr große Bildschirme */
@media (min-width: 1921px) {
  .hero-image {
    width: auto;
    max-width: 1920px;
  }
}


/* ═══════════════════════════════════════════════════════
   HERO IMAGE - UNTER der Navigation (nicht überlagert)
   ════════════════════════════════════════════════════════ */

/* Padding oben = Höhe der Navigation */
.hero-image-wrapper {
  padding-top: 80px !important; /* Navigation Höhe */
  margin-top: 0 !important;
}




/* ═══════════════════════════════════════════════════════
   EINHEITLICHES TYPOGRAFIE-SYSTEM – CONTENT-BEREICH
   Referenz: system-diagram__title (loesungen.html)
   Gilt NUR für Content – Nav und Footer unverändert
   ════════════════════════════════════════════════════════ */

/* ─── HAUPT-TITEL (h2-Ebene) ──────────────────────────
   Einheitliches Design für alle h2-Klassen im Content:
   font-size 2rem · font-weight 700 · Farbe --c-dark
   ───────────────────────────────────────────────────── */

.pattern-title,
.section__title,
.system-diagram__title,
.welcome-section__title,
.roi-section__title,
.image-gallery-title,
.product-grid-title,
.company-list-title,
.publication-title,
.machine-title,
.job-card__title,
.product-card__title,
.legend-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* Bare <h2> im Content (z.B. "Haben Sie Fragen?", impressum/agb h2)
   Klasse-unabhängig, aber begrenzt auf Content-Sections */
.section:not(.cta-band) h2:not([class]),
section:not(.cta-band) h2:not([class]),
.container h2:not([class]),
.welcome-section:not(.cta-band) h2:not([class]),
.roi-section:not(.cta-band) h2:not([class]),
.system-diagram-section:not(.cta-band) h2:not([class]),
.news-article-section:not(.cta-band) h2:not([class]),
.content-section:not(.cta-band) h2:not([class]),
main h2:not([class]) {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* Responsive: Etwas kleiner auf Mobilgeräten */
@media (max-width: 768px) {
  .pattern-title,
  .section__title,
  .system-diagram__title,
  .welcome-section__title,
  .roi-section__title,
  .image-gallery-title,
  .product-grid-title,
  .company-list-title,
  .publication-title,
  .machine-title,
  .job-card__title,
  .product-card__title,
  .legend-title,
  section:not(.cta-band) h2:not([class]),
  .container h2:not([class]),
  main h2:not([class]) {
    font-size: 1.5rem !important;
  }
}


/* ─── UNTER-TITEL (h3-Ebene) ──────────────────────────
   Einheitliches Design für alle h3-Klassen im Content:
   font-size 1.4rem · font-weight 700 · Farbe --c-dark
   ───────────────────────────────────────────────────── */

.pattern-subtitle,
.section__subtitle,
.system-diagram__subtitle,
.company-category-title,
.product-detail__subtitle,
.article-title,
.patent-title,
.job-card__col-title,
.machine-sensor-legend__title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* product-detail__subtitle war bisher als Untertitel-Beschreibung
   (z.B. "Schall-Emissions-Hydrophon · Patent") – bleibt kleiner ohne Unterstrich */
.product-detail__subtitle {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--c-muted) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0.5rem !important;
}

/* Bare <h3> im Content (z.B. WLM-3S, SEH, etc. in sensoren.html,
   Werkzeugmaschinenhersteller etc. in referenzen.html) */
.section h3:not([class]),
section h3:not([class]),
.container h3:not([class]),
.welcome-section h3:not([class]),
.product-detail h3:not([class]),
.publication-section h3:not([class]),
.news-article-section h3:not([class]),
main h3:not([class]) {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pattern-subtitle,
  .section__subtitle,
  .system-diagram__subtitle,
  .company-category-title,
  .article-title,
  .patent-title,
  .job-card__col-title,
  .machine-sensor-legend__title,
  section h3:not([class]),
  .container h3:not([class]),
  main h3:not([class]) {
    font-size: 1.2rem !important;
  }
}


/* ─── AUSNAHMEN: Spezial-h3 die KEIN Titel-Design brauchen ──
   job-card__col-title in Jobs-Karten: kompakter Sub-Header    */
.job-card__col-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0.75rem !important;
}

/* application-title (Einsatzbereiche-Cards auf index.html):
   Bleibt kompakt, da in Cards – nur Farbe vereinheitlichen */
.application-title {
  color: var(--c-dark) !important;
  font-weight: 700 !important;
}

/* news-title (News-Ticker / Index): kompakt, kein Unterstrich */
.news-title {
  color: var(--c-dark) !important;
  font-weight: 700 !important;
}


/* ─── TEXTLICHE HYPERLINKS IM CONTENT-BEREICH ─────────
   Alle <a>-Elemente innerhalb von Content-Sections:
   blau und unterstrichen (nicht Nav, nicht Footer, nicht Buttons)
   ───────────────────────────────────────────────────── */

/* Content-Links: blau + unterstrichen */
.section a:not([class]),
section a:not([class]),
.container a:not([class]),
.welcome-section a:not([class]),
.roi-section a:not([class]),
.system-diagram-section a:not([class]),
.news-article-section a:not([class]),
.publication-section a:not([class]),
.product-detail a:not([class]),
main a:not([class]),
p a,
li a,
td a,
.section__lead a,
.welcome-section__text a,
.system-diagram__intro a,
.news-content a,
.feature-list__text a {
  color: var(--c-blue) !important;
  text-decoration: underline !important;
}

/* Hover: etwas dunkler, Unterstrich bleibt */
.section a:not([class]):hover,
section a:not([class]):hover,
.container a:not([class]):hover,
p a:hover,
li a:hover,
td a:hover,
.section__lead a:hover,
.welcome-section__text a:hover,
.system-diagram__intro a:hover,
.news-content a:hover,
.feature-list__text a:hover {
  color: var(--c-dark) !important;
  text-decoration: underline !important;
  opacity: 1 !important;
}

/* Sicherheitsnetz: Links in article-title und patent-title
   (Fachartikel / Patente sind selbst anklickbar) */
.article-title a,
.patent-title a {
  color: var(--c-blue) !important;
  text-decoration: underline !important;
}

.article-title a:hover,
.patent-title a:hover {
  color: var(--c-dark) !important;
  opacity: 1 !important;
}

/* Explizit: Nav-Links und Footer-Links nie unterstrichen (auch nicht aktiv) */
.nav a,
.nav__links a,
.nav__submenu a,
.nav__submenu a.active,
.nav__drawer a,
.drawer-link,
.drawer-link.active,
.drawer-label,
.footer a,
.footer__links a,
.footer__brand a,
.lang-switcher a,
.lang-menu a {
  text-decoration: none !important;
}

/* Buttons und CTA-Links: kein Unterstrich */
.btn,
.cta-btn,
a.btn,
a.cta-btn,
.product-card a,
.application-card a,
.nav-cta a {
  text-decoration: none !important;
}



/* ═══════════════════════════════════════════════════════
   KATEGORIE-NAVIGATION (Sensoren / Produkte Sub-Sub-Menüs)
   Vertikale Karten mit Icon + Text, gleiche Breite, blaue Rahmung
   ════════════════════════════════════════════════════════ */

.cat-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 100%;
}

.cat-nav__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--c-blue);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-dark);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
  cursor: pointer;
}

.cat-nav__item:hover {
  background: var(--c-blue-pale);
  box-shadow: 0 4px 16px rgba(30,142,204,0.18);
  transform: translateY(-2px);
  opacity: 1;
  color: var(--c-dark);
}

.cat-nav__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  transition: background var(--trans);
}

/* Beim Hover über die Karte bleibt die Icon-Box weiß,
   damit sie sich vom hellblauen Karten-Hover abhebt. */
.cat-nav__item:hover .cat-nav__icon {
  background: #fff;
}

.cat-nav__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--c-blue);
  stroke: var(--c-blue);
  fill: none;
}

.cat-nav__label {
  flex: 1;
  line-height: 1.3;
}

/* Responsive: etwas kompakter auf Mobile */
@media (max-width: 600px) {
  .cat-nav {
    max-width: 100%;
  }
  .cat-nav__item {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    font-size: 0.92rem;
  }
  .cat-nav__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .cat-nav__icon svg {
    width: 22px;
    height: 22px;
  }
}


/* ═══════════════════════════════════════════════════════
   HOME-ICON NAVIGATION
   Symbolisches Haus-Icon – Desktop: erstes li in nav__links
   Mobile: neben dem Burger-Button
   ════════════════════════════════════════════════════════ */

/* ─── Desktop: Home-Icon als erstes Listenelement ─────── */
.nav__home-item {
  display: flex;
  align-items: center;
  /* Kein Auto-Margin mehr: Die echte Viewport-Zentrierung des
     Hauptmenüs übernimmt jetzt das CSS-Grid auf `.nav`
     (`1fr auto 1fr` ab 1201 px, siehe Abschnitt
     „NAV – ECHTE VIEWPORT-ZENTRIERUNG") – analog zur
     `justify-content: center`-Lösung des Untermenüs. */
}

.nav__home-link {
  color: var(--c-blue);
  background: transparent;
  padding: .35rem .65rem;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none !important;
}

.nav__home-link:hover {
  color: #fff;
  background: var(--c-blue);
  opacity: 1;
}

.nav__home-link svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor; /* erbt color des Links → blau normal, weiß bei Hover/Aktiv */
}

/* Spezifitäts-Fix: .nav__links a (0,1,1) überschreibt .nav__home-link (0,1,0)
   und setzt display:inline-block – dadurch hängt das SVG zu hoch.
   Analog zu .nav__links a.nav__login-link (0,2,1) hier denselben Trick anwenden: */
.nav__links a.nav__home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .65rem;
  color: var(--c-blue); /* explizit blau – schlägt .nav__links a { color: var(--c-muted) } */
}

.nav__links a.nav__home-link svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex-shrink: 0;
}

/* Aktives Home-Icon: invers – weiße Linie auf blauem Grund.
   Spezifität (0,3,1) schlägt .nav__links a.nav__home-link (0,2,1). */
.nav__links a.nav__home-link.active {
  color: #fff;
  background: var(--c-blue);
  box-shadow: none;
}

/* ─── Mobile: Home-Icon neben dem Burger-Button ─────────── */
.nav__home-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  background: transparent;
  padding: .3rem .45rem;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  text-decoration: none !important;
  flex-shrink: 0;
}

.nav__home-mobile:hover {
  background: var(--c-blue-pale);
  color: var(--c-blue);
  opacity: 1;
}

.nav__home-mobile svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: var(--c-blue);
}

/* ─── Sichtbarkeit je Breakpoint ──────────────────────── */

/* Desktop (> 1200px): Home-Item in nav__links sichtbar,
   Mobile-Icon versteckt */
@media (min-width: 1201px) {
  .nav__home-item {
    display: flex;
  }
  .nav__home-mobile {
    display: none !important;
  }
}

/* Mobile (≤ 1200px): Home-Item in nav__links versteckt,
   Mobile-Icon + Burger als Paar am rechten Rand */
@media (max-width: 1200px) {
  .nav__home-item {
    display: none !important;
  }
  .nav__home-mobile {
    display: flex;
    margin-left: auto; /* schiebt das Paar (Home + Burger) nach rechts */
  }
  .nav__burger {
    margin-left: 0;   /* Burger direkt neben Home-Icon, kein eigenes auto mehr */
  }
}


/* ═══════════════════════════════════════════════════════
   LOGIN-ICON NAVIGATION (Desktop)
   SVG Person-Icon + "Login" Text – analog zum Home-Icon.
   Nur Desktop sichtbar; im Drawer kommt eine separate
   Icon-only-Variante (.drawer-login) zum Einsatz.
   ════════════════════════════════════════════════════════ */

.nav__links .nav__login-item {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* darf nicht zusammengestaucht werden */
  white-space: nowrap;     /* Verhindert Umbruch zwischen Icon und "Login"-Text */
  border-left: 1px solid var(--c-blue); /* feine blaue Trennlinie links */
  margin-left: .85rem;
  padding-left: .85rem;
}

/* Login-Link: Flexbox-Zeile Icon + Text */
.nav__links a.nav__login-link {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .4rem .65rem;
  color: var(--c-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
  text-decoration: none;
}

.nav__links a.nav__login-link span {
  display: inline-block;
  line-height: 1;
}

.nav__links a.nav__login-link svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  width: 1.25rem;
  height: 1.25rem;
}

.nav__links a.nav__login-link:hover {
  color: #fff;
  background: var(--c-blue);
  opacity: 1;
}

/* Mobile: Login-Item verstecken */
@media (max-width: 1200px) {
  .nav__links .nav__login-item {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   NAV – LAYOUT DESKTOP (≥ 1201 px)

   CSS-Grid 1fr auto 1fr:
   - Logo linksbündig in der linken 1fr-Spalte
   - Hauptmenü zentriert in der mittleren auto-Spalte
   - Sprachumschalter rechtsbündig in der rechten 1fr-Spalte
   Beide 1fr-Spalten sind gleich breit → Menü liegt
   exakt in der Viewport-Mitte (analog .nav__submenu-inner).

   Ab 1451 px – Inhalt einfrieren:
   Das Nav-Band bleibt 100 % breit (volle Hintergrundfarbe),
   aber Logo und Sprachumschalter bewegen sich nicht weiter
   auseinander: dynamisches Padding hält den Inhaltsbereich
   konstant auf ~1370 px (= Nav-Breite bei 1450 px abzgl.
   beider Seiten-Paddings). Nur der weiße/transparente
   Nav-Hintergrund wächst weiter.
   ════════════════════════════════════════════════════════ */

/* ── Desktop: Grid-Layout Logo | Menü | Sprache ─────── */
@media (min-width: 1201px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav__logo {
    justify-self: start;
  }

  /* nav__links darf nicht mehr flex:1 expandieren */
  .nav__links {
    flex: none;
    justify-self: center;
  }

  .lang-switcher {
    justify-self: end;
    margin-left: 0;
  }

  .nav__links .nav__login-item {
    margin-left: .85rem;
  }
}

/* ── Ab 1501 px: Inhaltsbreite einfrieren ───────────── */
/* Bei 1500 px Viewport ist padding = 2.5rem = 40 px pro Seite
   → Inhaltsbereich = 1500 - 80 = 1420 px.
   Für breitere Viewports: padding wächst so, dass der
   Inhaltsbereich konstant bei 1420 px bleibt.
   Formel: padding = (Viewport - 1420px) / 2            */
@media (min-width: 1501px) {
  .nav {
    padding-left:  calc((100vw - 1420px) / 2);
    padding-right: calc((100vw - 1420px) / 2);
  }
}

/* ═══════════════════════════════════════════════════════
   HERO SLIDER  –  Bild-/Video-Karussell
   Zentrales CSS für alle Seiten.
   Technische Specs: 1440 × 540 px (8 : 3), automatischer
   Wechsel alle 5 s, blauer Overlay, weißer Text.
   ════════════════════════════════════════════════════════ */

/* Äußerer Wrapper – Hintergrundfarbe sichtbar neben dem Bild */
.hero-slider-outer {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-blue) 60%, #3ab8f0 100%);
  width: 100%;
  margin-top: var(--nav-h); /* Platz für fixe Nav */
  overflow: hidden;
  position: relative;
}

/* Seitliche Überblendung: mask-image direkt auf dem Slider-Container –
   wirkt immer exakt an den Bildkanten, unabhängig von der Viewport-Breite */
@media (min-width: 1201px) {
  .hero-slider {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black clamp(3rem, 7vw, 12rem),
      black calc(100% - clamp(3rem, 7vw, 12rem)),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black clamp(3rem, 7vw, 12rem),
      black calc(100% - clamp(3rem, 7vw, 12rem)),
      transparent 100%
    );
  }
}

/* Slider-Bereich: sanfte Höhen-Skalierung ohne Breakpoint-Sprünge.
   37,5 vw = 540 / 1440 × 100 → hält die 8:3-Proportion bis 1440 px.
   min-height 260 px schützt sehr kleine Screens, ohne jemals abrupt zu springen. */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: clamp(260px, 37.5vw, 540px);
  max-height: 70vh; /* Landscape-Schutz: kein Hero > 70 % der Viewport-Höhe */
  overflow: hidden;
  display: block;
}

/* Einzelner Slide – übereinander gestapelt */
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden; /* nötig für min-width/min-height Cover-Technik */
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Bild / Video füllt den Slide aus – Cover-Technik ohne object-fit-Abhängigkeit.
   min-width/min-height + translate funktioniert auch auf Samsung-Browsern,
   bei denen object-fit: cover auf <video> manchmal ignoriert wird. */
.hero-slide img,
.hero-slide video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Skalierung: natürliche Größe, aber mindestens Container-Breite und -Höhe */
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  /* Modernes Fallback für Browser mit vollständiger object-fit-Unterstützung */
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Blauer Overlay über Bild / Video */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 74, 110, 0.65);
  pointer-events: none;
}

/* Text-Block – zentriert über dem Slider */
.hero-slider__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1rem, 6vw, 5rem) 4rem;
  z-index: 3;
  pointer-events: none;
}

.hero-slider__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  margin-bottom: .65rem;
}

.hero-slider__title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-slider__sub {
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  line-height: 1.55;
}

/* Navigation (Pfeile + Punkte) */
.hero-slider__nav {
  position: absolute;
  bottom: 1.1rem;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  z-index: 4;
  pointer-events: auto;
}

/* Pfeile */
.hero-slider__arrow {
  background: rgba(255,255,255,.22);
  border: none;
  color: #fff;
  font-size: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}

.hero-slider__arrow:hover {
  background: rgba(255,255,255,.42);
}

/* Punkte-Wrapper */
.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: .45rem;
}

/* Einzelner Punkt */
.hero-slider__dot {
  width: .55rem;
  height: .55rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--trans), transform var(--trans);
  flex-shrink: 0;
}

.hero-slider__dot.active {
  background: #fff;
  transform: scale(1.35);
}

.hero-slider__dot:hover {
  background: rgba(255,255,255,.80);
}

/* Mobile: Texte und Layout für kleine Screens anpassen.
   Die Slider-Höhe läuft über clamp() in der Basis-Klasse sanft mit –
   kein abrupter Aspect-Ratio-Sprung mehr an Breakpoints. */
@media (max-width: 768px) {
  .hero-slider__title {
    font-size: clamp(1.35rem, 5vw, 1.9rem);
  }
  .hero-slider__sub {
    font-size: 1rem;
    line-height: 1.45;
  }
  .hero-slider__content {
    padding: 1.25rem 1rem 2.5rem;
    justify-content: center; /* immer vertikal zentriert */
  }
}

@media (max-width: 480px) {
  .hero-slider__title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    margin-bottom: .4rem;
    line-height: 1.25;
  }
  .hero-slider__sub {
    font-size: .95rem;
    line-height: 1.4;
    max-width: 100%;
  }
  .hero-slider__content {
    padding: .75rem 1rem 2.5rem;
  }
  .hero-slider__nav {
    bottom: .6rem;
    gap: .5rem;
  }
  .hero-slider__arrow {
    width: 1.8rem;
    height: 1.8rem;
  }
}
    font-size: 1rem;
    line-height: 1.45;
  }
  .hero-slider__content {
    padding: 1.25rem 1rem 2.5rem;
    justify-content: center; /* immer vertikal zentriert */
  }
}

@media (max-width: 480px) {
  .hero-slider__title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    margin-bottom: .4rem;
    line-height: 1.25;
  }
  .hero-slider__sub {
    font-size: .95rem;
    line-height: 1.4;
    max-width: 100%;
  }
  .hero-slider__content {
    padding: .75rem 1rem 2.5rem;
  }
  .hero-slider__nav {
    bottom: .6rem;
    gap: .5rem;
  }
  .hero-slider__arrow {
    width: 1.8rem;
    height: 1.8rem;
  }
}
