/* ── FONTS ── */
@font-face {
  font-family: 'ABCHelveesti';
  src: url('../../fonts/ABCHelveestiPlusVariable.woff2') format('woff2'),
       url('../../fonts/ABCHelveestiPlusVariable.woff') format('woff'),
       url('../../fonts/ABCHelveestiPlusVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABCHelveestiSpikes';
  src: url('../../fonts/ABCHelveestiSpikes-Bold.woff2') format('woff2'),
       url('../../fonts/ABCHelveestiSpikes-Bold.woff') format('woff'),
       url('../../fonts/ABCHelveestiSpikes-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --bg: #F7F7F5;
  --ink: #000;
  --ink-soft: #666;
  --ink-faint: #999;
  --ink-mute: #aaa;
  --hairline: rgba(0, 0, 0, 0.14);
  --hairline-strong: rgba(0, 0, 0, 0.22);
  --nav-bg: rgba(247, 247, 245, 0.82);
  --card-tint: rgba(0, 0, 0, 0.02);
  --panel-border: rgba(255, 255, 255, 0.12);
  --photo-ring: rgba(0, 0, 0, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.4, 0, 0.2, 1);
  --pad-x: 2.5rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --ink: #f5f5f7;
    --ink-soft: #98989d;
    --ink-faint: #7c7c80;
    --ink-mute: #636366;
    --hairline: rgba(255, 255, 255, 0.16);
    --hairline-strong: rgba(255, 255, 255, 0.32);
    --nav-bg: rgba(0, 0, 0, 0.72);
    --card-tint: rgba(255, 255, 255, 0.045);
    --panel-border: rgba(255, 255, 255, 0.16);
    --photo-ring: rgba(255, 255, 255, 0.14);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'ABCHelveesti', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 'clip' statt 'hidden': hidden erzeugt einen Scroll-Container und bricht position:sticky */
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── MAIN ── */
main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 6rem;
}

/* ── HEADER: Logo + Foto oben rechts ── */
.site-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.logo {
  font-family: 'ABCHelveestiSpikes', 'ABCHelveesti', Helvetica, Arial, sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.015em;
  cursor: pointer;
  user-select: none;
}
.logo:hover { text-decoration: none; }

/* ── FOTO oben rechts ── */
.photo-frame {
  position: relative;
  display: block;
  width: 130px;
  height: 165px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  animation: photo-in 1.1s var(--ease-out) both;
  cursor: pointer;
}
/* Innenliegender Ring, damit helle Fotokanten nicht mit dem Hintergrund verschwimmen */
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--photo-ring);
  pointer-events: none;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.photo-frame:hover .profile-photo { transform: scale(1.05); }
@keyframes photo-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ── NAV: sticky, frosted ── */
.nav-row {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 calc(-1 * var(--pad-x)) 3rem;
  padding: 0.9rem var(--pad-x) 0.75rem;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-swift);
}
.nav-row.is-stuck { border-bottom-color: var(--hairline); }

nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  max-width: 680px;
}
nav a {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 0.35rem;
}
nav a:hover { text-decoration: none; }
nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-swift);
}
nav a:hover::after { opacity: 0.3; transform: scaleX(1); }
nav a.active::after { opacity: 1; transform: scaleX(1); }

/* ── LATEST RELEASE SPOTLIGHT ── */
.latest-release {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  max-width: 720px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.35rem 1.7rem 1.35rem 1.35rem;
  margin-bottom: 2.75rem;
  transition: border-color 0.35s var(--ease-swift), background 0.35s var(--ease-swift);
}
.latest-cover {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.latest-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--photo-ring);
  pointer-events: none;
}
.latest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.latest-release:hover .latest-cover img { transform: scale(1.05); }
.latest-info { display: block; min-width: 0; }
.latest-release:hover {
  text-decoration: none;
  border-color: var(--hairline-strong);
  background: var(--card-tint);
}
.latest-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.65rem;
}
.latest-title {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.latest-title::after {
  content: ' ↗';
  font-size: 0.7em;
  opacity: 0.55;
  display: inline-block;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-swift);
}
.latest-release:hover .latest-title::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
.latest-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* ── CONTENT BLOCKS ── */
.block { margin-bottom: 1.4rem; }
.block a { font-size: 1.3rem; font-weight: 400; }

