/* ============================= */
/* FONTS (lokal eingebunden) */
/* ============================= */

@font-face {
  font-family: "FredokaOne";
  src: url("../fonts/FredokaOne-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MarckScript";
  src: url("../fonts/MarckScript-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================= */
/* BASE STYLES */
/* ============================= */

html, body {
  overflow-x: hidden;
}

:root {
  --gutter: clamp(16px, 4vw, 48px); /* Seitenränder links/rechts */
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #000;
  line-height: 1.4;
}


h1, h2, h3 {
  font-family: "FredokaOne", sans-serif;
  margin-top: 0;
}

h2:not(.hero-title), h3, h4 {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

h2:not(.hero-title).in-view,
h3.in-view,
h4.in-view {
  opacity: 1;
  transform: translateX(0);
}

a {
  color: #fdc925;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

ul li {
  color: #444;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.4;
  margin-bottom: 15px; /* Abstand zwischen Bulletpoints */
}

ul li:last-child {
  margin-bottom: 0; /* verhindert extra Abstand unten */
}

/* Buttons */
button { font-family: "Poppins", sans-serif; }

.hidden {
  display: none !important;
}

/* alle Elemente, die per transform/opacity einfahren */
.video-wrapper,
.tag-item img,
.tag-note,
.howto-images img,
details summary {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Desktop/Widescreen: Smartphone-Wallpaper-Button ausblenden */
#hero .mobile-wallpapers {
  display: none;
}

.video-hidden {
  display: none !important;
}



.jittery{
  /* KEIN translate3d und KEIN globales will-change mehr */
  backface-visibility: hidden;  /* ok */
  contain: paint;               /* isoliert Repaints ohne Pumpen */
  /* wenn es GENAU an der Kante zupft: den 1px-Nudge wieder rausnehmen */
  margin-top: 0;
  margin-bottom: 0;
}

html { scroll-behavior: smooth; }

#cta-hero-mobile { display: none; }

/* Desktop/Laptop: Hover erlaubt */
@media (hover: hover) and (pointer: fine) {
  #faq-button:hover,
  #cta-hero-mobile:hover,
  #lang-button:hover,
  #mobilewallpapers-button:hover {
    transform: translateX(var(--x, 0)) scale(1.05);
  }
}

/* Touch: kein Hover-Zucken, aber angenehmes Tap-Feedback */
@media (hover: none) and (pointer: coarse) {
  /* Hover komplett neutralisieren */
  #faq-button:hover,
  #cta-hero-mobile:hover,
  #lang-button:hover {
    transform: none !important;      /* lässt translateX aus dem Grundzustand in Ruhe */
    transition: none !important;
  }

  /* Tap-Feedback nur beim Drücken */
  #faq-button:active,
  #cta-hero-mobile:active,
  #lang-button:active {
    transform: translateX(var(--x, 0)) scale(0.98);
  }

  /* Wenn der Buy-Button per translateX(-50%) zentriert ist: */
  #cta-hero-mobile { --x: -50%; }     /* Grundzustand bleibt mittig */
}

/* ============================= */
/* HERO BASE                     */
/* ============================= */
#hero {
  position: relative; /* Bezugspunkt für absolute Buttons */
}

/* ============================= */
/* JOIN THE COMMUNITY (isoliert) */
/* ============================= */

/* Gemeinsamer Wrapper für beide Hero-Buttons */
#hero .hero-floating-buttons {
  position: absolute;
  top: 300px;
  left: 80px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  line-height: 0;
}

/* JOIN THE COMMUNITY (isoliert) */
/* Liegt im Hero, über dem ::after-Fade (z-index:2). */
#hero .join-community {
  position: static;
  display: inline-block;
  line-height: 0; /* enger Rahmen */
}

/* Link-Wrapper: block, keine Outline-Shift */
#hero .join-community a {
  display: inline-block;
  outline: none;
}

/* Bildgröße – NICHT vom globalen #hero img betroffen */
#hero .join-community img {
  position: relative;       /* bricht evtl. geerbtes absolute */
  display: block;           /* keine Inline-Lücke */
  width: min(28vw, 260px);
  height: auto;
  transform: translateZ(0); /* eigenes Layer, smoother */
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
  filter: drop-shadow(2.5px 2.5px 5px rgba(0,0,0,.50));
}

/* Hover/Keyboard-Focus: sanft größer + Shadow */
#hero .join-community a:hover img,
#hero .join-community a:focus-visible img {
  transform: scale(1.06);
  filter: drop-shadow(2.5px 2.5px 5px rgba(0,0,0,.50));
}

/* Active-Feedback */
#hero .join-community a:active img {
  transform: scale(0.99);
}





/* ============================= */
/* SECTIONS */
/* ============================= */

section {
  max-width: 800px;
  padding: 0 var(--gutter);
}

#cards summary {
  display: block;     /* falls noch nicht gesetzt */
  margin: 10px 0 0px 0; /* oben/unten Abstand */
}

section,
.parallax1-strip,
.parallax2-strip {
  margin: 60px auto 80px auto;
}

section h2 { margin-bottom: 20px; }




/* ============================= */
/* HEADER (Overlay im Hero)      */
/* ============================= */

#site-header {
  position: fixed; /* bleibt beim Scrollen */
  top: 0;
  left: 0;
  right: 0;
  padding: 20px var(--gutter);
  z-index: 2000;   /* höher als alles andere */
  background: transparent; /* weiterhin kein Balken */
  transition: background 1.5s ease; /* sanfter Übergang */
}

#site-header.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.80) 20%,
    rgba(0, 0, 0, 0) 100%
  );
}

#site-header.scrolled #primary-menu a:not(.cta) {
  color: #fff;
}

#site-header.scrolled ~ #hero .hero-claim {
  color: #fff;
}

#site-header .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 80px;
}


/* ============================= */
/* HERO SECTION */
/* ============================= */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  text-align: center;
  max-width: none;
  margin: 0;
  padding: 0;
  
}

#hero picture,
#hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Claim */
.hero-claim {
  position: absolute;
  top: 70px;
  left: 80px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 22px);
  color: #fff;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* Weißer Rahmen */
#hero::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  bottom: 120px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px; /* Höhe des Fades */
  background: linear-gradient(to top, white 0%, transparent 100%);
  z-index: 2; /* über dem Bild, unter Text */
  pointer-events: none;
}

/* Overlay Text */
.hero-text {
  position: absolute;
  top: 120px;
  left: 80px;
  text-align: left;
  z-index: 2;
  max-width: 600px;
}


.hero-text h2.hero-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 0.8;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);

  /* wichtig: das globale „h2 ist erstmal unsichtbar“ überstimmen */
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-text p {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 32px;
  margin: -10px 0 0 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-subline {
  position: absolute;
  bottom: 130px;
  left: 80px;
  right: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 22px);
  color: #fff;
  z-index: 2;
  text-align: left;
  white-space: normal;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

:root {
  --banner-scroll-distance: 100px;
  --banner-max-progress: 5; /* Obergrenze, bisher fix im JS */
}

.screen-end-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  display: flex;
  justify-content: center; /* zentriert */
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #fdc925;
  text-transform: uppercase;
  z-index: 5;
  line-height: 1.1;
  white-space: nowrap;
  padding: 0 10px;                 /* exakt 10px Rand */
  /* Dynamische Bewegung */
  transform: translateY(calc(50% - (var(--banner-progress, 0) * 100%)));
  transition: transform 0.05s linear;
  overflow: hidden;
}

/* Text als messbares Inline-Block-Element */
.screen-end-banner > span {
  display: inline-block;
  white-space: nowrap;
  /* Startgröße – JS passt diese dynamisch an */
  font-size: 100px;
}

