:root {
  --bg: #0a1628;
  --bg-alt: #0f1e35;
  --surface: #142540;
  --ink: #f4f7fb;
  --ink-muted: #a8b4c7;
  --accent: #3ba3f5;
  --accent-bright: #5cb8ff;
  --accent-deep: #1e7ed1;
  --line: rgba(244, 247, 251, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 800px 600px at 85% 15%, rgba(59, 163, 245, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 55%, rgba(59, 163, 245, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 900px 700px at 75% 90%, rgba(59, 163, 245, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

nav, section, footer, main { position: relative; z-index: 2; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 0;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo-text .tagline {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.cta-nav {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-nav:hover { background: var(--accent-bright); }

/* Sub-Hero */
.sub-hero {
  padding: 180px 0 80px;
}
.sub-hero .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease backwards;
}
.sub-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
  animation: fadeUp 0.7s ease 0.1s backwards;
}
.sub-hero h1 .accent { color: var(--accent); }
.sub-hero .lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
  animation: fadeUp 0.7s ease 0.2s backwards;
}
.sub-hero .hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s backwards;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(59, 163, 245, 0.3);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 163, 245, 0.4);
}
.btn-secondary {
  color: var(--ink);
  padding: 16px 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(20, 37, 64, 0.3);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { border-color: var(--ink-muted); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section { padding: 100px 0; scroll-margin-top: 100px; }
.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-header .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header h2 .accent { color: var(--accent); }
.section-header .section-sub {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Card-Grid (Geräte / Services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.info-card {
  background: rgba(20, 37, 64, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.info-card:hover {
  transform: translateY(-4px);
  background: rgba(20, 37, 64, 0.75);
  border-color: rgba(59, 163, 245, 0.3);
}
.info-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 163, 245, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s ease;
}
.info-card:hover .icon-box {
  background: rgba(59, 163, 245, 0.2);
}
.info-card .icon-box svg { width: 24px; height: 24px; }
.info-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.info-card p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.35;
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 60px; height: 60px;
  background: rgba(20, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.process-step h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-step p {
  color: var(--ink-muted);
  font-size: 14px;
  max-width: 260px;
  margin: 0 auto;
  font-weight: 400;
}

/* Info-Block (Gesetze / Hinweise) */
.info-block {
  background: rgba(20, 37, 64, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
}
.info-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.info-block h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--ink);
}
.info-block p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.info-block p:last-child { margin-bottom: 0; }
.info-block strong {
  color: var(--ink);
  font-weight: 600;
}
.info-block .term {
  color: var(--accent);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}
.faq-item {
  background: rgba(20, 37, 64, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.faq-item.is-open {
  background: rgba(20, 37, 64, 0.7);
  border-color: rgba(59, 163, 245, 0.25);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(59, 163, 245, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.3s, transform 0.35s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.3s;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
}
.faq-item.is-open .faq-icon { background: rgba(59, 163, 245, 0.22); }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 600px;
}
.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer-inner p { margin-bottom: 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* Abschluss-CTA-Banner */
.final-cta {
  padding: 100px 0;
}
.final-cta-inner {
  background: rgba(20, 37, 64, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 163, 245, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.final-cta-inner > * { position: relative; z-index: 1; }
.final-cta-inner h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.final-cta-inner h2 .accent { color: var(--accent); }
.final-cta-inner p {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
  background: rgba(5, 13, 26, 0.6);
  backdrop-filter: blur(8px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--ink-muted);
  font-size: 14px;
  max-width: 320px;
  margin-top: 16px;
  font-weight: 400;
}
footer h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  font-weight: 400;
}
footer a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .logo-text .tagline { display: none; }
  .sub-hero { padding: 130px 0 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid::before { display: none; }
  .info-block { padding: 28px 24px; }
  .final-cta-inner { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  section { padding: 72px 0; }
  .final-cta { padding: 72px 0; }
}
