/* =========================================================
   ALLPOT FUTSCH
   Joomla 6 / Cassiopeia
   ========================================================= */


/* =========================================================
   1. SCHRIFTEN
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;700&display=swap");

@font-face {
  font-family: "CrudAF";
  src:
    url("/punk-rock/templates/cassiopeia/fonts/CrudFont-af.woff2?v=4") format("woff2"),
    url("/punk-rock/templates/cassiopeia/fonts/CrudFont-af.woff?v=4") format("woff"),
    url("/punk-rock/templates/cassiopeia/fonts/CrudFont-af.ttf?v=4") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   2. JOOMLA GRUNDFARBEN
   ========================================================= */

:root {
  --cassiopeia-color-primary: #ba0101;
  --cassiopeia-color-link: #ba0101;
  --cassiopeia-color-hover: #ba0101;
}


/* =========================================================
   3. LINKS
   ========================================================= */

a {
  color: #ba0101;
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}


/* =========================================================
   4. GLOBALE ÜBERSCHRIFTEN
   ========================================================= */

h1,
h2,
h3 {
  font-family: "CrudAF", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: uppercase;
  color: #ba0101;
}

h1 {
  font-size: 4em;
}


/* =========================================================
   5. BREADCRUMB
   ========================================================= */

/*
   Der Hintergrund und die Höhe werden auf dem äusseren
   Joomla-Modul erzeugt. Die innere Liste ist transparent.
*/

.mod-breadcrumbs {
  display: flex !important;
  align-items: center !important;

  width: 100% !important;
  height: 35px !important;
  min-height: 35px !important;

  margin-top: -25px !important;
  margin-bottom: 0 !important;

  padding: 0 30px !important;

  box-sizing: border-box !important;

  background-color: #ba0101 !important;
  background-image: url("/punk-rock/images/menu/AF-breadcrumb-bg.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  color: #ffffff !important;
  overflow: visible !important;
}


/* Innere Joomla-Breadcrumb-Liste */

.mod-breadcrumbs .breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;

  width: 100% !important;
  height: 70px !important;
  min-height: 70px !important;

  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  border: 0 !important;
  border-radius: 0 !important;

  color: #ffffff !important;

  font-size: 0.8rem !important;
  line-height: 1 !important;

  list-style: none !important;
}


/* "Position:" */

.mod-breadcrumbs__here {
  display: inline-flex !important;
  align-items: center !important;

  height: auto !important;
  min-height: 0 !important;

  margin: 0 8px 0 0 !important;
  padding: 0 !important;

  background: transparent !important;

  color: #ffffff !important;

  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  vertical-align: middle !important;
}


/* Einzelne Breadcrumb-Einträge */

.mod-breadcrumbs .breadcrumb-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;

  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  color: #ffffff !important;

  font-size: inherit !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  vertical-align: middle !important;
}


/* Breadcrumb-Links */

.mod-breadcrumbs .breadcrumb-item a,
.mod-breadcrumbs .breadcrumb-item .pathway {
  display: inline-flex !important;
  align-items: center !important;

  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  color: #ffffff !important;

  font-size: inherit !important;
  line-height: 1 !important;

  text-decoration: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.mod-breadcrumbs .breadcrumb-item a:hover,
.mod-breadcrumbs .breadcrumb-item .pathway:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}


/* Trennzeichen zwischen Breadcrumbs */

.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "|" !important;

  display: inline-flex !important;
  align-items: center !important;
  float: none !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 10px !important;

  color: #ffffff !important;

  font-size: inherit !important;
  line-height: 1 !important;

  vertical-align: middle !important;
}


/* Kein Trennzeichen direkt nach "Position:" */

.mod-breadcrumbs .breadcrumb-item:nth-child(2)::before {
  content: none !important;
  display: none !important;
}


/* Alle Breadcrumb-Inhalte weiss */

.mod-breadcrumbs,
.mod-breadcrumbs *,
.mod-breadcrumbs *::before {
  color: #ffffff !important;
}


/* Mobile Breadcrumb-Darstellung */