/* ============================= */
/* SCREEN END BANNER – TOP */
/* ============================= */
.screen-end-banner-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0; /* du kannst die Höhe später feintunen */
  height: 40px; /* höherer Balken */
  background: #000;
  color: #fdc925;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 10;
}

.screen-end-banner-top .scroll-content {
  display: inline-block;
  animation: scroll-top 25s linear infinite;
}

.screen-end-banner-top .scroll-content span {
  margin-right: 2rem;
}

@keyframes scroll-top {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================= */
/* SCREEN END BANNER – BOTTOM */
/* ============================= */
.screen-end-banner-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px; /* höherer Balken */
  background: #000;
  color: #fdc925;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 10;
}

.screen-end-banner-bottom .scroll-content {
  display: inline-block;
  animation: scroll-bottom 25s linear infinite reverse;
}

.screen-end-banner-bottom .scroll-content span {
  margin-right: 2rem;
}

@keyframes scroll-bottom {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


#cta-hero {
  background-color: #fdc925;
  border: none;
  color: #000;
  padding: 110px 28px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}
#cta-hero:hover {
  background: #fff;
  transform: scale(1.05);
}


/* ============================= */
/* DESKTOP Menue                 */
/* ============================= */
/* Menü: einheitlicher Abstand zwischen allen <li> */
#primary-menu {
  display: flex;
  gap: 16px;               /* vorher 24px */
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0;
  align-items: center;
  margin-left: auto;       /* nach rechts schieben */
  margin-right: 120px;     /* rechter Sicherheitsabstand zum Bildschirmrand */
}

#primary-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
#primary-menu a:hover { color: #fdc925; }

/* CTA Button */
/* CTA Button – EIN Style für BUY (a.cta) und SPRACHE (button.cta) */
#primary-menu .cta {
  background-color: #fdc925;
  color: #000;
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  position: relative;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* >>> Button exakt wie BUY, Browser-Button-Kram AUS <<< */
#primary-menu #lang-button {
  background-color: #fdc925;
  color: #000;
  padding: 7px 16px;           /* wie BUY */
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;              /* keine Extra-Höhe */
  box-sizing: border-box;
  appearance: none;            /* Browser-Button-Style raus */
  -webkit-appearance: none;
  font-family: inherit;        /* wie der Link */
  vertical-align: middle;      /* Sicherheitsfix */
}

#primary-menu .cta:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Sprachcontainer bleibt, damit das Dropdown hängt */
#lang-container {
  position: relative;
  margin-left: 0;
  display: flex;          /* Button im <li> zentrieren */
  align-items: center;    /* vertikal exakt mittig wie BUY */
  height: 100%;           /* gleiche Höhe wie die anderen Items */
}


#primary-menu .cta:hover,
#primary-menu #lang-button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

#primary-menu #lang-button {
  margin-top: -16px;
}




/* ============================= */
/* HEADER / MENÜ-LEISTE          */
/* ============================= */
#site-header {
  width: 100%;
}

#site-header .container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 80px;
}

#main-nav {
  width: 100%;
  display: flex;             /* NEU: nav wird Flex-Container */
  align-items: center;
}


/* ============================= */
/* DROPDOWN FÜR SPRACHEN         */
/* ============================= */
#lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);   /* direkt UNTER dem Button, nicht irgendwo oben */
  right: 0;
  background: #000;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  grid-template-columns: repeat(auto-fit, 35px);
  gap: 6px;
  justify-content: center;
  max-width: calc(35px * 5 + 6px * 4);
  z-index: 6000;
}
#lang-menu.show {
  display: grid;
}

#lang-menu button {
  width: 35px;
  height: 35px;
  background: #fdc925;
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
#lang-menu button:hover {
  background: #fff;
  transform: scale(1.05);
}




/* ============================= */
/* Video1 Wrapper */
/* ============================= */

.video-wrapper {
  max-width: 800px;
  margin: 6rem auto;
  overflow: hidden;
  border-radius: 16px; /* abgerundete Ecken */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Schlagschatten */
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}

.video-wrapper.in-view {
  transform: translateY(0);
  opacity: 1;
}

.video-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}


