:root {
  --bg: #f6f4ef;
  --paper: #ffffff;
  --ink: #171717;
  --header: #101821;
  --muted: #6f6a63;
  --line: rgba(23, 23, 23, 0.14);
  --red: #d71920;
  --green: #37785e;
  --gold: #c7a761;
  --shadow: 0 22px 70px rgba(23, 23, 23, 0.14);
  --display-font: Haettenschweiler, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

section[id] { scroll-margin-top: 80px; }
.section-action { margin-top: 24px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.project-button { padding: 28px 22px; border: 1px solid #ffffff40; border-radius: 8px; background: #ffffff14; color: #fff; text-align: left; font: inherit; font-weight: 800; cursor: pointer; backdrop-filter: blur(2px); overflow-wrap: anywhere; }
.project-button span { display: block; margin-top: 12px; font-weight: 400; }
.project-button:hover { background: #ffffff28; }
.video-library { margin-top: 48px; }
.video-library h3 { margin-top: 28px; }
.latest-video { margin-top: 20px; padding: 28px 0; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin: 20px 0; }
.content-dialog { width: min(800px, calc(100% - 32px)); max-height: 85dvh; padding: 52px 28px 28px; border: 1px solid #ffffff40; border-radius: 8px; background: #101821; color: white; }
.content-dialog h2 { font-size: 2.5rem; overflow-wrap: anywhere; }
.content-dialog::backdrop { background: #0009; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: white; font-size: 30px; cursor: pointer; }
.dialog-open { overflow: hidden; }
@media (min-width: 801px) and (max-width: 1200px) { .nav { gap: 12px; } .nav-links { gap: 10px; font-size: 1rem; } .brand-image { max-width: 140px; } }
@media (max-width: 800px) { .project-grid { grid-template-columns: 1fr; } }

.nebula-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #111;
  transform: translateZ(0);
}

.nebula-layer {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}

.nebula-back {
  inset: 0;
  background-image: url("../images/nebula-back.png");
}

.nebula-mid {
  background-image: url("../images/nebula-mid.png");
  opacity: 0.82;
  animation: nebulaMidPulse 24s ease-in-out infinite;
}

.nebula-front {
  background-image: url("../images/nebula-front.png");
  opacity: 0.68;
  animation: nebulaFrontPulse 17s ease-in-out infinite;
}

main {
  position: relative;
  z-index: auto;
  padding-top: 96px;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  min-height: 96px;
  margin: 0 auto;
  transition: min-height 180ms ease;
}

@media (min-width: 1200px) {
  .nav {
    width: min(1500px, calc(100% - 96px));
  }
}

.site-header.is-scrolled .nav {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-image {
  width: 200px;
  height: auto;
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand-image {
  width: 150px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: 1px;
  width: 0;
  height: 3px;
  background: currentColor;
  transition: width 240ms ease-in-out;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--muted);
  color: #fff;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-links .nav-shop::after {
  content: none;
}

.nav-links .nav-shop:hover {
  background: #000;
  color: #fff;
}

.button.shop-open {
  width: fit-content;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #000;
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.button.shop-open:hover,
.button.shop-open:focus-visible { background: #ff3ea5; border-color: #ff3ea5; color: #fff; }

.nav-shop svg,
.shop-open svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-rock {
  position: absolute;
  z-index: 30;
  width: var(--rock-size);
  aspect-ratio: 1;
  opacity: 1;
  pointer-events: auto;
  transform:
    translate3d(
      var(--rock-x, 0px),
      var(--rock-y, 0px),
      0
    )
    rotate(var(--rock-rotate, 0deg));
  will-change: transform;
}

.rock-visual {
  position: absolute;
  inset: 0;
  display: block;
  transform: translate3d(var(--rock-nudge-x, 0px), var(--rock-nudge-y, 0px), 0);
  transition: transform 720ms ease-in-out;
  will-change: transform;
}

.rock-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--rock-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter:
    drop-shadow(0 14px 3px rgba(16, 24, 33, 0.28))
    drop-shadow(0 28px 8px rgba(16, 24, 33, 0.18));
  transform:
    translate3d(var(--float-x-from, -5px), var(--float-y-from, -7px), 0)
    rotate(var(--float-rotate-from, -1.5deg));
  animation: rockFloat var(--float-duration, 6s) ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
  will-change: transform;
}

.rock-one {
  --rock-image: url("../images/block01.png");
  --rock-size: 120px;
  --rock-x: -10px;
  --rock-rotate: -13deg;
  --float-x-from: -8px;
  --float-y-from: -10px;
  --float-rotate-from: -2deg;
  --float-x-to: 7px;
  --float-y-to: 11px;
  --float-rotate-to: 2.5deg;
  --float-duration: 3.8s;
  --float-delay: -1s;
  top: 8%;
  left: 5vw;
}

.rock-two {
  --rock-image: url("../images/block02.png");
  --rock-size: 86px;
  --rock-x: 8px;
  --rock-rotate: 21deg;
  --float-x-from: 9px;
  --float-y-from: 7px;
  --float-rotate-from: 2.5deg;
  --float-x-to: -6px;
  --float-y-to: -12px;
  --float-rotate-to: -2deg;
  --float-duration: 4.4s;
  --float-delay: -2.4s;
  top: 28%;
  right: 9vw;
}

.rock-three {
  --rock-image: url("../images/block03.png");
  --rock-size: 168px;
  --rock-x: 0px;
  --rock-rotate: 8deg;
  --float-x-from: -10px;
  --float-y-from: 8px;
  --float-rotate-from: 1.5deg;
  --float-x-to: 12px;
  --float-y-to: -9px;
  --float-rotate-to: -2.8deg;
  --float-duration: 4.9s;
  --float-delay: -3.1s;
  top: 12%;
  left: 8vw;
}

.rock-four {
  --rock-image: url("../images/block04.png");
  --rock-size: 72px;
  --rock-x: 0px;
  --rock-rotate: -31deg;
  --float-x-from: 6px;
  --float-y-from: -8px;
  --float-rotate-from: -3deg;
  --float-x-to: -9px;
  --float-y-to: 10px;
  --float-rotate-to: 2deg;
  --float-duration: 3.6s;
  --float-delay: -1.7s;
  bottom: 12%;
  left: 13vw;
}

.rock-five {
  --rock-image: url("../images/block05.png");
  --rock-size: 132px;
  --rock-x: 0px;
  --rock-rotate: 17deg;
  --float-x-from: 11px;
  --float-y-from: -6px;
  --float-rotate-from: 2deg;
  --float-x-to: -8px;
  --float-y-to: 12px;
  --float-rotate-to: -2.5deg;
  --float-duration: 4.2s;
  --float-delay: -2.8s;
  top: 10%;
  right: 14vw;
}

.rock-six {
  z-index: 31;
  --rock-image: url("../images/block06.png");
  --rock-size: 104px;
  --rock-x: 0px;
  --rock-y: -100px;
  --rock-rotate: -7deg;
  --float-x-from: -7px;
  --float-y-from: 9px;
  --float-rotate-from: -1deg;
  --float-x-to: 10px;
  --float-y-to: -11px;
  --float-rotate-to: 2.8deg;
  --float-duration: 3.9s;
  --float-delay: -0.8s;
  bottom: 12%;
  left: 18vw;
}

.hero-rock {
  top: calc(100vh - 250px);
  bottom: auto;
  left: 18vw;
}

.rock-seven {
  --rock-image: url("../images/block07.png");
  --rock-size: 148px;
  --rock-x: 0px;
  --rock-rotate: 27deg;
  --float-x-from: 8px;
  --float-y-from: 10px;
  --float-rotate-from: 3deg;
  --float-x-to: -12px;
  --float-y-to: -8px;
  --float-rotate-to: -2deg;
  --float-duration: 4.7s;
  --float-delay: -3.6s;
  top: 18%;
  right: 3vw;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: visible;
  background: #111;
}

/* Clip only the background, allowing the drone to pass over the header. */
.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.08);
  transform-origin: center top;
  will-change: transform;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-drone {
  position: absolute;
  z-index: 30;
  top: 28%;
  right: 2vw;
  width: clamp(140px, 17vw, 300px);
  height: auto;
  pointer-events: none;
  transform: translate3d(0, -50%, 0);
  animation: droneFloat 4.8s ease-in-out infinite alternate;
  filter:
    drop-shadow(0 18px 10px rgba(16, 24, 33, 0.22))
    drop-shadow(0 34px 24px rgba(16, 24, 33, 0.14));
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 132px;
  color: #fff;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6.6vw, 6.3rem);
}

h2 {
  font-size: clamp(2.8rem, 6vw, 6rem);
}

h3 {
  font-size: 1.75rem;
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 0;
  color: #505569;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

.hero-actions .button {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-actions .button:hover {
  transform: translateY(-2px);
}

.hero-actions .social-youtube:hover {
  border-color: #ff0033;
  background: #ff0033;
  color: #fff;
}

.hero-actions .social-instagram:hover {
  border-color: #ff3ea5;
  background: #ff3ea5;
  color: #fff;
}

.hero-actions .social-tiktok:hover {
  border-color: #4fffd2;
  background: #4fffd2;
  color: #0b1118;
}

.hero-actions .social-myspace:hover {
  border-color: #2c7cff;
  background: #2c7cff;
  color: #fff;
}

.section {
  position: relative;
  overflow: visible;
  padding: 84px 0;
}

.about-section {
  display: flow-root;
  height: auto;
  min-height: 0;
  padding-top: clamp(96px, 12vh, 150px);
  padding-bottom: clamp(140px, 18vh, 220px);
  background: var(--bg);
}

.section.alt {
  color: #fff;
}

#musik {
  color: #f0efed;
  background: transparent;
}

/* Decorative layers stay inside the section without clipping the rocks. */
#musik::before,
#musik::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#musik::before {
  background: rgba(17, 17, 18, 0.25);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}

#musik::after {
  opacity: 0.8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 -1.2'/%3E%3C/filter%3E%3Cpath filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

#musik .lead { color: #c4c2c0; }
#musik .project-button {
  background: rgb(255 255 255 / 15%);
  color: #f0efed;
  border-color: rgba(255, 255, 255, 0.2);
}
#musik .project-button:hover { background: rgb(0 0 0 / 15%); }

.tools-section { background: #e5e5e7; color: var(--ink); }
.tools-section .project-button { color: var(--ink); border-color: #17171730; background: #ffffff80; }
.tools-section .project-button:hover { background: #fff; }

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.section.alt .lead {
  color: rgba(255, 255, 255, 0.72);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.parallax-break {
  position: relative;
  min-height: clamp(420px, 60vh, 680px);
  overflow: visible;
  background: transparent;
}

.parallax-break-compact {
  min-height: clamp(300px, 40vh, 460px);
}

.parallax-break-bg {
  display: none;
}

.parallax-break-bg::before {
  content: none;
}

.cooperations {
  position: relative;
  background: transparent;
}

.cooperations::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cooperations::before {
  background: #ece7dc;
}

.cooperation-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 88px;
  border: 1px solid rgba(16, 24, 33, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(16, 24, 33, 0.62);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cooperation-contact {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(16, 24, 33, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cooperation-contact h3 {
  margin-bottom: 4px;
}

.cooperation-contact p {
  margin: 0;
  color: var(--muted);
}

.mail-button {
  width: fit-content;
  border-color: var(--header);
  background: var(--header);
  color: #fff;
}

.youtube-band {
  display: grid;
  grid-template-columns: minmax(360px, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: center;
}

.counter {
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.34), rgb(0 0 0 / 66%));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  box-shadow: var(--shadow);
}

.counter-profile {
  width: 82px;
  height: 82px;
  margin: 0 0 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background-image: url("https://yt3.ggpht.com/a-/AOh14Gg0A5ps4QKEr8Opcki7NeD-5FasAZ9i2_QVBVEF=s288-c-k-c0xffffffff-no-rj-mo");
  background-size: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.counter-value {
  min-height: 72px;
  text-align: center;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  font-weight: 900;
  line-height: 1;
}

.counter-label {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.youtube-button {
  display: inline-block;
  width: min(100%, 260px);
  margin-top: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.contact-section,
.contact-section .lead {
  color: #fff;
}

.contact-item {
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.contact-intro {
  width: 100%;
  min-height: 0;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  margin-top: 20px;
}

.contact-address {
  background: linear-gradient(135deg, rgba(245, 122, 52, 0.34), rgba(215, 25, 32, 0.2));
}

.contact-email {
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.34), rgba(255, 62, 165, 0.24));
}

.contact-social {
  background: linear-gradient(135deg, rgba(255, 62, 165, 0.32), rgba(82, 111, 255, 0.24));
}

.contact-social-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 16px;
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-item a {
  color: #fff;
}

.legal-page {
  padding: 70px 0 96px;
}

.legal-content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.legal-content h2 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding-bottom: 125px;
  background: rgba(16, 24, 33, 0.8);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.footer-alpha {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: clamp(120px, 18vw, 260px);
  pointer-events: none;
  background-image: url("../images/footer-alpha.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@keyframes droneFloat {
  0% {
    transform: translate3d(-8px, calc(-50% - 10px), 0) rotate(-1.5deg);
  }

  100% {
    transform: translate3d(10px, calc(-50% + 12px), 0) rotate(1.8deg);
  }
}

@keyframes rockFloat {
  0% {
    transform:
      translate3d(var(--float-x-from, -5px), var(--float-y-from, -7px), 0)
      rotate(var(--float-rotate-from, -1.5deg));
  }

  100% {
    transform:
      translate3d(var(--float-x-to, 6px), var(--float-y-to, 9px), 0)
      rotate(var(--float-rotate-to, 1.5deg));
  }
}

@keyframes nebulaMidPulse {
  0%,
  100% {
    opacity: 0.76;
    transform: scale(1.015);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.075);
  }
}

@keyframes nebulaFrontPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1.025);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.095);
  }
}

@keyframes nebulaMidMobilePulse {
  0%,
  100% {
    opacity: 0.76;
    transform: scale(1.005);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.04);
  }
}

@keyframes nebulaFrontMobilePulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1.01);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.05);
  }
}

@media (max-width: 800px) {
  .nebula-stage {
    height: 100svh;
  }

  .nebula-layer {
    inset: -3%;
    background-size: auto 100%;
  }

  .nebula-back {
    inset: 0;
    background-size: auto 100%;
  }

  .nebula-mid {
    animation-name: nebulaMidMobilePulse;
  }

  .nebula-front {
    animation-name: nebulaFrontMobilePulse;
  }

  main {
    padding-top: 86px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 86px;
    padding: 10px 0;
  }

  .brand-image {
    width: 168px;
  }

  .site-header.is-scrolled .nav {
    min-height: 72px;
  }

  .site-header.is-scrolled .brand-image {
    width: 132px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 4px;
    border-top: 1px solid rgba(23, 23, 23, 0.1);
    font-size: 1rem;
  }

  .nav-links .nav-shop {
    order: -1;
    justify-content: center;
    margin-bottom: 4px;
    padding: 14px 16px;
    border-top: 0;
  }

  .hero {
    min-height: calc(720px - 86px);
  }

  .hero-drone {
    top: 30%;
    right: -10vw;
    width: 210px;
  }

  .intro-grid,
  .cooperation-grid,
  .youtube-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-rock {
    opacity: 1;
  }

  .rock-one {
    --rock-size: 84px;
    left: -18px;
  }

  .rock-two {
    --rock-size: 64px;
    right: -10px;
  }

  .rock-three,
  .rock-five,
  .rock-seven {
    --rock-size: 96px;
  }

  .rock-six {
    --rock-size: 78px;
  }

  .section {
    padding: 64px 0;
  }

  .about-section {
    padding-top: 88px;
    padding-bottom: 128px;
  }

  .counter {
    min-width: 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-alpha {
    background-size: 300%;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  #ueber,
  #kuckma,
  #shop,
  #youtube,
  #tools,
  #musik {
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
  }

  #kontakt {
    min-height: max(0px, calc(100vh - 80px - var(--site-footer-height, 210px)));
    min-height: max(0px, calc(100dvh - 80px - var(--site-footer-height, 210px)));
  }
}

.floating-rock.section-rock {
  --rock-size: 100px;
  top: 6%;
  bottom: auto;
}
.floating-rock.section-rock-left { left: 3%; right: auto; }
.floating-rock.section-rock-right { left: auto; right: 3%; top: 30%; --rock-size: 76px; }
.floating-rock.section-rock-middle { left: 48%; right: auto; top: 48%; --rock-size: 54px; }
@media (max-width: 800px) {
  .floating-rock.section-rock { --rock-size: 58px; }
  .floating-rock.section-rock-right { --rock-size: 46px; }
  .floating-rock.section-rock-middle { --rock-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slider,
  .floating-rock,
  .rock-visual,
  .rock-visual::before,
  .nebula-mid,
  .nebula-front,
  .parallax-break-bg::before {
    animation: none;
    transform: none;
  }

  .hero-slider img {
    animation: none;
  }

  .hero-slider img:first-child {
    opacity: 1;
  }
}


/* Record sleeves: a soft back-cover reveal with pointer-driven depth. */
.release-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 4vw, 52px); margin-top: 40px; }
.release-card { min-width: 0; }
.release-cover { display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; perspective: 1000px; touch-action: manipulation; }
.release-cover:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
.release-artwork { position: relative; display: block; aspect-ratio: 1; border-radius: inherit; box-shadow: 0 14px 32px #0005; transform: rotateX(var(--cover-x, 0deg)) rotateY(var(--cover-y, 0deg)); transition: transform 180ms ease-out, box-shadow 280ms ease; }
.release-artwork img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.release-back { position: absolute; inset: 0; opacity: 0; transition: opacity 350ms ease; }
.release-cover.is-hovered .release-back,
.release-cover[aria-pressed="true"] .release-back { opacity: 1; }
.release-cover.is-hovered .release-artwork { box-shadow: 0 22px 46px #0007; }
.release-meta { margin-top: 24px; color: #c4c2c0; font-size: .8rem; letter-spacing: .06em; }
.release-card h3 { margin: 8px 0 6px; font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.release-artist { margin: 0; color: #c4c2c0; }
@media (max-width: 900px) {
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .release-grid { grid-template-columns: 1fr; gap: 36px; }
  .release-card { width: 100%; max-width: 400px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .release-artwork { transform: none; transition: none; }
  .release-back { transition: none; }
}

/* Native hover also works before JavaScript loads. */
@media (hover: hover) {
  .release-cover:hover .release-back { opacity: 1; }
  .release-cover:hover .release-artwork {
    transform: rotateX(var(--cover-x, -3deg)) rotateY(var(--cover-y, 4deg)) translateY(-4px);
    box-shadow: 0 22px 46px #0007;
  }
}
@media (prefers-reduced-motion: reduce) {
  .release-cover:hover .release-artwork { transform: none; }
}

.release-status { margin: 16px 0 0; font-size: .9rem; color: #c4c2c0; }
.release-spotify { color: #1ed760; text-decoration: underline; text-underline-offset: 4px; }
.release-spotify:hover { color: #74efa0; }
.release-spotify:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

#kuckma .section-action {
  transition: background-color 180ms ease, border-color 180ms ease;
}
#kuckma .section-action:hover,
#kuckma .section-action:focus-visible {
  background: rgba(0, 164, 255, 0.75);
  border-color: rgba(70, 190, 255, 0.8);
  color: #fff;
}


/* Legal overlay with a fixed header and an independently scrolling text area. */
.legal-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: 85vh;
  max-height: 85dvh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #171717;
  box-shadow: 0 24px 90px #0005;
  overflow: hidden;
}
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog::backdrop { background: #0009; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.legal-dialog-header { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid #17171720; flex-shrink: 0; }
.legal-dialog-header h2 { margin: 0; flex: 1; font-size: clamp(1.4rem, 5vw, 2rem); overflow-wrap: anywhere; }
.legal-dialog-close { flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f1f1; color: #171717; font-size: 30px; cursor: pointer; }
.legal-dialog-close:hover { background: #e4e4e4; }
.legal-dialog-close:focus-visible, .legal-dialog-scroll:focus-visible { outline: 2px solid #171717; outline-offset: -4px; }
.legal-dialog-scroll { min-height: 0; width: 100%; margin: 0; padding: 8px 28px 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .legal-dialog-header { padding: 16px; gap: 8px; }
  .legal-dialog-scroll { padding: 8px 20px 24px; }
}


/* Portfolio: text beside the artwork, with a soft hover crossfade. */
.kuckma-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: clamp(28px, 5vw, 72px); row-gap: clamp(24px, 3vw, 36px); }
.kuckma-heading { grid-column: 1 / -1; }
.kuckma-heading h2 { margin-bottom: 0; }
#kuckma .kuckma-copy, #kuckma .kuckma-copy p, #kuckma .kuckma-copy a { color: #fff; }
.kuckma-copy > .lead { margin-top: 0; }
.kuckma-copy { min-width: 0; }
.kuckma-copy .lead { max-width: none; }
.kuckma-copy p a { color: inherit; text-underline-offset: 4px; }
.kuckma-preview { position: relative; display: block; min-width: 0; border-radius: 16px; overflow: hidden; }
.kuckma-preview img { display: block; width: 100%; height: auto; }
.kuckma-preview .kuckma-image-hover { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity 550ms ease; }
.kuckma-preview:hover .kuckma-image-hover,
.kuckma-preview:focus-visible .kuckma-image-hover { opacity: 1; }
.kuckma-preview:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
@media (max-width: 800px) {
  .kuckma-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .kuckma-preview .kuckma-image-hover { transition: none; }
}

.kuckma-copy > .kuckma-secondary { margin-top: 1em; }

#shop .shop-copy-paragraph { margin-top: 1em; }

.shop-collage { display: block; width: 100%; max-width: 100%; height: auto; }

#shop h2, #tools h2, #musik h2 { margin-bottom: clamp(24px, 3vw, 36px); }

.tool-availability { display: inline-block; margin-top: 20px; padding: 10px 16px; border: 1px solid #ffffff40; border-radius: 6px; color: #c4c2c0; }


.tool-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px 22px; border: 1px solid #17171720; border-radius: 8px; background: #fff; color: var(--ink); overflow-wrap: anywhere; }
.tool-card h3 { margin: 0 0 16px; font-size: 1.1rem; white-space: nowrap; overflow-wrap: normal; letter-spacing: normal; }
.tool-card p { margin: 0 0 16px; color: var(--ink); }
.tool-card ul { margin: 0; padding-left: 20px; }
.tool-card li + li { margin-top: 10px; }
.tool-card .tool-availability { margin: auto 0 0; border-color: #17171730; color: var(--muted); }

.tool-card ul { margin-bottom: 20px; }
.tool-website { display: inline-block; margin-top: auto; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: #fff; text-decoration: none; }
.tool-website:hover { background: #333; }
.tool-website:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }



.youtube-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: clamp(28px, 5vw, 72px); row-gap: clamp(24px, 3vw, 36px); }
.youtube-heading { grid-column: 1 / -1; }
.youtube-projects { min-width: 0; }
#youtube .youtube-projects .lead { margin: 0 0 24px; color: #fff; }
@media (max-width: 800px) {
  .youtube-band { grid-template-columns: 1fr; }
}
