/* =========================================
   GLOBAL / VARIABLEN
========================================= */
:root {
  --color-bg: #0e1621;
  --color-bg-light: #1a232f;
  --color-bg-accent: #111827;
  --color-text: #ffffff;
  --color-muted: #a0b4c7;
  --color-primary: #00e5ff;
  --color-primary-dark: #00b2cc;
  --color-card-bg: #15202b;
  --color-border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

body {
  padding-top: 0px;   /* gleiche Höhe wie Header */
}

body{
  padding-top: 80px; /* ggf. 72–90px anpassen je nach Header-Höhe */
}

/* =========================================
   GENERELLES LAYOUT
========================================= */

.page {
  min-height: 100vh;
  background-color: var(--color-bg);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--accent {
  background: radial-gradient(circle at top, #111827, #050812 70%);
}

.section__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__header {
  margin-bottom: 40px;
}

.section__header--center {
  text-align: center;
}

.section__title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--color-muted);
}

/* =========================================
   HEADER / NAVIGATION
========================================= */
/* =========================================
   HEADER / NAVIGATION
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
}

.header__logo-link {
  display: inline-flex;
  align-items: center;
}

.logo,
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* Navigation Desktop */

.header__nav {
  display: flex;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.header__nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

/* CTA-Link */

.header__nav-link--cta {
  border: 1px solid rgba(0, 229, 255, 0.7);
  color: var(--color-text);
  padding-inline: 16px;
  background: radial-gradient(
    circle at top,
    rgba(0, 229, 255, 0.16),
    rgba(7, 10, 18, 0.9)
  );
}

.header__nav-link--cta:hover {
  background: radial-gradient(
    circle at top,
    rgba(0, 229, 255, 0.3),
    rgba(7, 10, 18, 0.95)
  );
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

/* Dropdown Desktop: Branchen */

.header__nav-item {
  position: relative;
}

/* Pfeil: immer rechts neben Menüpunkten mit Untermenü */
.header__nav-item--has-sub > .header__nav-link{
  padding-right: 28px; /* Platz für Pfeil */
}

/* Pfeil auf ::before (damit ::after für Underline frei bleibt) */
.header__nav-item--has-sub > .header__nav-link::before{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%);
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid rgba(190,205,220,0.85);
  transition: transform .18s ease, border-top-color .18s ease;
  pointer-events:none;
}

/* Hover/Offen: Pfeil dreht sich */
.header__nav-item--has-sub:hover > .header__nav-link::before{
  transform: translateY(-50%) rotate(180deg);
  border-top-color:#ffffff;
}



/* Dropdown-Panel */

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 10px 12px 12px;
  min-width: 260px;
  background: rgba(7, 10, 18, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}

.header__nav-item--has-sub:hover .header__submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header__submenu-link {
  display: block;
  padding: 9px 10px;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.header__submenu-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.header__nav-link:focus-visible,
.header__submenu-link:focus-visible{
  outline: 2px solid rgba(0,229,255,0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Burger-Button (Basis) */

.header__burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.header__burger-line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}


/* =========================================
   HERO – Background Video FIX
========================================= */

.hero {
  padding: 80px 0 80px;
  position: relative !important;
  overflow: hidden;
  min-height: 600px;
  isolation: isolate; /* Erstellt neuen Stacking Context */
}

.hero__bg-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;

  /* NEU */
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero__bg-video {
  height: 100%;
  width: auto;
  min-width: 100%;
  max-width: 1600px;

  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__bg-video{
  filter: saturate(0.92) contrast(0.96);
}

/* Overlay für bessere Lesbarkeit des Textes - deutlich dunkler */
/* HERO Overlay – ruhiger, weniger Flimmern */
.hero__bg-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    radial-gradient(
      700px 420px at 22% 32%,
      rgba(0, 229, 255, 0.10),
      transparent 60%
    ),
    linear-gradient(
      90deg,
      rgba(7,10,18,0.78) 0%,
      rgba(7,10,18,0.55) 42%,
      rgba(7,10,18,0.20) 100%
    );
}

/* Container und Content über dem Video - WICHTIG: position und z-index müssen erhalten bleiben! */
.hero__container {
  position: relative !important;
  z-index: 10 !important;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
}

.hero__content {
  max-width: 640px;
}

.hero__headline {
  font-size: 46px;
  margin-bottom: 18px;
}

.hero__subheadline {
  font-size: 19px;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.hero__text {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 16, 27, 0.9);
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.hero__video-wrapper {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  background: #000;
}

.hero__video-wrapper video,
.hero__video-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   GRIDS
========================================= */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--4col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* =========================================
   CARDS
========================================= */

.card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

/* Hover-Overlay – darf Klicks nicht blockieren */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(51, 177, 255, 0.12),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card__text {
  color: var(--color-muted);
  margin-bottom: 16px;
}

/* Listen in Cards */
.list {
  padding-left: 20px;
  margin: 0;
}

.list--bullet li {
  margin-bottom: 6px;
}

/* Bereich "Reinraum & Ausstattung" Bildkarten */
.cleanroom-card__img-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

/* Button-Abstand unter Reinraum-Karten */
.cleanroom-cta {
  margin-top: 32px;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
  background-color: rgba(10, 16, 26, 0.9);
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  border-color: transparent;
  color: #050608;
}

.btn--primary:hover {
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
  transform: translateY(-1px);
}

.btn--secondary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

/* Abstand & Klick-Zustand für Buttons in Cards */
.card__actions {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.card__actions .btn {
  position: relative;
  z-index: 3;
}

/* =========================================
   PROZESS-LISTE
========================================= */

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.process-list__item {
  margin-bottom: 18px;
  padding-left: 0;
}

.process-list__title {
  margin: 0 0 6px;
  font-size: 18px;
}

.process-list__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}

/* =========================================
   KONTAKT / FORMULAR (basic)
========================================= */

.contact__grid {
  align-items: flex-start;
}

.contact__info .contact__text {
  color: var(--color-muted);
  font-size: 15px;
}

.contact-form {
  background-color: var(--color-bg-light);
  border-radius: 16px;
  padding: 20px 20px 18px;
  border: 1px solid var(--color-border);
}

.form__row {
  margin-bottom: 12px;
}

.form__label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #0e1621;
  color: var(--color-text);
  font-size: 14px;
}

.form__textarea {
  resize: vertical;
}

.form__note {
  font-size: 12px;
  color: var(--color-muted);
}

.form__message {
  font-size: 14px;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.form__message--success {
  background: rgba(0, 200, 120, 0.16);
  border: 1px solid rgba(0, 200, 120, 0.7);
}

.form__message--error {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.7);
}

/* =========================================
   FAQ
========================================= */

.faq__item {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.faq__question {
  margin: 0 0 6px;
  font-size: 16px;
}

.faq__answer {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #050812;
  padding: 16px 0;
}

.site-footer__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__brand {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer__link {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 12px;
}

.site-footer__link:hover {
  color: var(--color-text);
}


/* Active-State für Ankerlinks (Landingpage) */
.nav-anchor-active {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

.nav-anchor-active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 999px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
}

/* ACTIVE STATE für Branchen-Unterseiten */
.submenu--active {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

.submenu--active:hover {
  color: var(--color-primary) !important;
  background: rgba(0, 229, 255, 0.12);
}

/* =========================================
   RESPONSIVE
========================================= */

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

  .hero__visual {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 96px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 26px;
  }

  .hero__headline {
    font-size: 32px;
  }
}

/* FIX: Reinraum-Bilder Höhe anpassen */
.cleanroom-card__img-wrapper {
  height: 260px;
  overflow: hidden;
  border-radius: 16px;
}

.cleanroom-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Standard-Linkfarbe für alle Links ohne eigene Klasse */
a:not([class]) {
  color: #00e5ff;
  text-decoration: none;
  font-weight: 400;
}

a:not([class]):hover {
  color: #33f1ff;
  text-decoration: none;
  font-weight: 600;
}

/* Active-Class für Ankerlinks */
.nav-anchor-active {
  color: var(--color-primary) !important;
  font-weight: normal !important;
}

.nav--active {
  color: var(--color-primary) !important;
}

/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 860px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(7, 10, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-header--nav-open .header__nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 24px 16px;
    gap: 8px;
  }

  .header__nav-link {
    width: 100%;
    padding-inline: 0;
  }

  .header__nav-link--cta {
    align-self: stretch;
    justify-content: center;
  }

  /* Branchen-Unterpunkte untereinander eingerückt anzeigen */
  .header__nav-item--has-sub {
    width: 100%;
  }

  .header__submenu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 4px;
    padding: 0 0 0 16px;
  }

  .header__submenu li {
    margin: 2px 0;
  }

  .header__submenu-link {
    padding: 3px 0;
    font-size: 0.95rem;
    color: var(--color-text);
  }

  .header__submenu-link:visited {
    color: var(--color-text);
  }
} 

/* =========================================
   ERGÄNZUNGEN (Sales Elemente)
========================================= */

/* Grüne Häkchen-Liste für Vorteile */
.list--check {
  list-style: none; /* Standard-Bullets weg */
  padding-left: 0;
}

.list--check li {
  position: relative;
  padding-left: 32px; /* Platz für den Haken */
  margin-bottom: 10px;
  color: var(--color-text); /* Etwas heller als muted */
}

.list--check li::before {
  content: "✔"; /* Haken-Symbol */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary); /* Deine Cyan-Farbe */
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
}

/* Text-Highlight für Probleme */
.text-highlight {
  color: #ff4d4d; /* Ein sanftes Rot für "Problem"-Wörter */
  font-weight: 600;
}


/* =========================================================
   FOOTER (wie Screenshot)
   ========================================================= */
.footer{
  background: linear-gradient(180deg, #0b1a33 0%, #08162d 60%, #07142a 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 56px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
}

.footer__title{
  font-weight: 700;
  color:#fff;
  margin-bottom: 14px;
  font-size: 16px;
}

.footer__brand-title{
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .2px;
  color:#00E5FF;
  margin-bottom: 14px;
}

.footer__brand-text{
  color:#a0b4c7;
  max-width: 360px;
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer__nav{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link{
  color:#a0b4c7;
  text-decoration:none;
  font-size: 14px;
  transition: .2s ease;
}
.footer__link:hover{
  color:#ffffff;
}

.footer__contact{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-line{
  display:flex;
  align-items:center;
  gap: 10px;
  color:#a0b4c7;
  font-size: 14px;
  text-decoration:none;
}

.footer__contact-icon{
  width: 22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  color:#00E5FF;
}

.footer__badges{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.footer__badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #00E5FF;
  background: rgba(0,229,255,.08);
  color:#00E5FF;
  text-decoration:none;
  width: fit-content;
}

.footer__badge-icon{
  font-size: 16px;
  line-height: 1;
}

.footer__badge-text{
  font-size: 13px;
  font-weight: 600;
}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}

.footer__bottom-inner{
  display:flex;
  justify-content:center;
  color: rgba(160,180,199,.85);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .footer__grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px){
  .footer{
    padding-top: 44px;
  }
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* ===========================
   HERO – Modern (Variante B)
   =========================== */

.accent { color: #00E5FF; }

.hero__content--modern{
  max-width: 720px;
  padding: 40px 0 24px;
}

.hero__eyebrow{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,0.28);
  background: rgba(0,229,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
}

.hero__eyebrow{
  font-size: 12px;
  padding: 7px 11px;
  opacity: 0.9;
}

.hero__headline--modern{
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__subheadline--modern{
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hero__highlights{
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  display: grid;
  gap: 10px;
}

.hero__highlights li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(160,180,199,0.95);
  font-size: 15px;
}

.hero__highlights li::before{
  content: "✓";
  color: #00E5FF;
  font-weight: 700;
  margin-top: 1px;
}

.hero__actions--modern{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn--link{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn--link:hover{
  border-color: rgba(0,229,255,0.45);
  background: rgba(0,229,255,0.08);
}

.hero__badges--subtle{
  gap: 10px;
  margin-top: 6px;
}

.badge--subtle{
  opacity: 0.92;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
}

/* Mobile Spacing */
@media (max-width: 768px){
  .hero__content--modern{ padding: 26px 0 12px; }
  .hero__eyebrow{ font-size: 12px; }
}




/* =========================================
   MISSING SECTION HELPERS (from index.html)
========================================= */
.section__text{ color: var(--color-muted); font-size:15px; margin:0 0 16px; }
.section__aside{ margin-top: 22px; }

/* =========================================
   CARDS LAYOUT WRAPPERS (.cards*)
========================================= */
.cards{
  display:grid;
  gap:24px;
}

.cards--tech{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--industries{
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards--showroom{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Card variants (optional subtle accents) */
.card--tech{ }
.card--industry{ }
.card--showroom{ }

/* =========================================
   TRUST BAR (unter Hero)
========================================= */
.trust-bar{
  background: rgba(7,10,18,0.86);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.trust-bar__container{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:48px;
  flex-wrap:wrap;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}

.trust-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--color-primary);
}

.trust-text{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}
.trust-text strong{
  font-size:14px;
  color:#fff;
}
.trust-text span{
  font-size:12px;
  color: rgba(160,180,199,0.9);
}

/* =========================================
   CLEANROOM GRID (falls genutzt)
========================================= */
.cleanroom-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}

/* =========================================
   SMALL FIXES
========================================= */
/* Ensure overlay doesn't cover clicks */
.hero__bg-overlay{ pointer-events:none; }

/* Keep cards clickable even with ::before */
.card > *{ position:relative; z-index:1; }

/* Responsive tweaks for trust bar */
@media (max-width: 640px){
  .trust-item{ min-width: 0; width: 100%; }
  .trust-bar__container{ justify-content:flex-start; gap:18px; }
}

/* =========================================================
   HEADER – Premium Upgrade (Glass + Hover line + Shrink)
   ========================================================= */

/* Basis: etwas edlerer Glass-Look */
.site-header{
  background: rgba(7,10,18,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.38);
}

/* feine “Highlight-Line” oben */
.site-header::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.35), transparent);
  opacity:0.75;
}

/* mehr Luft im Header */
.header__container{
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logo etwas cleaner */
.logo, .logo-img{
  height: 56px;
  transition: height .18s ease;
}

/* Nav: sauberere Typo + micro interactions */
.header__nav-link{
  letter-spacing: 0.15px;
  color: rgba(190,205,220,0.92);
}

/* elegante Unterstreichung statt “Button-Look” */
.header__nav-link::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(0,229,255,0.0), rgba(0,229,255,0.85), rgba(0,229,255,0.0));
  opacity:0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.header__nav-link:hover::after{
  opacity:1;
  transform: translateY(0);
}

/* Active-State klarer */
.nav--active,
.nav-anchor-active{
  color: #ffffff !important;
}
.nav--active::after,
.nav-anchor-active::after{
  opacity:1;
  transform: translateY(0);
}

/* CTA-Kontakt: hochwertiger Ring */
.header__nav-link--cta{
  border: 1px solid rgba(0,229,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(0,229,255,0.12);
}
.header__nav-link--cta:hover{
  box-shadow:
    0 0 18px rgba(0,229,255,0.18),
    inset 0 0 0 1px rgba(0,229,255,0.22);
}

/* Dropdown: etwas “softer” */
.header__submenu{
  background: rgba(7,10,18,0.92);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Shrink beim Scrollen */
.site-header--scrolled .header__container{
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-header--scrolled .logo, 
.site-header--scrolled .logo-img{
  height: 48px;
}

/* wenn Mobile Nav offen ist: etwas kräftigerer Hintergrund */
.site-header--nav-open{
  background: rgba(7,10,18,0.92);
}

/* Mobile: Underline aus, damit es nicht “wackelt” */
@media (max-width: 860px){
  .header__nav-link::after{ display:none; }
}

@media (max-width: 860px){
  .header__nav-item--has-sub > .header__nav-link::after{
    transform: translateY(1px);
  }
}


/* =========================================================
   HEADER FINAL – Dropdown Premium + Focus + Mobile Toggle
   ========================================================= */

/* Dropdown etwas luftiger & hochwertiger */
.header__submenu{
  padding: 10px 12px 12px;
}

.header__submenu-link{
  padding: 9px 10px;
}

/* Schöner Fokus (Tastatur) */
.header__nav-link:focus-visible,
.header__submenu-link:focus-visible{
  outline: 2px solid rgba(0,229,255,0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Mobile: Untermenüs standardmäßig zu */
@media (max-width: 860px){
  .header__submenu{ display:none; }

  .header__nav-item.is-open > .header__submenu{
    display:flex;
  }

  /* Pfeil dreht sich bei geöffnetem Mobile-Untermenü */
  .header__nav-item.is-open > .header__nav-link::before{
    transform: translateY(-50%) rotate(180deg);
    border-top-color:#ffffff;
  }
}

/* Blog article navigation + related posts (added) */
.blog-back-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin:0 0 18px;
  color: var(--accent, #00d4ff);
  text-decoration:none;
  font-weight:600;
}
.blog-back-link:hover{ text-decoration:underline; }

.blog-prev-next{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:18px 0 8px;
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:26px;
}
.blog-prev-next a{
  color: rgba(255,255,255,0.9);
  text-decoration:none;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:999px;
  background: rgba(10, 18, 30, 0.35);
}
.blog-prev-next a:hover{
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.08);
}
.blog-prev-next .is-disabled{
  opacity:.35;
  padding:10px 14px;
}

.related-posts{
  margin-top:26px;
}
.related-posts__title{
  margin:10px 0 16px;
}
.related-posts__grid{
  margin-top: 0;
}

/* ================================
   INDUSTRY GRID – 3 Spalten Desktop
================================ */

/* Mobile / Tablet: automatisch */
.cards--industries{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Desktop: exakt 3 Spalten */
@media (min-width: 1100px){
  .cards--industries{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* HERO: volle Bildschirmhöhe (abzgl. Sticky Header) */
:root{
  --header-h: 80px; /* ggf. 72/76/84 anpassen – je nach Headerhöhe */
}

#hero.hero{
  min-height: calc(100svh - var(--header-h));
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: stretch;
}

/* Content-Abstände wieder sauber geben (statt hero-padding) */
#hero .hero__container{
  padding-top: 120px;  /* Abstand unter Header */
  padding-bottom: 80px;
}


/* =========================================
   HERO – Anti-Flimmern (stärker)
========================================= */

/* Overlay etwas gleichmäßiger + minimal dunkler (reduziert “Pumping”) */
.hero__bg-overlay{
  background:
    radial-gradient(700px 420px at 22% 32%, rgba(0,229,255,0.06), transparent 62%),
    linear-gradient(90deg,
      rgba(7,10,18,0.82) 0%,
      rgba(7,10,18,0.60) 45%,
      rgba(7,10,18,0.28) 100%
    ) !important;
  opacity: 1 !important;
}

/* Video glätten: weniger Mikro-Flimmern bei Kanten/Metall */
.hero__bg-video{
  filter: contrast(0.90) saturate(0.92) brightness(0.98) blur(0.35px) !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


.hero__bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  /* Anti-Flimmern, aber ohne starkes Abschneiden */
  filter: contrast(0.92) saturate(0.95) brightness(0.98);
}


/* ==========================
   HERO VIDEO – FINAL (clean)
========================== */

/* Wrapper bleibt volle Fläche */
.hero__bg-video-wrapper{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
}

/* Video füllt den Wrapper korrekt (ohne Verschieben) */
.hero__bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;

  /* Anti-Flimmern (wirksam, aber nicht “matschig”) */
  filter: contrast(0.60) saturate(0.60) brightness(0.80) blur(0.8px);
  transform:none !important;
}


/* ==========================
   HERO VIDEO – NO BLACK BARS (Override)
========================== */
.hero__bg-video-wrapper{
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.hero__bg-video{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  /* wichtig gegen Balken */
  object-fit: cover !important;
  object-position: center center !important;

  /* wichtig: keine alten Verschiebungen / Auto-Größen */
  transform: none !important;
  max-width: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

/* === HERO VIDEO – FINAL (no bars) === */
.hero__bg-video-wrapper{
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero__bg-video{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  /* falls das Video selbst leichte Letterbox-Ränder “im Material” hat */
  transform: scale(1.10) !important;
  max-width: none !important;
}


/* Header dauerhaft oben fixieren */
.site-header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* FAQ Accordion */
.faq__item {
  cursor: pointer;
}

.faq__question {
  position: relative;
  padding-right: 40px;
}

/* Pfeil / Plus */
.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__question::after {
  transform: rotate(45deg);
}

/* Slide-Down Effekt */
.faq__answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__item.is-open .faq__answer-wrapper {
  max-height: 800px; /* ausreichend groß */
}


.cardGrid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

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


