/* dbs signage — "Website im Aufbau" placeholder. Same palette and type as site/assets/style.css. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0D1124;
  --surface: #131935;
  --tile: #171C36;
  --frame: #1B2140;
  --screen: #121836;
  --border: #2A3157;
  --text: #F2F3FB;
  --text-2: #C9CDEB;
  --muted: #9AA0C8;
  --accent: #8C9BFF;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, p { margin: 0; }

.page {
  min-height: 100vh; min-height: 100svh;
  max-width: 1200px; margin: 0 auto; padding: 28px clamp(16px, 5vw, 56px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 40px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--tile); border: 1px solid var(--border); display: grid; place-items: center;
}
.brand-mark::after { content: ""; width: 17px; height: 12px; border: 2.5px solid var(--accent); border-radius: 3px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.3px; white-space: nowrap; }

.center {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}


h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.accent { color: var(--accent); }
.lede { margin-top: 24px; max-width: 30em; font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); }

/* screen card: a static signage slide, like the channel tiles of the default screen */
.screen {
  aspect-ratio: 16 / 9; border-radius: 12px; border: 8px solid var(--frame); background: var(--screen);
  padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.8vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.screen-label { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.screen-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; line-height: 1.05; }
/* four lines take turns under the title, 5 s each (CSS only: the CSP allows no scripts).
   All lines share one grid cell, so the card keeps the height of the longest line. */
.rotate {
  list-style: none; margin: 8px 0 0; padding: 0; display: grid;
  font-size: clamp(15px, 1.4vw, 19px); color: var(--text-2);
}
.rotate li { grid-area: 1 / 1; opacity: 0; animation: slide 20s infinite both; }
.rotate li:nth-child(2), .bars span:nth-child(2) { animation-delay: 5s; }
.rotate li:nth-child(3), .bars span:nth-child(3) { animation-delay: 10s; }
.rotate li:nth-child(4), .bars span:nth-child(4) { animation-delay: 15s; }
@keyframes slide { 0% { opacity: 0; } 3%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }

.bars { display: flex; gap: 6px; }
.bars span { width: 22px; height: 4px; border-radius: 2px; background: var(--border); animation: bar 20s infinite; }  /* no fill: a bar waiting for its turn stays grey */
@keyframes bar { 0%, 24.9% { background: var(--accent); } 25%, 100% { background: var(--border); } }

@media (prefers-reduced-motion: reduce) {
  .rotate li, .bars span { animation: none; }
  .rotate li:first-child { opacity: 1; }
  .bars span:first-child { background: var(--accent); }
}

.bottom { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .center { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .screen { max-width: 520px; }
}
