/* ==========================================================================
   Seebär Group – Landingpage
   Schwarz, Gold, ein Netzwerk.
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg:       #07070A;
  --gold-hi:  #F6E7B0;
  --gold:     #D4AF37;
  --gold-mid: #B08A34;
  --ink:      #EDE4CC;
  --muted:    rgb(237 228 204 / .62);
  --gold-text: linear-gradient(100deg, #8C6A2B 0%, #E9CF86 22%, #FBEFC6 40%, #D4AF37 58%, #F3DE9E 76%, #8C6A2B 100%);
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); color-scheme: dark; }
body {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: radial-gradient(90% 70% at 50% 44%, #17130b 0%, #0b0a0c 45%, #050507 100%);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--bg); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Atmosphäre ---------- */
/* Leinwand scrollt mit dem Inhalt mit (Höhe setzt group.js) – so bleiben Leitungen am Smartphone an den Knoten */
.net { position: absolute; top: 0; left: 0; width: 100%; z-index: 0; pointer-events: none; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(closest-side at 50% 50%, transparent 60%, rgb(0 0 0 / .65) 100%); }

/* ---------- Bühne (Desktop: Netzwerk um den Hub) ---------- */
.stage {
  position: relative;
  z-index: 2;
  min-height: max(calc(100svh - 4.5rem), 44rem);
}

.hub {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  width: min(26rem, 40vw);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hub__halo {
  position: absolute;
  left: 50%;
  top: 32%;
  z-index: -1;
  width: min(60vmin, 32rem);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgb(212 175 55 / .22), rgb(212 175 55 / .06) 45%, transparent 72%);
  animation: breathe 8s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .65; scale: .94; } to { opacity: 1; scale: 1.05; } }
.hub__emblem {
  width: auto;
  height: clamp(8rem, 24vmin, 15rem);
  filter: drop-shadow(0 0 22px rgb(212 175 55 / .22));
  animation: fade-in 2.2s var(--ease) both;
}
@keyframes fade-in { from { opacity: 0; } }
.hub__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-top: 1.4rem;
  font-weight: 500;
  line-height: 1;
  animation: rise 1.6s var(--ease) .4s both;
}
.hub__name {
  padding-left: .3em;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4.6vmin, 2.9rem);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: var(--gold-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 12s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hub__group {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-left: .62em;
  font-size: clamp(.66rem, 1.5vmin, .8rem);
  font-weight: 600;
  letter-spacing: .62em;
  text-transform: uppercase;
  color: var(--gold);
}
.hub__group::before, .hub__group::after { content: ""; width: clamp(1.25rem, 4vmin, 2.25rem); height: 1px; }
.hub__group::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.hub__group::after { background: linear-gradient(90deg, var(--gold), transparent); margin-left: -.62em; }
.hub__tagline {
  margin-top: 1.3rem;
  font-style: italic;
  font-size: clamp(.95rem, 1.9vmin, 1.08rem);
  line-height: 1.5;
  color: var(--muted);
  animation: rise 1.6s var(--ease) .7s both;
}
.hub__tagline span { display: block; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }

/* ---------- Knoten ---------- */
.network__list { list-style: none; margin: 0; padding: 0; }
.node-wrap {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  transform: translate(-50%, -50%);
  animation: rise 1.4s var(--ease) both;
}
.node-wrap:nth-child(1) { animation-delay: .9s; }
.node-wrap:nth-child(2) { animation-delay: 1.05s; }
.node-wrap:nth-child(3) { animation-delay: 1.2s; }
.node-wrap:nth-child(4) { animation-delay: 1.35s; }
.node-wrap:nth-child(5) { animation-delay: 1.5s; }

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  width: 13.5rem;
  color: inherit;
  text-align: center;
  text-decoration: none;
  animation: drift var(--dur) ease-in-out var(--delay) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0); }
  35%  { transform: translate3d(6px, -9px, 0); }
  70%  { transform: translate3d(-5px, 5px, 0); }
  100% { transform: translate3d(3px, -4px, 0); }
}
a.node:hover, a.node:focus-visible { animation-play-state: paused; }

.node__disc {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  --d: clamp(4.4rem, 7vw, 5.6rem);
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgb(246 231 176 / .16), transparent 48%),
    radial-gradient(circle at 50% 62%, #18140d, #09080a 72%);
  box-shadow:
    inset 0 0 0 1px rgb(212 175 55 / .42),
    inset 0 -12px 26px rgb(0 0 0 / .55),
    0 0 0 6px rgb(7 7 10 / .9),
    0 18px 40px rgb(0 0 0 / .6);
  transition: box-shadow .5s var(--ease), scale .5s var(--ease);
}
.node__disc::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgb(212 175 55 / .25);
}
.node__icon { width: 46%; height: 46%; color: var(--gold); transition: color .4s; }
.node__icon--ship { width: 56%; height: 56%; }
.node__icon--glasses { width: 62%; height: 30%; }
.node__icon--swan { width: 64%; height: 40%; }