@media (max-width: 767px) {
  .mod-breadcrumbs {
    height: 60px !important;
    min-height: 60px !important;

    padding: 0 15px !important;

    background-color: #ba0101 !important;
    background-image: none !important;
  }

  .mod-breadcrumbs .breadcrumb {
    height: 60px !important;
    min-height: 60px !important;

    font-size: 0.8rem !important;
  }
}


/* =========================================================
   6. STANDARD-JOOMLA-ELEMENTE
   ========================================================= */

.card-header {
  color: #ba0101;
}

#top-a .newsflash {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#top-a .newsflash .newsflash_item {
  width: 32%;
  box-sizing: border-box;
}


/* =========================================================
   7. RESPONSIVE VIDEOS
   ========================================================= */

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================================================
   8. BANNER
   ========================================================= */

#mod-custom172 {
  margin-bottom: -25px !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   9. SCROLL-TO-TOP
   ========================================================= */

#back-top::after {
  content: "Embrüf";
  position: absolute;
  right: 0;
  bottom: 50px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#back-top:hover::after {
  opacity: 1;
}


/* =========================================================
   10. DISKOGRAFIE BASIS
   ========================================================= */

.afx {
  --red: #ba0101;
  --ink: #16110f;
  --bg: #ffffff;
  --fg: #16110f;
  --soft: #f1ecec;

  --hd: "CrudAF", Arial, sans-serif;
  --bd: "Archivo", system-ui, "Segoe UI", Arial, sans-serif;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;

  position: relative;
  overflow-x: clip;

  box-sizing: border-box;

  background: var(--bg);
  color: var(--fg);

  font-family: var(--bd);
  line-height: 1.5;
}

.afx,
.afx * {
  box-sizing: border-box;
}

.afx .hero,
.afx .stats,
.afx .rel,
.afx .note {
  margin-left: 0;
}

.afx button {
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.afx :focus-visible {
  outline: 3px solid #ffd400;
  outline-offset: 3px;
}

html {
  scroll-padding-top: 20px;
  scroll-behavior: smooth;
}


/* =========================================================
   11. HERO
   ========================================================= */

.afx .hero {
  position: relative;

  width: 100%;
  height: 460px !important;
  min-height: 460px !important;

  margin: 0;
  padding: 0;

  background: var(--red);
  color: #ffffff;

  overflow: hidden;
  isolation: isolate;
}


/* =========================================================
   12. VERTIKALES BEWEGLICHES ALLPOT FUTSCH
   ========================================================= */

.afx #h1 {
  position: absolute;

  left: 55px;
  top: 50%;

  z-index: 20;

  margin: 0;
  padding: 0;

  transform: translateY(-50%);

  display: flex;
  flex-direction: row;
  gap: 2px;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 46px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  pointer-events: none;
}

.afx #h1 .row {
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  width: 50px;

  margin: 0;
  padding: 0;

  font-family: "CrudAF", Arial, sans-serif !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.afx #h1 .l {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  margin: -3px 0;
  padding: 0;

  font-family: "CrudAF", Arial, sans-serif !important;

  color: #ffffff !important;

  transition: transform 0.25s ease-out;
  will-change: transform;
}

.afx #h1 .l i {
  display: block;

  margin: 0;
  padding: 0;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 46px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  text-align: center;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  opacity: 0;

  transform:
    translateY(-130%)
    rotate(var(--r));

  animation:
    afx-drop
    0.7s
    cubic-bezier(0.3, 1.6, 0.5, 1)
    forwards;

  animation-delay: calc(var(--n) * 55ms);
}

@keyframes afx-drop {
  to {
    transform: none;
    opacity: 1;
  }
}


/* =========================================================
   13. HERO-INHALT
   ========================================================= */

.afx .hero-content {
  position: relative;

  z-index: 3;

  height: 100%;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: flex-start;

  padding-left: 20vw;
  padding-right: 40vw;
}

.afx .hero p.lead {
  position: relative;

  z-index: 3;

  max-width: 34ch;

  margin: 0 0 2rem;

  font-family: var(--bd);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.5;

  color: #ffffff !important;
}


/* =========================================================
   14. HERO-BUTTON
   ========================================================= */

