:root {
  --bg: #040812;
  --bg-alt: #0b1320;
  --surface: #131d2e;
  --surface-2: #17253a;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f7fb;
  --muted: #9ea9bc;
  --brand: #e10802;
  --brand-strong: #af0500;
  --ok: #40c970;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, #1d345c 0%, transparent 58%),
    radial-gradient(900px 520px at -10% 24%, #172743 0%, transparent 54%),
    var(--bg);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

.topbar .container {
  width: min(1680px, 96vw);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(4, 8, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand img {
  height: 58px;
  width: auto;
  display: block;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 25px;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.brand-copy em {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #d8e1f2;
  white-space: nowrap;
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 0.5vw, 8px);
  flex: 0 1 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.lang-select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 11px;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 700;
}

.lang-select option {
  color: #111;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 90;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: linear-gradient(180deg, #121c2e, #0b1320);
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 28px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform .24s ease;
  z-index: 100;
  padding: 16px;
  display: none;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: grid;
  gap: 8px;
}

.mobile-drawer-nav a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.mobile-drawer-nav a.active {
  border-color: rgba(225, 8, 2, 0.6);
  background: rgba(225, 8, 2, 0.15);
}

.mobile-drawer-nav .lang-select {
  width: 100%;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .mobile-drawer {
  transform: translateX(0);
}

.nav a {
  border: 1px solid transparent;
  color: var(--muted);
  padding: 9px clamp(8px, 0.7vw, 12px);
  border-radius: 11px;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 700;
  transition: all .18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px clamp(12px, 0.9vw, 16px);
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn.primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  border-color: rgba(225, 8, 2, 0.45);
  box-shadow: 0 12px 24px rgba(225, 8, 2, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 28px 0 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,8,2,0.2), transparent 68%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(64, 201, 112, 0.5);
  background: rgba(64, 201, 112, 0.15);
  color: #d6ffe5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-title {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -1px;
}

.hero-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-side {
  padding: 26px;
}

.hero-side h2 {
  margin: 0;
  font-size: 24px;
}

.hero-side p {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.62;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 11px 0;
}

.stat:first-of-type { border-top: 0; }

.stat strong {
  color: #fff;
  font-size: 19px;
}

.hero-side-gallery {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-side-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hero-side-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  padding: 16px 0;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.section p.lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 16px;
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.legal-page {
  padding: 24px 0 42px;
}

.legal-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 10px;
}

.legal-card {
  padding: 30px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

.legal-card .meta {
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-card h2 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.legal-card p,
.legal-card li {
  color: #dce3ee;
  line-height: 1.68;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: #ffffff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.42);
}

.legal-card ul {
  margin: 8px 0;
  padding-left: 20px;
}

.impressum-address {
  margin: 18px 0 22px;
  color: #dce3ee;
  font-style: normal;
  line-height: 1.7;
}

.impressum-address strong {
  display: inline-block;
  margin-bottom: 4px;
  color: #ffffff;
}

.banner {
  margin: 10px 0 14px;
  border: 1px solid rgba(225, 8, 2, 0.36);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(130deg, rgba(225,8,2,0.2), rgba(225,8,2,0.07));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.banner h4 {
  margin: 0 0 6px;
  font-size: 22px;
}

.banner p {
  margin: 0;
  color: #ffd4d3;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
  padding: 18px 0 26px;
  color: #8f9bb0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c7d1e1;
  border-bottom: 1px dashed rgba(199, 209, 225, 0.55);
}

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

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer {
    display: block;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1220px, 94vw);
  }

  .brand img {
    height: 50px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .brand-copy em {
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .topbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero-main,
  .hero-side,
  .banner,
  .legal-card {
    padding: 18px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
