:root {
  --bg-0: #0d0e10;
  --bg-1: #131418;
  --bg-2: #1a1c21;
  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-1: #eceef2;
  --text-2: #aab0ba;
  --text-3: #767c87;
  --glass:        rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.055);
  --brand:      #e6342f;
  --brand-soft: rgba(230, 52, 47, 0.14);
  --brand-line: rgba(230, 52, 47, 0.45);
  --radius: 16px;
  --maxw: 1060px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(230, 52, 47, 0.10), transparent 60%),
    radial-gradient(1000px 560px at 92% 8%, rgba(120, 140, 220, 0.07), transparent 62%),
    linear-gradient(180deg, #0b0c0e 0%, #121317 50%, #0c0d0f 100%);
  display: flex;
  flex-direction: column;
}

canvas#bg {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 92%);
}
@media (prefers-reduced-motion: reduce) { canvas#bg { display: none; } }

header.site, main, footer.site { position: relative; z-index: 1; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: #ff5b56; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* glass surface */
.glass {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 14, 16, 0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
header.site img.logo { height: 28px; width: auto; display: block; }
nav.top { display: flex; align-items: center; gap: 6px; }
nav.top a {
  color: var(--text-2); font-size: 15px; font-weight: 500;
  padding: 9px 15px; border-radius: 10px;
  transition: color 120ms ease, background 120ms ease;
}
nav.top a:hover { color: var(--text-1); background: var(--glass); }
nav.top a.cta {
  color: #fff; background: var(--brand);
}
nav.top a.cta:hover { color: #fff; background: #ff4b46; }
@media (max-width: 560px) { nav.top a.nav-secondary { display: none; } }

main { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 80px; }
.hero-inner { padding: 60px 48px 64px; text-align: center; box-shadow: var(--shadow); }
@media (max-width: 720px) { .hero { padding: 56px 0 48px; } .hero-inner { padding: 40px 24px 44px; } }
.hero img.logo {
  display: block;
  height: auto; width: auto;
  max-height: 76px; max-width: min(82%, 460px);
  margin: 0 auto 30px;
}
.hero p.lede {
  margin: 0 auto; max-width: 56ch;
  color: var(--text-2);
  font-size: clamp(17px, 2.1vw, 20px);
}
.hero .actions {
  margin-top: 32px; display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  padding: 13px 26px; border-radius: 11px;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #ff4b46; color: #fff; }
.btn-ghost { background: var(--glass); color: var(--text-1); border: 1px solid var(--line-strong); }
.btn-ghost:hover { color: var(--text-1); border-color: var(--text-3); background: var(--glass-strong); }

/* ---------- Sections ---------- */
section.block { padding: 70px 0; }
.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: #ff7470; margin: 0 0 10px;
}
.section-head h2 {
  margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800; letter-spacing: -0.015em; color: var(--text-1);
}
.section-head p { margin: 0; color: var(--text-2); font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  section.block { padding: 52px 0; }
}

.card {
  padding: 30px 28px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--glass-strong); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: #ff7470;
  border: 1px solid var(--brand-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-1); }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-card { max-width: 720px; margin: 0 auto; padding: 46px 40px; text-align: center; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.015em; }
.contact-card p { margin: 0 0 26px; color: var(--text-2); font-size: 18px; }
.contact-card .email { font-size: 19px; }

/* ---------- Footer / Impressum ---------- */
footer.site {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 54px 0 44px;
}
footer.site h2 {
  margin: 0 0 22px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.imp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 48px; max-width: 760px; }
@media (max-width: 640px) { .imp-grid { grid-template-columns: 1fr; } }
.imp-block .lbl {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 6px;
}
.imp-block p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.imp-block p strong { color: var(--text-1); font-weight: 600; }
.imp-block a { color: var(--text-1); border-bottom: 1px solid var(--line-strong); }
.imp-block a:hover { color: #fff; border-color: #fff; }
.legal-note {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3); max-width: 760px; line-height: 1.65;
}
.legal-note a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); }
.colophon { margin-top: 24px; font-size: 13px; color: var(--text-3); }

/* Language navigation stays available at every viewport width. */
.header-actions { display: flex; align-items: center; gap: 18px; }
.languages { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 3px; }
.languages a { display: grid; place-items: center; min-width: 42px; min-height: 42px; color: var(--text-2); font-size: 13px; font-weight: 700; border-radius: 7px; }
.languages a:hover, .languages a[aria-current="page"] { color: var(--text-1); background: var(--glass-strong); }
a:focus-visible { outline: 2px solid #ff7470; outline-offset: 4px; }
section[id], footer[id] { scroll-margin-top: 100px; }
.footer-details { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 40px; }
.privacy-seal { display: block; width: 220px; max-width: 100%; }
.privacy-seal img { display: block; border: 0; max-width: 100%; height: auto; }
@media (max-width: 820px) { .footer-details { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  header.site .container { justify-content: center; gap: 8px; }
  header.site img.logo { height: 22px; }
  .header-actions { gap: 8px; }
  nav.top a { padding: 9px 12px; }
  .contact-card { padding: 36px 20px; }
  .contact-card .email { font-size: 16px; padding: 13px 16px; }
  section[id], footer[id] { scroll-margin-top: 140px; }
}
