/* =============================================================
   EBBA & VLYON — ROADTRIP
   Landingpage Stylesheet
   ============================================================= */

:root {
  --terracotta: #c1502e;
  --terracotta-light: #e07a52;
  --olive: #6b7a4f;
  --olive-dark: #4a5636;
  --cream: #f4e9d8;
  --dusk: #2b1d14;
  --dusk-soft: #3c2a1c;
  --gold: #e8a94c;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow-soft: 0 14px 40px rgba(43, 29, 20, 0.35);
  --transition: 260ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--dusk);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--dusk);
  padding: .75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------------- Section title shared ---------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .5px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 1rem;
  color: var(--cream);
  text-transform: uppercase;
}

/* ---------------- Reveal-on-scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 1.1rem 1rem;
  pointer-events: none;
}
.site-header__logo {
  pointer-events: auto;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-size: 1rem;
  text-decoration: none;
  color: var(--cream);
  background: rgba(43,29,20,.45);
  backdrop-filter: blur(6px);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(244,233,216,.18);
}
.site-header__logo span { color: var(--gold); }

/* =============================================================
   FUEL HUD
   ============================================================= */
.fuel-hud {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}
.fuel-hud__toggle {
  position: relative;
  width: 92px; height: 92px;
  background: rgba(43,29,20,.7);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(244,233,216,.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.fuel-hud__glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232,169,76,.45);
  animation: fuelGlow 2.6s ease-out infinite;
  pointer-events: none;
}
.fuel-hud__glow.is-done { animation: none; box-shadow: none; }
.fuel-hud__toggle.is-nudged { animation: fuelNudge 1.6s ease-in-out; }
@keyframes fuelNudge {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.12); }
  30% { transform: scale(0.97); }
  45% { transform: scale(1.06); }
  60% { transform: scale(1); }
}
@keyframes fuelGlow {
  0%   { box-shadow: 0 0 0 0 rgba(232,169,76,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(232,169,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,169,76,0); }
}
.fuel-hud__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.fuel-hud__track {
  fill: none;
  stroke: rgba(244,233,216,.18);
  stroke-width: 5;
}
.fuel-hud__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 251.3;
  stroke-dashoffset: 251.3;
  transition: stroke-dashoffset 700ms cubic-bezier(.4,0,.2,1), stroke 400ms;
}
.fuel-hud__fill.is-full { stroke: var(--terracotta-light); }
.fuel-hud__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-display);
}
.fuel-hud__percent { font-size: 1.55rem; }
.fuel-hud__sign { font-size: .8rem; }
.fuel-hud__caption {
  font-family: var(--font-body);
  font-size: .58rem;
  letter-spacing: 1.5px;
  opacity: .8;
  margin-top: 2px;
}

.fuel-hud__panel {
  position: absolute;
  bottom: 104px;
  right: 0;
  width: min(270px, 68vw);
  background: var(--dusk-soft);
  border: 1px solid rgba(244,233,216,.15);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  font-size: .85rem;
}
.fuel-hud__panel p { margin: 0 0 .6rem; }
.fuel-hud__hint { color: var(--gold); font-style: italic; }
.fuel-hud__tip { font-size: .78rem; opacity: .75; }
.fuel-hud__close {
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .8rem;
  cursor: pointer;
}

/* =============================================================
   HOTSPOTS (versteckte Boxenstopps)
   ============================================================= */
.hotspot {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hotspot--visor { transform: translate(-50%, -50%); }
.hotspot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232,169,76,.55);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,169,76,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(232,169,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,169,76,0); }
}
.hotspot.is-found .hotspot__pulse { animation: none; box-shadow: none; }

.hotspot__counter {
  position: absolute;
  left: 50%;
  top: -34px;
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: var(--dusk-soft);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}
.hotspot__counter.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.inline-hotspot {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--gold);
  text-decoration: underline dotted;
  text-underline-offset: 4px;
  cursor: pointer;
  animation: inlineGlow 3s ease-in-out infinite;
}
@keyframes inlineGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(232,169,76,0); }
  50% { text-shadow: 0 0 9px rgba(232,169,76,.85); }
}
.inline-hotspot.is-found {
  color: var(--terracotta-light);
  text-decoration: none;
  animation: none;
  text-shadow: none;
}