.afx .btn {
  position: relative;

  z-index: 5;

  display: inline-block;

  padding: 0.8rem 1.4rem;

  background: #ffffff;
  color: var(--red);

  border: 3px solid #ffffff;
  border-radius: 0;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;

  letter-spacing: 0.04em;

  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.15s,
    background 0.15s,
    color 0.15s;
}

.afx .btn:hover,
.afx .btn:focus {
  transform: rotate(-2deg) scale(1.05);

  background: var(--ink);
  color: #ffffff;

  border-color: var(--ink);

  text-decoration: none;
}


/* =========================================================
   15. SCHALLPLATTE IM HERO
   ========================================================= */

.afx .vinyl {
  position: absolute;

  z-index: 1;

  right: 3vw;
  top: 50%;

  width: 400px;
  height: 400px;

  margin: 0;

  transform:
    translateY(-50%)
    rotate(0deg);

  border-radius: 50%;

  cursor: grab;

  background:
    repeating-radial-gradient(
      circle,
      #161616 0 2px,
      #050505 2px 5px
    );

  box-shadow:
    0 20px 60px
    rgba(0, 0, 0, 0.45);

  will-change: transform;
}

.afx .vinyl::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 50%;

  background:
    conic-gradient(
      from 20deg,
      transparent 0 10%,
      rgba(255, 255, 255, 0.16) 14%,
      transparent 20% 60%,
      rgba(255, 255, 255, 0.12) 64%,
      transparent 70%
    );
}

.afx .vinyl .lab {
  position: absolute;
  inset: 34%;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #ffffff;
  color: var(--red);

  text-align: center;
  text-transform: uppercase;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: clamp(0.8rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1;
}

.afx .vinyl .lab::after {
  content: "";

  position: absolute;

  width: 6%;
  aspect-ratio: 1;

  border-radius: 50%;

  background: var(--red);
}


/* =========================================================
   16. LAUFTEXT
   ========================================================= */

.afx .ticker {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 5;

  padding: 0.7rem 0;

  overflow: hidden;
  white-space: nowrap;

  background: var(--ink);
  color: #ffffff;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 1.3rem;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.afx .ticker div {
  display: inline-block;
  animation: afx-tick 28s linear infinite;
}

@keyframes afx-tick {
  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   17. STATISTIK
   ========================================================= */

.afx .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 1rem;

  padding: 3rem 5vw;

  border-bottom: 4px solid var(--red);
}

.afx .stats strong {
  display: block;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 1;

  color: var(--red);
}

.afx .stats span {
  display: block;

  margin-top: 0.65rem;

  font-family:
    "Archivo",
    system-ui,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 700 !important;
  line-height: 1.3;

  color: #16110f !important;

  text-transform: none;
}


/* =========================================================
   18. RELEASE-BEREICH
   ========================================================= */

.afx .rel {
  padding: 4rem 5vw 6rem;

  background: #ffffff !important;
  color: #16110f !important;
}

.afx .rel h2 {
  margin: 0 0 1.5rem;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 0.95;

  text-transform: uppercase;

  color: #ba0101 !important;
  -webkit-text-fill-color: #ba0101 !important;
}


/* =========================================================
   19. FILTER
   ========================================================= */

.afx .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 0.6rem;

  margin-bottom: 2.5rem;

  color: #16110f;
}

.afx .chip {
  padding: 0.4rem 1rem;

  border: 2px solid #16110f !important;
  border-radius: 99px;

  background: #ffffff !important;
  color: #16110f !important;

  font-weight: 700;

  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}

.afx .chip:hover {
  transform: translateY(-2px);

  background: #ba0101 !important;
  color: #ffffff !important;
  border-color: #ba0101 !important;
}

.afx .chip[aria-pressed="true"] {
  background: #ba0101 !important;
  color: #ffffff !important;
  border-color: #ba0101 !important;
}

.afx .chip.rand {
  margin-left: auto;

  border-style: dashed;

  background: #16110f !important;
  color: #ffffff !important;
}

.afx .chip.rand:hover {
  background: #ba0101 !important;
  border-color: #ba0101 !important;
}


/* =========================================================
   20. RELEASE-RASTER
   ========================================================= */