/* =============================
   YouTube DSGVO / CCPA 2-Click Consent
============================= */
.yt-consent {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.yt-thumb:hover img {
  opacity: 0.55;
}
.yt-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,0.45);
  padding: 1rem;
}
.yt-overlay p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}
.yt-overlay a {
  color: #fff;
  text-decoration: underline;
}
.yt-btn {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.yt-btn:hover {
  background: #c92733;
}




/* ============================= */
/* Graffiti */
/* ============================= */

.why-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.tag-item {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;     /* Grenze wie bei den Graffiti */
  margin-left: auto;    /* zentriert */
  margin-right: auto;   /* zentriert */
}

.tag-item img {
  width: 100%;        
  max-width: 100%;    
  height: auto;
  opacity: 0;
  transform: scale(1.2) translateY(40px) rotate(0deg);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Startwinkel + Stagger-Delays */
.tag-item:nth-child(1) img {
  transform: scale(1.2) translateY(40px) rotate(-4deg);
  transition-delay: 0s;
}
.tag-item:nth-child(2) img {
  transform: scale(1.2) translateY(40px) rotate(3deg);
  transition-delay: 0.2s;
}
.tag-item:nth-child(3) img {
  transform: scale(1.2) translateY(40px) rotate(-6deg);
  transition-delay: 0.4s;
}
.tag-item:nth-child(4) img {
  transform: scale(1.2) translateY(40px) rotate(5deg);
  transition-delay: 0.6s;
}

/* Zielzustand Graffiti */
.tag-item img.in-view {
  opacity: 1;
  transform: scale(1) translateY(0) rotate(0deg);
}

/* ============================= */
/* Tag Notes (Handschrift) */
/* ============================= */

.tag-item {
    margin-bottom: 150px; /* vorher 4rem → jetzt mehr Luft */
  }

.tag-note {
  position: absolute;
  left: 50%;
  transform: translateX(40px) rotate(-2.5deg);
  font-family: "MarckScript", cursive;
  font-size: 2.2rem;
  margin: 0;
  white-space: normal;
  max-width: 800px;
  width: 100%;
  text-align: center;
  line-height: 0.8;
  opacity: 0;
  text-shadow: 1px 1px 4px rgba(255, 20, 147, 0.6); /* Hot Pink softer */
  transition: opacity 0.8s ease, transform 0.8s ease;
}


.tag-note.in-view {
  opacity: 1;
  transform: translateX(-50%) rotate(-2.5deg);
}

/* Individuelle Y-Positionen */
.note-1 { top: 100%; }
.note-2 { top: 100%; }
.note-3 { top: 100%; }
.note-4 { top: 100%; }


/* ============================= */
/* PARALLAX 1 */
/* ============================= */

.parallax1-strip {
  position: relative;
  height: 200px;
  background-image: url("../img/parallax/parallax1-768.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden; /* wichtig: damit die Pseudoelemente sauber abschließen */
}

/* Tablet */
@media (min-width: 1280px) {
  .parallax1-strip {
    background-image: url("../img/parallax/parallax1-1280.jpg");
  }
}

/* Desktop */
@media (min-width: 1920px) {
  .parallax1-strip {
    background-image: url("../img/parallax/parallax1-1920.jpg");
  }
}

/* 4K */
@media (min-width: 2560px) {
  .parallax1-strip {
    background-image: url("../img/parallax/parallax1-2560.jpg");
  }
}

.parallax1-strip::before,
.parallax1-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50px; /* Höhe des Verlaufs */
  z-index: 2;
}

.parallax1-strip::before {
  top: 0;
  background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.parallax1-strip::after {
  bottom: 0;
  background: linear-gradient(to top, white 0%, transparent 100%);
}



/* ============================= */
/* CARD FAN – Entrance + smooth Hover + Stagger */
/* (komponiert über CSS-Variablen) */
/* ============================= */

/* Animierbare Custom Properties registrieren */
@property --baseScale {
  syntax: '<number>';
  inherits: false;
  initial-value: 1.12;
}
@property --hoverScale {
  syntax: '<number>';
  inherits: false;
  initial-value: 1;
}

.card-fan {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 60px auto;
  height: 300px;
  left: 25px; /* feste Verschiebung nach links */
}

/* Default für Stagger (falls mehr Karten dazukommen) */
.card-fan img { 
  --stagger: 0s;
}

/* Karten: Startzustand (eine transform-Deklaration, feste Reihenfolge) */
.card-fan img {
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 12px;
  box-shadow: 2.5px 2.5px 4px rgba(0, 0, 0, 0.50);
  transform-origin: bottom center;
  backface-visibility: hidden;
  will-change: transform, opacity, --hoverScale, --baseScale;

  /* CLS-Fix: feste Bildproportionen (keine Layout-Sprünge mehr) */
  width: 100%;
  height: auto;

  /* Basiswerte (werden animiert/transitioned) */
  --baseScale: 1.12; /* Entrance fährt das auf 1.00 */
  --hoverScale: 1;   /* Hover hebt das auf 1.08 an */

  opacity: 0;
  transform: translateX(var(--tx, -50%)) rotate(var(--rot, 0deg)) scale(calc(var(--baseScale) * var(--hoverScale)));
  transition: --hoverScale .28s ease, transform .28s ease;
}

/* Entrance: nur Basis-Skalierung + Opazität (mit Stagger) */
.card-fan.in-view img {
  animation: fanEntrance 0.6s ease forwards;
  animation-delay: var(--stagger);
}


@keyframes fanEntrance {
  from {
    --baseScale: 1.30;
    opacity: 0;
  }
  to {
    --baseScale: 1.00;
    opacity: 1;
  }
}

/* Grundstellung im Fächer (Position + Größe + Stapelreihenfolge) */
.card-fan img:nth-child(1) { --tx: calc(-50% - 120px); --rot: -10deg; z-index: 5; width: 200px; }
.card-fan img:nth-child(2) { --tx: calc(-50% - 60px);  --rot: -5deg;  z-index: 4; width: 180px; top: 20px; }
.card-fan img:nth-child(3) { --tx: -50%;               --rot: 0deg;   z-index: 3; width: 160px; top: 40px; }
.card-fan img:nth-child(4) { --tx: calc(-50% + 60px);  --rot: 5deg;   z-index: 2; width: 140px; top: 60px; }
.card-fan img:nth-child(5) { --tx: calc(-50% + 120px); --rot: 10deg;  z-index: 1; width: 120px; top: 80px; }

/* Stagger-Reihenfolge: kleinste (5) zuerst → dann 4 → 3 → 2 → 1 zuletzt */
.card-fan img:nth-child(5) { --stagger: 0.00s; }
.card-fan img:nth-child(4) { --stagger: 0.06s; }
.card-fan img:nth-child(3) { --stagger: 0.12s; }
.card-fan img:nth-child(2) { --stagger: 0.18s; }
.card-fan img:nth-child(1) { --stagger: 0.24s; }

/* Hover: nur die Hover-Skalierung anheben + nach vorn holen */
.card-fan img:hover,
.card-fan img:focus-visible {
  --hoverScale: 1.08;
  z-index: 10;
  outline: none;
}



/* ============================= */
/* PARALLAX 2 */
/* ============================= */

.parallax2-strip {
  position: relative;
  width: 100%;   /* statt 100vw + left/margin */
  height: 200px;
  background-image: url("../img/parallax/parallax2-768.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Tablet */
@media (min-width: 1280px) {
  .parallax2-strip {
    background-image: url("../img/parallax/parallax2-1280.jpg");
  }
}

/* Desktop */
@media (min-width: 1920px) {
  .parallax2-strip {
    background-image: url("../img/parallax/parallax2-1920.jpg");
  }
}

/* 4K */
@media (min-width: 2560px) {
  .parallax2-strip {
    background-image: url("../img/parallax/parallax2-2560.jpg");
  }
}

.parallax2-strip::before,
.parallax2-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50px; /* Fade oben/unten */
  z-index: 2;
}

.parallax2-strip::before {
  top: 0;
  background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.parallax2-strip::after {
  bottom: 0;
  background: linear-gradient(to top, white 0%, transparent 100%);
}


/* ============================= */
/* EPISODE ONE TEXT              */
/* ============================= */

#episode1.usp ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#episode1.usp ul:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

#episode1.usp p[data-i18n="episode1.meta"] {
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.4;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}


/* ============================= */
/* DETAILS & SUMMARY (BASIS)     */
/* ============================= */

details summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;

  padding: 14px 20px;
  margin: 18px 0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;

  background: #fff;
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(20px);
}

/* Nur wenn geschlossen → zentrieren */
details:not([open]) > summary {
  justify-content: left !important;
  text-align: left;
}

/* Wenn geöffnet → zurück zu Standard */
details[open] > summary {
  justify-content: space-between !important;
  text-align: left;
}



/* Entrance-Ende */
details summary.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Chevron */
details summary::after {
  content: "▶";
  font-size: 18px;
  transition: transform .3s ease;
}
details[open] summary::after { transform: rotate(90deg); }
details summary::-webkit-details-marker { display: none; }

#cards h2 {
  margin-bottom: 20px; /* kleinerer Abstand zur ersten Summary-Karte */
}

/* Hover Cards */
#cards summary:hover {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 6px 18px rgba(0,0,0,0.7);
  background-image: url("../img/summary-parallax.jpg");
  background-size: 100% 700%;
  background-repeat: no-repeat;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
}

/* Cards spezifisch pro Position */
#cards details:nth-of-type(1) summary:hover { background-position: center 0%; }
#cards details:nth-of-type(2) summary:hover { background-position: center 16.6%; }
#cards details:nth-of-type(3) summary:hover { background-position: center 33.2%; }
#cards details:nth-of-type(4) summary:hover { background-position: center 49.8%; }
#cards details:nth-of-type(5) summary:hover { background-position: center 66.4%; }
#cards details:nth-of-type(6) summary:hover { background-position: center 83%; }
#cards details:nth-of-type(7) summary:hover { background-position: center 100%; }

/* Hover FAQ (neutral) */
#faq summary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.br-mobile { display: none; }


/* ============================= */
/* CAROUSEL */
/* ============================= */

/* Deko-Karten: kein Snap, keine Klicks */
.carousel-track .card-wrapper.decor {
  scroll-snap-align: none;
  pointer-events: none;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.card-wrapper.startcard img,
.card-wrapper.endcard img {
  opacity: 0.4;          /* abgedunkelt */
  pointer-events: none;  /* nicht klickbar */
  user-select: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .card-wrapper {
  flex: 0 0 calc(33.333% - 20px); /* Desktop: 3 Karten sichtbar */
  scroll-snap-align: center;      /* Karten rasten in der Mitte ein */
}

.carousel-track .card-wrapper img {
  border-radius: 12px;   /* gleiche Rundung wie Fan */
  box-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, 0.50); /* optional, für Tiefe */
  transition: transform 0.3s ease;
}

.carousel-track .card-wrapper img:hover {
  transform: scale(1.03); /* leichte Vergrößerung bei Hover */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}


/* ============================= */
/* CAROUSEL THUMBNAILS */
/* ============================= */
/* 10 pro Reihe, Zeilen (auch letzte) zentriert */
.carousel-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
  margin-bottom: 15px;
  justify-content: center;
  --thumb-gap: 6px; /* gleiche Lücke wie gap */
}

.carousel-thumbs img {
  width: calc((100% - (9 * var(--thumb-gap))) / 10);
  flex: 0 0 calc((100% - (9 * var(--thumb-gap))) / 10);
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 8px;
  transition: opacity 0.3s, transform 0.2s, outline 0.2s;
}

.carousel-thumbs img:hover,
.carousel-thumbs img.active {
  opacity: 1;
  transform: scale(1.05);
  outline: 2px solid #fdc925;
  outline-offset: 2px;
  border-radius: 8px;   /* beim Hover/Active beibehalten */
}





.fx-submenu {
  display: flex;
  gap: 0.5rem;
  margin-top: 10px;   /* Abstand NUR nach oben */
  margin-bottom: 10px;   /* kein extra Abstand nach unten */
}

.fx-btn {
  flex: 1;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  padding: 0.3rem 0;   /* halb so hoch */
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.fx-btn:hover {
  background: #e0e0e0;
}


/* ============================= */
/* PARALLAX 3 */
/* ============================= */

.parallax3-strip {
  position: relative;
  width: 100%;   /* statt 100vw + left/margin */
  height: 200px;
  background-image: url("../img/parallax/parallax3-768.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Tablet */
@media (min-width: 1280px) {
  .parallax3-strip {
    background-image: url("../img/parallax/parallax3-1280.jpg");
  }
}

/* Desktop */
@media (min-width: 1920px) {
  .parallax3-strip {
    background-image: url("../img/parallax/parallax3-1920.jpg");
  }
}

/* 4K */
@media (min-width: 2560px) {
  .parallax3-strip {
    background-image: url("../img/parallax/parallax3-2560.jpg");
  }
}

.parallax3-strip::before,
.parallax3-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50px; /* Fade oben/unten */
  z-index: 2;
}

.parallax3-strip::before {
  top: 0;
  background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.parallax3-strip::after {
  bottom: 0;
  background: linear-gradient(to top, white 0%, transparent 100%);
}


/* ============================= */
/* HOW TO QUOTE — über dem How-To */
/* ============================= */

#how-quote {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none !important; /* überschreibt die globale Begrenzung */
  text-align: center;
  margin: 100px 0 100px 0;
  padding: 0;
}

#how-quote blockquote {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #A32020;
  line-height: 1.1;
  text-transform: none;
  font-size: clamp(32px, 6vw, 100px); /* früher 60px → jetzt 32px Basis */
  width: 80vw;
  margin: 0 auto;
  white-space: normal;
  text-shadow: 1.5px 1.5px 2.5px rgba(0, 0, 0, 0.80);
}




/* ============================= */
/* HOW TO – responsive scaling   */
/* ============================= */

.howto-images img{
  /* Weißer harter Rahmen (Konturnachbildung) */
  filter:
    /* Kanten */
    drop-shadow(2px 0   0 #fff)
    drop-shadow(-2px 0  0 #fff)
    drop-shadow(0   2px 0 #fff)
    drop-shadow(0  -2px 0 #fff)
    /* Ecken */
    drop-shadow(1.5px  1.5px 0 #fff)
    drop-shadow(-1.5px 1.5px 0 #fff)
    drop-shadow(1.5px -1.5px 0 #fff)
    drop-shadow(-1.5px -1.5px 0 #fff)
    /* Sichtbarer weicher Schatten darunter */
    drop-shadow(6px 6px 12px rgba(0,0,80,.45)); /* dunkelblau-ish */
  opacity: 0;
  transform: translateY(40px); /* Startzustand (fällt für "unten" zurück) */
  transition: transform 1s ease, opacity 1s ease;
}

.howto-images {
  display: grid;
  grid-template-columns: repeat(4, auto);   /* 4 nebeneinander, solange Platz */
  justify-content: center;
  align-items: start;
  gap: clamp(24px, 5vw, 120px);             /* Abstand skaliert mit Viewport */
  padding-block: clamp(40px, 6vw, 100px);   /* oben/unten skaliert */
}

/* Basis: skalierender Abstand */
.howto-images {
  --howto-gap: clamp(24px, 5vw, 120px);
  gap: var(--howto-gap);
}

.howto-images img.howto-in {
  opacity: 1;
  transform: translateY(0);
}

/* Links/rechts/mitte individuelle Entrances */
.howto-images img:nth-child(1).howto-in {
  transform: translateX(0);
}
.howto-images img:nth-child(1) {
  transform: translateX(-80px);
}

.howto-images img:nth-child(4).howto-in {
  transform: translateX(0);
}
.howto-images img:nth-child(4) {
  transform: translateX(80px);
}

.howto-images img:nth-child(2),
.howto-images img:nth-child(3) {
  transform: translateY(80px);
}
.howto-images img:nth-child(2).howto-in,
.howto-images img:nth-child(3).howto-in {
  transform: translateY(0);
}

.howto-images img {
  width: clamp(180px, 17vw, 340px);         /* Logos skalieren prozentual */
  height: auto;
  display: block;
}




/* Wenn 4 nicht mehr elegant passen → 2x2 */
@media (max-width: 1200px) {
  .howto-images {
    --howto-gap: clamp(28px, 6vw, 140px); /* etwas mehr Luft im 2x2 */
    grid-template-columns: repeat(2, auto);
    gap: calc(var(--howto-gap) + 50px);
  }
  .howto-images img {
    width: clamp(200px, 30vw, 380px); /* etwas größer für 2x2 */
  }
}

/* Darunter → 1 pro Zeile */
@media (max-width: 620px) {
  .howto-images {
    --howto-gap: clamp(32px, 8vw, 160px); /* größere vertikale Abstände im 1x1 */
    grid-template-columns: 1fr;
    justify-items: center;
    gap: calc(var(--howto-gap) + 50px);
  }
  .howto-images img {
    width: clamp(220px, 70vw, 420px);
  }
}

@media (max-width:1200px){
  /* Standard-Delays */
  .howto-images img:nth-child(1){ --d: 0ms; }
  .howto-images img:nth-child(2){ --d: 120ms; }
  .howto-images img:nth-child(3){ --d: 240ms; } /* 2. Reihe */
  .howto-images img:nth-child(4){ --d: 360ms; }

  /* Sonderfall: wenn .img-row-zigzag vorhanden → Delays für 3 & 4 tauschen */
  .howto-images.img-row-zigzag img:nth-child(3){ --d: 360ms; }
  .howto-images.img-row-zigzag img:nth-child(4){ --d: 240ms; }
}

.howto-btn {
  position: relative;   /* wichtig, damit z-index wirkt */
  z-index: 2;           /* über dem Textkasten */
}

/* Buttons drehbar machen */
.howto-btn.step1 { transform: rotate(-7deg); }
.howto-btn.step2 { transform: rotate(-2.5deg); }
.howto-btn.step3 { transform: rotate(-4.5deg); }
.howto-btn.step4 { transform: rotate(-10deg); }

/* Einheitlicher Abstand zwischen Bild und Summary */
.how-step img { margin-bottom: 16px; } /* Basis für alle */


.how-step summary {
  margin-top: 0;
}

/* Basis */
.howto-text {
	position: relative;
  z-index: 1;           /* darunter */
  transform-origin: top center; /* oder: center left */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 15px 0px;
  margin-top: -30px;
  margin-left: 5px; /* Wert anpassen bis es passt */
  transform: rotate(-2deg); /* Standardwinkel */
}

/* Schritt-spezifische Winkel (analog zu deinen Summarys) */
.step1 .howto-text { transform: rotate(-7deg); }
.step2 .howto-text { transform: rotate(-2.5deg); }
.step3 .howto-text { transform: rotate(-4.5deg); }
.step4 .howto-text { transform: rotate(-10deg); }

/* How-To — kräftige Bullets (Variante B) — Desktop / Global */
.howto-text ul { padding-left: 28px; margin: 0 16px; }
.howto-text ul li{
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.45vw, 19px);
  color: #222;
  margin-bottom: 12px;
  position: relative;
  list-style: none;
  padding-left: 22px;
}
.howto-text ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fdc925; /* Gold */
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

#how { 
  margin-bottom: 50px !important; 
}
#how .howto-images { 
  padding-bottom: 20px;            /* vorher clamp(...) → viel Luft */
}

/* Direkt folgende FAQ enger an How ranziehen */
#how + #faq {
  margin-top: 12px !important;     /* überschreibt section-Top-Margin */
  padding-top: 0;
}

/* Step 1 Summary Hover */
.step1 summary:hover {
  transform: translateY(-2px) scale(1.03) rotate(-7deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Step 2 Summary Hover */
.step2 summary:hover {
  transform: translateY(-2px) scale(1.03) rotate(-2.5deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Step 3 Summary Hover */
.step3 summary:hover {
  transform: translateY(-2px) scale(1.03) rotate(-4.5deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Step 4 Summary Hover */
.step4 summary:hover {
  transform: translateY(-2px) scale(1.03) rotate(-10deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* ============================= */
/* FAQ – fixed lines + proportional scaling */
/* ============================= */

/* FAQ Block konsistent mittig halten */
#faq.qa-list {
  display: block;
  max-width: 800px;      /* gleiche Breite wie deine Sections */
  margin: 0 auto 5em auto;
  padding: 0 var(--gutter);
  text-align: center;
}

#faq.qa-list .faq-item {
  margin: 40px 0;
}

#faq.qa-list .q {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.0;
  margin: 0 0 0px 0;
}

#faq.qa-list .a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 20px);
  
  margin: 0;
  color: #111;
}


/* ============================= */
/* STORES                        */
/* ============================= */

.store-intro {
  display: block;
  width: 100%;          /* gleiche Breite wie Button */
  text-align: left;   /* zentrieren */
  margin: 20px 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  white-space: normal;  /* sorgt dafür, dass Text umbrechen darf */
}

.store-text .store-city {
  display: inline;     /* bleibt in derselben Zeile */
  margin-left: 6px;    /* kleiner Abstand */
  font-size: 18px;
  color: #000;
}

.store-entry {
  display: inline-block;
  width: 45%;
  margin: 15px 2%;
  text-align: center;
  vertical-align: top;
}

.store-logo {
  width: 200px;   /* vorher 250 */
  height: 120px;  /* vorher 150 */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-logo img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

/* ============================= */
/* SORT BUTTON                   */
/* ============================= */

#sortToggle {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #000;
  border: 0px solid #000;
  border-radius: 6px;
  font-family: 'FredokaOne', sans-serif;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sortToggle:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
}

/* ============================= */
/* RESOURCES (Pressebereich)     */
/* ============================= */

#resources.qa-list {
  display: block;
  max-width: 800px;
  margin: 0 auto; /* kein oberer oder unterer Abstand mehr */
  padding: 0 var(--gutter);
  text-align: center;
}

/* Kleine Abstände zwischen FAQ-ähnlichen Elementen */
#resources.qa-list .faq-item {
  margin: 10px 0;
}

/* Überschriftenabstand – kein extremer Offset mehr */
#resources.qa-list > h3:first-of-type {
  margin-top: 0;
}


/* ============================= */
/* BOX-PHOTOS                    */
/* ============================= */

.boxphotos-row {
  display: flex !important;
  flex-wrap: nowrap !important; /* verhindert Umbrechen */
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  overflow: hidden; /* optional: kein Scrollbalken */
}

.boxphoto-item {
  text-align: center;
  flex: 1 1 50%; /* teilt Platz exakt auf zwei */
  min-width: 0; /* erlaubt Schrumpfen bis beliebig klein */
}

.boxphoto-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain; /* kein Verzerren */
}



/* ============================= */
/* WALLPAPER PREVIEWS            */
/* ============================= */

.wallpaper-preview {
  border-radius: 10px;
  box-shadow: 2.5px 2.5px 2.5px rgba(0,0,0,0.50);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}





/* ============================= */
/* SUMMARY-BEREICH               */
/* ============================= */

#resources.qa-list summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  padding: 14px 20px;
  margin: 18px 0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(20px);
}

#resources.qa-list summary.in-view {
  opacity: 1;
  transform: translateY(0);
}

#resources.qa-list summary:hover,
#resources.qa-list details[open] > summary {
  background-color: #c40000;
  color: #fff;
  text-shadow: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Pfeilsteuerung */
#resources.qa-list details summary::after {
  content: "▶";
  font-size: 18px;
  transition: transform .3s ease;
}
#resources.qa-list details[open] summary::after {
  transform: rotate(90deg);
}
#resources.qa-list details summary::-webkit-details-marker {
  display: none;
}

/* ============================= */
/* PRESS CONTAINER (visuell)     */
/* ============================= */

.press-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 0.8);
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
}