.hotspot--footer {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  vertical-align: middle;
  cursor: pointer;
}
.hotspot--footer::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(232,169,76,.6);
  transition: background 300ms;
}
.hotspot--footer.is-found::before { background: var(--terracotta-light); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.08) contrast(1.03);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43,29,20,.15) 0%, rgba(43,29,20,.55) 55%, rgba(20,13,9,.95) 100%),
    linear-gradient(90deg, rgba(193,80,46,.25), rgba(107,122,79,.15));
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1.25rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  /* Der Titel-Text darf den Visier-Hotspot darunter nicht "wegklicken" */
  pointer-events: none;
}
.hero__content .teaser-btn,
.hero__content .scroll-cue,
.hero__content a,
.hero__content button {
  pointer-events: auto;
}
.hero__overline {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .85rem;
  color: var(--gold);
  margin: 0 0 .3rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15vw, 7.5rem);
  line-height: .9;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0,0,0,.4);
}
.hero__tagline {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 500;
  margin: .6rem 0 1.6rem;
  color: var(--cream);
}

.hero__cover-wrap {
  position: relative;
  width: min(280px, 62vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.4rem;
  pointer-events: auto;
}
.hero__cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: block;
  background: var(--dusk-soft);
}

.release-status {
  margin: 0 auto 1.4rem;
}
.release-status__label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .75rem;
  color: var(--olive);
  background: rgba(244,233,216,.9);
  display: inline-block;
  padding: .2rem .8rem;
  border-radius: 999px;
  margin: 0 0 .7rem;
  font-weight: 600;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: .6rem;
}
.countdown__unit {
  background: rgba(43,29,20,.55);
  border: 1px solid rgba(244,233,216,.18);
  border-radius: 12px;
  padding: .5rem .3rem;
  min-width: 58px;
}
.countdown__unit span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.countdown__unit small {
  font-size: .6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .7;
}
.release-status__nudge {
  margin: .8rem 0 0;
  font-size: .85rem;
  opacity: .85;
}

.teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid rgba(244,233,216,.4);
  color: var(--cream);
  padding: .6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
  margin-bottom: 1.6rem;
  transition: background var(--transition), border-color var(--transition);
}
.teaser-btn:hover { background: rgba(244,233,216,.12); border-color: var(--gold); }
.teaser-btn__icon { color: var(--gold); }
.teaser-btn.is-playing .teaser-btn__icon { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  text-decoration: none;
  color: var(--cream);
  opacity: .85;
}
.scroll-cue span {
  width: 1px; height: 26px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrolldown 1.8s infinite;
}
@keyframes scrolldown {
  0% { transform: translateY(-6px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =============================================================
   STORY
   ============================================================= */
.story {
  padding: 5.5rem 1.25rem;
  background: var(--dusk);
}
.story__inner {
  max-width: 640px;
  margin: 0 auto;
}
.story p {
  font-size: 1.05rem;
  color: rgba(244,233,216,.92);
}
.story__quote {
  margin: 0 0 2rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  line-height: 1.3;
  color: var(--gold);
  text-transform: none;
}
.story__quote cite {
  display: block;
  margin-top: .6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .6;
}
.story__signoff {
  font-style: italic;
  color: var(--gold);
  border-left: 3px solid var(--terracotta);
  padding-left: 1rem;
}

/* =============================================================
   ROUTE / POSTCARDS
   ============================================================= */
.route {
  position: relative;
  padding: 5rem 1.25rem 6rem;
  background: linear-gradient(180deg, var(--dusk) 0%, var(--dusk-soft) 100%);
  overflow: hidden;
}
.route__inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.route__intro { opacity: .85; margin-bottom: 3rem; }

.route__road {
  position: absolute;
  left: 50%;
  top: 120px;
  width: 100px;
  height: 620px;
  transform: translateX(-50%);
  z-index: 0;
  opacity: .35;
}
.route__road path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-dasharray: 10 12;
}

.postcards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.postcard {
  perspective: 1200px;
  width: min(300px, 88vw);
  height: 190px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
}
.postcard--a { align-self: flex-start; margin-left: 2%; }
.postcard--b { align-self: flex-end; margin-right: 2%; }

.postcard__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  border-radius: var(--radius);
  backface-visibility: hidden;
  transition: transform 650ms cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-soft);
}
.postcard__face--front {
  background: var(--cream);
  color: var(--dusk);
  transform: rotateY(0deg) rotate(-2deg);
  border: 1px dashed var(--terracotta);
}
.postcard--b .postcard__face--front { transform: rotateY(0deg) rotate(2deg); }
.postcard__face--back {
  background: var(--terracotta);
  color: var(--cream);
  transform: rotateY(180deg) rotate(-2deg);
}
.postcard--b .postcard__face--back { transform: rotateY(180deg) rotate(2deg); }

.postcard[aria-expanded="true"] .postcard__face--front { transform: rotateY(180deg) rotate(-2deg); }
.postcard--b[aria-expanded="true"] .postcard__face--front { transform: rotateY(180deg) rotate(2deg); }
.postcard[aria-expanded="true"] .postcard__face--back { transform: rotateY(360deg) rotate(-2deg); }
.postcard--b[aria-expanded="true"] .postcard__face--back { transform: rotateY(360deg) rotate(2deg); }

