/* till-leise.de · Design-Werte aus der alten Seite (siehe _archiv/design-werte.md) */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/CormorantGaramond-var.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(../fonts/MontserratAlternates-300.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(../fonts/MontserratAlternates-300i.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(../fonts/MontserratAlternates-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(../fonts/MontserratAlternates-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #1E1E29;
  --bg-2: #24242F;
  --bg-bar: #1E2A31;
  --text: #EDEDED;
  --muted: #9AA2AD;         /* statt #69727D: 6,4:1 auf --bg (WCAG AA) */
  --accent: #DD9933;
  --accent-2: #EEA345;
  --accent-hover: #D88E2D;
  --line: rgba(237, 237, 237, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 16px/1.75 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; } /* Einblend-Versatz darf keinen horizontalen Scroll erzeugen */
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--text); text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: #1E1E29; padding: .6em 1em; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; color: #1E1E29; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .sub, .sub { color: var(--muted); }
.kicker { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6em; }
.lead { font-size: 1.12rem; }
.note { color: var(--muted); font-size: .92rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(30, 42, 49, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; padding: 6px 0; }
.brand .logo { width: 104px; height: auto; }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 10px; margin-right: -10px; cursor: pointer; }
.burger .icon { width: 26px; height: 26px; }
.burger .icon:last-child { display: none; }
.site-nav ul { list-style: none; display: flex; gap: clamp(16px, 2.6vw, 36px); margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .02em; padding: 8px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent-2); transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--accent-2); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

@media (max-width: 899px) {
  .burger { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); background: rgba(30, 30, 41, .98); display: none; }
  .site-nav ul { flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 8px; padding-bottom: 10vh; }
  .site-nav a { font-family: var(--serif); font-weight: 700; font-size: 2rem; padding: 8px 16px; display: block; }
  .site-nav a::after { display: none; }
  .nav-open .site-nav { display: block; }
  .nav-open .burger .icon:first-child { display: none; }
  .nav-open .burger .icon:last-child { display: block; }
  .nav-open { overflow: hidden; }
}

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 1.4em 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px;
  padding: .55em 1.35em; border-radius: 999px; background: var(--accent-2); color: #1E1E29;
  font-weight: 500; font-size: .92rem; text-decoration: none; letter-spacing: .01em;
  transition: background-color .25s, transform .25s var(--ease);
}
.pill:hover { background: var(--accent-hover); color: #1E1E29; transform: translateY(-1px); }
.pill .icon { width: 1.15em; height: 1.15em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; place-items: center; overflow: hidden; padding: 48px 0 72px; isolation: isolate; }
.hero-bg, .hero > picture { position: absolute; inset: 0; z-index: -2; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,30,41,.05) 0%, rgba(30,30,41,.15) 55%, rgba(30,30,41,.92) 92%, var(--bg) 100%); }
.hero-inner { text-align: center; padding: 0 var(--gutter); width: 100%; }
.hero-figure { --fig: min(380px, 62vw); position: relative; width: var(--fig); margin: 0 auto; padding-bottom: calc(var(--fig) * .32); } /* Abstand relativ zum Portrait, nicht zur Fensterbreite */
.hero-portrait { width: 100%; height: auto; border-radius: 50%; }
.hero-logo { position: absolute; left: 50%; bottom: calc(var(--fig) * -.05); transform: translateX(-50%); width: 139%; margin: 0; } /* fest an die Portraitgröße gekoppelt */
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.25)); }
.hero-claim { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; margin: 1.1em 0 .3em; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 500; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.45); }