.afx .grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(250px, 1fr)
    );

  gap: 3rem 2rem;
  perspective: 1100px;
}

.afx .sleeve {
  position: relative;

  padding: 0;

  border: 0;

  background: transparent !important;

  text-align: left;

  opacity: 0;

  transform:
    translateY(60px)
    rotate(var(--tr, 0deg));

  transition:
    opacity 0.6s,
    transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2),
    filter 0.3s;
}

.afx .sleeve.in {
  opacity: 1;
  transform: rotate(0);
}

.afx .sleeve.hide {
  display: none;
}

.afx .sleeve:focus-visible,
.afx .chip:focus-visible {
  outline: 3px solid #ba0101 !important;
  outline-offset: 4px;
}

.afx .tilt {
  display: block;

  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));

  transition: transform 0.15s;
  transform-style: preserve-3d;
}


/* =========================================================
   21. VINYL HINTER COVER
   ========================================================= */

.afx .rec {
  position: absolute;

  top: 4%;
  left: 4%;

  width: 92%;
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle,
      #161616 0 2px,
      #050505 2px 5px
    );

  box-shadow:
    0 8px 20px
    rgba(0, 0, 0, 0.4);

  transition:
    transform
    0.5s
    cubic-bezier(0.3, 1.3, 0.5, 1);
}

.afx .rec::after {
  content: "";

  position: absolute;
  inset: 36%;

  border-radius: 50%;

  background: var(--red);
}

.afx .sleeve:hover .rec,
.afx .sleeve:focus-visible .rec {
  transform:
    translateX(38%)
    rotate(120deg);
}


/* =========================================================
   22. COVER
   ========================================================= */

.afx .cover {
  position: relative;
  display: block;

  aspect-ratio: 1;

  overflow: hidden;

  padding: 1rem;

  background:
    linear-gradient(
      135deg,
      var(--a),
      var(--b)
    );

  color: var(--t);

  box-shadow:
    8px 8px 0
    var(--red);
}

.afx .cover.img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.afx .cover .yr {
  position: absolute;

  right: -4%;
  bottom: -8%;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 9rem;
  font-weight: 400;
  line-height: 1;

  opacity: 0.9;
}

.afx .cover .ring {
  position: absolute;

  width: 70%;
  aspect-ratio: 1;

  left: -18%;
  top: -14%;

  border: 14px solid currentColor;
  border-radius: 50%;

  opacity: 0.35;

  animation:
    afx-pulse
    4s
    ease-in-out
    infinite;
}

.afx .cover .nm {
  position: relative;

  max-width: 8ch;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;

  text-transform: uppercase;
}

@keyframes afx-pulse {
  50% {
    transform: scale(1.18);
  }
}


/* =========================================================
   23. RELEASE-METADATEN
   ========================================================= */

.afx .meta {
  display: block;

  margin-top: 1.2rem;

  color: #16110f !important;

  font-weight: 700;
}

.afx .meta small {
  display: block;

  color: #666666 !important;

  font-weight: 400;
  opacity: 1;
}


/* =========================================================
   24. RELEASE-DIALOG
   ========================================================= */

.afx .deck {
  position: fixed;
  inset: 0;

  z-index: 2000;

  display: none;
  place-items: center;

  padding: 1rem;

  background: rgba(10, 5, 5, 0.82);
  backdrop-filter: blur(6px);
}

.afx .deck.open {
  display: grid;
  animation: afx-fade 0.25s;
}

@keyframes afx-fade {
  from {
    opacity: 0;
  }
}

.afx .pnl {
  position: relative;

  width: min(920px, 100%);
  max-height: calc(100svh - 2rem);

  overflow: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.1fr);

  background: #ffffff;
  color: #16110f;

  border: 4px solid var(--red);

  animation:
    afx-pop
    0.45s
    cubic-bezier(0.2, 1.3, 0.4, 1);
}

@keyframes afx-pop {
  from {
    transform:
      scale(0.8)
      rotate(-3deg);

    opacity: 0;
  }
}


/* =========================================================
   25. DIALOG-COVER
   ========================================================= */