.link-row {
  display: flex;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  align-items: baseline;
}

a.arrow::after {
  content: ' ↗';
  font-size: 0.85em;
  opacity: 0.55;
  display: inline-block;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-swift);
}
a.arrow:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ── RELEASES ── */
.releases-list { margin-top: 0; max-width: 720px; }
.release-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.1rem;
  gap: 1.5rem;
  transition: border-color 0.3s var(--ease-swift);
}
.release-item:first-child { border-top: 1px solid var(--hairline); }
.release-item:hover { border-bottom-color: var(--hairline-strong); }
.release-title { font-weight: 400; }
.release-date {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.85rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease-swift);
}
.release-item:hover .release-date { color: var(--ink); }

/* ── SHOP ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3rem 2.5rem;
  max-width: 900px;
}
.product { display: flex; flex-direction: column; }
.product-cover {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.35rem;
}
.product-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--photo-ring);
  pointer-events: none;
}
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--ease-out);
}
.product-cover:hover img { transform: scale(1.04); }
.product-info { display: flex; flex-direction: column; align-items: flex-start; }
.product-note {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.product-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.product-format {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.product-buy, .pill-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-swift);
}
.product-buy::after {
  content: ' ↗';
  font-size: 0.85em;
  opacity: 0.6;
}
.product-buy:hover, .pill-btn:hover { text-decoration: none; opacity: 0.85; }
.product-buy:active, .pill-btn:active { transform: scale(0.97); }
.product-fine {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.85rem;
}

/* ── RELEASES-MODUL (aufklappbar auf Music) ── */
.releases-module { max-width: 720px; margin-top: 2.75rem; }
.releases-module summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  user-select: none;
  transition: border-color 0.3s var(--ease-swift);
}
.releases-module summary::-webkit-details-marker { display: none; }
.releases-module summary:hover { border-color: var(--hairline-strong); }
.releases-summary-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s var(--ease-swift);
}
.releases-module summary:hover .releases-summary-label,
.releases-module[open] .releases-summary-label { color: var(--ink); }
.releases-toggle {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.releases-toggle::before,
.releases-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-swift);
}
.releases-toggle::before {
  left: 0; right: 0; top: 5px;
  height: 2px;
}
.releases-toggle::after {
  top: 0; bottom: 0; left: 5px;
  width: 2px;
}
.releases-module[open] .releases-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}
.releases-module[open] .releases-list {
  animation: rise 0.5s var(--ease-out) both;
}
.releases-module .releases-list { padding-top: 0.5rem; }
.releases-module .release-item:first-child { border-top: none; }

/* ── CONTACT ── */
.contact-wrap { max-width: 560px; }
.form-field { margin-bottom: 1.9rem; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  font: inherit;
  color: var(--ink);
  padding: 0.35rem 0 0.6rem;
  transition: border-color 0.3s var(--ease-swift);
}
.form-field input:hover,
.form-field textarea:hover { border-bottom-color: var(--hairline-strong); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-field :focus-visible { outline: none; }
.form-field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.contact-form .pill-btn { margin-top: 0.4rem; }
.form-privacy {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 1.4rem;
  max-width: 46ch;
  line-height: 1.6;
}
.form-privacy a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 0.2em; }
.form-privacy a:hover { color: var(--ink); }
.form-status {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin-bottom: 2.25rem;
  font-size: 0.95rem;
}
.form-status.ok { border-color: var(--ink); }
.form-status.err { color: var(--ink-soft); }
/* Honeypot: unsichtbar für Menschen, sichtbar für Bots */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── CONCERTS ── */
.concert-section { margin-bottom: 3rem; max-width: 720px; }
.concert-section h2 {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
}
.concert-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  gap: 1.5rem;
  font-size: 1.1rem;
}
.concert-item:first-of-type { border-top: 1px solid var(--hairline); }
.concert-past { opacity: 0.4; transition: opacity 0.3s var(--ease-swift); }
.concert-past:hover { opacity: 0.75; }
.concert-date {
  font-size: 0.85rem;
  color: var(--ink-faint);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ── LEGAL ── */
.legal { max-width: 640px; }
.legal p { margin-bottom: 0.7rem; font-size: 1rem; line-height: 1.65; }
.legal h2 {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 2rem 0 0.6rem;
}
.legal h2:first-child { margin-top: 0; }

/* ── PLAYERS ── */
.player-block { margin-bottom: 3rem; max-width: 720px; }
.player-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
}
.music-links { margin-bottom: 2.5rem; }

