@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/orbitron-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --industrial-navy: #102135;
  --navy-deep: #0B1826;
  --signal-white: #FFFFFF;
  --steel-slate: #7D8A99;
  --steel-light: #B4BDC8;
  --steel-slate-dark: #465266;
  --caution-yellow: #F2D22E;
}

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

/* Show only the active language */
html[lang="de"] [lang="en"], html[lang="en"] [lang="de"] { display: none !important; }

body {
  font-family: "Inter", sans-serif;
  background: var(--industrial-navy);
  color: var(--steel-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(125,138,153,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,138,153,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(125,138,153,0.25);
}

.brand {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--signal-white);
  text-decoration: none;
}

.nav-right { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9rem; }
.nav-right a { color: var(--steel-slate); text-decoration: none; }
.nav-right a:hover { color: var(--signal-white); }

.lang-toggle { display: flex; align-items: center; gap: 0.4rem; font-family: "Orbitron", sans-serif; font-size: 0.75rem; }
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  font: inherit; letter-spacing: 0.1em; color: var(--steel-slate);
  padding: 0.25rem 0.35rem;
}
.lang-toggle button.active { color: var(--caution-yellow); }
.lang-sep { color: var(--steel-slate-dark); }

main {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--signal-white);
  margin-bottom: 1.25rem;
}

h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--caution-yellow);
  margin-top: 1rem;
}

h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-white);
  margin: 2.25rem 0 0.75rem;
}

p, ul { margin-bottom: 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--signal-white); font-weight: 600; }
main a { color: var(--caution-yellow); text-decoration: none; }
main a:hover { text-decoration: underline; }

footer {
  border-top: 1px solid rgba(125,138,153,0.25);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--steel-slate);
}
footer a { color: var(--caution-yellow); text-decoration: none; margin-left: 1.25rem; }
footer a:first-child { margin-left: 0; }
footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  header { padding: 1rem; }
  footer { justify-content: center; text-align: center; padding: 1.5rem 1rem; }
}