.afx .stage {
  position: relative;

  display: grid;
  place-items: center;

  min-height: 280px;

  padding: 2rem;

  overflow: hidden;

  background: var(--red);
}

.afx .stage .cover {
  position: relative;

  z-index: 2;

  width: 62%;

  box-shadow:
    6px 6px 0
    var(--ink);
}

.afx .stage .disc {
  position: absolute;

  right: -8%;

  width: 66%;
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle,
      #161616 0 2px,
      #050505 2px 5px
    );
}

.afx .stage .disc::after {
  content: "";

  position: absolute;
  inset: 36%;

  border-radius: 50%;

  background: #ffffff;
}


/* =========================================================
   26. DIALOG-INFORMATIONEN
   ========================================================= */

.afx .info {
  padding: 1.6rem;
}

.afx .info h3 {
  margin: 0;

  font-family: "CrudAF", Arial, sans-serif !important;
  font-size: 2.4rem;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1;

  text-transform: uppercase;

  color: var(--red);
}

.afx .info .sub {
  margin: 0.3rem 0 1rem;
  opacity: 0.7;
}


/* =========================================================
   27. TRACKLISTE
   ========================================================= */

.afx .tl {
  margin: 0;

  padding-left: 1.8rem;

  list-style-position: outside;
}

.afx .tl li {
  padding: 0.55rem 0.3rem;

  border-top:
    1px solid
    rgba(22, 17, 15, 0.18);

  color: #16110f;
}

.afx .track-title {
  color: #16110f;
}


/* =========================================================
   28. RELEASE-LINKS / BUTTONS
   ========================================================= */

.afx .release-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 12px;

  margin-top: 20px;
  padding-top: 20px;

  border-top:
    1px solid
    rgba(22, 17, 15, 0.18);
}


/* Buttons */

.afx .release-link {
  display: inline-flex !important;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  margin: 0 !important;
  padding: 10px 18px !important;

  box-sizing: border-box;

  border: 2px solid #ba0101 !important;
  border-radius: 5px;

  background: #ba0101 !important;
  background-color: #ba0101 !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  font-family:
    "Archivo",
    system-ui,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  text-decoration: none !important;
  white-space: nowrap;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


/* Hover */

.afx .release-link:hover,
.afx .release-link:focus {
  background: #16110f !important;
  background-color: #16110f !important;

  border-color: #16110f !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  text-decoration: none !important;

  transform: translateY(-2px);
}


/* Tastaturfokus */

.afx .release-link:focus-visible {
  outline: 3px solid #ffd400;
  outline-offset: 3px;
}


/* Mobile */

@media (max-width: 720px) {

  .afx .release-links {
    flex-direction: column;
    align-items: stretch;

    gap: 8px;
  }

  .afx .release-link {
    width: 100%;
    white-space: normal;
  }
}

/* =========================================================
   29. SCHLIESSEN-BUTTON
   ========================================================= */

.afx .x {
  position: absolute;

  top: 0.6rem;
  right: 0.6rem;

  z-index: 5;

  width: 2.4rem;
  height: 2.4rem;

  padding: 0;

  border: 0;

  background: var(--ink);
  color: #ffffff;

  font-size: 1.2rem;
}


/* =========================================================
   30. BEWEGUNGSSCHALTER
   ========================================================= */

.afx .mot {
  position: fixed !important;

  right: 70px !important;
  bottom: 10px !important;
  top: auto !important;

  z-index: 999;

  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;

  height: 22px !important;
  min-height: 0 !important;
  max-height: 22px !important;

  margin: 0 !important;
  padding: 0 7px !important;

  border:
    1px solid
    rgba(255, 255, 255, 0.3);

  border-radius: 4px;

  background: rgba(20, 17, 16, 0.72);
  color: #ffffff;

  font-size: 9px !important;
  font-weight: 700;
  line-height: 1 !important;

  white-space: nowrap;

  opacity: 0.7;
}

.afx .mot:hover {
  background: #ba0101;
  opacity: 1;
}


/* =========================================================
   31. ALTE PLAYER-STEUERUNG AUSBLENDEN
   ========================================================= */

.afx .ctl,
.afx .prog {
  display: none !important;
}


/* =========================================================
   32. MOBILE
   ========================================================= */

@media (max-width: 720px) {
  .afx .hero {
    width: 100%;

    height: 380px !important;
    min-height: 380px !important;

    padding: 0;
  }

  .afx #h1 {
    left: 8vw;
    top: 50%;

    font-size:
      clamp(30px, 8vw, 44px) !important;
  }

  .afx .hero-content {
    padding-left: 35vw;
    padding-right: 5vw;
  }

  .afx .hero p.lead {
    max-width: 22ch;

    margin-bottom: 1.4rem;

    font-size: 0.9rem;
  }

  .afx .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }

  .afx .vinyl {
    right: -150px;
    top: 50%;

    width: 300px;
    height: 300px;

    transform:
      translateY(-50%)
      rotate(0deg);
  }

  .afx .stats {
    grid-template-columns: 1fr;
    padding: 2.2rem 5vw;
  }

  .afx .stats span {
    margin-top: 0.4rem;
    font-size: 0.95rem;
  }

  .afx .chip.rand {
    margin-left: 0;
  }

  .afx .pnl {
    grid-template-columns: 1fr;
  }

  .afx .grid {
    grid-template-columns:
      repeat(
        auto-fill,
        minmax(200px, 1fr)
      );
  }
}


