/* =======================================================================
   ahmadziar.de – Gestaltung „Konzertplakat“
   Wie ein Plakat an der Litfaßsäule: kräftige Farbflächen, riesige Schrift,
   Laufbänder mit Liedzeilen. Jedes Album trägt die Farben seines Covers:
   ER Nacht und Türkis, WIR Rot und Gold, DU Stahlblau und Sand.
   ======================================================================= */

:root {
  /* Farben, die alle drei Cover teilen */
  --papier: #ece6d2;
  --tinte: #1c1820;
  --tinte-2: rgba(28, 24, 32, 0.68);
  --papier-2: rgba(236, 230, 210, 0.78);

  /* Album-Farben (Standard, wird pro Album gesetzt) */
  --grund: #2a2430;
  --akzent: #eab543;
  --zweit: #3d3442;
  --duo-dunkel: var(--tinte);
  --duo-hell: var(--akzent);

  /* Schriften: nur auf dem Gerät vorhandene Schriften */
  --din: "DIN Condensed", "DINCondensed-Bold", "Bahnschrift Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --arabisch: "Geeza Pro", "Damascus", "Noto Naskh Arabic", "Segoe UI", serif;

  --breite: 74rem;
  color-scheme: dark;
}

/* Die Farben der Cover */
[data-album="ER"]  { --grund: #22262f; --akzent: #9fd6c6; --zweit: #36585b; --duo-dunkel: #171a21; --duo-hell: #9fd6c6; }
[data-album="WIR"] { --grund: #b8322a; --akzent: #eab543; --zweit: #82261f; --duo-dunkel: #b8322a; --duo-hell: #eab543; }
[data-album="DU"]  { --grund: #3e6470; --akzent: #dcbc84; --zweit: #2c4952; --duo-dunkel: #1d282d; --duo-hell: #c9a466; }
[data-album="DU"] .duo img { filter: grayscale(1) contrast(1.75) brightness(0.92); }

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--tinte); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.ist-gesperrt, html.ist-gesperrt body { overflow: hidden; }
body {
  margin: 0; background: var(--tinte); color: var(--papier);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.rahmen {
  width: 100%; max-width: var(--breite); margin-inline: auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -4rem; z-index: 60; padding: 0.6rem 1rem; background: var(--papier); color: var(--tinte); font-weight: 700; text-decoration: none; }
.sprung:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.hinweis { padding-block: 2rem; }
.din { font-family: var(--din); font-weight: 700; text-transform: uppercase; }

/* ---------- Blöcke (Knöpfe) ---------- */

.block {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem; padding: 0.55rem 1.1rem 0.35rem;
  border: 2px solid transparent; border-radius: 0;
  font: 700 1.375rem/1 var(--din); text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background-color 0.2s ease;
}
.block:active { transform: translateY(2px); }
.block svg { flex: none; margin-top: -0.2rem; }
.block--akzent { background: var(--akzent); color: var(--tinte); }
.block--tinte { background: var(--tinte); color: var(--papier); }
.block--papier { background: var(--papier); color: var(--tinte); }
.block--linie { background: transparent; color: currentColor; border-color: currentColor; }
.block--klein { min-height: 2.75rem; font-size: 1.2rem; padding: 0.45rem 0.85rem 0.3rem; }

/* ---------- Laufband ---------- */

.band { position: relative; overflow: hidden; height: 3rem; display: flex; align-items: center; }
.band--tinte { background: var(--tinte); color: var(--papier); }
.band--akzent { background: var(--akzent); color: var(--tinte); }
.band__inhalt { display: flex; flex: none; white-space: nowrap; font: 700 1.5rem/1 var(--din); text-transform: uppercase; letter-spacing: 0.02em; padding-top: 0.2rem; }
.band__inhalt span { display: inline-flex; align-items: center; }
.band__inhalt span::after { content: "✶"; padding: 0 1.1rem; color: var(--stern, var(--akzent)); }
.band--akzent .band__inhalt span::after { color: var(--grund); }
@media (prefers-reduced-motion: no-preference) {
  .band__inhalt { animation: laufen var(--dauer, 30s) linear infinite; }
}
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Duoton-Cover ---------- */

.duo { position: relative; overflow: hidden; background: var(--duo-hell); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.4) brightness(1.05); mix-blend-mode: multiply; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--duo-dunkel); mix-blend-mode: lighten; pointer-events: none; }
.duo.cover--fehlt { background: var(--zweit); }
.duo.cover--fehlt::after { content: attr(data-titel); display: grid; place-items: center; mix-blend-mode: normal; background: none; font: 700 2rem/1 var(--din); color: var(--akzent); }

/* ---------- Startbereich ---------- */

.held { background: var(--papier); color: var(--tinte); }
.held__innen { padding-block: max(0.9rem, calc(env(safe-area-inset-top, 0px) + 0.4rem)) 1.4rem; }
.held__oben { display: flex; justify-content: flex-end; gap: 1.25rem; }
.held__oben a { font: 600 0.9375rem/1 var(--sans); color: var(--tinte-2); padding: 0.4rem 0; }
.held__name { margin-top: 0.75rem; font: 700 var(--name, 6.5rem)/0.8 var(--din); text-transform: uppercase; letter-spacing: -0.005em; }
.held__name span { display: block; width: max-content; padding-top: 0.06em; }
.held__unter { margin-top: 0.9rem; font: 700 1.6rem/1 var(--din); text-transform: uppercase; letter-spacing: 0.02em; color: var(--tinte); }

/* Erscheinungstage wie Tourdaten */
.termin { background: var(--grund); color: var(--papier); }
.termin a { display: grid; grid-template-columns: 6.4rem 1fr 5.5rem; align-items: center; gap: 0.75rem; padding-block: 0.85rem; text-decoration: none; }
.termin time { font: 700 1.75rem/1 var(--din); color: var(--akzent); font-variant-numeric: tabular-nums; padding-top: 0.2rem; }
.termin b { font: 700 clamp(4.25rem, 21vw, 7.5rem)/0.8 var(--din); text-transform: uppercase; padding-top: 0.08em; }
.termin small { display: block; font: 600 0.8125rem/1.2 var(--sans); color: var(--papier-2); margin-top: 0.15rem; }
.termin .duo { width: 5.5rem; aspect-ratio: 1; }
.termin + .termin a { border-top: 0; }
.termine__knopf { background: var(--papier); padding: 1rem max(18px, env(safe-area-inset-right, 0px)) 1rem max(18px, env(safe-area-inset-left, 0px)); }
.termine__knopf .block { width: 100%; }

/* ---------- Alben ---------- */

.album { background: var(--grund); color: var(--papier); scroll-margin-top: 0; }
.album__kopf { position: relative; }
.album__cover { width: 100%; aspect-ratio: 1 / 0.9; max-height: 80svh; }
.album__titel {
  position: relative; z-index: 2; margin-top: -0.66em;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  font: 700 clamp(9rem, 56vw, 20rem)/0.8 var(--din); text-transform: uppercase; color: var(--papier);
  letter-spacing: -0.01em;
  text-shadow: 0 0.04em 0.35em rgba(15, 12, 18, 0.35);
}
.album__leiste { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.1rem 1.5rem; }
.album__meta { font: 600 0.9375rem/1.4 var(--sans); color: var(--papier-2); }
.hoeren__label { font: 700 1.25rem/1 var(--din); text-transform: uppercase; letter-spacing: 0.03em; color: var(--akzent); margin-bottom: 0.6rem; }
.hoeren__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.hoeren__knoepfe .block:first-child { grid-column: 1 / -1; min-height: 3.75rem; font-size: 1.75rem; }

.lieder { background: var(--papier); color: var(--tinte); padding-block: 0.4rem 1rem; overflow-x: hidden; overflow-x: clip; }
.lied { border-bottom: 2px solid rgba(28, 24, 32, 0.14); }
.lied__kopf {
  display: grid; grid-template-columns: 3.4rem 1fr 2.4rem; align-items: center; gap: 0.4rem;
  width: 100%; padding: 0.7rem 0 0.5rem; border: 0; background: none; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lied__nr { font: 700 2.6rem/0.85 var(--din); color: var(--grund); font-variant-numeric: tabular-nums; }
[data-album="ER"] .lied__nr { color: var(--zweit); }
.lied__titel { font: 700 clamp(1.7rem, 8vw, 2.3rem)/0.95 var(--din); text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; padding-top: 0.1em; }
.lied__bonus { display: inline-block; margin-left: 0.4rem; padding: 0.2rem 0.35rem 0.05rem; background: var(--tinte); color: var(--papier); font: 700 0.85rem/1 var(--din); vertical-align: 0.35em; }
.lied__plus { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 2px solid var(--tinte); transition: background-color 0.2s ease; }
.lied__plus svg { transition: transform 0.25s ease; }
.lied__kopf[aria-expanded="true"] .lied__plus { background: var(--tinte); color: var(--papier); }
.lied__kopf[aria-expanded="true"] .lied__plus svg { transform: rotate(45deg); }
.lied__mehr { padding: 0 0 1rem 3.8rem; }
.lied__mehr:not([hidden]) { display: flex; flex-direction: column; gap: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .lied__mehr:not([hidden]) { animation: kleben 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
.lied__anriss { font: 700 1.35rem/1.15 var(--din); color: var(--tinte); }
.lied__knoepfe { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.lied__knoepfe .block--akzent { background: var(--grund); color: var(--papier); }

/* Zeile als Plakat */
.plakat { background: var(--tinte); color: var(--papier); }
.plakat__innen { display: flex; flex-direction: column; gap: 1.25rem; padding-block: 2rem 1.75rem; }
.plakat__kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.plakat__kopf p { font: 600 0.9375rem/1.35 var(--sans); color: var(--papier-2); }
.plakat__kopf .duo { width: 3.25rem; aspect-ratio: 1; flex: none; }
.plakat__text { margin: 0; }
.plakat__text span { display: block; width: max-content; max-width: none; font: 700 var(--gr, 4rem)/0.84 var(--din); text-transform: uppercase; white-space: nowrap; padding-top: 0.06em; }
.plakat__text span:nth-child(odd) { color: var(--akzent); }
.plakat__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

/* Kleben: Flächen schieben sich auf wie frisch geklebt */
.wartet { opacity: 0.15; transform: translateY(1.75rem) scaleY(1.2); transform-origin: 50% 100%; }
.klebt { animation: kleben 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes kleben { from { opacity: 0.15; transform: translateY(1.75rem) scaleY(1.2); } to { opacity: 1; transform: none; } }

/* ---------- Über mich ---------- */

.ueber { background: var(--tinte); color: var(--papier); --duo-dunkel: #1c1820; --duo-hell: #ece6d2; }
.ueber__foto { position: relative; margin: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 86svh; }
.ueber__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ueber__hinweis { display: none; }
.ueber__foto.foto--hinweis { background: #2a2430; outline: 2px dashed rgba(236, 230, 210, 0.35); outline-offset: -14px; display: grid; place-items: center; }
.ueber__foto.foto--hinweis::after { display: none; }
.foto--hinweis .ueber__hinweis { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem; text-align: center; color: rgba(236, 230, 210, 0.7); }
.ueber__hinweis b { font: 700 3rem/0.9 var(--din); text-transform: uppercase; }
.ueber__hinweis span { font: 500 0.875rem/1.4 var(--sans); }
.ueber__titel {
  position: relative; z-index: 2; margin-top: -0.82em;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  font: 700 clamp(6.5rem, 37vw, 13rem)/0.8 var(--din); text-transform: uppercase; color: var(--papier);
  text-shadow: 0 0.04em 0.35em rgba(15, 12, 18, 0.4);
}
.ueber__titel span { display: block; padding-top: 0.06em; }
.ueber--ohne-foto .ueber__titel { margin-top: 0; padding-top: 2.5rem; }
.ueber__text { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem 3rem; max-width: 40rem; margin-inline: 0; }
.ueber__text p { font-size: 1.125rem; line-height: 1.65; color: var(--papier-2); }
.ueber__text .ueber__lead { font: 700 clamp(1.9rem, 8.4vw, 2.6rem)/1.02 var(--din); text-transform: uppercase; color: var(--papier); }
.ueber__entstehung { margin-top: 0.75rem; padding-top: 1.25rem; position: relative; }
.ueber__entstehung::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 0.5rem;
  background: linear-gradient(90deg, #9fd6c6 0 33.3%, #eab543 33.3% 66.6%, #dcbc84 66.6%);
}
.ueber__klein { margin: 0.4rem 0 0.5rem; font: 700 1.6rem/1 var(--din); text-transform: uppercase; color: var(--papier); padding-top: 0.15rem; }

/* ---------- Über die Trilogie ---------- */

.trilogie { background: var(--papier); color: var(--tinte); padding-block: clamp(3rem, 10vw, 5.5rem); }
.trilogie__titel { font: 700 clamp(3rem, 15vw, 5.5rem)/0.85 var(--din); text-transform: uppercase; }
.trilogie__text { margin-top: 1.1rem; max-width: 34em; font-size: 1.125rem; line-height: 1.65; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--tinte); color: var(--papier-2); font-size: 0.9375rem; }
.fuss__innen { display: flex; flex-direction: column; gap: 0.6rem; padding-block: 2rem max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem)); }
.fuss a { color: var(--papier); }

/* ---------- Streaming-Auswahl ---------- */

.blatt {
  width: 100%; max-width: 32rem; margin: auto auto 0; border: 0; border-radius: 0;
  padding: 1.25rem max(18px, env(safe-area-inset-right, 0px)) max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 1rem)) max(18px, env(safe-area-inset-left, 0px));
  background: var(--papier); color: var(--tinte);
  border-top: 0.6rem solid var(--grund);
  max-height: 90svh; overflow-y: auto;
}
.blatt[open] { display: flex; flex-direction: column; gap: 0.7rem; }
.blatt::backdrop { background: rgba(20, 16, 22, 0.75); }
@media (prefers-reduced-motion: no-preference) {
  .blatt[open] { animation: hoch 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
@keyframes hoch { from { transform: translateY(35%); } to { transform: none; } }
.blatt__ueber { font: 600 0.9375rem/1.35 var(--sans); color: var(--tinte-2); }
.blatt__titel { font: 700 2.6rem/0.85 var(--din); text-transform: uppercase; padding-top: 0.1em; }
.blatt__liste { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.3rem; }
.plattform {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.6rem; padding: 0.5rem 1rem 0.3rem; border: 2px solid var(--tinte);
  font: 700 1.6rem/1 var(--din); text-transform: uppercase; text-decoration: none;
}
.plattform svg { margin-top: -0.2rem; }
.plattform--spotify { background: var(--grund); border-color: var(--grund); color: var(--papier); }
.plattform:active { transform: translateY(2px); }
.blatt__alle { font: 600 0.9375rem/1.4 var(--sans); color: var(--tinte); padding: 0.4rem 0; }
.blatt .block--linie { color: var(--tinte); margin-top: 0.2rem; }

/* ---------- Songtext ---------- */

.text {
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--grund); color: var(--papier);
}
.text[open] { display: flex; flex-direction: column; }
.text::backdrop { background: rgba(20, 16, 22, 0.85); }
@media (prefers-reduced-motion: no-preference) {
  .text[open] { animation: hoch 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
.text__kopf {
  position: relative; flex: none; background: var(--tinte);
  padding: max(1rem, calc(env(safe-area-inset-top, 0px) + 0.5rem)) calc(max(18px, env(safe-area-inset-right, 0px)) + 3.6rem) 0.9rem max(18px, env(safe-area-inset-left, 0px));
  border-bottom: 0.45rem solid var(--akzent);
}
.text__herkunft { font: 600 0.875rem/1.3 var(--sans); color: var(--papier-2); }
.text__titel { margin-top: 0.3rem; font: 700 clamp(2.6rem, 13vw, 4rem)/0.85 var(--din); text-transform: uppercase; overflow-wrap: anywhere; padding-top: 0.08em; }
.text__zu { position: absolute; top: max(0.9rem, calc(env(safe-area-inset-top, 0px) + 0.4rem)); right: max(14px, env(safe-area-inset-right, 0px)); width: 3rem; height: 3rem; display: grid; place-items: center; border: 2px solid var(--papier); background: none; cursor: pointer; }
.text__inhalt {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 1.5rem max(18px, env(safe-area-inset-right, 0px)) 3rem max(18px, env(safe-area-inset-left, 0px));
  font: 700 clamp(1.5rem, 6.6vw, 1.85rem)/1.18 var(--din);
}
.text__inhalt:focus { outline: none; }
.strophe { max-width: 34rem; margin: 0 auto 1.1em; }
.strophe:nth-child(even) { color: var(--akzent); }
.zeile { display: block; padding-block: 0.06em; }
.zeile--ar { font-family: var(--arabisch); font-weight: 400; font-size: 0.92em; line-height: 1.7; }
.text__fuss {
  flex: none; display: flex; flex-direction: column; gap: 0.5rem; background: var(--tinte);
  padding: 0.75rem max(18px, env(safe-area-inset-right, 0px)) max(0.75rem, calc(env(safe-area-inset-bottom, 0px) + 0.4rem)) max(18px, env(safe-area-inset-left, 0px));
}
.text__knoepfe { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.5rem; }
.text__weiter { display: flex; justify-content: space-between; gap: 0.5rem; }
.weiter { display: flex; align-items: center; gap: 0.4rem; min-width: 0; max-width: 48%; min-height: 2.5rem; padding: 0.3rem 0.2rem 0; border: 0; background: none; color: var(--papier-2); cursor: pointer; font: 700 1.2rem/1 var(--din); text-transform: uppercase; }
.weiter[hidden] { display: flex !important; visibility: hidden; }
.weiter__titel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weiter__pfeil { font: 700 1.6rem/1 var(--sans); color: var(--akzent); margin-top: -0.25rem; }

/* ---------- Größere Bildschirme ---------- */

@media (min-width: 900px) {
  .held__name { display: flex; flex-wrap: nowrap; gap: 0 0.22em; }
  .termin a { grid-template-columns: 10rem 1fr 7rem; }
  .termin .duo { width: 7rem; }
  .album__raster { display: grid; grid-template-columns: minmax(20rem, 34rem) 1fr; }
  .album__kopf { position: sticky; top: 0; align-self: start; }
  .album__cover { aspect-ratio: 1; max-height: none; }
  .album__titel { font-size: clamp(9rem, 16vw, 15rem); }
  .album__rechts { min-width: 0; }
  .ueber__raster { display: grid; grid-template-columns: minmax(20rem, 34rem) 1fr; align-items: start; }
  .ueber__foto { position: sticky; top: 0; aspect-ratio: 4 / 5; max-height: none; }
  .ueber__titel { margin-top: 3rem; padding-left: max(28px, env(safe-area-inset-left, 0px)); font-size: clamp(7rem, 11vw, 11rem); }
  .ueber__titel span { display: inline; }
  .ueber__text { padding-left: max(28px, env(safe-area-inset-left, 0px)); }
  .text { width: min(44rem, calc(100% - 4rem)); height: min(56rem, calc(100% - 4rem)); margin: auto; border: 2px solid var(--akzent); }
  .blatt { margin: auto; }
  .fuss__innen { flex-direction: row; gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wartet { opacity: 1; transform: none; }
}
