:root {
  --black: #1d1d1b;
  --white: #ffffff;
  --yellow: #ffed00;
  --yellow-neon: #f5ff00;
  --mortar: rgba(255, 255, 255, 0.9);
  --content-width: 760px;
  --hero-width: 1280px;
  font-size: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv05", "ss01";
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--yellow);
}

p {
  margin: 0 0 1.1rem;
}

strong,
.em {
  color: var(--yellow);
}

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  /* --p is the scroll progress 0 -> 1, set by JS */
  --p: 0;
}

/* The wall is drawn as a grid of <span class="brick"> tiles (built in
   JS). Its white background is the mortar between bricks and the surface
   that is revealed as bricks fly off. */
.hero__wall {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--black);
  overflow: hidden;
  transform: scale(calc(1 + 0.08 * var(--p)));
  will-change: transform;
}

/* Fade-to-black veil that grows as you scroll */
.hero__fade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--black);
  opacity: calc(var(--p) * 1.1);
  pointer-events: none;
}

/* Each brick of the wall: black tile with a white mortar outline. At rest
   the tiles form the wall; on scroll every brick flies off in its own
   random direction. --x/--y/--r/--sc/--d/--inv are set per brick in JS. */
.brick {
  position: absolute;
  box-sizing: border-box;
  background: var(--black);
  border: 1.5px solid var(--mortar);
  transform: translate3d(
      calc(var(--x, 0px) * max(0, (var(--p) - var(--d, 0)) * var(--inv, 1))),
      calc(var(--y, 0px) * max(0, (var(--p) - var(--d, 0)) * var(--inv, 1))),
      0
    )
    rotate(
      calc(
        var(--r, 0deg) *
          min(1, max(0, (var(--p) - var(--d, 0)) * var(--inv, 1)) * 2.4)
      )
    )
    scale(
      calc(1 + var(--sc, 0) * max(0, (var(--p) - var(--d, 0)) * var(--inv, 1)))
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(var(--hero-width), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  /* title fades/lifts as the wall breaks */
  opacity: calc(1 - 1.3 * var(--p));
  transform: translateY(calc(-60px * var(--p)));
}

.lang-switch {
  align-self: flex-end;
  display: flex;
  gap: 0.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lang-switch a {
  color: var(--white);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 0.15rem 0.6rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* Staggered title -------------------------------------------------- */

.hero__title {
  margin: auto 0;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 0.86;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero__title span {
  display: block;
}

.t1 {
  font-size: clamp(2.6rem, 8vw, 7rem);
}
.t2 {
  font-size: clamp(2.2rem, 6.6vw, 5.8rem);
  margin-left: 8%;
}
.t3 {
  font-size: clamp(2.4rem, 7.4vw, 6.4rem);
  margin-left: 14%;
}
.t-nein {
  font-size: clamp(6rem, 22vw, 18rem);
  line-height: 0.78;
  margin: -0.04em 0 -0.04em 22%;
}
.t4 {
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  align-self: flex-end;
  text-align: right;
}
.t5 {
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  align-self: flex-end;
  text-align: right;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: calc(0.7 - var(--p));
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ------------------------------------------------------------------ */
/* CONTENT                                                             */
/* ------------------------------------------------------------------ */

main {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--black);
}

.section {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lead {
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.section-heading {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 3rem 0 1.25rem;
  color: var(--white);
}

.section-heading .em {
  color: var(--yellow);
}

/* Accordion -------------------------------------------------------- */

.accordion {
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.accordion__item {
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  text-align: left;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  line-height: 1.15;
  padding: 1.15rem 0;
  cursor: pointer;
  transition: color 120ms ease;
}

.accordion__trigger:hover,
.accordion__trigger[aria-expanded="true"] {
  color: var(--yellow);
}

.accordion__icon {
  flex: 0 0 auto;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.accordion__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
}

.accordion__icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 3px;
  transform: translateX(-50%);
  transition: transform 200ms ease, opacity 200ms ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms ease;
}

.accordion__panel-inner {
  padding: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Repeated big slogan --------------------------------------------- */

.slogan {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 0.9;
  font-size: clamp(2.4rem, 9vw, 6rem);
  padding: 4.5rem 1.25rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Brick CTA cards -------------------------------------------------- */

.help-heading {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 1.5rem 0 2rem;
}

.bricks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brick-card {
  position: relative;
  background: var(--black);
  border: 3px solid var(--mortar);
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.brick-card:hover {
  transform: translate(-2px, -2px) rotate(-0.6deg);
  box-shadow: 10px 10px 0 rgba(255, 237, 0, 0.35);
}

.brick-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 1.05;
}

.brick-card p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  flex: 1 1 auto;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 0;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: scale(1.04);
  background: var(--yellow-neon);
}

.btn:disabled,
.btn.is-disabled {
  background: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  transform: none;
}

.btn--block {
  display: block;
  width: 100%;
}

.cta-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: none;
  font-weight: 400;
}

/* Share buttons --------------------------------------------------- */

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.share-buttons .btn {
  flex: 1 1 auto;
  min-width: 84px;
  padding: 0.55rem 0.6rem;
  font-size: 0.85rem;
}

/* Social embed ---------------------------------------------------- */

.social {
  text-align: center;
  padding: 4rem 1.25rem 1rem;
}

.social h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  border: 2px solid var(--yellow);
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5rem 1rem;
}

.social-links a:hover {
  background: var(--yellow);
  color: var(--black);
}

.section-spacer {
  height: 2.5rem;
}

/* Footer ---------------------------------------------------------- */

footer {
  background: var(--yellow);
  color: var(--black);
  margin-top: 4rem;
  padding: 2.25rem 1.25rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

footer a {
  color: var(--black);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 720px) {
  .bricks {
    grid-template-columns: 1fr;
  }
  .brick-card {
    min-height: 0;
  }
  .t2 {
    margin-left: 4%;
  }
  .t3 {
    margin-left: 8%;
  }
  .t-nein {
    margin-left: 6%;
  }
}

@media (max-width: 500px) {
  footer nav {
    flex-direction: column;
  }
}

/* Reduced motion -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__wall {
    transform: none !important;
  }
  .brick {
    transform: none !important;
  }
  .scroll-hint {
    animation: none;
  }
  .brick-card,
  .btn,
  .accordion__panel {
    transition: none;
  }
}