/* ============================= */
/* PRESS BANNER                  */
/* ============================= */

.press-banner {
  position: relative;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem 2rem -1.5rem;
  height: 80px;
  background: #c40000;
  transform: rotate(-2.5deg);
  overflow: hidden;
  box-shadow: 2.5px 2.5px 5px rgba(128, 0, 0, 0.5);
}

/* Lauftextebenen */
.press-layer {
  position: absolute;
  left: 0;
  width: 200%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  will-change: transform;
}

.layer1 { font-size: 18px; top: 5px; opacity: 1; animation: scroll1 60s linear infinite; }
.layer2 { font-size: 20px; top: 30px; opacity: 0.72; animation: scroll2 40s linear infinite; transform: translateX(-25%); }
.layer3 { font-size: 26px; top: 55px; opacity: 0.5; animation: scroll3 25s linear infinite; transform: translateX(-50%); }

.press-layer span { display: inline-block; padding-right: 2rem; }

@keyframes scroll1 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll2 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll3 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================= */
/* LOGOS / WORDMARK / ICON MARK  */
/* ============================= */

.logos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.logo-center {
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  padding: 0 10px;
}

.logo-preview {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px auto;
}

.downloads {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 10px 0 50px 0;
}

.downloads a {
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #ccc;
  padding: 6px 14px;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 0.95em;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}
