:root {
  --navy-deep: #060e1c;
  --navy: #0d1b30;
  --navy-mid: #14294a;
  --blue: #2f6fed;
  --blue-light: #5b8def;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #555555;
  --text-on-dark-muted: #a9b6c9;
  --gray-bg: #f5f7fa;
  --border: #e5e9ee;
  --border-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 164px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg-layer {
    transform: none !important;
  }
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

h1, h2 {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(13, 27, 48, 0.03), 0 8px 24px rgba(13, 27, 48, 0.04);
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 152px;
}

.logo {
  display: flex;
  align-items: center;
}

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

nav {
  display: flex;
  align-items: center;
}

nav a {
  position: relative;
  margin-left: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 20px;
  transition: color 0.15s ease, background 0.15s ease;
}

nav a:hover { color: var(--blue); background: rgba(47, 111, 237, 0.08); }

nav a.active {
  color: var(--blue);
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: calc(100% - 14px);
  bottom: 3px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: right 0.2s ease;
}

nav a.active:not(.nav-cta)::after {
  right: 14px;
}

nav a.nav-cta {
  margin-left: 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

nav a.nav-cta:hover {
  background: var(--blue);
  color: var(--white);
}

nav a.nav-cta.active {
  color: var(--white);
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow.light { color: var(--blue-light); }

.eyebrow-mark {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 120px;
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px));
}

.hero-bg-layer {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-image: url('hero-security.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 14, 28, 0.96) 0%, rgba(10, 20, 38, 0.88) 40%, rgba(13, 27, 48, 0.55) 75%, rgba(13, 27, 48, 0.35) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 620px; }

.hero-text .eyebrow { color: var(--blue-light); }

.hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.tagline {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}

.tagline strong {
  color: var(--blue-light);
  font-weight: 800;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  max-width: 460px;
  margin: 0 0 36px;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-accent {
  background: var(--blue);
  color: var(--white);
}

.btn-accent:hover { background: var(--blue-light); }

.section.dark .btn:not(.btn-accent) {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--white);
}

.section.dark .btn:not(.btn-accent):hover {
  border-color: var(--blue-light);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 540px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  justify-self: start;
}

.contact-alt {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.contact-alt a {
  color: var(--blue-light);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.form-status.success { color: #7ddba0; }
.form-status.error { color: #ff9d9d; }

/* Sections */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section.dark {
  background: var(--navy-deep);
  color: var(--white);
  border-top: none;
}

.section h2 {
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--navy);
}

.section h2 strong { font-weight: 800; }

.section h2.light-heading, .light-heading strong { color: var(--white); }

.lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

.section.dark .lead { color: var(--text-on-dark-muted); }

/* Fact list */
.fact-list {
  border-top: 1px solid var(--border);
}

.section.dark .fact-list { border-top: 1px solid var(--border-dark); }

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.section.dark .fact-row { border-bottom: 1px solid var(--border-dark); }

.fact-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
}

.section.dark .fact-label { color: var(--blue-light); }

.fact-value {
  font-weight: 700;
  font-size: 1rem;
}

/* Stats bar */
.stats-bar {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Service list */
.service-list {
  border-top: 1px solid var(--border);
}

.service-item {
  display: flex;
  gap: 24px;
  padding: 32px 20px;
  margin: 0 -20px;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.15s ease;
}

.service-item:hover {
  background: var(--gray-bg);
}

.service-item:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(47, 111, 237, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.service-icon svg { width: 22px; height: 22px; }

.service-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
}

/* Referenzen */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ref-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  padding: 28px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ref-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.ref-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(47, 111, 237, 0.15);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ref-icon svg { width: 18px; height: 18px; }

.ref-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue-light);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ref-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

/* Zertifikate */
.cert-group {
  margin-bottom: 36px;
}

.cert-group:last-child {
  margin-bottom: 0;
}

.cert-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cert-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cert-item:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.cert-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.site-footer a:hover { color: var(--blue); }

.footer-links {
  margin-top: 8px;
}

.footer-links a { margin: 0 8px; }

/* Legal pages */
.legal {
  padding: 64px 0 96px;
  max-width: 720px;
}

.legal h1 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 32px 0 12px;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal a { color: var(--blue); text-decoration: underline; }

@media (max-width: 860px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 60px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 14, 28, 0.94) 0%, rgba(6, 14, 28, 0.9) 60%, rgba(6, 14, 28, 0.8) 100%);
  }
  .hero-bg-layer { transform: none !important; }
  .hero h1 { font-size: 2.1rem; }
  .section { padding: 64px 0; }
  .service-item { flex-direction: column; gap: 12px; margin: 0; padding: 24px 0; }
  .ref-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  nav a { margin-left: 0; padding: 6px 8px; font-size: 0.78rem; }
  nav a.nav-cta { margin-left: 8px; padding: 6px 12px; }
  .header-inner { height: 116px; }
  .logo-img { height: 98px; }
}