/* ---------- Album ---------- */
.album-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.album-cover { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.album-facts { color: var(--muted); font-weight: 500; font-size: .92rem; letter-spacing: .02em; }
.album-text { max-width: 780px; margin: clamp(40px, 6vw, 72px) auto 0; }
@media (min-width: 900px) { .album-grid { grid-template-columns: minmax(0, 440px) 1fr; } }

.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5em; color: var(--accent); font-weight: 500; padding: .3em 0; margin-bottom: .6em; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more summary:hover { color: var(--accent-2); }
.more .more-close, .more[open] .more-open { display: none; }
.more[open] .more-close { display: inline; }
.more[open] > summary { order: 2; }
.more[open] { display: flex; flex-direction: column; }

.tracklist { max-width: 780px; margin: clamp(48px, 7vw, 88px) auto 0; }
.tracklist h3 { text-align: center; margin-bottom: .2em; }
.tracklist .sub { margin-bottom: 1.4em; font-size: .92rem; }
.tracklist ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 2.4em 1fr auto; align-items: baseline; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color .2s, color .2s; }
.track:hover { background: rgba(237,237,237,.04); color: var(--accent-2); }
.track-nr, .track-dur { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
.track-title { font-weight: 500; }
.badge { display: inline-block; margin-left: .7em; padding: .05em .7em; border: 1px solid rgba(221,153,51,.6); border-radius: 999px; color: var(--accent); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; vertical-align: .15em; }
.tracklist-sum { display: flex; justify-content: space-between; padding: 14px 8px 0; color: var(--muted); font-size: .9rem; }
.tracklist-sum strong { color: var(--text); font-weight: 500; }

/* ---------- Song-Details (ohne JS sichtbar, mit JS im Overlay) ---------- */
.song-details { padding-top: clamp(48px, 8vw, 96px); }
.js .song-details { display: none; }
.song { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--line); }
.song-media img { width: 100%; max-width: 340px; height: auto; border-radius: var(--radius); }
.song-meta { color: var(--muted); font-size: .88rem; font-weight: 500; letter-spacing: .02em; margin-bottom: .3em; }
.song-title { font-size: clamp(2rem, 5vw, 2.8rem); }
.song-desc p { margin-bottom: .9em; }
.credits { display: grid; grid-template-columns: 1fr; gap: 6px 24px; margin: 1.6em 0 2em; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.credits div { display: grid; grid-template-columns: 10.5em 1fr; gap: 12px; }
.credits dt { color: var(--muted); font-weight: 500; }
.credits dd { margin: 0; }
.lyrics-h { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2em; }
.lyrics { max-width: 38em; font-size: 1.04rem; line-height: 1.8; }
.lyrics p { margin: 0 0 1.5em; }
@media (min-width: 900px) {
  .song { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
  .song-media { position: sticky; top: 24px; }
}

/* ---------- Overlay ---------- */
.overlay { padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: transparent; color: var(--text); overflow: hidden; }
.overlay::backdrop { background: rgba(14, 14, 20, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overlay[open] { display: flex; align-items: center; justify-content: center; }
.overlay-box { position: relative; width: min(1080px, 100%); height: 100%; background: var(--bg); display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
@media (min-width: 700px) { .overlay-box { height: calc(100% - 48px); border-radius: 8px; } }
.overlay-bar { display: flex; justify-content: flex-end; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex: none; }
.ov-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.ov-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #1E1E29; }
.ov-close { margin-left: 8px; }
.overlay-content { overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(18px, 4vw, 48px) 48px; flex: 1; }
.overlay-content:focus { outline: none; }
.overlay-content .song { border-top: 0; padding-top: 28px; }
html.ov-open { overflow: hidden; }
.overlay[open] .overlay-box { animation: ov-in .35s var(--ease); }
@keyframes ov-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- EP ---------- */
.ep { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.ep-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ep-cover img { width: min(100%, 320px); height: auto; border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0,0,0,.65); }
@media (min-width: 900px) { .ep-grid { grid-template-columns: 320px 1fr; } }

/* ---------- Bio ---------- */
.bio-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.portrait { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (min-width: 900px) { .bio-grid { grid-template-columns: 420px 1fr; } .bio-media { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Prose ---------- */
.prose h2 + p, .prose h2 + blockquote { margin-top: .4em; }
.prose h3 { margin-top: 1.6em; }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--accent); font-style: italic; color: var(--text); }
.prose blockquote p { margin-bottom: .9em; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.legal .prose h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: .6em; }
.legal .prose h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); margin-top: 1.6em; }
.legal .prose h3 { font-size: 1.35rem; }
.draft-note { border: 1px dashed var(--accent); border-radius: 6px; padding: .8em 1em; color: var(--accent-2); font-size: .92rem; }

/* ---------- KI, Kontakt ---------- */
.ki { background: var(--bg-2); }
.kontakt .pills { justify-content: center; }
.socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 32px 0 0; }
.social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--text); border: 1px solid var(--line); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social .icon { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-bar); padding: 32px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-inner ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.footer-inner a { color: var(--text); text-decoration: none; }
.footer-inner a:hover { color: var(--accent-2); }
.footer-inner p { margin: 0; }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease); }
.js [data-reveal="left"] { translate: -28px 0; }
.js [data-reveal="right"] { translate: 28px 0; }
.js [data-reveal=""], .js [data-reveal]:not([data-reveal="left"]):not([data-reveal="right"]):not([data-reveal="zoom"]) { translate: 0 18px; }
.js [data-reveal="zoom"] { scale: .94; }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; scale: none; }
}

/* Album: HyperFollow als Hauptbutton, Profile als zurückhaltende Variante */
.pill-main { font-size: 1rem; padding: .7em 1.6em; }
.pill-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(237,237,237,.35); }
.pill-ghost:hover { background: transparent; color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-2); }
.album-info .note { margin: 1.6em 0 0; }
.album-info .note + .pills { margin-top: .7em; }

/* ---------- Teilen ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 28px; }
.share-label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.share .social { width: 40px; height: 40px; background: transparent; cursor: pointer; font: inherit; }
.share .social .icon { width: 19px; height: 19px; }
.share-msg { font-size: .85rem; color: var(--accent-2); min-height: 1em; }
.song .pills { margin: 1.2em 0 0; }
.song .pills:empty { display: none; }

/* ---------- Song-Seiten ---------- */
.song-page .section { padding-top: clamp(28px, 5vw, 56px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 8px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-2); }
.song-page .song { border-top: 0; padding-top: 24px; }
.song-page h1.song-title { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.song-page h2.lyrics-h { font-family: var(--sans); font-weight: 500; font-size: .8rem; }
.song-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.song-nav a.song-nav-prev, .song-nav a.song-nav-next { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.song-nav a.song-nav-next { justify-content: flex-end; text-align: right; }
.song-nav small { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.song-nav a:hover { color: var(--accent-2); }
@media (max-width: 640px) {
  .song-nav { grid-template-columns: 1fr 1fr; }
  .song-nav .pill { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