.downloads a:hover {
  background: #eee;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.35);
}

.logo-block {
  text-align: left;
  max-width: 800px;
  width: 100%;
  margin: 0px auto; /* einheitliche Luft oben/unten */
}

.logo-block h3 {
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.logo-info {
  font-size: 1.25em;
  color: #777;
  margin: 0 0 25px 0;
  max-width: 700px;
}

.logo-preview[alt*="White"] {
  background: #000;
  padding: 10px;
  border-radius: 6px;
}



.press-separator {
  width: 100%;
  height: 2px;
 background: rgba(0, 0, 0, 0.25);
  border: none;
  margin: 10px 0 50px 0; /* optionaler Abstand oben/unten */
}

/* ============================= */
/* DETAIL-ABSCHNITTE             */
/* ============================= */

#resources.qa-list .resource-item {
  margin: 5px 0;
}

#resources.qa-list details summary {
  margin: 10px 0;
  position: relative;
  z-index: 2;
}

#resources.qa-list details[open] > *:not(summary) {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 1);
  padding: 15px 20px;
  margin: -25px auto 0 auto;
  width: 92%;
}

/* ============================= */
/* PDF PRIEVIEW                  */
/* ============================= */

summary + .retail-episode-content .pdf-preview {
  margin-top: 2rem; /* oder 1.5rem, je nach gewünschtem Abstand */
}

