/* ==========================================================================
   Friendsgiving am Deich — Aktions-Styles (19.11.–01.12.2026)
   Basis bleibt die Malle-CI (Pink/Schwarz/Gelb/Weiß + bestehende Fonts).
   Aktionsakzent: warmes Orange aus der Malle-Sonne + Creme der Sticker-Karten.
   Alles hier ist über body.fg-teaser / body.fg-on gescopet — außerhalb des
   Zeitraums fügt friendsgiving.js keine Klassen und kein Markup ein.
   ========================================================================== */

:root {
  --fg-orange: #FF6E00;
  --fg-cream:  #FBF1DE;
  --fg-bar-h:  40px;   /* Höhe Laufband (Aktion) */
}

/* ===== TEASER-LEISTE (Phase: teaser) ===================================== */
/* Im Flow (nicht sticky): scrollt weg, die Nav dockt wie gewohnt bei top:0 an. */
.fg-teaserbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem .9rem;
  padding: .55rem clamp(1rem, 4vw, 2.5rem);
  background: var(--black);
  color: var(--fg-cream);
  border-bottom: 3px solid var(--fg-orange);
  font-family: var(--instr-sans);
  font-size: .82rem;
  line-height: 1.35;
  text-align: center;
}
.fg-teaserbar__text strong { color: var(--yellow); }
.fg-teaserbar__btn {
  flex: 0 0 auto;
  display: inline-block;
  padding: .3rem .85rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--fg-orange);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.fg-teaserbar__btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--fg-orange);
}
@media (max-width: 768px) {
  .fg-teaserbar { font-size: .74rem; padding: .5rem .75rem; }
  .fg-teaserbar__btn { font-size: .72rem; }
}

/* ===== AKTION: Badge-Pille (Hero + Popup) ================================= */
.fg-badge {
  display: inline-block;
  padding: .35rem 1rem;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--instr-sans);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid var(--black);
}
.fg-badge b { color: var(--fg-orange); }

/* ===== a) Laufband (sticky, ganz oben) ==================================== */
.fg-marquee {
  position: sticky;
  top: 0;
  z-index: 60;              /* über der Nav (z-index 50) */
  display: block;
  height: var(--fg-bar-h);
  background: var(--black);
  border-bottom: 3px solid var(--fg-orange);
  overflow: hidden;
  text-decoration: none;
}
.fg-marquee__track {
  display: flex;
  width: max-content;
  height: var(--fg-bar-h);
  align-items: center;
  animation: fgMarquee 26s linear infinite;
  will-change: transform;
}
.fg-marquee:hover .fg-marquee__track { animation-play-state: paused; }
.fg-marquee__half { display: flex; align-items: center; }
.fg-marquee__chunk {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding-right: .9rem;
  font-family: var(--instr-sans);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--yellow);
  white-space: nowrap;
}
.fg-marquee__chunk b { color: var(--fg-orange); font-weight: 800; }
@keyframes fgMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .fg-marquee__track { animation: none; }
}
/* Die sticky Nav rutscht im Aktionszeitraum unters Laufband */
body.fg-on .nav { top: var(--fg-bar-h); }

/* ===== b) Hero-Takeover =================================================== */
/* Bestehende Hero-CTAs weichen dem Aktions-Panel; Logo, Datum & Ort bleiben. */
body.fg-on .hero__tagline,
body.fg-on .hero__ctaRow,
body.fg-on .hero__ctaHint { display: none; }

.fg-hero {
  position: relative;
  z-index: 5;
  max-width: 640px;
  margin: 1.1rem auto 0;
  padding: 1.4rem 1.6rem 1.5rem;
  background: var(--fg-cream);
  color: var(--black);
  border: 4px solid var(--black);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--fg-orange);
  text-align: center;
}
.fg-hero__title {
  margin: .75rem 0 .2rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.fg-hero__title span { display: block; }
.fg-hero__t1 { color: var(--black); }
.fg-hero__t2 { color: var(--pink); }
.fg-hero__claim {
  margin: .55rem 0 .9rem;
  font-family: var(--headline);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.6vw, 1.25rem);
}
.fg-hero__claim em { font-style: normal; color: var(--fg-orange); }
.fg-steps {
  list-style: none;
  margin: 0 auto .95rem;
  padding: 0;
  max-width: 460px;
  text-align: left;
  display: grid;
  gap: .45rem;
}
.fg-steps li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-family: var(--instr-sans);
  font-size: .92rem;
  line-height: 1.35;
}
.fg-steps li b {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fg-orange);
  color: var(--black);
  font-weight: 800;
  font-size: .8rem;
  border: 2px solid var(--black);
  border-radius: 50%;
}
.fg-cta {
  display: inline-block;
  padding: .9rem 1.9rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--instr-sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid var(--black);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--black);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fg-cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--black); }
.fg-countdown {
  margin: .9rem 0 0;
  font-family: var(--instr-sans);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--black);
  opacity: .85;
  font-variant-numeric: tabular-nums;
}
.fg-countdown .fg-cd {
  font-variant-numeric: tabular-nums;
  color: var(--pink);
}

