/* ==========================================================================
   Zoe Barossi — Website
   Palette: Tiefe See + Tempelhof
   Schrift: Inter Variable
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter.var.woff2') format('woff2-variations');
}

:root {
  /* Kern-Palette */
  --color-bg:        #0d1b2a;
  --color-primary:   #15283d;
  --color-secondary: #829cae;
  --color-accent:    #2b8a9a;
  --color-teal:      #4a9eb0;
  --color-warm:      #c4604e;
  --color-light:     #e8ddc8;
  --color-spark:     #e8c468;

  /* Spacing */
  --gap: 1.3rem;
  --pad: 2rem;
  --section-pad: 6rem 2rem;
  --max-content: 1200px;
  --max-text: 640px;

  /* Touch */
  --touch: 44px;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* RESET ------------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--color-accent); color: var(--color-bg); }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--color-light);
  background: var(--color-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Feine Noise-Textur über alles — leise, Wahrnehmbar, nicht aufdringlich */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: overlay;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal); text-decoration: none; }
a:hover { color: var(--color-accent); }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* TYPE ------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-light);
}
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.meta.spark { color: var(--color-spark); }
.meta.teal { color: var(--color-teal); }

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--color-light);
  opacity: 0.9;
  max-width: var(--max-text);
}

/* LAYOUT ------------------------------------------------------------------ */
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { position: relative; z-index: 2; }

/* NAV --------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(13, 27, 42, 0.65);
  border-bottom: 1px solid rgba(90, 122, 140, 0.12);
}
.nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  font-size: 19px;
  color: var(--color-light);
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand .wm-first {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-right: 0.18em;
  opacity: 0.95;
}
.nav-brand .wm-last {
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.wm-flow {
  background-image: linear-gradient(
    100deg,
    var(--color-secondary) 0%,
    var(--color-accent) 15%,
    var(--color-teal) 30%,
    var(--color-light) 45%,
    var(--color-spark) 58%,
    var(--color-warm) 72%,
    var(--color-accent) 88%,
    var(--color-secondary) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wmFlow 18s linear infinite;
}
.wm-flow > span {
  color: inherit;
  -webkit-text-fill-color: inherit;
}
@keyframes wmFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-flow { animation: none; -webkit-text-fill-color: var(--color-spark); }
}
.nav-brand::before { display: none; }
.nav-brand .nav-logo {
  height: 1.4em;
  width: auto;
  display: block;
  margin-right: 0.4em;
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-light);
  opacity: 0.75;
  transition: opacity .2s;
  padding: 0.75rem 0.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { opacity: 1; color: var(--color-light); }
.nav-lang {
  display: flex;
  gap: .3rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.nav-lang a { color: inherit; padding: .4rem .5rem; border-radius: 3px; }
.nav-lang a.active { color: var(--color-spark); }

.burger {
  display: none;
  width: var(--touch); height: var(--touch);
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-light);
  transition: all .3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

/* HERO -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13, 27, 42, 0.55) 0%,
      rgba(13, 27, 42, 0.2) 35%,
      rgba(13, 27, 42, 0.6) 75%,
      rgba(13, 27, 42, 0.95) 100%),
    radial-gradient(circle at 85% 50%, rgba(232, 196, 104, 0.08), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-spark);
  margin-bottom: 1.5rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(232, 196, 104, 0.35);
  border-radius: 3px;
  background: rgba(232, 196, 104, 0.06);
  backdrop-filter: blur(4px);
}
.hero h1 {
  margin-bottom: 1.2rem;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.hero h1 .accent { color: var(--color-accent); }
.hero .lead {
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }

/* BUTTONS ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 1rem 1.8rem;
  min-height: var(--touch);
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-filled {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-outlined {
  background: transparent;
  border-color: var(--color-light);
  color: var(--color-light);
}
.btn-warm {
  background: var(--color-warm);
  color: var(--color-light);
}
@media (hover: hover) {
  .btn-filled:hover { background: var(--color-teal); transform: translateY(-1px); }
  .btn-outlined:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(43, 138, 154, 0.08); }
  .btn-warm:hover { background: var(--color-accent); }
}
.btn:active { transform: translateY(1px); }

/* COUNTDOWN --------------------------------------------------------------- */
.countdown {
  padding: var(--section-pad);
  background:
    linear-gradient(180deg, var(--color-bg), var(--color-primary) 50%, var(--color-bg));
}
.countdown-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.countdown-label .meta { display: block; margin-bottom: .6rem; }
.countdown-label h2 { margin-bottom: .5rem; }
.countdown-label p { color: var(--color-secondary); font-size: 15px; }
.countdown-number {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--color-spark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  text-shadow: 0 4px 40px rgba(232, 196, 104, 0.25);
}
.countdown-number .unit {
  display: block;
  font-size: 0.12em;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-secondary);
  text-shadow: none;
  margin-top: 1rem;
}