/* ============================= */
/* CLOSE-LINK                    */
/* ============================= */

.close-details {
  display: block;
  text-align: center;
  margin: 15px auto -20px auto;
  font-size: 14px;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}
.close-details:hover {
  color: #c40000;
  text-decoration: underline;
}

.retail-episode-content .close-details {
  position: static;
  display: block;
  text-align: center;
  margin: 2rem auto 0 auto;
}

/* ============================= */
/* TEXTFORMATIERUNG (JSON-INHALTE) */
/* ============================= */

#resources.qa-list details[open] .resource-content {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 0.8);
  margin-top: 20px;
  padding: 25px 28px 28px 28px;
}

/* JSON Headlines */
#resources.qa-list .resource-content .headline {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #c40000;
  margin: 0 0 0 0;
}

/* JSON Textabsätze */
#resources.qa-list .resource-content .text {
  margin: 0 0 22px 0;
}
#resources.qa-list .resource-content .text:last-child {
  margin-bottom: 0;
}

#resources.qa-list summary {
  align-items: flex-start; /* Inhalte oben beginnen lassen */
}


/* ============================= */
/* RETAILERS (Händlerbereich)    */
/* ============================= */

#retailers.qa-list {
  display: block;
  max-width: 800px;
  margin: 0 auto; /* kein oberer oder unterer Abstand mehr */
  padding: 0 var(--gutter);
  text-align: center;
}

/* Kleine Abstände zwischen FAQ-ähnlichen Elementen */
#retailers.qa-list .faq-item {
  margin: 10px 0;
}

/* Überschriftenabstand – kein extremer Offset mehr */
#retailers.qa-list > h3:first-of-type {
  margin-top: 0;
}

/* ============================= */
/* SUMMARY-BEREICH               */
/* ============================= */

#retailers.qa-list summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  padding: 14px 20px;
  margin: 18px 0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  box-shadow: 2.5px 2.5px 5px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(20px);
}

#retailers.qa-list summary.in-view {
  opacity: 1;
  transform: translateY(0);
}

#retailers.qa-list summary:hover,
#retailers.qa-list details[open] > summary {
  background-color: #c40000;
  color: #fff;
  text-shadow: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Pfeilsteuerung */
#retailers.qa-list details summary::after {
  content: "▶";
  font-size: 18px;
  transition: transform .3s ease;
}
#retailers.qa-list details[open] summary::after {
  transform: rotate(90deg);
}
#retailers.qa-list details summary::-webkit-details-marker {
  display: none;
}

/* ============================= */
/* RETAIL CONTAINER (visuell)    */
/* ============================= */

.retail-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 0.8);
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
}

/* ============================= */
/* RETAIL BANNER                 */
/* ============================= */

.retail-banner {
  position: relative;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem 2rem -1.5rem;
  height: 80px;
  background: #c40000;
  transform: rotate(-2.5deg);
  overflow: hidden;
  box-shadow: 2.5px 2.5px 5px rgba(128, 0, 0, 0.5);
}

/* Lauftextebenen */
.retail-layer {
  position: absolute;
  left: 0;
  width: 200%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  will-change: transform;
}


.retail-layer span { display: inline-block; padding-right: 2rem; }




/* ============================= */
/* DETAIL-ABSCHNITTE             */
/* ============================= */

#retailers.qa-list .retail-item {
  margin: 5px 0;
}

#retailers.qa-list details summary {
  margin: 10px 0;
  position: relative;
  z-index: 2;
}

#retailers.qa-list details[open] > *:not(summary) {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 1);
  padding: 15px 20px;
  margin: -25px auto 0 auto;
  width: 92%;
}


/* ============================= */
/* TEXTFORMATIERUNG (JSON-INHALTE) */
/* ============================= */

#retailers.qa-list details[open] .retail-content {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(128, 0, 0, 0.8);
  margin-top: 20px;
  padding: 25px 28px 28px 28px;
}

/* JSON Headlines */
#retailers.qa-list .retail-content .headline {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #c40000;
  margin: 0 0 0 0;
}

/* JSON Textabsätze */
#retailers.qa-list .retail-content .text {
  margin: 0 0 22px 0;
}
#retailers.qa-list .retail-content .text:last-child {
  margin-bottom: 0;
}

#retailers.qa-list summary {
  align-items: flex-start; /* Inhalte oben beginnen lassen */
}


/* ============================= */
/* PRODUKTBLÄTTER                */
/* ============================= */

#retail-productsheets-playersedition .season-block > details > summary {
  padding: 0.4em 1em;
  font-size: 1.0rem;
  line-height: 1;
}

/* ============================= */
/* PDF PREVIEW FIX */
/* ============================= */
.pdf-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.pdf-preview img,
.pdf-thumbnail {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}



/* ============================= */
/* Season Button – exakt wie Episode Summary (El Jefe-Style) */
/* ============================= */
.season-toggle {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  padding: 0.4em 1em;      /* identisch zu Episode-Summary */
  border: none;
  border-radius: 12px;       /* identisch zu Episode-Summary */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover */
.season-toggle:hover {
  background: #f9f9f9;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Aktiv */
.season-toggle.active,
.season-toggle:active {
  background: #c20000;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}


/* ========================================= */
/* USER WALLPAPERS CONTENT                   */
/* ========================================= */
.userwallpapers-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); /* Gelber Glow */
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
}

.userwallpapers-content .logo-center img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}


.userwallpapers-content .downloads a {
  display: inline-block;
  margin: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.userwallpapers-content .downloads a:hover {
  background: #eee;
}


/* ============================= */
/* WALLPAPER SUMMARY             */
/* ============================= */

.wallpaper-summary {
  position: relative;
  overflow: hidden;
}

.wallpaper-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/wallpapers/desktop/previews/s1/sands_wllppr_s1e1bv_est2025_vintagelogo_preview.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: slowDrift 10s linear infinite;
}

.wallpaper-summary > * {
  position: relative;
  z-index: 1;
}

@keyframes slowDrift {
  0%   { background-position: center top; }
  50%  { background-position: center bottom; }
  100% { background-position: center top; }
}

