:root {
  --bg: #030712;
  --bg-2: #07111f;
  --bg-3: #0a1a34;
  --panel: rgba(12, 21, 40, 0.86);
  --panel-2: rgba(17, 28, 50, 0.88);
  --ice: #edf7ff;
  --silver: #c7d5e8;
  --muted: #96a8c1;
  --muted-2: #7082a0;
  --blue: #45beff;
  --blue-2: #88eaff;
  --blue-3: #2d7cff;
  --line: rgba(160, 210, 255, 0.18);
  --line-strong: rgba(136, 234, 255, 0.34);
  --success: #73f5b9;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 124, 255, 0.15), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(69, 190, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #030712 0%, #07111f 46%, #02050d 100%);
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.page-glow {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 190, 255, 0.12), transparent 26%),
    radial-gradient(circle at 40% 100%, rgba(45, 124, 255, 0.12), transparent 32%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(136, 234, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 234, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* =========================================================
   Startseite: One-Screen Layout
========================================================= */

.home-body {
  min-height: 100dvh;
  overflow: hidden;
}

.top-logo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 20;
}

.top-logo-link {
  position: fixed;
  top: 18px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-corner-logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(136, 234, 255, 0.22),
    0 0 30px rgba(69, 190, 255, 0.28);
}

.home-main {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.home-hero {
  height: 100dvh;
  padding: 54px 0 26px;
  display: flex;
  align-items: center;
}

.home-hero .container {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: stretch;
}

.home-title {
  margin: 0 auto;
  max-width: 1180px;
  text-align: center;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: var(--ice);
}

.home-subtitle {
  max-width: 980px;
  margin: 20px auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.home-layout {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(340px, 0.78fr);
  gap: 26px;
  align-items: stretch;
}

.home-logo-column,
.home-menu-column {
  min-width: 0;
}

.home-logo-panel {
  position: relative;
  min-height: 0;
  height: 100%;
  max-height: 440px;
  padding: 28px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(136, 234, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 31, 59, 0.9), rgba(7, 17, 31, 0.92));
  border: 1px solid rgba(136, 234, 255, 0.16);
  box-shadow: var(--shadow);
}

.home-logo-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(136, 234, 255, 0.18), transparent 30%),
    radial-gradient(circle at 50% 38%, rgba(45, 124, 255, 0.16), transparent 46%);
  pointer-events: none;
}

.home-logo-main {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  max-height: 100%;
  object-fit: contain;
  border-radius: 28px;
  box-shadow:
    0 0 46px rgba(136, 234, 255, 0.18),
    0 0 90px rgba(45, 124, 255, 0.14);
}

.status-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  width: min(430px, 56%);
  margin: 0;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(8, 15, 30, 0.92);
  border: 1px solid rgba(136, 234, 255, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9fe4ff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}

.pulse {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 20px rgba(115, 245, 185, 0.75);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(160, 210, 255, 0.14);
  color: var(--muted);
  font-size: 16px;
}

.status-row strong {
  color: var(--ice);
}

.home-menu-column {
  min-height: 0;
  height: 100%;
  max-height: 440px;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 13px;
}

.menu-button {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ice);
  border-radius: 24px;
  border: 1px solid rgba(136, 234, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(20, 34, 63, 0.9), rgba(10, 17, 31, 0.95));
  box-shadow:
    inset 0 0 26px rgba(136, 234, 255, 0.04),
    0 14px 40px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.menu-button:hover {
  transform: translateY(-2px);
  border-color: rgba(136, 234, 255, 0.4);
  box-shadow:
    inset 0 0 26px rgba(136, 234, 255, 0.07),
    0 18px 46px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(69, 190, 255, 0.12);
}

/* =========================================================
   Unterseiten
========================================================= */

.page-main {
  padding: 20px 0 80px;
}

.page-head {
  text-align: center;
  margin-bottom: 40px;
}

.page-eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.page-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-intro {
  max-width: 920px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(136, 234, 255, 0.22);
  color: var(--ice);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.content-card {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 28, 50, 0.82), rgba(8, 14, 27, 0.86));
  border: 1px solid rgba(160, 210, 255, 0.14);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.15;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.content-card strong {
  color: var(--ice);
}

.wide-card {
  grid-column: 1 / -1;
}

.button-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.inline-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(136, 234, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  color: var(--ice);
}

.inline-link-button:hover {
  border-color: rgba(136, 234, 255, 0.4);
}

/* =========================================================
   Footer für Unterseiten
========================================================= */

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(160, 210, 255, 0.12);
  background: rgba(4, 9, 18, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-grid strong {
  font-size: 20px;
}

.footer-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--blue-2);
}



/* =========================================================
   Rechtliche Seiten und Pflichtlinks
========================================================= */

.home-legal-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-legal-links a {
  border-bottom: 1px solid rgba(136, 234, 255, 0.2);
  padding-bottom: 2px;
}

.home-legal-links a:hover {
  color: var(--blue-2);
  border-color: rgba(136, 234, 255, 0.55);
}

.legal-page .content-card a {
  color: var(--blue-2);
  font-weight: 800;
}

.legal-warning {
  border-color: rgba(255, 213, 128, 0.35);
  background:
    linear-gradient(180deg, rgba(58, 45, 20, 0.55), rgba(14, 18, 28, 0.86));
}

.legal-meta {
  opacity: 0.92;
}

.legal-form-box {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(160, 210, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.legal-form-box p {
  margin: 0 0 14px;
}

@media (max-width: 980px) {
  .home-legal-links {
    margin-top: 22px;
  }
}

/* =========================================================
   Niedrige Bildschirme
========================================================= */

@media (max-height: 760px) {
  .home-hero {
    padding-top: 42px;
    padding-bottom: 18px;
  }

  .top-corner-logo {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .home-title {
    font-size: clamp(34px, 4.7vw, 62px);
  }

  .home-subtitle {
    margin: 16px auto 22px;
    font-size: 16px;
    line-height: 1.45;
  }

  .home-logo-panel,
  .home-menu-column {
    max-height: 390px;
  }

  .status-panel {
    padding: 16px 18px;
  }

  .status-title {
    font-size: 15px;
  }

  .status-row {
    padding: 8px 0;
    font-size: 15px;
  }

  .menu-button {
    font-size: clamp(22px, 2.2vw, 31px);
  }
}

/* =========================================================
   Tablet / Mobile
   Auf kleinen Geräten wird Scrollen wieder erlaubt.
========================================================= */

@media (max-width: 980px) {
  .home-body {
    overflow: auto;
  }

  .home-main,
  .home-hero {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .home-hero {
    padding: 96px 0 50px;
  }

  .home-hero .container {
    height: auto;
    display: block;
  }

  .home-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .home-logo-panel,
  .home-menu-column {
    height: auto;
    max-height: none;
  }

  .home-logo-panel {
    min-height: 420px;
  }

  .home-menu-column {
    gap: 14px;
  }

  .menu-button {
    min-height: 86px;
  }

  .status-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -40px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .top-logo-link {
    top: 16px;
    right: 16px;
  }

  .top-corner-logo {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .home-title {
    font-size: 42px;
  }

  .home-subtitle,
  .page-intro {
    font-size: 18px;
  }

  .home-logo-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .status-panel {
    width: 100%;
    margin-top: -34px;
    padding: 20px;
  }

  .menu-button {
    font-size: 28px;
    min-height: 74px;
    border-radius: 20px;
  }

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