@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Inter:wght@300;400;500&family=Nothing+You+Could+Do&display=swap');

:root {
  --paper: #292722;
  --muted: rgba(41, 39, 34, .64);
  --line: rgba(41, 39, 34, .28);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #d7c9b8;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
  background: #d7c9b8;
}

a { color: inherit; }

.playlists {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.playlists__background,
.playlists__veil,
.playlists__grain {
  position: absolute;
  inset: 0;
}

.playlists__background {
  z-index: -4;
  inset: -7%;
  background:
    url("assets/playlist-background.png") center 48% / cover no-repeat;
  filter: blur(7px) saturate(.88) contrast(.92) brightness(1.03);
  transform: scale(1.08);
  animation: ocean-drift 24s ease-in-out infinite alternate;
}

.playlists__veil {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(248, 240, 229, .12), rgba(223, 208, 190, .18) 52%, rgba(105, 112, 108, .27)),
    radial-gradient(circle at 50% 12%, rgba(255, 235, 207, .20), transparent 45%);
}

.playlists__grain {
  z-index: -2;
  opacity: .07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.playlists__content {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(88px, 10vw, 150px) 0 clamp(76px, 9vw, 130px);
}

.section-header {
  margin-bottom: clamp(60px, 8vw, 104px);
}

.wordmark {
  display: block;
  width: clamp(118px, 13vw, 190px);
  height: auto;
  margin: 0 0 10px 3px;
  opacity: .9;
  filter: brightness(0) saturate(100%);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(74px, 10vw, 148px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.055em;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(46px, 6vw, 78px) clamp(24px, 3.3vw, 46px);
}

.playlist-card {
  min-width: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: card-in .8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.playlist-card__link {
  display: block;
  text-decoration: none;
}

.playlist-card__cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(255,255,255,.08);
  box-shadow: 0 22px 58px rgba(37, 33, 29, .22);
}

.playlist-card__cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.playlist-card__link:hover .playlist-card__cover,
.playlist-card__link:focus-visible .playlist-card__cover {
  transform: scale(1.045);
  filter: brightness(1.06);
}

.playlist-card__cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: none;
}

.playlist-card__title {
  margin: 18px 0 0;
  max-width: 95%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.submit-link {
  width: fit-content;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: clamp(86px, 11vw, 150px);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  text-decoration: none;
  transition: opacity .25s ease, border-color .25s ease;
}

.submit-link:hover,
.submit-link:focus-visible {
  opacity: .72;
  border-color: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .85s .08s cubic-bezier(.22, 1, .36, 1) forwards;
}

.skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,.12) 25%, rgba(255,255,255,.32) 42%, rgba(255,255,255,.12) 60%);
  background-size: 250% 100%;
  animation: shimmer 1.8s linear infinite;
}

@keyframes ocean-drift {
  0% { transform: scale(1.08) translate3d(-.4%, -.4%, 0); }
  100% { transform: scale(1.14) translate3d(.6%, .5%, 0); }
}

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: -250% 0; }
}

@media (max-width: 840px) {
  .playlists__content {
    width: min(100% - 40px, 680px);
  }

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

@media (max-width: 520px) {
  .playlists__content {
    width: calc(100% - 32px);
    padding-top: 72px;
  }

  .section-header {
    margin-bottom: 54px;
  }

  .playlist-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .playlist-card__title {
    margin-top: 14px;
    font-size: 30px;
  }

  .submit-link {
    margin-top: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .playlists__background {
    transform: scale(1.08);
  }
}


/* V4: Sandweißer Passepartout-Rahmen um Playlist-Cover */
.playlist-card__cover,
.playlist-cover,
.playlist-card img{
    background:#F2ECE2;
    padding:8px;
    box-sizing:border-box;
}

html,body{overflow-y:auto!important;height:auto!important;min-height:100%!important}
html.tab-enter body{animation:tabPageIn .55s cubic-bezier(.22,.7,.2,1) both}
@keyframes tabPageIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
