/* Backroad Country Radio – colour chapters: the hours of the road */
:root {
  --night: #14213d;      /* midnight on the backroads */
  --night-deep: #0d162b;
  --black: #0b0b0c;
  --black-tone: #1d1d20;
  --dust: #f2c230;       /* noon dust, road-line yellow */
  --dust-tone: #e3b320;
  --sun: #ff8a1f;        /* sunset */
  --sun-tone: #f07a10;
  --paper: #ffffff;
  --ink: #0b0b0c;
  --soft-on-dark: #b9c2d8;
  --soft-on-light: #4a3a12;
  --accent: #f2c230;
  --accent-ink: #0b0b0c;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem);
  --step-display: clamp(3rem, 7vw, 7rem);

  --m: clamp(16px, 2.2vw, 32px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: "Jost", system-ui, sans-serif; font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- buttons: one shape, square ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 0; font-weight: 500; font-size: var(--step-body); text-decoration: none;
  transition: transform .18s var(--ease-out), background-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffd24a; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2a2e; }
.ico { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.is-playing .ico { width: 12px; height: 16px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }

/* ---------- chapters ---------- */
.ch { position: relative; min-height: 90svh; padding: clamp(80px, 11vw, 160px) var(--m); }
.ch-black { background: var(--black); color: var(--paper); }
.ch-yellow { background: var(--dust); color: var(--ink); }
.ch-orange { background: var(--sun); color: var(--ink); }
.ch-blue { background: var(--night); color: var(--paper); }

/* ---------- hero ---------- */
.hero { background: var(--night); min-height: 100svh; display: flex; flex-direction: column; }
.band { position: relative; height: 52svh; min-height: 340px; }
.bar { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; align-items: stretch; height: 64px; }
.mark { background: var(--black); color: var(--paper); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: .95; font-size: var(--step-body); padding: 8px 20px 8px 8px; display: flex; align-items: center; gap: 12px; }
.mark img { width: 48px; height: 48px; border-radius: 50%; }
.tab { background: var(--dust); color: var(--ink); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); padding: 0 24px; width: calc(42% - 170px); min-width: max-content; }
.tab a { text-decoration: none; font-weight: 500; font-size: var(--step-body); }
.tab a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar-listen { margin-left: auto; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--step-body); padding: 0 24px; min-height: 64px; transition: background-color .18s; }
.bar-listen:hover { background: #ffd24a; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; }
.mosaic figure { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.m-road { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.m-road img { transform: scale(1.22); transform-origin: 46% 52%; animation: drift 26s ease-in-out infinite alternate; }
.m-dust { grid-column: 3; grid-row: 1 / span 2; background: var(--dust); display: grid; place-items: center; padding: 72px 6% 12px; }
.m-dust img { width: 100%; height: auto; max-height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; clip-path: circle(46.5%); filter: none; }
.m-truck { grid-column: 4; grid-row: 1; }
.m-truck img { object-position: 60% 30%; }
.m-stage img { object-position: 50% 8%; }
.m-pass img { object-position: 50% 30%; }
.m-sun { grid-column: 5 / span 2; grid-row: 1; background: var(--sun); }
.m-stage { grid-column: 4 / span 2; grid-row: 2; }
.m-pass { grid-column: 6; grid-row: 2; }

.m-night { display: none; }
@keyframes drift { to { transform: scale(1.3) translate(-2%, -1%); } }

.hero-text { flex: 1; position: relative; padding: 0 var(--m) clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 42% 1fr; align-items: end; gap: 24px; }
.stand { align-self: start; padding-top: 40px; max-width: 34ch; display: grid; gap: 28px; justify-items: start; }
.stand p { font-size: var(--step-lead); line-height: 1.35; }
.title { font-weight: 500; text-transform: uppercase; font-size: var(--step-display); letter-spacing: -0.06em; line-height: .9; padding-top: 96px; }
.title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.title .line > span { display: block; animation: rise .9s var(--ease-out) both; }
.title .line:nth-child(2) > span { animation-delay: .11s; }
.stand { animation: fade .7s .5s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }

/* ---------- on air ---------- */
.onair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-left: 0; padding-right: 0; min-height: 88svh; }
.plate { position: relative; align-self: center; margin: 0 40px; aspect-ratio: 1; overflow: hidden; background: var(--black-tone); }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.ring { position: absolute; inset: 7%; border-radius: 50%; border: 6px solid rgba(255,255,255,.9); pointer-events: none; }
.dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--black); border: 6px solid var(--paper); }
.is-playing .plate .ring { animation: spin 5s linear infinite; border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.onair-side { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 0 var(--m) 0 40px; }
.tabs { display: flex; gap: 28px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 6px 0; font-size: var(--step-body); color: var(--soft-on-dark); }
.tabs button[aria-selected="true"] { color: var(--paper); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.tabs button:hover { color: var(--paper); }
.onair-body h2 { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; }
.onair-artist { font-size: var(--step-lead); margin-top: 16px; color: var(--accent); }
.onair-note { margin-top: 40px; max-width: 34ch; }
.songlist { display: grid; gap: 14px; margin-top: 8px; }
.songlist li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.songlist img { width: 64px; height: 64px; object-fit: cover; }
.songlist b { display: block; font-weight: 500; font-size: var(--step-lead); line-height: 1.15; }
.songlist small { font-size: var(--step-small); color: var(--soft-on-dark); }
.cells { display: grid; grid-template-columns: 1fr 1fr; }
.cell { min-height: 72px; display: flex; align-items: center; padding: 0 24px; border: 0; font-weight: 500; text-decoration: none; transition: transform .18s var(--ease-out), background-color .18s; }
.cell:active { transform: scale(.98); }
.cell-ink { background: var(--accent); color: var(--accent-ink); }
.cell-ink:hover { background: #ffd24a; }
.cell-tone { background: var(--black-tone); color: var(--paper); }
.cell-tone:hover { background: #2c2c31; }

/* ---------- schedule ---------- */
.sched-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sched-head h2 { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; }
.soft { color: var(--soft-on-light); }
.sched-tz { margin-top: 20px; max-width: 60ch; }
.sched-grid { display: grid; grid-template-columns: 150px 1fr; gap: 40px; margin-top: 56px; }
.days { display: grid; gap: 6px; align-content: start; }
.days button { height: 64px; border: 0; background: var(--dust-tone); color: var(--ink); text-align: left; padding: 0 16px; display: grid; align-content: center; transition: background-color .18s; }
.days button:hover { background: #d7a816; }
.days button b { font-weight: 500; font-size: var(--step-body); }
.days button small { font-size: var(--step-small); }
.days button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.bands { display: grid; gap: 4px; }
.band-row { display: grid; grid-template-columns: minmax(200px, 38%) 1fr auto; align-items: center; gap: 20px; min-height: 76px; padding: 12px 20px; background: var(--dust-tone); }
.band-row:nth-child(even) { background: #ebbb27; }
.band-row .t { font-size: var(--step-lead); font-variant-numeric: tabular-nums; font-weight: 500; line-height: 1.35; }
.band-row b { display: block; font-weight: 500; font-size: var(--step-body); }
.band-row small { font-size: var(--step-small); color: var(--soft-on-light); }
.band-row .who { display: flex; }
.band-row .who img { width: 88px; height: 56px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.band-row.is-now { background: var(--ink); color: var(--paper); }
.band-row.is-now small { color: #d9d4c4; }

/* ---------- rotation ---------- */
.rotation { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.rot-text { display: grid; gap: 36px; }
.rot-text h2 { font-size: var(--step-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; line-height: .9; }
.rot-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.rot-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.names { font-size: var(--step-lead); line-height: 1.3; max-width: 62ch; letter-spacing: -0.03em; font-weight: 500; text-transform: uppercase; }
.names strong { font-weight: 700; }
.names a { text-decoration: none; color: #3a1305; transition: color .15s; }
.names a:hover, .names a:focus-visible { color: var(--ink); }
.frame { display: inline-block; height: .8em; width: 1.2em; vertical-align: -0.06em; margin-left: .15em; overflow: hidden; transform-origin: left center; transition: transform .25s var(--ease-out); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.names a:hover + .frame { transform: scale(1.6); }
.count { margin-top: 40px; font-size: var(--step-body); }

/* ---------- about ---------- */
.about { padding: 20px; }
.panel { position: relative; min-height: 100svh; background: var(--night-deep); overflow: hidden; padding: 56px 56px 0; display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto 1fr; column-gap: 8%; row-gap: 56px; }
.panel h2 { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; color: #f6e7b8; grid-column: 1; align-self: start; }
.arch { grid-column: 1; grid-row: 2; align-self: end; width: min(38vw, 560px); aspect-ratio: 4 / 5; margin-bottom: -12%; clip-path: inset(0 round 50% 50% 0 0 / 30% 30% 0 0); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 56px; display: grid; gap: 64px; align-content: start; justify-items: start; }
.about-text h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 12px; }
.about-text p { font-size: var(--step-body); }

/* ---------- cta ---------- */
.cta { display: flex; align-items: center; padding-left: 0; padding-right: 0; min-height: 70svh; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; width: 100%; }
.flank { grid-column: 1 / span 2; height: 360px; overflow: hidden; }
.flank img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.flank-color { grid-column: 11 / span 2; background: var(--sun); }
.action-tile { grid-column: 3 / span 8; height: 360px; background: var(--dust); color: var(--ink); padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.action-tile h2 { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; }
.action-tile p { max-width: 44ch; }
.copied { min-height: 1.5em; font-weight: 500; }

/* ---------- footer ---------- */
.foot { min-height: 90svh; display: flex; flex-direction: column; padding-top: 48px; overflow: hidden; }
.foot-name { font-size: 18.5vw; font-weight: 700; text-transform: uppercase; letter-spacing: -0.06em; line-height: .78; margin-left: -.04em; }
.foot-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; margin-top: 72px; }
.places { display: grid; gap: 10px; }
.places a { font-size: var(--step-lead); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.places a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: var(--step-small); }
.foot-links ul { display: grid; gap: 8px; align-content: start; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-last { margin-top: auto; padding-top: 96px; display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-small); }
.foot-last p { max-width: 90ch; }

/* ---------- section entrances ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1000px) and (min-width: 761px) {
  .onair { grid-template-columns: 1fr; padding: 80px 0; }
  .plate { margin: 0 var(--m); max-width: 560px; }
  .onair-side { padding: 40px var(--m) 0; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .panel { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; display: flex; flex-direction: column; gap: 48px; }
  .about-text { grid-template-columns: 1fr 1fr; display: grid; gap: 32px; }
  .about-text .btn { grid-column: 1 / -1; }
  .arch { position: relative; left: auto; bottom: auto; width: 60%; align-self: center; margin-bottom: -12%; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .band { height: 38svh; min-height: 260px; }
  .bar { height: 56px; }
  .tab { display: none; }
  .mark { font-size: var(--step-small); }
  .bar-listen { min-height: 56px; font-size: var(--step-body); padding: 0 16px; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .m-road { grid-column: 1 / span 2; grid-row: 1; }
  .m-dust { grid-column: 3; grid-row: 1; }
  .m-truck { grid-column: 1; grid-row: 2; }
  .m-sun { grid-column: 2; grid-row: 2; }
  .m-stage, .m-pass { display: none; }
  .m-night { display: block; grid-column: 3; grid-row: 2; background: var(--black); }
  .hero-text { grid-template-columns: 1fr; align-items: start; }
  .title { order: -1; padding-top: 40px; font-size: 11.5vw; }
  .stand { padding-top: 0; }
  .onair { grid-template-columns: 1fr; padding: 64px 0; }
  .plate { margin: 0 16px; }
  .onair-side { padding: 32px 16px 0; gap: 32px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .sched-grid { grid-template-columns: 1fr; gap: 20px; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .days button { height: 56px; padding: 0 10px; }
  .band-row { grid-template-columns: 1fr auto; padding: 16px; }
  .band-row .s { grid-column: 1 / -1; }
  .band-row .who { grid-row: 1; grid-column: 2; }
  .names { font-size: 1.5rem; }
  .names a { color: var(--ink); line-height: 1.25; }
  .frame:nth-of-type(n+4) { display: none; }
  .about { padding: 10px; }
  .panel { grid-template-columns: 1fr; padding: 28px 20px 0; min-height: 0; display: flex; flex-direction: column; gap: 40px; }
  .panel h2 { font-size: 6.6vw; }
  .about-text { gap: 32px; }
  .arch { position: relative; left: auto; bottom: auto; width: 86vw; align-self: center; margin-bottom: -20%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .action-tile { grid-column: 1 / -1; grid-row: 1; height: auto; min-height: 300px; padding: 28px 20px; }

  .flank, .flank-color { grid-column: auto; height: 120px; }
  .foot-name { font-size: 17.5vw; }
  .rotation { grid-template-columns: 1fr; }
  .rot-text h2 { font-size: 12vw; }
  .foot-row { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .foot-last { flex-direction: column; font-size: var(--step-small); }
}

@media (prefers-reduced-motion: reduce) {
  /* keine Wege, nur sanftes Einblenden – ausser der Besucher schaltet Animationen ein */
  :root:not(.motion-on) .m-road img, :root:not(.motion-on) .is-playing .plate .ring { animation: none; }
  :root:not(.motion-on) .title .line > span { animation: fade-only .6s ease both; }
  :root:not(.motion-on) .stand { animation: fade-only .6s .2s ease both; }
  :root:not(.motion-on) .reveal { transform: none; transition: opacity .5s ease; }
  :root:not(.motion-on) .btn:hover, :root:not(.motion-on) .btn:active, :root:not(.motion-on) .cell:active { transform: none; }
}
:root.motion-off .m-road img, :root.motion-off .is-playing .plate .ring { animation: none; }
:root.motion-off .title .line > span, :root.motion-off .stand { animation: fade-only .6s ease both; }
:root.motion-off .reveal { transform: none; transition: opacity .5s ease; }
.motion-toggle { background: none; border: 0; padding: 0; font-size: var(--step-small); text-decoration: underline; text-underline-offset: 3px; color: inherit; }
@keyframes fade-only { from { opacity: 0; } }

/* ---------- Impressum / Datenschutz ---------- */
.legal-page { background: var(--dust); color: var(--ink); }
.legal-bar { display: flex; justify-content: space-between; align-items: stretch; background: var(--black); color: var(--paper); }
.legal-back { display: flex; align-items: center; padding: 0 var(--m); text-decoration: none; font-weight: 500; }
.legal-back:hover { text-decoration: underline; }
.legal { max-width: 72ch; padding: clamp(48px, 8vw, 120px) var(--m); }
.legal h1 { font-size: var(--step-head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; margin-bottom: 40px; }
.legal h2 { font-size: var(--step-lead); font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal a { text-underline-offset: 3px; }
