/* ==========================================================
   portwendigo.com – Stylesheet
   Aufbau wie illegalefarben.de / chris-mock.de, eigener Look:
   dunkel wie die schwarz-weißen Cover, dünne gesperrte Versalien,
   Akzent in Rosa/Mauve aus der handgezeichneten Karte.
   Farben und Abstände zentral hier oben ändern.
   ========================================================== */

:root {
  --bg: #131212;              /* fast Schwarz, wie die Cover */
  --surface: #1c1a1a;
  --fg: #ece7e1;              /* gebrochenes Weiß */
  --muted: #a39b94;
  --line: #2f2b2b;
  --accent: #d79ab3;          /* Rosa aus der Karte */
  --accent-deep: #8e3f68;     /* Mauve aus der Karte */
  --gap: clamp(12px, 1.6vw, 20px);
  --max: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --track: .22em;             /* Sperrung der Versalien */
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Zweisprachigkeit ----------
   Jeder Text steht zweimal im HTML: lang="en" und lang="de".
   Die jeweils andere Sprache wird hier ausgeblendet. */
html[data-lang="en"] body [lang="de"],
html[data-lang="de"] body [lang="en"] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.caps { text-transform: uppercase; letter-spacing: var(--track); font-weight: 300; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(19, 18, 18, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 58px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.brand svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.brand:hover { color: var(--fg); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: .875rem; }
.nav a { color: var(--muted); text-decoration: none; letter-spacing: .06em; }
.nav a:hover { color: var(--fg); }

.lang-toggle {
  font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  background: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--muted); }
html[data-lang="de"] .lang-toggle [data-l="de"],
html[data-lang="en"] .lang-toggle [data-l="en"] { color: var(--fg); }

/* ---------- Oben: die Karte ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--accent-deep);
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 50%;
  transform: scale(1.03);       /* blendet den weißen Papierrand aus */
}
.hero::after {                  /* rechts und unten abdunkeln, damit die Schrift gut lesbar ist */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(19, 18, 18, 0) 45%, rgba(19, 18, 18, .78) 100%),
    linear-gradient(90deg, rgba(19, 18, 18, 0) 35%, rgba(40, 10, 28, .45) 100%);
}
.hero-text {
  position: relative; z-index: 1; width: 100%;
  padding-top: 120px; padding-bottom: clamp(36px, 7vw, 84px);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8.4vw, 7.2rem);
  font-weight: 200; line-height: .95;
  letter-spacing: .16em; text-transform: uppercase;
  margin-right: -.16em;          /* Sperrung am Zeilenende ausgleichen */
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero .tagline {
  margin: clamp(16px, 2vw, 26px) 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.45;
  color: #fff;
}

/* ---------- Abschnitte ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); }
.section:last-of-type { padding-bottom: clamp(72px, 10vw, 130px); }
.section-title {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  font-size: .8125rem; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--muted);
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px); align-items: start;
}
.about .lead {
  margin: 0 0 1.2rem;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 300; line-height: 1.3;
}
.about p { max-width: 60ch; }
.about figure { margin: 0; }
.about figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); letter-spacing: .04em; }

details.more { margin-top: 2rem; border-top: 1px solid var(--line); }
details.more summary {
  cursor: pointer; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
details.more[open] summary::after { content: "–"; }
details.more ul { padding-left: 1.1em; }
details.more li { margin-bottom: .5em; }
details.more a { color: var(--accent); overflow-wrap: anywhere; }

/* ---------- Vinyl ---------- */
.vinyl {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: center;
  background: var(--surface) url("../img/textur.jpg") center / cover no-repeat;
  position: relative; overflow: hidden;
  padding: clamp(24px, 4vw, 56px);
}
.vinyl::before {               /* Aquarell-Fläche dunkel überlagern */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19, 18, 18, .2) 0%, rgba(19, 18, 18, .82) 55%);
}
.vinyl > * { position: relative; }
.kicker {
  margin: 0 0 .6rem;
  font-size: .75rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent);
}
.vinyl h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 200; line-height: 1.1;
  letter-spacing: .08em; text-transform: uppercase;
}
.vinyl p { margin: 0 0 1.4rem; max-width: 44ch; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--fg);
  font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- EPs ---------- */
.releases {
  list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px);
}
.release-cover { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.release-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.release-cover:hover img, .release-cover:focus-visible img { transform: scale(1.03); }
.release h3 {
  margin: 18px 0 4px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; line-height: 1.25;
  letter-spacing: .1em; text-transform: uppercase;
}
.release .meta { margin: 0 0 14px; font-size: .875rem; color: var(--muted); }
.tracks {
  margin: 0 0 18px; padding: 0 0 0 1.6em;
  font-size: .9375rem; color: var(--muted);
}
.tracks li { padding: 2px 0; }
.listen { color: var(--accent); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.listen:hover { text-decoration: underline; }

/* ---------- Links ---------- */
.links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap);
}
/* Kacheln mit derselben violetten Aquarell-Fläche wie beim Vinyl,
   jede zeigt einen anderen Ausschnitt (background-position unten). */
.links a {
  --shade: .62;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 22px 20px;
  background:
    linear-gradient(100deg, rgba(19, 18, 18, calc(var(--shade) - .3)) 0%, rgba(19, 18, 18, var(--shade)) 100%),
    var(--surface) url("../img/textur.jpg") 0% 10% / 260% auto no-repeat;
  text-decoration: none; font-size: 1.0625rem; letter-spacing: .04em; color: #fff;
}
.links li:nth-child(2) a { background-position: 0 0, 35% 30%; }
.links li:nth-child(3) a { background-position: 0 0, 70% 50%; }
.links li:nth-child(4) a { background-position: 0 0, 100% 70%; }
.links li:nth-child(5) a { background-position: 0 0, 50% 90%; }
.links a:hover, .links a:focus-visible { --shade: .35; color: #fff; }
.links .arrow { color: rgba(255, 255, 255, .7); }
.links a:hover .arrow { color: #fff; }

/* ---------- Presse ---------- */
.epk {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px;
  padding: 0 0 clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.epk p { margin: 0; max-width: 56ch; color: var(--muted); }

/* ---------- Unterseiten ---------- */
.page { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(64px, 10vw, 140px); }
.page h1 {
  margin: 0 0 .6em;
  font-size: clamp(2rem, 6vw, 4.4rem); font-weight: 200;
  line-height: 1.05; letter-spacing: .12em; text-transform: uppercase;
  overflow-wrap: anywhere; hyphens: auto;
}
.page h2 { font-size: 1.2rem; font-weight: 400; letter-spacing: .02em; margin: 2.2em 0 .5em; }
.prose { max-width: 68ch; }
.prose a { color: var(--accent); }
.note { color: var(--muted); font-style: italic; }
.intro { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; line-height: 1.45; }
.intro a { color: var(--accent); }

/* ---------- Fußzeile ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: .875rem; color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .about, .vinyl { grid-template-columns: 1fr; }
}

/* ---------- Handy ---------- */
@media (max-width: 620px) {
  .brand { font-size: .8125rem; letter-spacing: .14em; }
  .nav { gap: 12px; font-size: .8125rem; }
  .hero { min-height: 72vh; }
  .hero img { object-position: 38% 50%; }
  .releases { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand-text { display: none; }   /* ganz kleine Handys: nur das Zeichen, damit die Navigation passt */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