/* =========================================================
   33. BEWEGUNG DEAKTIVIERT
   ========================================================= */

html[data-motion="off"] .afx *,
html[data-motion="off"] .afx *::before,
html[data-motion="off"] .afx *::after {
  animation: none !important;
  transition: none !important;
}

html[data-motion="off"] .afx #h1 .l i,
html[data-motion="off"] .afx .sleeve {
  opacity: 1;
  transform: none;
}





/* ==========================================================
   ALLPOT FUTSCH COVERFLOW
   ==========================================================

   Darstellung:
   - maximale Breite: 800 px
   - Höhe: 300 px
   - zwei Reihen
   - quadratische Cover
   - automatische Bewegung wird durch user.js gesteuert
   - Pause und Vergrösserung beim Darüberfahren

   ========================================================== */


/* ----------------------------------------------------------
   1. GRUNDEINSTELLUNGEN
   ---------------------------------------------------------- */

.af-coverflow {
    /*
     * Zentrale Grössen- und Farbeinstellungen.
     * Diese Werte können später einfach angepasst werden.
     */

    --af-cover-size: 132px;
    --af-cover-gap: 10px;
    --af-row-gap: 10px;
    --af-flow-height: 300px;
    --af-flow-background: #000000;
    --af-focus-color: #ba0101;

    position: relative;

    /*
     * Das Modul nutzt die verfügbare Breite,
     * wird aber höchstens 800 px breit.
     */

    width: 100%;
    max-width: 1400px;
    height: var(--af-flow-height);

    /*
     * Horizontal zentrieren.
     */

    margin: 0 auto;

    /*
     * Alles ausserhalb des Moduls ausblenden.
     */

    overflow: hidden;

    background-color: var(--af-flow-background);

    box-sizing: border-box;
    isolation: isolate;
}


/* ----------------------------------------------------------
   2. SICHTBARER BEREICH
   ---------------------------------------------------------- */