.wallpaper-summary {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.wallpaper-summary strong {
  color: inherit; /* übernimmt das Weiß vom Summary */
}



/* ============================= */
/* FOOTER                        */
/* ============================= */

footer {
  background: #000;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 25px 0;       /* gleichmäßiger Abstand */
}

footer .footer-container {
  font-size: 16px;
  line-height: 1.4;      /* normale Lesbarkeit */
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .footer-container p {
  margin: 0;
}

footer .footer-container nav {
  margin-top: 0px;       /* kleiner, konstanter Abstand */
}


/* Footer: sprachabhängige Sichtbarkeit */
.lang-en, .lang-de { display: none; }
:root:lang(en) .lang-en { display: inline; }
:root:lang(de) .lang-de { display: inline; }


/* ============================= */
/* GLOBAL ACCESSIBILITY SETTING  */
/* ============================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}



/* ============================= */
/* ============================= */
/* MOBILE (nur <= 768px)         */
/* ============================= */
@media (max-width: 768px) {

html, body {
    overflow-x: hidden;
  }

/* Desktop-Sprachbutton im Mobile-Layout ausblenden */
#lang-button {
  display: none !important;
}

/* Einheitliches Design für alle mobilen Buttons */
#mobile-button-group a,
#mobile-button-group button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: "Poppins-Bold", sans-serif;
  background: #fdc925;
  color: #000;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0 5px;
  height: 20px;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

#mobile-button-group a:hover,
#mobile-button-group button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}




/* === MOBILE: Gemeinsamer Buttonblock, automatisch mittig === */
#mobile-button-group {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* statt 6px, sauberer Abstand */
  z-index: 5000;
}



/* Sprachmenü Mobile – exakt wie Widescreen */
#lang-menu {
  display: none; /* unsichtbar, bis .show aktiv ist */
  position: fixed;
  top: 70px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  border: 1.5px solid #000;
  border-radius: 10px;
  padding: 4px 6px;
  z-index: 6000;
  gap: 4px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Sichtbar, wenn JavaScript .show hinzufügt */
#lang-menu.show {
  display: flex;
}

/* Buttons im Menü – Widescreen-Stil */
#lang-menu button {
  background: #fdc925;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 1px #000 inset;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lang-menu button:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 0 1px #000 inset, 0 0 6px rgba(0,0,0,0.3);
}


 /* NEU: gemeinsamer, absoluter Button-Wrapper im Hero */
#hero .hero-floating-buttons {
    position: absolute;
    top: 240px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    z-index: 3;
  }

  /* WICHTIG: dieses Element ist der „Rahmen“, in dem BEIDE Buttons stecken */
  #hero .join-community {
    position: static;
    transform: none;
    text-align: center;

    /* NEU: mach aus dem Innenleben eine Spalte */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* NEU: Abstand zwischen Bild-Button und Backgrounds-Button */
    gap: 110px;

    /* NEU: das alte line-height:0 vom Desktop AUSKNIPSEN */
    line-height: normal;
  }

  /* dieses hier bleibt ganz simpel, kein extra margin-top mehr nötig */
  #hero .mobile-wallpapers {
    position: static;
    transform: none;
    display: block;
    text-align: center;
    margin-top: 0;
  }


/*                               */
/* HEADER                        */
/*                               */

#site-header {
  position: fixed; /* bleibt beim Scrollen */
  top: 0;
  left: 0;
  right: 0;
  padding: 10px var(--gutter);
  z-index: 2000;   /* höher als alles andere */
  background: transparent; /* weiterhin kein Balken */
  transition: background 1.5s ease; /* sanfter Übergang */
}


#site-header.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.80) 10%,
    rgba(0, 0, 0, 0) 100%
  );
}

#retailers.qa-list details[open] > *:not(summary) {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}




.br-mobile { display: block; }

 /* Typo & Grundabstände */
  h2 { font-size: clamp(20px, 3vw, 32px); line-height: 1.3; }
  h3 { font-size: clamp(18px, 2.5vw, 26px); line-height: 1.4; }
  p, ul li { font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; }
  p, li {
  font-size: clamp(15px, 1.8vw, 18px); 
  line-height: 1.6;
}

  /* Hero / Header */
  #hero { margin-bottom: 40px; }
  #site-header.scrolled { min-height: 60px; }

 #hero::before {
    left: 20px;
    right: 20px;
  }


.hero-subline {
  left: 30px;
  right: 30px; /* folgt dem inneren Rahmen */
  font-size: clamp(11px, 2.4vw, 15px); /* leicht verkleinert für Balance */
  text-align: center;
  white-space: normal; /* darf umbrechen, aber erst bei echtem Platzmangel */
}


  /* Mobile Nav (Burger) */
  nav#main-nav { position: relative; }
  
#primary-menu {
  display: block;
  flex-direction: column;
  position: absolute;
  top: 65px;
  right: 0;          /* statt left: 0 */
  left: auto;        /* linke Verankerung aus */
  margin-left: 0;    /* alten Versatz killen */
  background: #000;
  border-radius: 10px 0 0 10px;  /* optional: rechts "ankern" */
  padding: 5px;
  width: 160px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  gap: 0px;
  align-items: flex-end; /* Inhalt rechts im Menü */
}
  
  /* alle Menüeinträge mobil verstecken … */
#primary-menu > li {
  display: none;
}

/* … außer dem Sprach-Container */
#primary-menu > #lang-container {
  display: block;
}
  
  
  #primary-menu.show { display: flex; }
  #primary-menu a { font-size: 20px; padding: 5px 8px; }
  #primary-menu .cta { font-size: 20px; padding: 5px 8px; }
  
  
  #primary-menu li {
	margin: 0;  
  line-height: 1.8;   /* oder 1.0, je nach gewünschter Dichte */
}

#primary-menu li:last-child {
  margin-top: 15px; /* Abstand FAQ → CTA */
}

/* schwarzes Kästchen killen – aber rechts verankert lassen */
#site-header .container #main-nav #primary-menu {
  position: absolute !important;
  top: 65px;
  right: 0;
  left: auto;
  background: transparent !important;
  box-shadow: none !important;
  width: 160px;
  padding: 5px;
}
  
  /* Video */
  .video-wrapper iframe {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  
.video-wrapper {
  margin: 4rem 12px;      /* außen Abstand, kein Padding mehr */
  box-sizing: border-box;
}

/* Hero Text – zentriert & kompakt als Logo-Einheit */
.hero-text {
  position: absolute;
  top: 120px; /* ggf. leicht anpassen */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}


.hero-text h2.hero-title{
  font-size: 30px;
  line-height: 0.9;
  margin: 0;
  padding: 0;

  /* ebenfalls Animation/Unsichtbarkeit überstimmen */
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-text p {
  font-size: 12px;
  line-height: 1.0;
  margin-top: 0px;         /* leicht nach oben ziehen */
  text-align: center;
  letter-spacing: 0.05em;   /* optional: optische Balance */
}
  
  .hero-claim {
  position: absolute; /* scrollt jetzt mit dem Hero mit */
  top: 65px; left: 50%;
  transform: translateX(-50%);
  text-align: center; width: 100%;
  font-size: 16px;
}




.why-tags {
    max-width: 100%;
    padding: 0; /* kein Gutter */
  }

.tag-item {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;        /* statt max-width */
  margin-left: auto;
  margin-right: auto;
}

.tag-item img {
  display: block;
  width: 90vw;             /* keine 100vw mehr, sonst „klebt“ es links */
  max-width: 90vw;
  margin: 0 auto;           /* zentriert das Bild */
}


/* Card-Fan kompakter – responsive Variante */
.card-fan {
  max-width: 90vw;       /* dynamische Gesamtbreite */
  height: auto;
  margin: 40px auto;
  position: relative;
}

.card-fan img:nth-child(1) { --tx: calc(-50% - 22vw); --rot: -10deg; width: 28vw; top: 0; }
.card-fan img:nth-child(2) { --tx: calc(-50% - 11vw); --rot:  -5deg; width: 25vw; top: 2vw; }
.card-fan img:nth-child(3) { --tx: -50%;              --rot:   0deg; width: 22vw; top: 4vw; }
.card-fan img:nth-child(4) { --tx: calc(-50% + 11vw); --rot:   5deg; width: 20vw; top: 6vw; }
.card-fan img:nth-child(5) { --tx: calc(-50% + 22vw); --rot:  10deg; width: 18vw; top: 8vw; }

.card-fan img {
  position: absolute;
  left: 50%;
  transform: translateX(var(--tx)) rotate(var(--rot));
  box-shadow: 2.5px 2.5px 3px rgba(0, 0, 0, 0.50);
  border-radius: 6px;

  /* CLS-Fix für korrekte Proportion und kein Reflow */
  width: 100%;
  height: auto;
  max-width: 100%;
  will-change: transform;
}

.card-fan {
  margin: 40px auto;
  max-width: 90vw;
  position: relative;
  min-height: 35vw;   /* sorgt für Abstand zum Text */
}

#cards summary {
  margin: 5px 0; /* gleicher kompakter Abstand */
}

details summary {
    padding: 8px 12px; /* weniger Höhe, etwas schmaler */
    font-size: 20px;   /* leicht verkleinern */
  }
  
details .fx-submenu {
    margin-bottom: 10px; /* frei wählbar */
  }


/* genau 10 Thumbs pro Reihe (mobil) */
.carousel-thumbs { 
  --thumb-gap: 6px; /* entspricht deinem gap */
  justify-content: center;
}

.carousel-thumbs img {
  width: calc((100% - (9 * var(--thumb-gap))) / 10);
  height: auto;
  flex: 0 0 calc((100% - (9 * var(--thumb-gap))) / 10); /* fixe Breite je Item */
}

  /* Carousel Layout (mobil) */
  .carousel-wrapper { padding: 0 6px; }

  /* Weicher & schmaler Fade (überdeckt die Karte nicht mehr stark) */
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 80px;
  }
  .carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 70%);
  }
  .carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 70%);
  }

  .carousel-track {
    gap: 12px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* jede Karte 80% Breite, mittig einrasten */
  .carousel-track .card-wrapper {
    flex: 0 0 80% !important;
    max-width: 80%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
  }

  /* Bildgröße + Rundungen + deutlich leichterer Schatten */
  .carousel-track .card-wrapper img {
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow:  2.5px 2.5px 3px rgba(0,0,0,0.50);
  }

  /* Pfeile etwas kleiner */
  .carousel-btn { width: 42px; height: 42px; }


.tag-note {
  font-size: 1.6rem;
  line-height: 1.0;

}  

/* Individuelle Y-Positionen Mobile steuerbar */
.note-1 { top: 100%; }
.note-2 { top: 100%; }
.note-3 { top: 100%; }
.note-4 { top: 100%; }

 .tag-item { margin-bottom: clamp(80px, 8vw, 64px); }
  



#hero .join-community img {
  display: block;
  margin: 0 auto;
  width: min(38vw, 220px);   /* behält die responsive Breite bei */
  height: auto;              /* verhindert Verzerrung */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #hero .join-community img{ transition: none; }
}

 .mobile-wallpapers {
    display: block;
  }