/* STORY ------------------------------------------------------------------- */
.story {
  padding: var(--section-pad);
  position: relative;
}
.story-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.story-label { position: sticky; top: 6rem; }
.story-label .meta { display: block; margin-bottom: 1.2rem; }
.story-label h2 { max-width: 14ch; }
.story-text p { margin-bottom: 1.5rem; max-width: var(--max-text); }
.story-text p:first-child {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-light);
  letter-spacing: -0.01em;
}
.story-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-teal);
  font-weight: 600;
  font-size: 15px;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(74, 158, 176, 0.4);
  transition: all .2s;
}
.story-more:hover { color: var(--color-accent); border-color: var(--color-accent); gap: .9rem; }

/* PARTNER TEASER ---------------------------------------------------------- */
.partner-teaser {
  padding: var(--section-pad);
  background: var(--color-primary);
  text-align: center;
  border-top: 1px solid rgba(90, 122, 140, 0.15);
  border-bottom: 1px solid rgba(90, 122, 140, 0.15);
}
.partner-teaser-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.partner-teaser .meta { margin-bottom: 1.5rem; display: block; }
.partner-teaser h2 { margin-bottom: 1.5rem; }
.partner-teaser p { margin-bottom: 2.5rem; font-size: 1.2rem; color: var(--color-light); opacity: 0.85; }

/* LIVE TEASER ------------------------------------------------------------- */
.live-teaser {
  padding: var(--section-pad);
}
.live-teaser-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.live-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.live-header .meta { display: block; margin-bottom: .8rem; }
.live-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(90, 122, 140, 0.3);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.live-status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-secondary);
}
.live-status.live {
  color: var(--color-warm);
  border-color: rgba(196, 96, 78, 0.35);
}
.live-status.live::before {
  background: var(--color-warm);
  box-shadow: 0 0 10px var(--color-warm);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}
.platform {
  padding: 2rem;
  background: var(--color-primary);
  border: 1px solid rgba(90, 122, 140, 0.2);
  border-radius: 6px;
  transition: all .2s;
}
.platform h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.platform-meta { color: var(--color-secondary); font-size: 13px; margin-bottom: 1.5rem; display: block; }
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-teal);
}
.platform-link:hover { color: var(--color-accent); }
@media (hover: hover) {
  .platform:hover { border-color: var(--color-accent); transform: translateY(-2px); }
}

/* FOOTER ------------------------------------------------------------------ */
.footer {
  padding: 5rem 0 2.5rem;
  background: var(--color-bg);
  border-top: 1px solid rgba(90, 122, 140, 0.15);
  color: var(--color-secondary);
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col .meta { display: block; margin-bottom: 1rem; }
.footer-col p { max-width: 280px; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--color-light); opacity: 0.75; }
.footer-col a:hover { opacity: 1; color: var(--color-teal); }
.footer-bottom {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 2rem var(--pad) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  border-top: 1px solid rgba(90, 122, 140, 0.1);
}

/* RESPONSIVE -------------------------------------------------------------- */
/* MOBILE NAV (Drawer) --------------------------------------------------- */
.nav-open .nav-links {
  display: flex !important;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 6rem 2rem 3rem;
  height: 100vh;
  height: 100svh;
  z-index: 99;
  animation: drawer-in .25s ease-out;
}
.nav-open .nav-links a {
  font-size: 1.6rem;
  font-weight: 700;
  opacity: 1;
  color: var(--color-light);
  letter-spacing: -0.01em;
}
.nav-open .nav-lang {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
  font-size: 13px;
  gap: 1rem;
}
.nav-open body { overflow: hidden; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root { --section-pad: 4.5rem 1.5rem; --pad: 1.5rem; }

  .nav-inner { padding: 1rem 1.5rem; position: relative; }
  .nav-links { display: none; }
  .burger { display: block; position: relative; z-index: 102; }

  .hero { padding: 7rem 0 3rem; }
  .hero-bg img { object-position: 50% 30%; }

  .countdown-inner { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .countdown-number { font-size: clamp(5rem, 25vw, 9rem); }

  .story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .story-label { position: relative; top: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .live-header { flex-direction: column; align-items: flex-start; }
}

/* FOCUS ------------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-spark);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible, .burger:focus-visible {
  outline-offset: 4px;
}

/* MOTION ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
