/* ABLEGER: Eigenes Layout im gemeinsamen Farbsystem. */

/* GRUNDGESTALTUNG: Farben, Schrift, Abstände und Komponenten. */
:root {
  --bg: #080d17;
  --panel: #111b2b;
  --panel2: #142137;
  --line: #29374d;
  --text: #f6f8ff;
  --muted: #acbdd2;
  --red: #ed2544;
  --blue: #91b4ff;
  --gold: #ffd28d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.7 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button {
  font: inherit;
}

a,
button,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.wrap {
  width: min(100%, 1240px);
  margin: auto;
  padding-inline: 26px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: white;
  color: #080d17;
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

.banner {
  padding: 5px 16px;
  background: #132844;
  color: #bbd2f1;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #080d17f5;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 50px;
  object-fit: contain;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.main-nav a {
  font-size: 13px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a[aria-current] {
  background: #243852;
}

.main-nav .main-link {
  background: var(--red);
  font-weight: 800;
  color: white;
}

.main-nav .main-link:hover {
  background: #ff3858;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(45px, 7.3vw, 91px);
  letter-spacing: -3.4px;
  margin: 20px 0 26px;
  max-width: 850px;
}

h1 span {
  color: var(--blue);
}

h2 {
  font-size: clamp(32px, 4.3vw, 55px);
  margin: 15px 0 24px;
}

h2 span {
  color: var(--blue);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 19px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 95% 15%, #1d31566b, transparent 50%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: center;
}

.hero .lead {
  font-size: clamp(18px, 2.1vw, 23px);
  max-width: 790px;
  color: #d1dced;
  line-height: 1.6;
}

.hero .intro {
  max-width: 730px;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.hero-art:before {
  content: "";
  position: absolute;
  width: 245px;
  height: 245px;
  border: 1px solid #4d6d9f;
  border-radius: 50%;
  box-shadow:
    0 0 0 24px #18284480,
    0 0 0 49px #16223a55;
}

.hero-art img {
  width: 185px;
  height: 185px;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 20px 25px #0008);
}

.orbit-label {
  position: absolute;
  bottom: 3px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.4px;
  border: 1px solid #3c506d;
  color: #d0def4;
  border-radius: 100px;
  padding: 6px 11px;
}

.overview {
  padding: 28px 0 50px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.format-link {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  background: var(--panel);
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.format-link:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.format-link .number {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}

.format-link strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.format-link small {
  color: var(--muted);
  font-size: 12px;
}

.format-link .arrow {
  position: absolute;
  right: 16px;
  top: 18px;
  color: var(--muted);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.section.alt {
  background: #0b1321;
}

.section-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 52px;
}

.section-marker {
  position: sticky;
  top: 130px;
  align-self: start;
}

.section-number {
  font-size: 70px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -5px;
  color: #344a69;
}

.section-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.section-copy {
  max-width: 900px;
}

.section-copy > p {
  max-width: 790px;
  color: #c5d1e3;
}

.section-copy .opening {
  font-size: 21px;
  color: #f0f4fc;
  line-height: 1.6;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.fact {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.fact strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 7px;
  color: #f4f7fe;
}

.fact span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.note {
  padding: 22px 24px;
  margin: 28px 0;
  border: 1px solid #3b5478;
  background: #14253d;
  border-radius: 12px;
}

.note h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 9px;
  color: #d7e5ff;
}

.note p {
  margin: 0;
  color: #bdcfe6;
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #405b7c;
  border-radius: 8px;
  background: #192d48;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #294367;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
}

.button.primary:hover {
  background: #ff3858;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.step b {
  display: block;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 17px;
  line-height: 1.3;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}

.quote {
  font-size: clamp(22px, 3vw, 33px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin: 26px 0;
  color: #d7e5ff;
}

.community {
  padding: 76px 0;
  background: #11213a;
  border-top: 1px solid #3b5478;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.community h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 15px;
}

.community p {
  max-width: 780px;
  margin: 0;
  color: #c0d0e6;
}

.community .actions {
  max-width: 300px;
  margin: 0;
}

.community .button {
  width: 100%;
}

.archive {
  padding: 28px 0 38px;
}

.archive details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
}

.archive summary {
  cursor: pointer;
  font-weight: 700;
  color: #c8d8ef;
}

.archive p {
  margin: 14px 0;
}

.archive ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.archive li {
  margin: 7px 0;
}

.archive a {
  color: var(--blue);
}

footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #c6d6ec;
}

.back-top {
  white-space: nowrap;
}

/* ANPASSUNG: andere Bildschirmgröße, Druck oder reduzierte Bewegung. */
@media (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: 1fr 180px;
  }

  .hero-art:before {
    width: 160px;
    height: 160px;
    box-shadow:
      0 0 0 18px #18284480,
      0 0 0 36px #16223a55;
  }

  .hero-art img {
    width: 145px;
    height: 145px;
  }

  .hero-art {
    min-height: 230px;
  }

  .section-layout {
    grid-template-columns: 120px 1fr;
    gap: 30px;
  }

  .header-inner {
    gap: 10px;
  }

  .main-nav a {
    padding: 9px;
    font-size: 12px;
  }

  .brand small {
    letter-spacing: 1px;
  }

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

/* ANPASSUNG: andere Bildschirmgröße, Druck oder reduzierte Bewegung. */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 160px;
  }

  .wrap {
    padding-inline: 20px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-block: 10px;
  }

  .brand img {
    width: 39px;
    height: 38px;
  }

  .brand {
    font-size: 14px;
    gap: 9px;
  }

  .brand small {
    font-size: 8px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 3px;
  }

  .main-nav a {
    padding: 7px 9px;
    font-size: 11px;
  }

  .hero {
    padding: 48px 0 38px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

  h1 {
    letter-spacing: -2px;
  }

  .hero .lead {
    font-size: 19px;
  }

  .overview {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  .format-link {
    padding: 18px 15px;
  }

  .format-link strong {
    font-size: 16px;
  }

  .format-link small {
    font-size: 11px;
  }

  .format-link .number {
    margin-bottom: 13px;
  }

  .section {
    padding: 45px 0;
  }

  .section-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-marker {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .section-number {
    font-size: 40px;
    letter-spacing: -2px;
  }

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

  .section-copy .opening {
    font-size: 19px;
  }

  .facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .facts {
    gap: 9px;
  }

  .fact {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
  }

  .fact strong {
    margin: 0;
    font-size: 21px;
    min-width: 96px;
  }

  .fact span {
    font-size: 12px;
  }

  .steps {
    gap: 9px;
  }

  .step {
    padding: 17px;
  }

  .community {
    padding: 45px 0;
  }

  .community-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community .actions {
    max-width: none;
  }

  .community .button {
    width: auto;
  }

  .note {
    padding: 18px;
  }

  .actions .button {
    font-size: 12px;
  }

  .footer-inner {
    gap: 10px;
  }
}

/* ANPASSUNG: andere Bildschirmgröße, Druck oder reduzierte Bewegung. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .format-link {
    transition: none;
  }

  .format-link:hover {
    transform: none;
  }
}

/* ANPASSUNG: andere Bildschirmgröße, Druck oder reduzierte Bewegung. */
@media print {
  header,
  .overview,
  .actions,
  .archive,
  .back-top,
  .hero-art {
    display: none;
  }

  body,
  .section,
  .section.alt,
  .community {
    background: white;
    color: #111;
  }

  .section-copy > p,
  .section-copy .opening,
  .hero .lead,
  .hero .intro,
  .community p {
    color: #222;
  }

  .section {
    break-inside: avoid;
    padding: 25px 0;
  }

  .section-layout,
  .community-inner {
    display: block;
  }

  .section-marker {
    position: static;
  }

  .fact,
  .note,
  .step {
    background: #f6f6f6;
    color: #111;
  }

  .fact strong,
  .fact span,
  .step p,
  .note p,
  .note h3 {
    color: #111;
  }
}

/* Hauptmenü auf kleinen Geräten ohne seitliches Überlaufen. */
@media (max-width: 700px) {
  body header .nav nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }
  body header .nav nav > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 9px 5px;
    text-align: center;
    white-space: normal;
  }
}
