/* TheTimeTalker – timetalker.ch */

@font-face { font-family: "Shrikhand"; src: url("fonts/shrikhand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #14100D;
  --ground-2: #1F1813;
  --line: #3A2E25;
  --cream: #EFDDB8;
  --muted: #B9A585;
  --amber: #F2B134;
  --orange: #E2711D;
  --rust: #B8401F;
  --brown: #7A3420;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Shrikhand", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); }
a:hover { color: var(--cream); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber);
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--amber); color: var(--ground); padding: 8px 14px; z-index: 10; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------------------------------------------------------------- Kopf */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); }
.brand img { width: 46px; height: 46px; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: 0.26em; line-height: 1; }
.wordmark b { color: var(--amber); font-weight: 500; }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 12px 0;
}
.nav a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 0; }
.hero h1 {
  font-family: var(--display); font-weight: 400; margin: 18px 0 0;
  font-size: clamp(48px, 9vw, 116px); line-height: 0.95; color: var(--cream); max-width: 11ch;
}
.hero .lead { font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--muted); max-width: 34ch; margin: 22px 0 0; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; text-decoration: none; border: 1.5px solid var(--amber); cursor: pointer;
}
.btn.primary { background: var(--amber); color: var(--ground); }
.btn.primary:hover { background: var(--cream); border-color: var(--cream); color: var(--ground); }
.btn.ghost { background: transparent; color: var(--amber); }
.btn.ghost:hover { color: var(--cream); border-color: var(--cream); }
.waves { display: block; width: 100%; height: auto; margin-top: 56px; }

/* ---------------------------------------------------------------- Abschnitte */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.block h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 60px);
  line-height: 1; margin: 12px 0 18px; color: var(--cream);
}
.block .intro { color: var(--muted); max-width: 52ch; margin: 0 0 44px; }

/* ---------------------------------------------------------------- Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.video { background: var(--ground-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.video .media { aspect-ratio: 16 / 9; background: #0E0B09; position: relative; display: grid; place-items: center; }
.video .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video .placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); }
.video .placeholder img { width: 64px; height: 64px; opacity: 0.85; }
.video .badge {
  position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; background: var(--orange); color: var(--ground);
  padding: 5px 10px; border-radius: 999px;
}
.video .body { padding: 20px 22px 24px; }
.video h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; margin: 0 0 8px; }
.video p { margin: 0; color: var(--muted); font-size: 18px; }

/* ---------------------------------------------------------------- Musik */
.album { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.cover { border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.45); width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.album + .album { margin-top: 96px; padding-top: 72px; border-top: 1px dashed var(--line); }
.album > div:first-child { position: sticky; top: 24px; }
@media (max-width: 900px) { .album > div:first-child { position: static; } }
.album-meta { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

.player { background: var(--ground-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 18px; }
.now { display: flex; flex-direction: column; gap: 6px; }
.now .epoch { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); }
.now .title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; color: var(--cream); }
.quote {
  margin: 14px 0 0; font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.45; color: var(--cream);
  border-top: 1px dashed var(--line); padding-top: 14px;
}
.quote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.controls { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent;
  color: var(--cream); display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.icon-btn.play { width: 60px; height: 60px; background: var(--amber); border-color: var(--amber); color: var(--ground); }
.icon-btn.play:hover { background: var(--cream); border-color: var(--cream); color: var(--ground); }
.icon-btn svg { width: 20px; height: 20px; }
.progress { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.progress span { font-family: var(--mono); font-size: 13px; color: var(--muted); min-width: 40px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--amber), var(--amber)) 0 / var(--pct, 0%) 100% no-repeat, var(--line); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--amber); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); margin-top: -5px; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--cream); }

.tracks { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li + li { border-top: 1px solid rgba(58,46,37,0.6); }
.tracks li.sep { border-top: 1px dashed var(--line); margin-top: 6px; }
.tracks li.gruppe {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber); padding: 18px 6px 8px; border-top: 1px dashed var(--line);
}
.tracks li.gruppe:first-child { border-top: 0; padding-top: 12px; }
.tracks li.gruppe + li { border-top: 0; }
.track {
  width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: none; border: 0; color: var(--cream); text-align: left; cursor: pointer;
  padding: 11px 6px; min-height: 48px; font-family: var(--mono); font-size: 15px; border-radius: 6px;
}
.track:hover { background: rgba(242,177,52,0.06); }
.track .nr { color: var(--amber); }
.track .extra { color: var(--muted); }
.track .len { color: var(--muted); }
.track[aria-current="true"] { background: rgba(242,177,52,0.10); }
.track[aria-current="true"] .t { color: var(--amber); }

