@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300&family=Space+Mono:wght@400;700&display=swap');

:root {
  --orange: #FF6B1A;
  --orange-dim: rgba(255,107,26,0.15);
  --teal: #1A7A6E;
  --teal-dim: rgba(26,122,110,0.15);
  --dark: #0F1A1C;
  --mid: #1C2E32;
  --mid2: #243438;
  --light: #E8EEF0;
  --accent: #FFD166;
  --grey: #8BA5AB;
  --screed: #4A4540;

  /* Schriftarten */
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Schriftgrößen */
  --fs-nav: 13px;
  --fs-hero-title: clamp(36px, 4.5vw, 60px);
  --fs-hero-sub: 18px;
  --fs-section-title: clamp(26px, 3vw, 44px);
  --fs-section-sub: 18px;
  --fs-eyebrow: 11px;
  --fs-card-title: 20px;
  --fs-card-text: 15px;
  --fs-btn: 15px;
  --fs-spec-value: 26px;
  --fs-spec-label: 13px;
  --fs-label: 10px;
  --fs-footer: 13px;
  --fs-footer-meta: 12px;
  --fs-page-heading: 22px;
  --fs-page-text: 16px;
  --fs-form-label: 12px;
  --fs-form-input: 15px;
}

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

html {
  scroll-behavior: smooth;
  background: #060C0E; /* dark sides shown on ultra-wide monitors */
}

body {
  background: var(--dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--light);
  overflow-x: hidden;
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1480px);
  z-index: 100;
  padding: 0 64px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,26,28,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,107,26,0.12);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-wordmark {
  font-family: var(--font-mono);
  font-size: var(--fs-nav);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--light); }
.nav-links a.active { color: var(--light); font-weight: 700; }

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: #e55a0f !important;
  transform: translateY(-1px);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-switcher a {
  font-size: var(--fs-nav);
  color: var(--grey);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.lang-switcher a:hover { background: rgba(255,255,255,0.08); }
.lang-switcher a.lang-active {
  color: var(--orange);
  font-weight: 700;
}

/* ===== STATIC MODE (So funktioniert's) ===== */
.how-steps--static .how-step-detail {
  max-height: 2000px !important;
  opacity: 1 !important;
}
.how-steps--static .how-step-toggle { display: none; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: var(--fs-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255,107,26,0.28);
}

.btn-primary:hover {
  background: #e55a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,26,0.4);
}

.btn-secondary {
  display: inline-block;
  color: var(--light);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: var(--fs-btn);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* ===== SECTION SHARED ===== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: var(--fs-section-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: var(--fs-section-sub);
  color: var(--grey);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
}

/* ===== FOOTER ===== */
footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1480px);
  z-index: 90;
  padding: 16px 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(15,26,28,0.95);
  backdrop-filter: blur(12px);
}

/* Space for fixed footer so content isn't hidden behind it */
body::after {
  content: '';
  display: block;
  height: 64px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-wordmark {
  font-family: var(--font-mono);
  font-size: var(--fs-footer);
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1.5px;
}

.footer-meta {
  font-size: var(--fs-footer-meta);
  color: var(--grey);
}

.footer-right {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-right a {
  font-size: var(--fs-footer);
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover { color: var(--light); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.float { animation: float 4s ease-in-out infinite; }

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 26px 64px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-items {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-footer-meta);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-hero {
  padding: 140px 64px 80px;
  background: linear-gradient(135deg, #0F1A1C 0%, #1A2E32 60%, #1A3A34 100%);
  border-bottom: 1px solid rgba(255,107,26,0.15);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,26,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content { max-width: 680px; }

/* ===== INNER PAGE CONTENT ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 64px;
}

.page-content h2 {
  font-size: var(--fs-page-heading);
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--light);
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  font-size: var(--fs-page-text);
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content a {
  color: var(--orange);
  text-decoration: none;
}

.page-content a:hover { text-decoration: underline; }

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page-content li {
  font-size: var(--fs-page-text);
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 6px;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 48px 0;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 64px;
}

.contact-info h3 {
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--light);
}

.contact-info p {
  font-size: var(--fs-card-text);
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,26,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: var(--fs-form-label);
  font-family: var(--font-mono);
  letter-spacing: 1px;
  color: var(--grey);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.contact-detail-text span {
  font-size: var(--fs-card-text);
  color: var(--light);
}

.form-card {
  background: var(--mid);
  border-radius: 20px;
  padding: 44px;
  border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--fs-form-label);
  font-family: var(--font-mono);
  letter-spacing: 1px;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: var(--fs-form-input);
  font-family: var(--font-body);
  color: var(--light);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  border-color: rgba(255,107,26,0.5);
  background: rgba(255,107,26,0.04);
}

.form-group select option { background: var(--mid); }

.form-group textarea { resize: vertical; min-height: 130px; }

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

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  font-size: var(--fs-form-label);
  color: var(--grey);
  margin-top: 12px;
  line-height: 1.6;
}

.success-msg {
  display: none;
  padding: 16px;
  background: var(--teal-dim);
  border: 1px solid rgba(26,122,110,0.4);
  border-radius: 8px;
  color: var(--teal);
  font-size: var(--fs-card-text);
  margin-top: 16px;
  text-align: center;
}

/* ===== HAMBURGER MENU ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; background: #0F1A1C !important; }

  .nav-wordmark { display: none; }

  .nav-logo img { height: 50px; }

  .nav-hamburger { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0F1A1C;
    flex-direction: column;
    padding: 100px 20px 40px;
    gap: 0;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  body.nav-open > *:not(nav) { display: none; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    display: block !important;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 20px;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-items { gap: 12px; }

  /* Footer – not fixed on mobile */
  footer {
    position: static;
    transform: none;
    width: 100%;
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
  }

  body::after { height: 0; }

  .footer-right { justify-content: center; }

  /* Page Hero (inner pages) */
  .page-hero { padding: 100px 20px 50px; }

  /* Page Content */
  .page-content { padding: 40px 20px; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }

  .form-row { grid-template-columns: 1fr; }

  .form-card { padding: 28px 20px; }
}
