/* ==========================================================================
   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 – fluid scales (Mobile 320px → iPad 13" 1366px) */
  --gap: clamp(0.85rem, 0.5vw + 0.65rem, 1.3rem);
  --pad: clamp(1.5rem, 1.5vw + 0.85rem, 2.2rem);
  --section-pad: clamp(3rem, 4vw + 1.5rem, 6rem) clamp(1.25rem, 1.5vw + 0.75rem, 2rem);
  --max-content: 1200px;
  --max-text: 640px;

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

  /* Type – fluid type scale (1.25 ratio, Mobile → iPad-13" baseline) */
  --fs-xs:   clamp(0.7rem,  0.15vw + 0.65rem, 0.75rem);
  --fs-sm:   clamp(0.8rem,  0.2vw  + 0.75rem, 0.875rem);
  --fs-base: clamp(0.95rem, 0.2vw  + 0.85rem, 1rem);
  --fs-md:   clamp(1rem,    0.25vw + 0.9rem,  1.1rem);
  --fs-lg:   clamp(1.1rem,  0.3vw  + 1rem,    1.25rem);
  --fs-xl:   clamp(1.2rem,  0.5vw  + 1.05rem, 1.5rem);
  --fs-2xl:  clamp(1.4rem,  0.9vw  + 1.1rem,  1.75rem);
  --fs-3xl:  clamp(1.6rem,  1.5vw  + 1.1rem,  2rem);
  --fs-4xl:  clamp(2rem,    2.5vw  + 1.25rem, 2.75rem);
  --fs-5xl:  clamp(2.4rem,  3.5vw  + 1.4rem,  3.5rem);
  --fs-6xl:  clamp(2.8rem,  5vw    + 1.5rem,  4.6rem);

  /* Spacing-Tokens (fluid) */
  --sp-xs:  clamp(0.25rem, 0.15vw + 0.2rem, 0.4rem);
  --sp-sm:  clamp(0.5rem,  0.3vw  + 0.4rem, 0.75rem);
  --sp-md:  clamp(0.75rem, 0.5vw  + 0.55rem, 1.1rem);
  --sp-lg:  clamp(1rem,    0.8vw  + 0.7rem, 1.5rem);
  --sp-xl:  clamp(1.5rem,  1.5vw  + 1rem,   2.5rem);
  --sp-2xl: clamp(2rem,    2.5vw  + 1.25rem, 4rem);
  --sp-3xl: clamp(3rem,    4vw    + 2rem,   6rem);
  --sp-4xl: clamp(4rem,    5vw    + 2.5rem, 7rem);
  --sp-5xl: clamp(5rem,    7vw    + 3.5rem, 14rem);

  /* 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: var(--fs-6xl); font-weight: 900; }
h2 { font-size: var(--fs-5xl); }
h3 { font-size: var(--fs-2xl); }

.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: var(--fs-lg);
  line-height: 1.6;
  color: var(--color-light);
  opacity: 0.9;
  max-width: var(--max-text);
}
.page-header .lead { max-width: none; }
.page-header .meta {
  display: block;
  font-size: var(--fs-base);
  letter-spacing: 2px;
  margin-bottom: var(--sp-md);
}
.page-header h1 { margin-bottom: var(--sp-md); }

/* 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;
  background: linear-gradient(180deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.55) 60%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: none;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* Preview-Finish Page: Nav komplett transparent — Wordmark + Burger schweben
   direkt ueber dem Bild, gehoben durch Drop-Shadow. Keine Bar, kein Fade. */
.page-preview-finish .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
.page-preview-finish .nav-brand {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}
.page-preview-finish .burger span {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.9);
}
/* Schmaler Fade ueber Status-Bar / Dynamic Island — verbindet die theme-color
   Toenung am oberen Rand sanft mit dem Hero-Bild, ohne grossen Verlauf. */
.page-preview-finish::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    rgba(16, 27, 41, 0.75) 0%,
    rgba(16, 27, 41, 0.4) 55%,
    transparent 100%);
  z-index: 99;
  pointer-events: none;
}
.nav-inner > * { pointer-events: auto; }
.nav-links a {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(1rem, 1.5vw + 0.6rem, 1.8rem) var(--pad) var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}
.nav-brand {
  font-size: var(--fs-2xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.nav-brand .nav-logo {
  height: 0.85em;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  position: relative;
  top: 1px;
}
.nav-brand .wm-first {
  margin-right: 0.04em;
}
.nav-brand .wm-last {}
.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: 0.8rem;
  align-items: center;
}
.nav-links a {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--color-light);
  opacity: 0.9;
  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;
  align-items: center;
  gap: .3rem;
  font-size: 13px;
  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); }