.now-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.share {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.share:hover { color: var(--amber); border-color: var(--amber); }
.share svg { width: 16px; height: 16px; }
.share[hidden] { display: none; }
.worte { font-style: italic; font-weight: 500; font-size: 22px; color: var(--amber); }
.worte[hidden] { display: none; }
.track .words { display: block; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); margin-top: 2px; }

/* ---------------------------------------------------------------- Fuenf Worte */
.order { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center;
  background: var(--ground-2); border: 1px solid var(--line); border-radius: 16px; padding: 32px 34px; }
.order h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; margin: 0 0 10px; }
.order p { margin: 0; color: var(--muted); }
.order ol { margin: 0; padding: 0; list-style: none; counter-reset: s; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; }
.order li { counter-increment: s; display: flex; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); color: var(--cream); }
.order li:first-child { border-top: 0; }
.order li::before { content: counter(s, decimal-leading-zero); color: var(--amber); }
.order .btn { margin-top: 0; }
.worte-form { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.worte-form fieldset { border: 0; margin: 0; padding: 0; }
.worte-form legend, .worte-form label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.worte-form legend { margin-bottom: 10px; }
.worte-form .opt { text-transform: none; letter-spacing: 0.02em; color: var(--muted); opacity: 0.8; }
.worte-form input, .worte-form textarea {
  width: 100%; font: 500 20px var(--serif); color: var(--cream); background: var(--ground);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 48px;
}
.worte-form input:focus, .worte-form textarea:focus { border-color: var(--amber); outline: none; }
.worte-form input[aria-invalid="true"] { border-color: var(--rust); }
.worte-form .fuenf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.worte-form .fuenf legend { grid-column: 1 / -1; }
.worte-form .fuenf input { font-style: italic; font-size: 22px; text-align: center; color: var(--amber); }
.worte-form .felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.worte-form .felder label { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.worte-form .felder .breit { grid-column: 1 / -1; }
.worte-form .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.worte-form .zustimmung { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.worte-form .zustimmung input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--amber); }
.worte-form .senden { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-style: italic; font-size: 20px; color: var(--muted); }
.form-status.ok { color: var(--amber); }
.form-status.fehler { color: #E88A6A; }
.danke { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 26px; }
.danke h4 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 0 0 8px; color: var(--amber); }
.danke p { margin: 0; color: var(--cream); }
@media (max-width: 900px) {
  .worte-form .fuenf { grid-template-columns: 1fr 1fr; }
  .worte-form .felder { grid-template-columns: 1fr; }
}
.lieder-trenner { margin: 0 0 44px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.credits { margin-top: 56px; padding-top: 28px; border-top: 1px dashed var(--line); max-width: 760px; }
.credits p { margin: 0; font-style: italic; font-weight: 500; font-size: 22px; color: var(--cream); }
.credits b { font-style: normal; font-weight: 600; color: var(--amber); }
.credits p.mono { margin-top: 10px; font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- Über */
.about { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.about h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 0 0 8px; }
.about p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Fuss */
.foot { border-top: 1px solid var(--line); padding: 40px 0 120px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- Mini-Player unten */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; background: rgba(20,16,13,0.96); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .3s ease, visibility .3s; z-index: 5; visibility: hidden;
}
.dock.show { transform: none; visibility: visible; }
.dock .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.dock .icon-btn.play { width: 46px; height: 46px; }
.dock .info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.dock .info b { font-family: var(--serif); font-weight: 600; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .info span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- Impressum */
.legal { padding: 72px 0 96px; max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); margin: 12px 0 28px; line-height: 1; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 44px 0 10px; }
.legal p, .legal li { color: var(--cream); }
.legal .muted { color: var(--muted); }
.legal h1.spaced { margin-top: 72px; }

@media (max-width: 900px) {
  .album { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; padding: 24px 20px; }
  .hero { padding-top: 56px; }
  section.block { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .wrap { padding: 0 16px; }
  .wordmark { font-size: 18px; letter-spacing: 0.2em; }
  .brand img { width: 38px; height: 38px; }
  .nav { gap: 18px; }
  .player { padding: 20px 16px 12px; }
  .controls { flex-wrap: wrap; }
  .progress { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dock { transition: none; } }