.postcard__stamp {
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: 2px;
  color: var(--terracotta);
  font-weight: 700;
}
.postcard--a .postcard__face--front .postcard__stamp,
.postcard--b .postcard__face--front .postcard__stamp { color: var(--terracotta); }
.postcard__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: .4rem 0;
  text-transform: uppercase;
}
.postcard__hint { font-size: .7rem; opacity: .6; }
.postcard__msg { font-size: 1rem; line-height: 1.5; }

/* =============================================================
   UNLOCK / PLAYER
   ============================================================= */
.unlock {
  padding: 6rem 1.25rem 5rem;
  background: radial-gradient(circle at 50% 0%, rgba(232,169,76,.18), transparent 60%), var(--dusk-soft);
  text-align: center;
}
.unlock.is-flashing { animation: ignite 900ms ease; }
@keyframes ignite {
  0% { box-shadow: inset 0 0 0 0 rgba(232,169,76,0); }
  30% { box-shadow: inset 0 0 200px 40px rgba(232,169,76,.55); }
  100% { box-shadow: inset 0 0 0 0 rgba(232,169,76,0); }
}
.unlock__inner { max-width: 560px; margin: 0 auto; }
.unlock__eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .85rem;
  font-weight: 600;
}
.unlock__sub { opacity: .85; margin-bottom: 2.2rem; }

.player {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(43,29,20,.6);
  border: 1px solid rgba(244,233,216,.15);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: left;
}
.player__art { border-radius: 10px; flex-shrink: 0; }
.player__body { flex: 1; min-width: 0; }
/* SVG-Icons respektieren das [hidden]-Attribut in manchen Browsern nicht
   zuverlässig (UA-Stylesheet-Konflikt) - hier explizit erzwingen. */
#playIcon[hidden],
#pauseIcon[hidden] {
  display: none !important;
}

.player__playbtn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--terracotta);
  border: none;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  float: left;
  margin-right: .9rem;
}
.player__scrub { overflow: hidden; }
.player__titles { display: flex; flex-direction: column; margin-bottom: .3rem; }
.player__titles span { font-size: .8rem; opacity: .7; }
.player__range {
  width: 100%;
  accent-color: var(--gold);
}
.player__time {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  opacity: .7;
}

.lyric-card {
  margin-top: 1.6rem;
  padding: 1.4rem 1.2rem;
  background: rgba(232,169,76,.08);
  border: 1px dashed rgba(232,169,76,.4);
  border-radius: var(--radius);
}
.lyric-card__label {
  margin: 0 0 .7rem;
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lyric-card__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--cream);
  text-transform: none;
}

.platforms { margin: 2.2rem 0 1.2rem; }
.platforms__label { font-size: .85rem; opacity: .75; margin-bottom: .8rem; }
.platforms__row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.platform-btn {
  text-decoration: none;
  background: rgba(244,233,216,.08);
  border: 1px solid rgba(244,233,216,.25);
  color: var(--cream);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  transition: background var(--transition), border-color var(--transition);
}
.platform-btn:hover { background: var(--olive); border-color: var(--olive); }

.share-btn {
  background: none;
  border: 1px solid rgba(244,233,216,.35);
  color: var(--cream);
  padding: .6rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  font-size: .8rem;
  opacity: .7;
}
.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: .6rem 0;
}
.site-footer__social a { text-decoration: none; opacity: .85; }
.site-footer__legal { font-size: .72rem; }

/* =============================================================
   TOAST (Boxenstopp-Hinweise)
   ============================================================= */
.rt-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 20px);
  background: var(--dusk-soft);
  border: 1px solid rgba(244,233,216,.2);
  color: var(--cream);
  padding: .8rem 1.3rem;
  border-radius: 999px;
  font-size: .85rem;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
  z-index: 60;
}
.rt-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hotspot.is-pulsed { filter: brightness(1.4); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 640px) {
  .fuel-hud { right: .6rem; bottom: .6rem; }
  .fuel-hud__toggle { width: 78px; height: 78px; }
  .fuel-hud__percent { font-size: 1.3rem; }
  .fuel-hud__panel { bottom: 88px; }
  .postcard--a, .postcard--b { align-self: center; margin: 0; }
  .route__road { display: none; }
  .player { flex-direction: column; align-items: stretch; }
  .player__art { margin: 0 auto; }
  .player__playbtn { float: none; margin: 0 auto 1rem; }
  .rt-toast { bottom: 6.4rem; }
}

@media (min-width: 641px) {
  .hero__content { text-align: left; padding-bottom: 5rem; }
  .countdown { justify-content: flex-start; }
  .hero__cover-wrap { margin-left: 0; width: min(320px, 34vw); }
}
