:root {
  --bg:      #0C0C14;
  --surface: #13131F;
  --card:    #1A1A2A;
  --border:  #2A2A3E;
  --accent:  #FF6B35;
  --text:    #F0EEE8;
  --muted:   #6B7280;
  --mono:    'DM Mono', ui-monospace, monospace;
  --sans:    'DM Sans', system-ui, sans-serif;
  --display: 'Syne', serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  /* Always reserve the scrollbar so the centered header does not shift
     between short pages (Impressum) and long pages (AGB/Datenschutz). */
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 12, 20, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.lang-switch span {
  color: var(--muted);
}

.lang-switch a[aria-current="page"] {
  color: var(--text);
}

/* -------- Hero -------- */
.hero {
  padding-block: 5rem 4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  margin-right: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 2.5rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
}

.features li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.contact-line {
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

.pilot {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* -------- Legal pages -------- */
/* Width/centering/inline-padding come from the shared .container, so legal
   pages line up with the home page. */
.legal-page {
  padding-block: 3rem 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page .back {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin: 0 0 2rem;
}

.legal-page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal-page h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-page p {
  margin: 0 0 1rem;
}

.legal-page .stand {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}

.site-footer .lang-switch {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links span {
  color: var(--muted);
}

.footer-links a {
  color: var(--text);
}

.footer-links a[aria-current="page"] {
  color: var(--accent);
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* -------- Responsive -------- */
@media (max-width: 640px) {
  .container {
    padding-inline: 1.25rem;
  }

  .hero {
    padding-block: 2.5rem 1.25rem;
  }

  .site-footer {
    padding-block: 1.5rem;
  }

  .hero .kicker {
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .hero .sub {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .features {
    margin-bottom: 1.5rem;
  }

  .contact-line {
    margin-bottom: 0.75rem;
  }

  .legal-page h1 {
    font-size: 1.6rem;
  }
}
