/* Linktree links.holofreaks.de (22.10.2026). Farben, Schrift und Radien aus tokens.css, das tools/links-bauen.sh aus
   apps/web/src/marke/holofreaks-tokens.css kopiert (eine Quelle mit der Website). Brand Kit: das Logo ist laut, die Oberfläche leise.
   Aura, Sterne und Bilder bewegen sich, Knöpfe nicht. prefers-reduced-motion schaltet jede Bewegung ab. */

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--hf-nacht);
  color: var(--hf-eisweiss);
  font: 16px/1.5 var(--hf-schrift-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--hf-eis); }
img, svg { display: block; }

/* Himmel: Eis oben, Feuer unten rechts wie im Logo, darüber ein langsam treibendes Sternenfeld */
.himmel {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 50% -8%, rgba(96, 203, 241, 0.2), transparent 62%),
    radial-gradient(760px 520px at 105% 105%, rgba(255, 106, 42, 0.14), transparent 60%),
    radial-gradient(620px 460px at -10% 70%, rgba(63, 176, 220, 0.1), transparent 60%),
    var(--hf-nacht);
}
.himmel::before {
  content: "";
  position: absolute;
  inset: -240px;
  opacity: 0.75;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 36px, rgba(234, 249, 250, 0.7), transparent 70%),
    radial-gradient(1px 1px at 132px 84px, rgba(234, 249, 250, 0.45), transparent 70%),
    radial-gradient(1.8px 1.8px at 72px 158px, rgba(96, 203, 241, 0.75), transparent 70%),
    radial-gradient(1.2px 1.2px at 188px 196px, rgba(255, 194, 74, 0.55), transparent 70%),
    radial-gradient(1px 1px at 206px 22px, rgba(234, 249, 250, 0.4), transparent 70%);
  background-size: 240px 240px;
  animation: treiben 140s linear infinite;
}
@keyframes treiben { to { transform: translate3d(240px, 240px, 0); } }

.spalte {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
}