.nav-linktree {
  display: none;
  color: #39E09B;
  opacity: 0.75;
  transition: opacity .2s;
  line-height: 0;
}
.nav-linktree svg { width: 18px; height: 18px; }
.nav-linktree:hover { opacity: 1; }
@media (min-width: 901px) {
  .nav-linktree { display: inline-flex; align-items: center; }
}
.nav-sep {
  color: var(--color-secondary);
  opacity: 0.4;
  font-weight: 300;
  font-size: var(--fs-lg);
  user-select: none;
}
@media (max-width: 900px) {
  .nav-sep { display: none; }
}

.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 max(var(--sp-2xl), 5rem);
  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: 62% 30%;
  filter: saturate(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      #0d1b2a 0%,
      rgba(13, 27, 42, 0.95) 4%,
      rgba(13, 27, 42, 0.85) 10%,
      rgba(13, 27, 42, 0.55) 22%,
      rgba(13, 27, 42, 0.25) 40%,
      rgba(13, 27, 42, 0.4) 60%,
      rgba(13, 27, 42, 0.75) 78%,
      rgba(13, 27, 42, 0.95) 92%,
      #0d1b2a 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;
  /* Matched zu nav-inner padding (var(--pad)) — Wordmark, Burger und
     Hero-Content sitzen exakt auf gleicher vertikaler Linie zum Rand. */
  padding: 0 var(--pad);
}
@media (min-width: 1367px) {
  .hero-content {
    margin-top: 0.1rem;
    margin-bottom: -2.2rem;
  }
}
.hero-tag {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-spark);
  margin-top: clamp(0.8rem, 0.7vw + 0.65rem, 1.7rem);
  margin-bottom: clamp(0.3rem, 0.2vw + 0.25rem, 0.5rem);
  padding: 0;
}
.hero h1 {
  /* Margin-bottom = exakt der margin-bottom von .hero-tag (Eyebrow → H1).
     Dadurch sind Eyebrow→H1 und H1→Sub gleich eng. */
  margin: 0 0 clamp(0.3rem, 0.2vw + 0.25rem, 0.5rem);
  max-width: none;
  font-size: var(--fs-6xl);
  letter-spacing: -0.03em;
  margin-left: -0.04em;
  text-indent: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
@media (min-width: 600px) {
  .hero h1 { white-space: nowrap; }
}
.hero h1 .accent { color: var(--color-spark); }
.hero h1 .city-br { color: var(--color-warm); }
.hero h1 .city-de { color: var(--color-accent); }
.hero h1 .city-fr { color: var(--color-spark); }
.hero .lead {
  margin-bottom: var(--sp-md);
  max-width: 760px;
  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: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.2rem;
  min-height: var(--touch);
  border-radius: 6px;
  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: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 768px) {
  .story-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.story-label .meta { display: block; margin-bottom: 1.2rem; }
.story-label h2 { max-width: 14ch; }
.story-text .meta { display: block; margin-bottom: 1.4rem; }
.story-text h2 { max-width: 16ch; margin-bottom: 2.2rem; }
.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 0;
  text-decoration: underline;
  text-decoration-color: rgba(74, 158, 176, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: all .2s;
}
.story-more:hover { color: var(--color-accent); text-decoration-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-icon {
  width: 32px;
  height: 32px;
  display: block;
  margin-bottom: 1rem;
}
.platform--twitch .platform-icon { color: #9146FF; }
.platform--linktree .platform-icon { color: #39E09B; }
.platform--instagram .platform-icon { color: #E4405F; }
.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); }
.apoio {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: #fff;
  color: #0d1b2a;
}
.apoio-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.apoio .meta {
  color: #829cae;
  font-size: 13px;
  letter-spacing: 4px;
}
.apoio-grid {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.apoio-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
}
.apoio-logo:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}
.apoio-logo img {
  width: 260px;
  height: auto;
  display: block;
}
.apoio-desc {
  color: var(--color-secondary);
  font-size: var(--fs-sm);
  margin: 0;
  max-width: 40rem;
  margin-inline: auto;
}

.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);
}
.footer-credit-wrap {
  text-transform: none;
  letter-spacing: 0.04em;
}
.footer-credit {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(130, 156, 174, 0.35);
  transition: color .2s, border-color .2s;
}
.footer-credit:hover {
  color: var(--color-spark);
  border-color: var(--color-spark);
}

/* 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) {
  /* clamp: iPhone bleibt bei 2rem (gut), iPad 11" Portrait ~2.6rem (mehr Luft). */
  :root { --section-pad: 4.5rem clamp(2rem, 5vw, 3rem); --pad: clamp(2rem, 5vw, 3rem); }

  /* Padding für alle Elemente (Wordmark, Hero-Content, Sections) gleich. */
  .nav-inner { padding: 1rem var(--pad); position: relative; }
  /* Burger -10px margin kompensiert den 10px-Inset der Burger-Spans im 44px-Touch-Container —
     visuelle Linien-Kante landet GENAU auf var(--pad) wie Wordmark links. */
  .burger { margin-right: -10px; }
  .nav-links { display: none; }
  .burger { display: block; position: relative; z-index: 102; }

  .hero { padding: 7rem 0 3rem; }
  /* Y auf 70% — verschiebt das Bike-Hauptmotiv im Frame nach oben,
     dadurch weniger Kollision mit Text-Block unten. */
  .hero-bg img { object-position: 50% 70%; }
  .hero .hero-ctas { display: flex; flex-direction: row; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

  /* PREVIEW-FINISH Variante: Bild mit Architektur.
     Kein Top-Fade — Nav hat eigene Frosted-Glass-Backdrop (siehe unten).
     Overlay nur unten am Text-Block. */
  .hero--finish .hero-bg img { object-position: 50% 30%; }
  .hero--finish .hero-overlay {
    background:
      linear-gradient(180deg,
        transparent 0%,
        transparent 55%,
        rgba(13, 27, 42, 0.45) 68%,
        rgba(13, 27, 42, 0.82) 82%,
        rgba(13, 27, 42, 0.95) 92%,
        #0d1b2a 100%);
  }
  .hero--finish { padding-bottom: 0; }

  .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: row; flex-wrap: wrap; }
  .btn { width: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .live-header { flex-direction: column; align-items: flex-start; }
}

/* Partner-Banner: fade edges on all screens */
.partner-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

/* MOBILE-LAYOUT (clamp() erledigt das Sizing – hier nur Layout-Strukturwechsel)
   Threshold auf 900px erhoeht: trifft iPhone + iPad mini + iPad 11" Portrait (834px). */
@media (max-width: 900px) {
  .nav-lang { display: none; }
  .nav-open .nav-lang { display: flex; }
  .partner-banner { aspect-ratio: 16/9; }
}

/* iPad 11" Landscape + MacBook Air: enough bottom room for CTAs. */
@media (min-width: 901px) and (max-height: 900px) and (orientation: landscape) and (pointer: fine) {
  .hero { padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(2.6rem, 4.5vw + 0.5rem, 4rem); }
}

/* iPhone Landscape (z. B. iPhone Pro Max 932×430): viel weniger Padding,
   damit Hero-Bild + Text nicht im riesigen schwarzen Padding versinken.
   pointer: coarse filtert auf Touch-Devices — Desktop-Browser-Windows mit
   kleiner Hoehe (Maus = pointer: fine) bleiben unberuehrt. */
@media (min-width: 901px) and (max-height: 600px) and (orientation: landscape) and (pointer: coarse) {
  .hero { padding: 4.5rem 0 1rem; }
}

/* Phone-Portrait (Touch + max-width 900): Hero nutzt vollen dynamic Viewport. */
@media (max-width: 900px) and (pointer: coarse) {
  .hero {
    min-height: calc(100dvh + 4rem);
    padding: 7rem 0 5rem;
  }
}

@media (pointer: fine) {
  .hero {
    align-items: flex-end;
  }
}

@media (max-width: 900px) {

  /* Hero-Mobile-Layout: Buttons SICHTBAR damit User runterscrollen + klicken kann. */
  .hero .lead { margin-bottom: 1rem; }

  /* Hero-H1: einzeilig, Breite zwischen Eyebrow und Sub-Text. font-size
     dynamisch via vw damit „Brasilien. Berlin. Nizza." die Content-Breite
     nahezu auffuellt aber nicht überlaeuft. */
  .hero h1 {
    white-space: nowrap !important;
    font-size: clamp(1.7rem, 7.6vw, 2.4rem) !important;
    letter-spacing: -0.04em !important;
  }

  /* Wordmark: zoe näher an BAROSSI */
  .nav-brand .wm-first { margin-right: 0.01em; }
}

/* 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; }
}