.node__text { display: grid; gap: .2rem; }
.node__name {
  font-family: var(--f-display);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 2px 10px #000;
}
.node__claim {
  font-style: italic;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--muted);
  text-shadow: 0 1px 8px #000;
}
.node__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: .2rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgb(237 228 204 / .45);
}
.node__status--live { color: var(--gold); }
.node__status--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px 2px rgb(246 231 176 / .6);
  animation: pulse 2.4s ease-in-out infinite;
}
.node__status--live::after { content: "→"; letter-spacing: 0; transition: translate .3s var(--ease); }
@keyframes pulse { 50% { opacity: .35; } }

.node--soon .node__disc { box-shadow: inset 0 0 0 1px rgb(212 175 55 / .2), inset 0 -12px 26px rgb(0 0 0 / .55), 0 0 0 6px rgb(7 7 10 / .9); }
.node--soon .node__disc::after { border-style: dashed; border-color: rgb(212 175 55 / .18); }
.node--soon .node__icon { color: var(--gold-mid); opacity: .7; }
.node--soon .node__name { color: rgb(246 231 176 / .7); }

a.node:hover .node__disc, a.node:focus-visible .node__disc {
  scale: 1.07;
  box-shadow: inset 0 0 0 1px rgb(246 231 176 / .9), inset 0 -12px 26px rgb(0 0 0 / .45), 0 0 0 6px rgb(7 7 10 / .9), 0 0 50px rgb(212 175 55 / .35);
}
a.node:hover .node__icon, a.node:focus-visible .node__icon { color: var(--gold-hi); }
a.node:hover .node__status--live::after, a.node:focus-visible .node__status--live::after { translate: 4px 0; }
a.node:focus-visible { outline: none; }
a.node:focus-visible .node__disc { outline: 1px solid var(--gold-hi); outline-offset: 9px; }

/* ---------- Schmale & hohe Bildschirme: Netzwerk als Kette ---------- */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .stage { min-height: 0; padding: clamp(2.5rem, 8vh, 4.5rem) 1.25rem 3rem; }
  .hub { position: relative; left: auto; top: auto; width: 100%; transform: none; margin-inline: auto; max-width: 24rem; }
  .hub__emblem { height: clamp(8.5rem, 22vh, 12rem); }
  .hub__halo { width: min(90vw, 26rem); }
  .network { margin-top: clamp(2.75rem, 7vh, 4rem); }
  .network__list { display: grid; gap: clamp(2.75rem, 6vh, 3.75rem); max-width: 30rem; margin-inline: auto; }
  .node-wrap { position: relative; left: auto; top: auto; transform: none; }
  .node {
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    width: auto;
    max-width: 19rem;
    text-align: left;
    animation: none; /* kein Schweben in der Kette: Leitungen sitzen immer exakt */
  }
  .node-wrap:nth-child(even) .node { flex-direction: row-reverse; margin-left: auto; text-align: right; }
  .node-wrap:nth-child(even) .node__status { justify-content: flex-end; }
  .node__status { justify-content: flex-start; }
  .node__disc { --d: 4.6rem; }
  .node__name { font-size: .82rem; }
  @keyframes drift-sm { from { transform: translate3d(0, -3px, 0); } to { transform: translate3d(0, 3px, 0); } }
}

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 5;
  display: grid;
  gap: .15rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--muted);
}
.foot__satire { font-style: italic; }
.foot a { color: var(--gold); text-decoration: none; }
.foot a:hover, .foot a:focus-visible { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .2em; }
.foot a:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- Rechtliche Seiten ---------- */
.legal {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem 4rem;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--gold);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.legal__back img { width: auto; height: 2.75rem; }
.legal__back:hover { color: var(--gold-hi); }
.legal h1 {
  margin-top: 2.5rem;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: .06em;
  line-height: 1.15;
  background: var(--gold-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal h2 {
  margin: 2.5rem 0 .8rem;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  letter-spacing: .05em;
  color: var(--gold-hi);
}
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: 1rem 0; padding-left: 1.25rem; display: grid; gap: .35rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.8; }
.legal a { color: var(--gold); }
.legal a:hover { color: var(--gold-hi); }
.legal__satire {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgb(212 175 55 / .4);
  background: rgb(212 175 55 / .05);
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.4;
  color: var(--ink) !important;
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
