:root {
  --nacht: #05070d;
  --nacht2: #0a0f1a;
  --glas: rgba(255, 255, 255, 0.045);
  --rand: rgba(255, 255, 255, 0.10);
  --text: #e9eef7;
  --leise: #94a3b8;
  --cyan: #35d9ff;
  --violett: #8e6bff;
  --magenta: #ff6bd5;
  --gold: #ffc36b;
  --mint: #2fe8b4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Polarlicht-Schleier im Hintergrund - nur CSS, kein Bild, keine Cookies */
.schleier {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(45% 55% at 18% 20%, rgba(53, 217, 255, 0.20), transparent 70%),
    radial-gradient(40% 50% at 78% 10%, rgba(142, 107, 255, 0.22), transparent 72%),
    radial-gradient(35% 45% at 55% 45%, rgba(255, 107, 213, 0.13), transparent 70%);
  filter: blur(28px);
  animation: wandern 22s ease-in-out infinite alternate;
}

@keyframes wandern {
  from { transform: translate3d(-2%, 0, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .schleier { animation: none; }
}

.rahmen {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

header.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 10px;
}

.marke {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
}

.marke .punkt {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violett) 55%, var(--magenta));
  box-shadow: 0 0 16px rgba(142, 107, 255, 0.85);
}

nav.sprung {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

nav.sprung a {
  color: var(--leise);
  text-decoration: none;
  transition: color 0.18s ease;
}

nav.sprung a:hover { color: var(--cyan); }

section { padding: 66px 0; }

h1 {
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  font-weight: 700;
}

h1 .glanz {
  background: linear-gradient(100deg, var(--cyan), var(--violett) 45%, var(--magenta) 80%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

h3 { font-size: 17px; margin: 0 0 6px; }

.aufforderung {
  color: var(--leise);
  font-size: 17px;
  max-width: 62ch;
}

.unterzeile {
  color: var(--leise);
  font-size: 15px;
  margin: 0 0 30px;
}

.gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.karte {
  background: var(--glas);
  border: 1px solid var(--rand);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.karte:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 217, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.karte p { margin: 0; color: var(--leise); font-size: 15px; }

.etikett {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(53, 217, 255, 0.35);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.projekt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.projekt .name { font-weight: 600; font-size: 16px; }

.projekt .was { color: var(--leise); font-size: 14px; }

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.knopf {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--nacht);
  background: linear-gradient(100deg, var(--cyan), var(--violett));
  box-shadow: 0 12px 34px rgba(53, 217, 255, 0.20);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.knopf:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(142, 107, 255, 0.30); }

.knopf.leise {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rand);
  box-shadow: none;
}

.knopf.leise:hover { border-color: rgba(53, 217, 255, 0.45); }

footer.fuss {
  border-top: 1px solid var(--rand);
  margin-top: 40px;
  padding: 34px 0 44px;
  font-size: 13px;
  color: var(--leise);
  position: relative;
  z-index: 1;
}

footer.fuss .fusszeile {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
}

footer.fuss a {
  color: var(--leise);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

footer.fuss a:hover { color: var(--cyan); border-color: rgba(53, 217, 255, 0.5); }

footer.fuss .rechtliches { display: flex; flex-wrap: wrap; gap: 18px; }

/* Rechtsseiten */
.rechtstext { max-width: 74ch; padding: 40px 0 20px; }

.rechtstext h1 { font-size: clamp(26px, 4vw, 38px); }

.rechtstext h2 {
  font-size: 19px;
  margin: 34px 0 8px;
  color: var(--cyan);
  letter-spacing: 0.01em;
}

.rechtstext p, .rechtstext li { color: #cbd5e1; font-size: 15px; }

.rechtstext a { color: var(--cyan); }

.rechtstext ul { padding-left: 20px; }

.ph {
  background: rgba(255, 195, 107, 0.16);
  border-bottom: 1px dashed rgba(255, 195, 107, 0.8);
  color: var(--gold);
  padding: 0 3px;
  border-radius: 3px;
}

.hinweis {
  border-left: 3px solid var(--gold);
  background: rgba(255, 195, 107, 0.07);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #e2c9a4;
  margin: 22px 0;
}

.zurueck {
  display: inline-block;
  margin-top: 36px;
  font-size: 14px;
  color: var(--leise);
  text-decoration: none;
}

.zurueck:hover { color: var(--cyan); }

@media (max-width: 620px) {
  section { padding: 46px 0; }
  header.kopf { flex-direction: column; align-items: flex-start; }
}

/* Startseite: nur der Kopfbereich, mittig im Bild */
main.start {
  min-height: calc(100vh - 190px);
  display: flex;
  align-items: center;
  padding: 30px 0 70px;
}
main.start section { padding: 0; }
@media (max-width: 620px) {
  main.start { min-height: calc(100vh - 170px); align-items: flex-start; padding-top: 40px; }
}