.af-coverflow__stage {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: var(--af-row-gap);

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* ----------------------------------------------------------
   3. EINZELNE COVER-REIHE
   ---------------------------------------------------------- */

.af-coverflow__row {
    position: relative;

    width: 100%;
    height: var(--af-cover-size);

    flex: 0 0 var(--af-cover-size);

    overflow: hidden;
}


/* ----------------------------------------------------------
   4. BEWEGTES LAUFBAND
   ---------------------------------------------------------- */

.af-coverflow__track {
    display: flex;
    align-items: center;

    width: max-content;
    height: var(--af-cover-size);

    /*
     * Ausgangsposition.
     * Die laufende Position wird durch user.js gesetzt.
     */

    transform: translate3d(0, 0, 0);

    /*
     * Browser auf die laufende Bewegung vorbereiten.
     */

    will-change: transform;
}


/* ----------------------------------------------------------
   5. COVER-GRUPPE
   ----------------------------------------------------------

   Jede Reihe besteht aus zwei identischen Gruppen.
   Dadurch entsteht der nahtlose Endloslauf.
   ---------------------------------------------------------- */

.af-coverflow__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;

    gap: var(--af-cover-gap);

    /*
     * Zusätzlicher Abstand am Ende der Gruppe.
     * Dieser entspricht dem normalen Abstand
     * zwischen zwei Covers.
     */

    padding-right: var(--af-cover-gap);

    height: var(--af-cover-size);

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   6. ANKLICKBARER COVER-LINK
   ---------------------------------------------------------- */

.af-coverflow__item {
    position: relative;

    display: block;

    flex: 0 0 var(--af-cover-size);

    width: var(--af-cover-size);
    height: var(--af-cover-size);

    margin: 0;
    padding: 0;

    overflow: hidden;

    background-color: #171717;

    border: 0;
    border-radius: 0;

    box-sizing: border-box;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    /*
     * Eigene Render-Ebene für eine ruhige Animation.
     */

    transform: translateZ(0);

    /*
     * Verhindert unerwünschte Joomla-Linkeffekte.
     */

    box-shadow: none;
}


/* Joomla-Linkdarstellung innerhalb des Coverflows neutralisieren */

.af-coverflow__item:link,
.af-coverflow__item:visited,
.af-coverflow__item:hover,
.af-coverflow__item:active {
    color: inherit;
    text-decoration: none;
}


/* ----------------------------------------------------------
   7. COVERBILD
   ---------------------------------------------------------- */

.af-coverflow__image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    /*
     * Das Bild füllt das Quadrat vollständig aus.
     */

    object-fit: cover;
    object-position: center;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    filter: none;

    transform: scale(1);

    transition:
        transform 180ms ease,
        filter 180ms ease,
        opacity 180ms ease;

    user-select: none;

    -webkit-user-drag: none;
}


/* ----------------------------------------------------------
   8. HOVER-EFFEKT
   ----------------------------------------------------------

   Wenn die Maus über einem Cover liegt:
   - Das Laufband wird durch user.js pausiert.
   - Das Cover wird leicht vergrössert.
   - Das Cover wird leicht aufgehellt.
   ---------------------------------------------------------- */

.af-coverflow__item:hover .af-coverflow__image {
    transform: scale(1.06);
    filter: brightness(1.08);
}


/* ----------------------------------------------------------
   9. TASTATURFOKUS
   ----------------------------------------------------------

   Der rote Rahmen zeigt, welches Cover mit der
   Tastatur ausgewählt ist.
   ---------------------------------------------------------- */

.af-coverflow__item:focus {
    z-index: 2;

    outline: 3px solid var(--af-focus-color);
    outline-offset: -3px;
}


/*
 * Den Fokusrahmen bei Mausklick ausblenden,
 * sofern der Browser :focus-visible unterstützt.
 */

.af-coverflow__item:focus:not(:focus-visible) {
    outline: none;
}


/*
 * Fokusrahmen bei Tastaturbedienung anzeigen.
 */

.af-coverflow__item:focus-visible {
    z-index: 2;

    outline: 3px solid var(--af-focus-color);
    outline-offset: -3px;
}


/* ----------------------------------------------------------
   10. SEITLICHE ABDUNKLUNG
   ----------------------------------------------------------

   Die leichte Abdunklung an beiden Seiten zeigt,
   dass die Covers in das Modul hinein- und
   wieder hinauslaufen.
   ---------------------------------------------------------- */

.af-coverflow::before,
.af-coverflow::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    z-index: 5;

    width: 24px;

    pointer-events: none;
}


/* Linker Rand */

.af-coverflow::before {
    left: 0;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.70),
        rgba(0, 0, 0, 0)
    );
}


/* Rechter Rand */

.af-coverflow::after {
    right: 0;

    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.70),
        rgba(0, 0, 0, 0)
    );
}


/* ----------------------------------------------------------
   11. FEHLENDES COVERBILD
   ----------------------------------------------------------

   Falls eine Bilddatei nicht gefunden wird,
   fügt user.js die Klasse
   .af-coverflow__item--error hinzu.
   ---------------------------------------------------------- */

