/* =========================================================
   danielrobin.com – Stylesheet
   Keine externen Ressourcen. Schriften liegen lokal in /assets/fonts.
   ========================================================= */

@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibmplexmono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibmplexmono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibmplexmono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #0b0b0b;
  --black-2: #0f0f0f;
  --paper: #ece8df;
  --line: #262626;
  --muted: #8a8780;
  --soft: #d6d2c9;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--paper); font-family: var(--mono); font-size: 15px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--paper); color: var(--black); }
.paper ::selection { background: var(--black); color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .88; margin: 0; }
.outline { -webkit-text-stroke: 2px var(--paper); color: transparent; }
.paper .outline { -webkit-text-stroke-color: var(--black); }
#story { overflow-x: clip; }
.label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.paper { background: var(--paper); color: var(--black); }
.paper .label { color: #4a4740; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--black); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.u { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.u:hover { background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
section[id] { scroll-margin-top: 64px; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 42px; width: auto; filter: invert(1) brightness(.93); }
.nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.nav a { padding: 12px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #000; border-bottom: 1px solid var(--line); }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(58%, 820px); overflow: hidden; }
.hero-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 30% 40%; filter: grayscale(1) contrast(1.12); will-change: transform; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.is-loaded .hero-photo img { transform: scale(1); }
.hero-inner { position: relative; z-index: 2; min-height: min(86vh, 760px); padding-top: 120px; padding-bottom: 72px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-kicker { margin: 0 0 20px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #bdb9b0; }
.hero h1 span { display: block; font-size: clamp(88px, 16vw, 250px); line-height: .82; }
.aka { margin: 26px 0 0; align-self: flex-start; border: 2px solid var(--paper); padding: 6px 12px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-2deg); }
.scroll-hint { position: absolute; right: 24px; bottom: 26px; z-index: 3; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #bdb9b0; display: flex; align-items: center; gap: 10px; }
.scroll-hint::after { content: ""; width: 1px; height: 36px; background: currentColor; transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* load-in for hero lines */
.load { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.is-loaded .load { opacity: 1; transform: none; }
.is-loaded .load.d1 { transition-delay: .12s; }
.is-loaded .load.d2 { transition-delay: .28s; }
.is-loaded .load.d3 { transition-delay: .5s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; align-items: stretch; border-bottom: 2px solid var(--black); }
.marquee-tag { flex: 0 0 auto; padding: 14px 18px; background: var(--black); color: var(--paper); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; line-height: 1.3; z-index: 1; }
.marquee-track { overflow: hidden; flex: 1 1 auto; }
.marquee-move { display: flex; width: max-content; font-family: var(--display); font-size: 34px; text-transform: uppercase; line-height: 1; padding: 16px 0; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-move span { padding-right: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-quiet { border-top: 1px solid var(--line); margin-top: 70px; overflow: hidden; }
.marquee-quiet .marquee-move { font-size: 22px; letter-spacing: .04em; color: var(--muted); padding: 18px 0; animation-duration: 55s; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding-top: 110px; padding-bottom: 100px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 44px; }
.sec-head p { margin: 0; max-width: 420px; font-size: 14px; }
.border-b { border-bottom: 1px solid var(--line); }

/* Intro */
.intro { display: flex; flex-wrap: wrap; gap: 40px 80px; align-items: flex-start; }
.intro h2 { flex: 1 1 420px; min-width: 0; font-size: clamp(64px, 8.5vw, 132px); }
.intro-text { flex: 1.2 1 460px; min-width: 0; font-size: 17px; line-height: 1.75; }
.intro-text p { margin: 0 0 22px; }
.intro-text .cta { margin: 8px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Story LP */
.story { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.tracklist { flex: 1 1 420px; min-width: 0; }
.side-head { display: flex; align-items: baseline; gap: 14px; padding: 0 0 10px; border-bottom: 2px solid var(--paper); }
.side-head b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.tracks { list-style: none; margin: 0 0 36px; padding: 0; }
.tracks li { border-bottom: 1px solid var(--line); }
.track { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 10px; min-height: 48px; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; background: transparent; color: var(--paper); text-align: left; transition: background .2s, color .2s, padding-left .25s var(--ease); }
.track:hover { padding-left: 20px; }
.track[aria-pressed="true"] { background: var(--paper); color: var(--black); font-weight: 700; }
.track .no, .track .yr { font-size: 12px; opacity: .65; }
.track .no { width: 40px; flex: 0 0 auto; }
.track .t { flex: 1 1 auto; }

.player { flex: 1.15 1 480px; min-width: 0; }
.sleeve-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; margin: 0 auto 36px; }
.vinyl { position: absolute; right: -6%; top: 4%; width: 92%; aspect-ratio: 1 / 1; border-radius: 50%; background: repeating-radial-gradient(circle at center, #0e0e0e 0 2px, #1c1c1c 2px 4px); box-shadow: 0 30px 60px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; animation: spin 6s linear infinite; transition: right .7s var(--ease); }
.sleeve-wrap.is-changing .vinyl { right: -2%; }
.vinyl-label { width: 32%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--paper); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10px; }
.vinyl-label b { font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.vinyl-label small { font-size: 10px; letter-spacing: .14em; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sleeve { position: absolute; left: 0; top: 0; width: 86%; aspect-ratio: 1 / 1; margin: 0; background: var(--paper); box-shadow: 0 30px 70px rgba(0,0,0,.65); overflow: hidden; }
.sleeve img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.04); transition: opacity .35s ease, transform .9s var(--ease); }
.sleeve-wrap.is-changing .sleeve img, .sleeve-wrap.is-changing .card { opacity: 0; transform: scale(1.04); }
.card { position: absolute; inset: 0; padding: 9%; display: flex; flex-direction: column; justify-content: space-between; color: var(--black); transition: opacity .35s ease, transform .9s var(--ease); }
.card span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.card strong { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: .92; text-transform: uppercase; white-space: pre-line; }
.now { border-top: 2px solid var(--paper); padding-top: 18px; }
.now-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.now-year { font-family: var(--display); font-size: clamp(60px, 7vw, 104px); line-height: .9; }
.now h3 { margin: 14px 0 12px; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; text-transform: uppercase; }
.now p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--soft); max-width: 580px; }
.now-text { transition: opacity .3s ease, transform .5s var(--ease); }
.is-changing-text .now-text { opacity: 0; transform: translateY(8px); }
.controls { display: flex; gap: 12px; margin-top: 22px; }
.controls button { width: 48px; height: 48px; border: 1px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; font-family: inherit; font-size: 14px; letter-spacing: -2px; }
.controls button.next { background: var(--paper); color: var(--black); }

/* Skate prints */
.prints { overflow-x: auto; padding: 0 24px 24px; scrollbar-width: thin; scrollbar-color: var(--black) #d9d4c8; }
.prints-row { display: flex; gap: 18px; width: max-content; align-items: flex-end; padding-top: 10px; }
.print { margin: 0; flex: 0 0 auto; background: #fff; padding: 10px 10px 0; box-shadow: 0 12px 26px rgba(0,0,0,.18); transition: transform .6s var(--ease); }
.print:hover { transform: rotate(0deg) translateY(-6px) !important; }
.print img { height: 360px; object-fit: cover; }
.print figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.print figcaption b { font-weight: 700; }

/* Senior */
.senior-top { display: flex; flex-wrap: wrap; gap: 36px 72px; align-items: flex-end; margin-bottom: 50px; }
.senior-top > div { flex: 1 1 420px; min-width: 0; }
.senior-top img { width: min(100%, 540px); filter: invert(1) brightness(.93); margin-top: 18px; }
.senior-top p { flex: 1 1 340px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.75; color: var(--soft); }
.decks { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.6vw, 36px); padding: 20px 0 50px; flex-wrap: wrap; }
.deck { height: clamp(300px, 32vw, 500px); width: auto; filter: drop-shadow(0 24px 24px rgba(0,0,0,.6)); transform: var(--rot, none); transition: transform .6s var(--ease); }
.deck:hover { transform: translateY(-22px) rotate(-2deg) !important; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid3 figure { margin: 0; }
.grid3 img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cap { padding-top: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.xerox { filter: grayscale(1) contrast(1.35) brightness(1.04); }

/* Music */
.music { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.music > div { flex: 1 1 440px; min-width: 0; }
.music h2 { font-size: clamp(60px, 8vw, 124px); margin: 0 0 24px; }
.music .lead { margin: 0 0 18px; font-size: 16px; line-height: 1.75; max-width: 540px; color: var(--soft); }
.credits { border-top: 2px solid var(--paper); margin-top: 30px; }
.credits-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 0; color: var(--muted); }
.credits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 24px; }
.credits li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.credits li span:first-child { font-weight: 700; text-transform: uppercase; }
.credits li span:last-child { font-size: 11px; color: #6f6c66; }
.music figure { margin: 0; }
.music figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.music figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-top: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.music figcaption span:last-child { color: var(--paper); }

/* Penny Arcade */
.artwork { padding: 90px 24px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.artwork img { width: min(100%, 560px); box-shadow: 0 30px 70px rgba(0,0,0,.6); }

/* Lineup */
.lineup { text-align: center; padding-top: 110px; padding-bottom: 40px; }
.lineup h2 { font-size: clamp(32px, 4vw, 56px); margin: 0 0 48px; line-height: 1; }
.tier1 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 1.02; text-transform: uppercase; }
.tier2 { margin: 0 auto 26px; max-width: 1100px; font-family: var(--display); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.25; text-transform: uppercase; color: var(--soft); }
.tier3 { margin: 0 auto; max-width: 1060px; font-size: 13px; line-height: 2; letter-spacing: .1em; text-transform: uppercase; color: #bdb9b0; }
.x { color: #5c5a55; }

/* Notebook */
.posts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--paper); }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 22px 0; text-decoration: none; transition: padding-left .3s var(--ease); }
.posts a:hover { padding-left: 14px; }
.posts .n { font-family: var(--display); font-size: 40px; line-height: 1; color: #4a4a4a; width: 70px; }
.posts .ti { flex: 1 1 360px; font-size: 20px; line-height: 1.4; }
.posts .tg { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px 60px; align-items: center; padding-top: 110px; padding-bottom: 70px; }
.contact > div:first-child { flex: 1.6 1 520px; min-width: 0; }
.contact h2 { font-size: clamp(64px, 9vw, 140px); margin: 0 0 16px; }
.contact p { margin: 0 0 22px; font-size: 16px; color: #c9c5bc; max-width: 560px; }
.mail { display: inline-block; font-family: var(--display); font-size: clamp(30px, 6vw, 92px); line-height: 1.05; text-transform: uppercase; word-break: break-word; }
.contact-links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 44px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.contact-links a { padding: 10px 0; }
.contact-photo { flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }
.contact-photo img { width: min(100%, 380px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

.bridge .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding-top: 30px; padding-bottom: 30px; }
.bridge svg { width: 56px; height: 52px; fill: var(--black); flex: 0 0 auto; }
.bridge p { flex: 1 1 380px; margin: 0; font-size: 14px; }
.btn { display: inline-flex; align-items: center; background: var(--black); color: var(--paper); text-decoration: none; padding: 14px 24px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; min-height: 44px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateX(4px); }

.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 22px; padding-bottom: 34px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-footer a { padding: 8px 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; padding-top: 90px; padding-bottom: 110px; }
.legal h1 { font-size: clamp(56px, 9vw, 120px); margin: 0 0 12px; }
.legal .stand { margin: 0 0 50px; }
.legal h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.15; margin: 54px 0 14px; letter-spacing: .01em; }
.legal h3 { font-size: 15px; margin: 28px 0 8px; letter-spacing: .04em; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--soft); }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; font-size: 16px; line-height: 1.75; }
.box { border: 2px solid var(--paper); padding: 22px 24px; margin: 26px 0; }
.box h2 { margin-top: 0; }
.summary { background: #151515; padding: 22px 24px; margin: 0 0 30px; }
.summary ul { margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.deck.reveal { transform: translateY(90px) var(--rot, rotate(0deg)); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.deck.reveal.is-in { transform: var(--rot, none); }
.deck.reveal.is-in:hover { transition-delay: 0s; }

/* no-JS fallback: everything visible */
.no-js .reveal, .no-js .load { opacity: 1; transform: none; }
.no-js .reveal-img { clip-path: none; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 16px; }
  .logo img { height: 34px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; font-size: 11px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .story { gap: 36px; }
  .player { order: -1; }
  .sleeve-wrap { width: min(100%, 320px); margin-bottom: 24px; }
  .now-year { font-size: 52px; }
  .now h3 { font-size: 26px; }
  .tracks { margin-bottom: 28px; }
  .hero-photo { position: relative; width: 100%; height: 72vw; }
  .hero-photo img { height: 100%; }
  .hero-inner { min-height: 0; padding-top: 34px; padding-bottom: 56px; }
  .scroll-hint { display: none; }
  .sec { padding-top: 80px; padding-bottom: 72px; }
  .print img { height: 260px; }
  .marquee-move { font-size: 26px; }
}

/* "Bewegung reduzieren" am Gerät: keine Bewegung, aber weiche Einblendungen bleiben */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint::after { animation: none !important; }
  .reveal, .load, .deck.reveal { transform: none !important; transition: opacity .8s ease !important; transition-delay: var(--d, 0s) !important; }
  .reveal-img { clip-path: none !important; opacity: 0; transition: opacity .8s ease !important; }
  .reveal-img.is-in { opacity: 1; }
  .hero-photo img { transform: none !important; transition: none !important; }
}
