/* ==========================================================
   innocent.at - Version 1 (One-Page)
   ========================================================== */

:root {
  /* --- Akzentfarben des NEUESTEN RELEASES (derzeit: Affection) ---
     Bei einem neuen Album nur diese zwei Zeilen tauschen. */
  --accent-1: #e8b4c3;  /* Rosa: Hover, Hervorhebungen */
  --accent-2: #a9c6d8;  /* Eisblau: Links, Rahmen */

  /* --- Konstante Markenfarben --- */
  --gold: #ffd700;
  --gold-antik: #b39046;
  --bg: #131415;
  --bg-card: #1c1d1f;
  --text: #e8ddc0;
  --text-muted: #b8b0a0;

  --radius: 12px;
  --nav-h: 64px;
  --maxw: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

a {
  color: var(--accent-2);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-1);
}

:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: #232323;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.skip:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}

.btn--gold,
.btn--gold:visited {
  background: var(--gold);
  color: #232323;
}

.btn--gold:hover {
  background: var(--accent-1);
  color: #232323;
  transform: translateY(-1px);
}

.btn--outline,
.btn--outline:visited {
  background: transparent;
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn--outline:hover {
  background: var(--accent-2);
  color: var(--bg);
}

.btn--big {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(19, 20, 21, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .3s ease;
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(19, 20, 21, .94);
}

.nav__inner {
  max-width: var(--maxw);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav__brand:hover {
  color: var(--accent-1);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  color: var(--accent-1);
}

.nav__links a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold-antik);
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.lang a {
  color: var(--text);
  text-decoration: none;
}

.lang a:hover {
  color: var(--accent-1);
}

.lang a[aria-current="true"] {
  color: var(--gold);
  font-weight: 700;
  pointer-events: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 20px 22px;
    background: rgba(19, 20, 21, .97);
    border-bottom: 1px solid rgba(179, 144, 70, .35);
  }

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

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }

  .nav__links a {
    padding: 10px 0;
    font-size: 1.1rem;
  }

  .lang {
    padding-top: 10px;
    border-top: 1px solid rgba(179, 144, 70, .35);
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000 url("media/hero_poster.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 20, 21, .55) 0%, rgba(19, 20, 21, .35) 45%, rgba(19, 20, 21, .92) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 24px) 20px 56px;
}

.hero h1 {
  margin: 0 0 30px;
  color: var(--gold);
  font-size: clamp(2.4rem, 9vw, 6rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .65);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section--center {
  text-align: center;
}

.section__title {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.15;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold-antik);
  border-radius: 2px;
}

.section--center .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-1);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

/* ---------- Release ---------- */
.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.release__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid rgba(179, 144, 70, .45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.release__info .section__title {
  margin-bottom: 22px;
}

.release__info .btn {
  margin-top: 22px;
}

@media (max-width: 820px) {
  .release {
    grid-template-columns: minmax(0, 1fr);
  }

  .release__cover {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------- Discographie ---------- */
.disco {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 24px;
}

.disco__item {
  flex: 0 1 190px;
  min-width: 0;
  text-align: center;
}

.disco__cover {
  display: block;
}

.disco__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid rgba(179, 144, 70, .45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}

.disco__cover:hover img {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .6);
}

.disco__item h3 {
  margin: 14px 0 10px;
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1.2;
}

.btn--small {
  padding: 10px 18px;
  font-size: .95rem;
}

.disco__more {
  margin: 48px 0 0;
}

@media (max-width: 899px) {
  .disco__item {
    flex-basis: calc(33.333% - 16px);
  }
}

@media (max-width: 640px) {
  .disco {
    gap: 28px 16px;
  }

  .disco__item {
    flex-basis: calc(50% - 8px);
  }
}

/* ---------- Eingebettete Inhalte (erst nach Zustimmung) ---------- */
.embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(179, 144, 70, .35);
}

.embed.is-loaded {
  border: 0;
  background: transparent;
}

.embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.embed--apple {
  min-height: 175px;
}

.embed--apple iframe {
  height: 175px;
}

.embed--video {
  aspect-ratio: 16 / 9;
}

.embed--video iframe {
  position: absolute;
  inset: 0;
  height: 100%;
}

.embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 175px;
  padding: 20px;
  text-align: center;
}

.embed--video .embed__placeholder {
  position: absolute;
  inset: 0;
}

.embed__placeholder p {
  margin: 0;
  max-width: 460px;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.embed__alt a {
  font-size: .9rem;
}

.embed-load {
  display: none;
}

.js-ready .embed-load {
  display: inline-block;
}

/* ---------- Galerie / Videos ---------- */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  max-width: 900px;
  margin: 36px auto 0;
  padding: 26px clamp(20px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(169, 198, 216, .45);
  border-radius: var(--radius);
}

.social-card p {
  margin: 0;
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .social-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Geschichte ---------- */
.story {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 36px);
  background: var(--bg-card);
  border: 1px solid rgba(179, 144, 70, .35);
  border-radius: var(--radius);
  text-align: center;
}

.story audio {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 14px;
}

.story p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

/* ---------- Newsletter ---------- */
.infobox {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
  text-align: center;
  background: #232323;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}

.infobox h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.15;
}

.infobox p {
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 40px;
  background: #0d0e0f;
  border-top: 1px solid rgba(179, 144, 70, .45);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__brand {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer__title {
  margin: 0 0 10px;
  color: var(--accent-1);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer address {
  font-style: normal;
  color: var(--text-muted);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin: 0 0 6px;
}

.footer__links a,
.linklike {
  font-size: .98rem;
}

.linklike {
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent-2);
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}

.linklike:hover {
  color: var(--accent-1);
}

@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Scroll-Animationen (dezent) ---------- */
/* Bereiche werden nur ausgeblendet, wenn das Script geladen ist (Klasse js-ready) */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav,
  .nav__toggle span {
    transition: none;
  }
}