iframe { display: block; border: none; width: 100%; border-radius: 12px; }

.yt-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── CONSENT PLACEHOLDER ── */
.consent-placeholder {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 2.4rem 1.8rem;
  text-align: center;
  background: var(--card-tint);
}
.consent-placeholder p {
  max-width: 46ch;
  margin: 0 auto 1.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.consent-placeholder .cookie-btn.accept {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.consent-placeholder .cookie-btn.accept:hover { opacity: 0.85; }

/* ── PAGE TRANSITIONS ── */
.page { display: none; }
.page.active { display: block; }
.page.active > * {
  animation: rise 0.55s var(--ease-out) both;
}
.page.active > *:nth-child(2) { animation-delay: 0.06s; }
.page.active > *:nth-child(3) { animation-delay: 0.12s; }
.page.active > *:nth-child(4) { animation-delay: 0.18s; }
.page.active > *:nth-child(n+5) { animation-delay: 0.24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── FOOTER ── */
.site-footer {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem var(--pad-x);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer .copy { font-size: 0.78rem; color: var(--ink-mute); }
.site-footer .footer-nav { display: flex; gap: 1.5rem; }
.site-footer a {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-mute);
  transition: color 0.25s var(--ease-swift);
}
.site-footer a:hover { color: var(--ink); text-decoration: none; }

/* ── COOKIE PANEL ── */
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 0.75rem);
  width: min(680px, calc(100% - 2rem));
  background: rgba(18, 18, 18, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #fff;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
#cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
#cookie-banner span { flex: 1 1 280px; }
#cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.cookie-btns { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-swift),
              border-color 0.25s var(--ease-swift), color 0.25s var(--ease-swift);
}
.cookie-btn:hover { border-color: #fff; }
.cookie-btn:active { transform: scale(0.96); }
.cookie-btn.accept { background: #fff; color: #000; border-color: #fff; }
.cookie-btn.accept:hover { background: rgba(255, 255, 255, 0.9); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  :root { --pad-x: 1.5rem; }
  body { font-size: 16px; }
  main { padding: 2.5rem var(--pad-x) 4rem; }
  .site-top { gap: 1.5rem; margin-bottom: 2rem; }
  .logo { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .nav-row { margin-bottom: 2.5rem; }
  nav { gap: 0.5rem; max-width: 100%; }
  nav a { font-size: 1.05rem; }
  .photo-frame { width: 90px; height: 115px; border-radius: 12px; }
  .latest-release { padding: 1.1rem 1.2rem 1.1rem 1.1rem; gap: 1.1rem; border-radius: 16px; margin-bottom: 2.25rem; }
  .latest-cover { width: 82px; height: 82px; border-radius: 10px; }
  .block a { font-size: 1.2rem; }
  .release-item, .concert-item { font-size: 1rem; }
  .site-footer {
    padding: 2rem var(--pad-x);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  #cookie-banner { padding: 1rem 1.2rem; bottom: 0.75rem; }
}
