
:root {
  --navy: #081120;
  --navy-2: #0d1d35;
  --blue: #2563eb;
  --blue-dark: #1746ad;
  --red: #e11d2e;
  --text: #111827;
  --muted: #5b6475;
  --surface: #ffffff;
  --surface-soft: #f2f5fa;
  --line: #dbe4f0;
  --radius: 24px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .14);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 36px)); margin-inline: auto; }
.narrow { max-width: 860px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(8,17,32,.98), rgba(13,29,53,.98));
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 10px 30px rgba(2,6,23,.25);
  backdrop-filter: blur(12px);
}
.header-row {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 14px;
  flex-wrap: nowrap;
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  flex: 0 1 auto;
}
.brand-logo {
  width: 165px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.brand-title {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-red { color: var(--red); }
.brand-silver {
  color: #d4d8de;
  text-shadow: 0 1px 0 rgba(255,255,255,.18), 0 2px 8px rgba(0,0,0,.22);
}
.brand-subtitle {
  margin-top: 9px;
  color: #a9bad0;
  font-size: .83rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 1 auto;
}
.header-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 11px;
  color: #d8e2ef;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .025em;
  transition: .2s ease;
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-nav .nav-cta {
  margin-left: 7px;
  padding-inline: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 24px rgba(37,99,235,.28);
}
.menu-dropdown { position: relative; display: none; flex: 0 0 auto; }
.menu-toggle {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-weight: 800;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(255,255,255,.14); }
.menu-icon { font-size: 1.25rem; line-height: 1; }
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(290px, calc(100vw - 30px));
  display: none;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(8,17,32,.99);
  box-shadow: 0 20px 50px rgba(2,6,23,.35);
}
.menu-panel.open { display: block; }
.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 11px;
  color: #d8e2ef;
  font-weight: 700;
}
.menu-panel a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: url("assets/hero-camera.jpg") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2,6,23,.92), rgba(8,17,32,.73)),
    radial-gradient(circle at 80% 15%, rgba(37,99,235,.32), transparent 31%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
  gap: 46px;
  align-items: center;
  padding: 84px 0;
}
.section-label {
  display: inline-block;
  margin: 0 0 14px;
  color: #2563eb;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero .section-label, .section-dark .section-label { color: #9ec0ff; }
.hero h1 {
  max-width: 18ch;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
}
.hero-copy { max-width: 760px; margin: 0; color: #dbe6f5; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue); }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.btn-whatsapp { color: #07140d; background: #25d366; }
.hero-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hero-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 45px rgba(2,6,23,.2);
  backdrop-filter: blur(9px);
}
.hero-card span { display: block; color: #a9b7cd; font-size: .9rem; }
.hero-card strong { display: block; margin-top: 6px; color: #fff; font-size: 1.05rem; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-light { background: var(--surface-soft); }
.section-dark { color: #fff; background: var(--navy); }
.section h2 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.section p { font-size: 1.04rem; }
.card-grid { display: grid; gap: 22px; margin-top: 30px; }
.four-up { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card, .feature-card {
  padding: 28px;
  border: 1px solid rgba(219,228,240,.8);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-card { background: var(--surface-soft); }
.card h3, .feature-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.two-col-balance { align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.area-list span {
  padding: 16px 18px;
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
}

/* SECURITY */
.alarm-section { position: relative; overflow: hidden; }
.alarm-card {
  position: relative;
  padding: 30px;
  border-left: 7px solid #dc2626;
  border-radius: var(--radius);
  background: #fff5f5;
  box-shadow: var(--shadow);
}
.alarm-card p { margin: 0 0 12px; }
.alarm-card strong { color: #b91c1c; }
.alarm-highlight { margin-top: 20px !important; }

/* CONTACT */
.section-dark p, .section-dark a { color: #dbe6f6; }
.contact-list p { margin: 0 0 10px; }
.contact-form {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 45px rgba(2,6,23,.25);
}
.contact-form label { display: block; margin-bottom: 14px; color: #fff; font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(2,6,23,.42);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.hidden-botcheck { display: none !important; }
.map-card { min-height: 420px; overflow: hidden; border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.map-card iframe { display: block; }
.map-placeholder {
  min-height: 420px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
  text-align: center;
  background: #f8fafc;
}

/* FOOTER & FLOATING */
.site-footer { color: #a9b7cd; background: #060d19; border-top: 1px solid rgba(255,255,255,.08); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  padding: 14px 18px;
  border-radius: 999px;
  color: #07140d;
  background: #25d366;
  box-shadow: 0 16px 38px rgba(15,23,42,.22);
  font-weight: 800;
}

/* COOKIE */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  color: #fff;
  background: rgba(8,17,32,.98);
  box-shadow: 0 18px 45px rgba(2,6,23,.28);
}
.cookie-banner__content { max-width: 760px; display: flex; flex-direction: column; gap: 6px; }
.cookie-banner__actions, .cookie-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.cookie-btn-primary { color: #fff; background: var(--blue); }
.cookie-btn-secondary { color: #fff; background: rgba(255,255,255,.08); }
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2,6,23,.7);
}
.cookie-modal__box { width: min(560px,100%); padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.cookie-option { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid #e5e7eb; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,6,23,.9);
}
.lightbox.open { display: flex; }
.lightbox-image { max-width: min(1200px,92vw); max-height: 88vh; border-radius: 16px; background: #fff; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 34px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .header-nav { display: none; }
  .menu-dropdown { display: block; }
  .header-row { min-height: 108px; }
  .brand-logo { width: 145px; }
  .brand-title { font-size: 2.35rem; }
}
@media (max-width: 900px) {
  .hero-content, .split { grid-template-columns: 1fr; }
  .four-up { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-card-grid { max-width: 650px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header-row { min-height: 84px; gap: 10px; padding-block: 9px; }
  .brand { gap: 9px; overflow: hidden; }
  .brand-logo { width: 82px; }
  .brand-title { font-size: 1.22rem; white-space: nowrap; }
  .brand-subtitle { margin-top: 5px; font-size: .55rem; letter-spacing: .11em; }
  .menu-toggle { min-height: 46px; padding: 0 12px; }
  .menu-toggle span:first-child { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 58px 0; }
  .hero h1 { font-size: 2.55rem; }
  .hero-card-grid, .four-up, .area-list { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-label { font-size: 1.05rem; }
  .section h2 { font-size: 2.15rem; }
  .project-item { width: 270px; min-width: 270px; height: 350px; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 12px 15px; }
}


/* =========================================================
   FINAL HEADER FIX: cropped logo + always visible menu
   ========================================================= */

.header-nav {
  display: none !important;
}

.header-row {
  min-height: 132px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
}

.brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.brand-logo {
  width: 245px !important;
  height: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
}

.brand-title {
  font-size: clamp(2.35rem, 4vw, 3.7rem) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.brand-subtitle {
  font-size: 1rem !important;
  margin-top: 10px !important;
  letter-spacing: .18em !important;
}

.menu-dropdown,
.menu-dropdown.menu-always {
  display: block !important;
  position: relative !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

.menu-toggle {
  min-width: 112px !important;
  min-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 1rem !important;
}

@media (max-width: 900px) {
  .header-row {
    min-height: 112px !important;
  }

  .brand-logo {
    width: 190px !important;
  }

  .brand-title {
    font-size: 2.15rem !important;
  }

  .brand-subtitle {
    font-size: .82rem !important;
  }
}

@media (max-width: 640px) {
  .header-row {
    min-height: 88px !important;
    gap: 10px !important;
  }

  .brand {
    gap: 10px !important;
    overflow: visible !important;
  }

  .brand-logo {
    width: 105px !important;
  }

  .brand-title {
    font-size: 1.28rem !important;
    white-space: nowrap !important;
  }

  .brand-subtitle {
    font-size: .56rem !important;
    margin-top: 5px !important;
    letter-spacing: .1em !important;
  }

  .menu-toggle {
    min-width: 52px !important;
    width: 52px !important;
    min-height: 48px !important;
    padding: 0 !important;
  }

  .menu-toggle span:first-child {
    display: none !important;
  }

  .menu-icon {
    display: inline !important;
    font-size: 1.35rem !important;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 82px !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
  }

  .brand-subtitle {
    font-size: .49rem !important;
  }
}


/* =========================================================
   HEADER FIX v3 — matches actual .header-inner HTML class
   ========================================================= */

.site-header .header-inner {
  min-height: 132px !important;
  width: min(var(--container), calc(100% - 36px)) !important;
  margin-inline: auto !important;
  padding: 14px 0 !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 28px !important;
}

.site-header .brand-redesign {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.site-header .brand-logo-large {
  width: 245px !important;
  height: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

.site-header .brand-divider {
  display: block !important;
  width: 1px !important;
  height: 76px !important;
  flex: 0 0 auto !important;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(158,192,255,.55),
    transparent
  ) !important;
}

.site-header .brand-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.site-header .brand-title-large {
  font-size: clamp(2.35rem, 4vw, 3.7rem) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.site-header .brand-subtitle-large {
  margin-top: 10px !important;
  font-size: 1rem !important;
  letter-spacing: .18em !important;
}

.site-header .desktop-nav {
  display: none !important;
}

.site-header .menu-dropdown,
.site-header .menu-dropdown.menu-always {
  position: relative !important;
  display: block !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
}

.site-header .menu-toggle {
  width: auto !important;
  min-width: 112px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 18px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.site-header .menu-icon {
  display: inline-block !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
}

.site-header .menu-label {
  display: inline-block !important;
}

.site-header .menu-panel {
  right: 0 !important;
  left: auto !important;
  top: calc(100% + 12px) !important;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    min-height: 112px !important;
    column-gap: 18px !important;
  }

  .site-header .brand-logo-large {
    width: 185px !important;
  }

  .site-header .brand-divider {
    height: 62px !important;
  }

  .site-header .brand-title-large {
    font-size: 2.15rem !important;
  }

  .site-header .brand-subtitle-large {
    font-size: .82rem !important;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    width: min(100% - 24px, var(--container)) !important;
    min-height: 88px !important;
    padding: 8px 0 !important;
    column-gap: 10px !important;
  }

  .site-header .brand-redesign {
    gap: 10px !important;
  }

  .site-header .brand-logo-large {
    width: 98px !important;
  }

  .site-header .brand-divider {
    display: none !important;
  }

  .site-header .brand-title-large {
    font-size: 1.2rem !important;
  }

  .site-header .brand-subtitle-large {
    margin-top: 5px !important;
    font-size: .54rem !important;
    letter-spacing: .10em !important;
  }

  .site-header .menu-toggle {
    width: 52px !important;
    min-width: 52px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
  }

  .site-header .menu-label {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .site-header .brand-logo-large {
    width: 78px !important;
  }

  .site-header .brand-title-large {
    font-size: 1rem !important;
  }

  .site-header .brand-subtitle-large {
    font-size: .46rem !important;
  }
}


/* =========================================================
   MOBILE MENU TEXT FIX v3.1
   ========================================================= */

.site-header .menu-toggle {
  width: auto !important;
  min-width: 104px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.site-header .menu-icon,
.site-header .menu-label {
  display: none !important;
}

@media (max-width: 640px) {
  .site-header .menu-toggle {
    width: auto !important;
    min-width: 76px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 13px !important;
    font-size: .88rem !important;
  }
}

@media (max-width: 420px) {
  .site-header .menu-toggle {
    min-width: 68px !important;
    padding: 0 10px !important;
    font-size: .82rem !important;
  }
}


/* =========================================================
   ALIGNMENT FIX v3.2
   Über uns and Einsatzgebiet use the same container left edge
   ========================================================= */

#ueber-uns > .container,
#einsatzgebiet > .container {
  width: min(var(--container), calc(100% - 36px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep readable text width, but align it to the container's left edge. */
#ueber-uns .section-label,
#ueber-uns h2,
#ueber-uns p {
  max-width: 900px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#einsatzgebiet .split,
#einsatzgebiet .two-col-balance {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important;
  gap: 44px !important;
  align-items: center !important;
}

#einsatzgebiet .split > *,
#einsatzgebiet .two-col-balance > * {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

#einsatzgebiet .section-label,
#einsatzgebiet h2,
#einsatzgebiet p {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 900px) {
  #einsatzgebiet .split,
  #einsatzgebiet .two-col-balance {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #ueber-uns > .container,
  #einsatzgebiet > .container {
    width: min(100% - 24px, var(--container)) !important;
  }
}


/* Einsatzgebiet redesign */
.einsatz-layout{
 display:grid;
 grid-template-columns:1fr;
 gap:32px;
}
#einsatzgebiet .area-list{
 display:grid;
 grid-template-columns:repeat(3,minmax(160px,1fr));
 gap:16px;
 max-width:900px;
}
#einsatzgebiet .area-list span{
 display:flex;
 align-items:center;
 justify-content:center;
 min-height:64px;
 border-radius:18px;
 font-weight:800;
}
#einsatzgebiet .area-list span:last-child{
 grid-column:1/-1;
 background:linear-gradient(135deg,var(--blue),var(--blue-dark));
 color:#fff;
}
@media(max-width:900px){
 #einsatzgebiet .area-list{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:640px){
 #einsatzgebiet .area-list{grid-template-columns:1fr;}
 #einsatzgebiet .area-list span:last-child{grid-column:auto;}
}