/* ===== FAQ – Fixes (mobil & schmal) ===== */
#faq{
    grid-template-columns: 1fr;   /* eine Spalte */
    gap: 24px;
    max-width: 92%;
    margin: 0 auto 4em;           /* Grid selbst zentriert */
    justify-items: center;        /* Items mittig im Grid */
    text-align: center;           /* Text zentriert */
  }

  #faq .faq-item{
    align-items: center;          
    width: min(680px, 100%);      /* Blockbreite begrenzen, bleibt mittig */
  }

  /* Frage */
  #faq .faq-item strong{
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.2;
    margin-bottom: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* Antwort */
  #faq .faq-item span{
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }




#how { 
  margin-bottom: 100px !important; 
}
#how .howto-images { 
  padding-bottom: 20px;            /* vorher clamp(...) → viel Luft */
}

/* Direkt folgende FAQ enger an How ranziehen */
#how + #faq {
  margin-top: 12px !important;     /* überschreibt section-Top-Margin */
  padding-top: 0;
}


  #faq.qa-list { text-align:center; }
  #faq.qa-list .q, #faq.qa-list .a { margin-left:auto; margin-right:auto; max-width: 40ch; }

 #resources .logo-center img[alt*="White"] {
    padding: 5px;
  }

#resources.qa-list details[open] > *:not(summary) {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}
  
 .downloads {
    flex-wrap: wrap;           /* Buttons umbrechen statt überlaufen */
    gap: 25px;                 /* kleinerer Abstand für enge Screens */
    padding: 0 10px;           /* minimale Innenluft */
    box-sizing: border-box;    /* rechnet Padding in Gesamtbreite ein */
  } 

/* ============================= */
/* SMARTPHONE BACKGROUNDS – MOBILE (final) */
/* ============================= */


#hero .mobile-wallpapers a {
  display: inline-block;
  outline: none;
}

#hero .mobile-wallpapers img {
  position: relative;   /* >>> absolute vom Hero wegnehmen */
  inset: auto;          /* >>> die 0er-Ränder wieder löschen */

  display: block;
  margin: 0 auto;
  width: min(38vw, 220px);   /* gleiche Breite wie Join */
  height: auto;
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
  filter: drop-shadow(2.5px 2.5px 5px rgba(0,0,0,.50));
}

#hero .mobile-wallpapers a:hover img,
#hero .mobile-wallpapers a:focus-visible img {
  transform: scale(1.06);
}

#hero .mobile-wallpapers a:active img {
  transform: scale(0.99);
}

/* Motion-Respekt */
@media (prefers-reduced-motion: reduce) {
  #hero .mobile-wallpapers img {
    transition: none;
  }
}





/* ============================= */
/* RETAILER SHOPS – MOBILE FIX FINAL (center + unified text) */
/* ============================= */
#haendlerContainer {
  display: flex;
  flex-direction: column;
  align-items: center;     /* zentriert alle Shops horizontal */
  justify-content: center; /* sichert saubere vertikale Balance */
  gap: 12px;               /* gleichmäßiger Abstand zwischen Shops */
}

#haendlerContainer .store-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px; /* minimale visuelle Luft */
  text-align: center;
  width: 100%;
  max-width: 200px;
  
}

#haendlerContainer .store-logo {
  display: flex;
  align-items: flex-end; /* drückt Bild nach unten, Text direkt drunter */
  justify-content: center;
  margin: 0;
  padding: 0;
}

#haendlerContainer .store-logo img {
  width: 70%;
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#haendlerContainer .store-text {
  font-size: 15px;        /* einheitliche Größe für Name + Stadt */
  line-height: 1.2;
  text-align: center;
  margin: 0;
  pointer-events: none;
}

#haendlerContainer .store-text .store-city {
  font-size: inherit;     /* gleiche Schriftgröße wie Name */
}


/* ============================= */
/* MONSTEREMAILADRESSENANPASSUNG */
/* ============================= */

#retailers p[data-i18n="retailers.text"] {
  font-size: 0.9rem;       /* gezielt nur dieser Absatz */
  line-height: 1.4;
  word-break: break-word;
}

#press p[data-i18n="press.text"] {
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wallpaper-preview {
  width: auto;
  max-width: 100%;
}

  

/* ============================= */
/* FOOTER – MOBILE ANPASSUNG     */
/* ============================= */
footer .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  gap: 10px; /* Abstand zwischen Text und Links */
}

footer nav {
  display: flex;
  flex-wrap: wrap;      /* bricht bei Platzmangel um */
  justify-content: center;
  gap: 8px 12px;        /* vertikal / horizontaler Abstand */
  white-space: normal;  /* erlaubt Zeilenumbruch */
}

footer nav .divider {
  display: none;        /* trennt mobil nicht mit | */
}

footer nav a {
  font-size: 14px;
  text-decoration: none;
}

footer p {
  margin: 0;
  font-size: 14px;
}













}

/* ============================= */
/* ====== ENDE MOBILE BLOCK ==== */
/* ============================= */