/* ===== Teaser-Panel im Hero (kompakter, ohne Konditionen) ================= */
.fg-hero--teaser { max-width: 560px; padding: 1.25rem 1.5rem 1.35rem; }
.fg-hero--teaser .fg-hero__title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.fg-teaserHint {
  margin: -.2rem 0 .9rem;
  font-family: var(--instr-sans);
  font-size: .9rem;
  line-height: 1.4;
}
.fg-teaserHint strong { color: var(--fg-orange); }
/* Im Teaser bleiben die normalen Hero-CTAs (Ticketshop läuft weiter) —
   nur die redundante Phasen-Hinweiszeile pausiert. */
body.fg-teaser .hero__ctaHint { display: none; }

/* ===== c)/d) Hinweise an Ticket-Karte & Übernachtung ====================== */
.fg-ticketNote,
.fg-stayNote {
  margin: .65rem 0;
  padding: .5rem .75rem;
  background: rgba(255, 110, 0, .12);
  border: 2px dashed var(--fg-orange);
  border-radius: 10px;
  font-family: var(--instr-sans);
  font-size: .85rem;
  line-height: 1.4;
}
.fg-stayNote--li { list-style: none; }

/* ===== e) Popup =========================================================== */
.fg-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.fg-popup {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--fg-cream);
  color: var(--black);
  border: 4px solid var(--black);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--fg-orange);
  text-align: center;
}
.fg-popup__close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--black);
  font-size: 1.5rem;
  line-height: 1;
  border: 0;
  cursor: pointer;
}
.fg-popup__title {
  margin: .8rem 0 .5rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.fg-popup__title em { font-style: normal; color: var(--fg-orange); }
.fg-popup__lead {
  margin: 0 0 1.1rem;
  font-family: var(--instr-sans);
  font-size: .92rem;
  line-height: 1.5;
}
.fg-popup__hint { margin: .8rem 0 0; font-size: .8rem; }
.fg-popup__hint a { color: rgba(10, 10, 10, .55); }

/* ===== g) Fliegender Friendsgiving-Button (oben rechts) =================== */
/* Fixed unterhalb der sticky Nav; schwebt sanft und bleibt beim Scrollen
   immer sichtbar. --fg-nav-h setzt friendsgiving.js aus der echten Nav-Höhe. */
.fg-fab {
  position: fixed;
  top: calc(var(--fg-nav-h, 64px) + 14px);
  right: 14px;
  z-index: 500;              /* über Inhalt, unter Consent-Banner & Popups */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12rem;
  margin: 0;
  padding: .55rem .95rem .5rem;
  background: var(--fg-cream);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--fg-orange);
  cursor: pointer;
  font-family: var(--instr-sans);
  line-height: 1.25;
  text-align: center;
  animation: fgFloat 3.4s ease-in-out infinite;
  transition: box-shadow .15s ease;
}
.fg-fab:hover {
  animation-play-state: paused;
  box-shadow: 7px 7px 0 var(--fg-orange);
}
.fg-fab__top {
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.fg-fab__sub {
  font-weight: 700;
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: .9;
}
.fg-fab__sub .fg-cd { font-variant-numeric: tabular-nums; color: var(--pink); }
@keyframes fgFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fg-fab { animation: none; }
}
/* In der Aktionsphase sitzt das Laufband über der Nav — Button rutscht mit. */
body.fg-on .fg-fab { top: calc(var(--fg-nav-h, 64px) + var(--fg-bar-h) + 14px); }

/* ===== f) FAQ-Eintrag ===================================================== */
.fg-faq { border-left: 4px solid var(--fg-orange); }
.fg-fine { font-size: .8rem; opacity: .7; }

/* ===== Mobil ============================================================== */
@media (max-width: 768px) {
  :root { --fg-bar-h: 34px; }
  .fg-marquee__chunk { font-size: .68rem; letter-spacing: .12em; }
  /* Panel steht mobil VOR Datum/Ort — die "Save the date"-Pille pausiert,
     Datum und Ort bleiben sichtbar. Die Video-Bühne wird im Teaser- und
     Aktionszeitraum flacher, damit der CTA ohne Scrollen im Viewport liegt. */
  body.fg-on .hero__premiere,
  body.fg-teaser .hero__premiere { display: none; }
  body.fg-on .hero__stage,
  body.fg-teaser .hero__stage { height: clamp(190px, 25vh, 270px); }
  .fg-hero {
    max-width: none;
    margin: .4rem .25rem .9rem;
    padding: 1.05rem .9rem 1.1rem;
    border-width: 3px;
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--fg-orange);
  }
  .fg-hero .fg-badge { font-size: .62rem; padding: .3rem .8rem; }
  .fg-hero__title { font-size: clamp(1.45rem, 7.4vw, 1.9rem); }
  .fg-hero__claim { font-size: 1rem; margin-bottom: .7rem; }
  .fg-steps { gap: .35rem; margin-bottom: .8rem; }
  .fg-steps li { font-size: .84rem; }
  .fg-cta { padding: .8rem 1.4rem; font-size: .92rem; }
  .fg-countdown { font-size: .82rem; margin-top: .75rem; }
  .fg-fab {
    top: calc(var(--fg-nav-h, 56px) + 10px);
    right: 9px;
    padding: .42rem .7rem .38rem;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--fg-orange);
  }
  .fg-fab__top { font-size: .6rem; letter-spacing: .06em; }
  .fg-fab__sub { font-size: .58rem; }
}