/* Kopf mit Zweizeiler (Mindesthöhe 64 px, hier rund 113 px; Jeff 22.10.2026: etwas kleiner als die ersten 150 px) */
.kopf { position: relative; text-align: center; padding-top: 6px; }
.aura {
  position: absolute;
  /* Breite folgt dem Bildschirm, damit die Aura auch im größten Atemzug (scale 1.06, 3°) nie über die Spalte ragt */
  left: 0;
  right: 0;
  top: 0;
  width: min(240px, 66vw);
  height: 170px;
  margin: 0 auto;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.55;
  background:
    radial-gradient(closest-side at 34% 48%, rgba(96, 203, 241, 0.95), transparent),
    radial-gradient(closest-side at 74% 62%, rgba(255, 106, 42, 0.8), transparent);
  animation: atmen 7s ease-in-out infinite alternate;
}
@keyframes atmen {
  from { transform: scale(0.9) rotate(-3deg); opacity: 0.42; }
  to { transform: scale(1.06) rotate(3deg); opacity: 0.7; }
}
.marke { position: relative; z-index: 1; margin: 0; }
.logo {
  width: min(220px, 62vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 26px rgba(1, 5, 16, 0.55));
}
.ueberzeile {
  position: relative;
  margin: 18px 0 6px;
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-eis);
}
.claim {
  position: relative;
  margin: 0;
  font-family: var(--hf-schrift-marke);
  font-weight: 800;
  font-size: clamp(1.55rem, 6.6vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.verlauf {
  background: var(--hf-verlauf-marke);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro { position: relative; margin: 10px auto 0; max-width: 34ch; color: var(--hf-stahl-hell); }
.intro a { font-weight: 700; }

.hinweis {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-radius: var(--hf-radius-klein);
  border: 1px solid rgba(255, 194, 74, 0.45);
  background: rgba(255, 194, 74, 0.08);
  color: var(--hf-eisweiss);
  font-size: 0.92rem;
}

/* Große Karten mit Bild */
.hervor { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.karte {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--hf-radius);
  background: var(--hf-nacht-2);
  border: 1px solid var(--linie);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(1, 5, 16, 0.45);
  transition: border-color 0.15s ease;
}
.karte:hover { border-color: var(--hf-eis); }
.karte-bild { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--hf-nacht-3); }
.karte-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: schweben 10s ease-in-out infinite alternate;
}
@keyframes schweben { to { transform: scale(1.1) translateY(-2.5%); } }
/* Szenen mit wichtigem Inhalt oben (Sammlungswert): oben ausrichten und von oben aus vergrößern */
.karte-bild img.oben { object-position: 50% 0; transform-origin: 50% 0; animation-name: schweben-oben; }
@keyframes schweben-oben { to { transform: scale(1.08); } }
/* Holo-Glanz, der über das Bild zieht */
.karte-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.16) 45%, rgba(96, 203, 241, 0.12) 50%, rgba(255, 194, 74, 0.1) 55%, transparent 66%);
  background-size: 260% 100%;
  background-position: 130% 0;
  animation: glanz 7s ease-in-out infinite;
}
@keyframes glanz {
  0% { background-position: 130% 0; }
  55%, 100% { background-position: -40% 0; }
}
.karte-bild::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  z-index: 1;
  background: linear-gradient(transparent, rgba(13, 22, 48, 0.85));
}
.karte-text { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; }
.zeichen {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--hf-nacht-3);
  color: var(--hf-eisweiss);
}
.zeichen svg { width: 24px; height: 24px; fill: currentColor; }
.zeichen-marke img { width: 30px; height: 30px; }
.karte-titel { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.karte-unter { display: block; margin-top: 2px; color: var(--hf-stahl-hell); font-size: 0.9rem; line-height: 1.35; }
.pfeil { flex: none; width: 22px; height: 22px; margin-left: auto; color: var(--hf-eis); }

/* Live: Feuer nur hier (Brand Kit: Feuer = Live, selten) */
.karte-live { border-color: rgba(255, 106, 42, 0.5); }
.karte-live:hover { border-color: var(--hf-feuer); }
.karte-live .zeichen { background: linear-gradient(135deg, var(--hf-glut), var(--hf-feuer)); color: var(--hf-nacht); }
.karte-live .pfeil { color: var(--hf-feuer); }
.pille {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: var(--hf-radius-pille);
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-nacht);
  background: var(--hf-feuer);
  box-shadow: 0 4px 16px rgba(255, 106, 42, 0.5);
}
.punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--hf-nacht); }

/* Kanäle als ruhige Kacheln */
.abschnitt {
  margin: 32px 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hf-stahl-hell);
}
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kacheln li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.kachel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
  border-radius: var(--hf-radius);
  background: rgba(13, 22, 48, 0.82);
  border: 1px solid var(--linie);
  color: var(--hf-eisweiss);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.kachel:hover { border-color: var(--hf-eis); background: var(--hf-nacht-3); }
.kachel svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.kachel-text { min-width: 0; }
.kachel-name { display: block; font-weight: 700; font-size: 0.96rem; line-height: 1.2; }
.kachel-unter {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.25;
  color: var(--hf-stahl-hell);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.karte:focus-visible, .kachel:focus-visible, .fuss a:focus-visible, .intro a:focus-visible, .hinweis a:focus-visible {
  outline: 3px solid var(--hf-eis);
  outline-offset: 3px;
}

/* Fuß mit Rechtlichem: Impressum und Datenschutz klar benannt, zwei Klicks vom Profil */
.fuss {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  text-align: center;
  color: var(--hf-stahl-hell);
  font-size: 0.8rem;
  line-height: 1.5;
}
.fuss-recht { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 10px; }
.fuss-recht a {
  display: inline-block;
  padding: 11px 4px;
  color: var(--hf-eisweiss);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(96, 203, 241, 0.6);
  text-underline-offset: 4px;
}
.fuss-recht a:hover { color: var(--hf-eis); }
.fuss p { margin: 8px auto 0; max-width: 46ch; }
.fuss .copy { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.stern { width: 22px; height: 22px; }

/* 404 */
.leer { text-align: center; padding-top: 12vh; }
.leer .claim { margin-top: 22px; }

@media (max-width: 340px) {
  .kacheln { grid-template-columns: 1fr; }
  .kacheln li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 700px) {
  .spalte { padding-top: 56px; }
  .logo { width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
