/* ---------- Schrift (lokal gehostet, kein externer Aufruf) ---------- */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-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: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-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;
}

:root {
  --bg: #0D1627;
  --bg-deep: #070E1B;
  --card: #151F32;
  --card-hover: #1C2942;
  --text: #FFFFFF;
  --muted: #B8BFCA;
  --accent: #F04427;
  --accent-hover: #FF5A35;
  --gold: #F2B441;
  --line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(240, 68, 39, 0.28),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(242, 180, 65, 0.14),
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(56, 132, 255, 0.12),
      transparent 45%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  overflow-x: hidden;
}

/* ---------- Hintergrund-Animation ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  will-change: transform;
}

.blob.b1 {
  width: 46vmax;
  height: 46vmax;
  top: -16vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(240, 68, 39, 0.75), transparent 70%);
  animation: drift1 26s ease-in-out infinite;
}

.blob.b2 {
  width: 38vmax;
  height: 38vmax;
  top: 30%;
  right: -14vmax;
  background: radial-gradient(circle, rgba(242, 180, 65, 0.55), transparent 70%);
  animation: drift2 32s ease-in-out infinite;
}

.blob.b3 {
  width: 42vmax;
  height: 42vmax;
  bottom: -18vmax;
  left: 15%;
  background: radial-gradient(circle, rgba(56, 132, 255, 0.5), transparent 70%);
  animation: drift3 38s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(12vw, 8vh, 0) scale(1.15); }
  66%      { transform: translate3d(-6vw, 16vh, 0) scale(0.9); }
}

@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
  40%      { transform: translate3d(-14vw, -10vh, 0) scale(0.85); }
  70%      { transform: translate3d(-4vw, 12vh, 0) scale(1.2); }
}

@keyframes drift3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.95); }
  50%      { transform: translate3d(10vw, -14vh, 0) scale(1.25); }
}

/* Schwebende Partikel */

.particle {
  position: absolute;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 18px;
  line-height: 1;
  animation: float-up linear infinite;
  will-change: transform, opacity;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-108vh) rotate(320deg);
    opacity: 0;
  }
}

.page {
  position: relative;
  width: 100%;
  max-width: 540px;
  text-align: center;
  animation: rise 0.6s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sprachumschalter ---------- */

.lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.lang button {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.lang button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #D62F14 100%);
  box-shadow: 0 6px 16px rgba(240, 68, 39, 0.35);
}

.lang button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.lang .flag {
  font-size: 14px;
  line-height: 1;
}

/* ---------- Logo ---------- */

.logo-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
}

.logo-wrap.small {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent),
    var(--gold),
    var(--accent),
    var(--gold),
    var(--accent)
  );
  opacity: 0.55;
  filter: blur(14px);
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.logo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.logo img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}

/* ---------- Kopf ---------- */

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    var(--gold) 25%,
    var(--accent-hover) 50%,
    var(--gold) 75%,
    #FFFFFF 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 9s linear infinite;
}

h1.sub {
  font-size: clamp(26px, 6.5vw, 34px);
}

@keyframes shine {
  to {
    background-position: -300% 0;
  }
}

.subtitle {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 30px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  animation: rise-in 0.5s ease backwards;
}

.tag:nth-child(1) { animation-delay: 0.15s; }
.tag:nth-child(2) { animation-delay: 0.22s; }
.tag:nth-child(3) { animation-delay: 0.29s; }
.tag:nth-child(4) { animation-delay: 0.36s; }

/* ---------- Links ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.links .link {
  animation: rise-in 0.55s ease backwards;
}

.links .link:nth-child(1) { animation-delay: 0.42s; }
.links .link:nth-child(2) { animation-delay: 0.52s; }
.links .link:nth-child(3) { animation-delay: 0.62s; }
.links .link:nth-child(4) { animation-delay: 0.72s; }
.links .link:nth-child(5) { animation-delay: 0.82s; }

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.link:hover::after {
  transform: translateX(120%);
}

.link:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: rgba(240, 68, 39, 0.55);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.label {
  flex: 1;
}

.chev {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.link:hover .chev {
  transform: translateX(4px);
  opacity: 1;
}

.link.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #D62F14 100%);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(240, 68, 39, 0.35);
}

.link.primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #E63A1C 100%);
  border-color: var(--accent-hover);
  box-shadow: 0 18px 38px rgba(240, 68, 39, 0.45);
}

.link.primary .icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- Unterseiten ---------- */

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.back:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-3px);
}

.back svg {
  width: 16px;
  height: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar .lang {
  margin-bottom: 20px;
}

.card {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  animation: rise-in 0.55s ease backwards;
}

.card:nth-of-type(1) { animation-delay: 0.12s; }
.card:nth-of-type(2) { animation-delay: 0.2s; }
.card:nth-of-type(3) { animation-delay: 0.28s; }
.card:nth-of-type(4) { animation-delay: 0.36s; }
.card:nth-of-type(5) { animation-delay: 0.44s; }
.card:nth-of-type(6) { animation-delay: 0.52s; }

.card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.card h2 svg {
  width: 18px;
  height: 18px;
  color: var(--accent-hover);
  flex: 0 0 auto;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  color: var(--gold);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.card strong {
  color: var(--text);
  font-weight: 600;
}

.field {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 14px;
  font-size: 14px;
  line-height: 1.6;
}

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

.field dd {
  margin: 0;
  color: var(--text);
}

.field dd a {
  color: var(--gold);
  text-decoration: none;
}

.field dd a:hover {
  text-decoration: underline;
}

.todo {
  color: var(--accent-hover);
  font-style: italic;
}

/* ---------- Verein / Footer ---------- */

.verein {
  margin-top: 38px;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.verein img {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.verein .v-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.verein .v-text strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.85;
}

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

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 40px;
  }

  .link {
    min-height: 54px;
    border-radius: 14px;
    font-size: 16px;
  }

  .verein {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .blob {
    filter: blur(50px);
    opacity: 0.32;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 0 0;
  }

  .field dt {
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .particle {
    display: none;
  }
}

/* ---------- Rechtliche Seiten (Datenschutz / AGB) ---------- */

.stand {
  margin: -4px 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}

/* PDF-Download */

.download {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 13px 18px;
  margin-bottom: 22px;
  border-radius: 16px;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: rgba(242, 180, 65, 0.08);
  border: 1px solid rgba(242, 180, 65, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.download:hover {
  transform: translateY(-3px);
  background: rgba(242, 180, 65, 0.14);
  border-color: var(--gold);
}

.download:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.download .icon {
  background: rgba(242, 180, 65, 0.16);
  border-color: rgba(242, 180, 65, 0.3);
  color: var(--gold);
}

.download .label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.download .label strong {
  font-size: 15px;
  font-weight: 600;
}

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

/* Fliesstext in den Karten */

.rt h3 {
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--gold);
}

.rt > :first-child {
  margin-top: 0;
}

.rt ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.rt li {
  margin-bottom: 6px;
}

.rt li::marker {
  color: var(--accent-hover);
}

.rt li strong,
.rt p strong {
  color: var(--text);
  font-weight: 600;
}

.rt a {
  color: var(--gold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.rt a:hover {
  text-decoration: underline;
}

/* ---------- Rechtliche Links im Footer ---------- */

footer .legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

footer .legal a {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

footer .legal a:hover {
  color: var(--gold);
  border-bottom-color: rgba(242, 180, 65, 0.6);
  text-decoration: none;
}

footer .legal a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

footer .legal .sep {
  color: var(--muted);
  opacity: 0.45;
}