.af-coverflow__item--error {
    background:
        linear-gradient(
            135deg,
            #2a2a2a 0%,
            #2a2a2a 45%,
            #ba0101 45%,
            #ba0101 55%,
            #2a2a2a 55%,
            #2a2a2a 100%
        );
}


/*
 * Das defekte Bildsymbol des Browsers ausblenden.
 */

.af-coverflow__item--error .af-coverflow__image {
    opacity: 0;
}


/* ----------------------------------------------------------
   12. FALLBACK-TEXT
   ----------------------------------------------------------

   Der Text ist nur sichtbar, wenn JavaScript
   nicht ausgeführt wird oder noch nicht geladen ist.
   ---------------------------------------------------------- */

.af-coverflow__fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 20px;

    box-sizing: border-box;

    color: #ffffff;
    background-color: #000000;

    font-size: 16px;
    line-height: 1.4;

    text-align: center;
}


/* ----------------------------------------------------------
   13. PAUSIERTER ZUSTAND
   ----------------------------------------------------------

   Die Klasse wird durch user.js gesetzt.
   Sie dient vor allem als Statusklasse und kann
   später für weitere Effekte verwendet werden.
   ---------------------------------------------------------- */

.af-coverflow--paused {
    cursor: default;
}


/* ----------------------------------------------------------
   14. REDUZIERTE BEWEGUNG
   ----------------------------------------------------------

   Falls im Betriebssystem "Bewegungen reduzieren"
   aktiviert ist, wird die automatische Bewegung
   ausgeschaltet.

   Die Reihen können dann horizontal gescrollt werden.
   ---------------------------------------------------------- */

.af-coverflow--reduced-motion {
    overflow-x: auto;
}


/*
 * Horizontales Scrollen der einzelnen Reihen erlauben.
 */

.af-coverflow--reduced-motion .af-coverflow__row {
    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;
    scrollbar-color: #ba0101 #171717;
}


/*
 * Die für die automatische Endlosschleife erzeugte
 * zweite Gruppe wird im reduzierten Modus ausgeblendet.
 */

.af-coverflow--reduced-motion
.af-coverflow__group[aria-hidden="true"] {
    display: none;
}


/*
 * Scrollbar für Chrome, Edge und Safari.
 */

.af-coverflow--reduced-motion
.af-coverflow__row::-webkit-scrollbar {
    height: 6px;
}

.af-coverflow--reduced-motion
.af-coverflow__row::-webkit-scrollbar-track {
    background-color: #171717;
}

.af-coverflow--reduced-motion
.af-coverflow__row::-webkit-scrollbar-thumb {
    background-color: #ba0101;
}


/* ----------------------------------------------------------
   15. TABLET
   ----------------------------------------------------------

   Auf kleineren Bildschirmen werden die Covers
   und die Gesamthöhe proportional verkleinert.
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .af-coverflow {
        --af-cover-size: 118px;
        --af-cover-gap: 8px;
        --af-row-gap: 8px;
        --af-flow-height: 260px;
    }

}


/* ----------------------------------------------------------
   16. SMARTPHONE
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .af-coverflow {
        --af-cover-size: 100px;
        --af-cover-gap: 7px;
        --af-row-gap: 7px;
        --af-flow-height: 220px;
    }


    /*
     * Randabdunklung auf kleinen Bildschirmen reduzieren.
     */

    .af-coverflow::before,
    .af-coverflow::after {
        width: 14px;
    }

}


/* ----------------------------------------------------------
   17. SEHR KLEINE SMARTPHONES
   ---------------------------------------------------------- */

@media (max-width: 360px) {

    .af-coverflow {
        --af-cover-size: 90px;
        --af-cover-gap: 6px;
        --af-row-gap: 6px;
        --af-flow-height: 200px;
    }

}


/* ----------------------------------------------------------
   18. BETRIEBSSYSTEM-EINSTELLUNG
       "BEWEGUNG REDUZIEREN"
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    /*
     * Zusätzliche Bildanimation ausschalten.
     */

    .af-coverflow__image {
        transition: none;
    }

}