/* Startseite. Die Seite selbst bleibt neutral, Farbe gibt es nur auf den Displays. */
@font-face {
  font-family: "Archivo Site";
  src: url("/site/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Site";
  src: url("/site/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #e7e9ee;
  --paper-2: #dcdfe6;
  --ink: #12151c;
  --ink-2: #444b5a;
  --line: #bfc4cf;
  --tally: #e5322d;
  /* Farben der Displays */
  --s-yellow: #f5c800;
  --s-blue: #2437e8;
  --s-red: #e5322d;
  --s-white: #ffffff;
  --s-ink: #12151c;
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1360px;
  --font: "Archivo Site", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 10px; }

/* Kopfzeile */
.top {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-stretch: 100%; letter-spacing: .005em; }
.mark img { display: block; height: clamp(30px, 4.2vw, 38px); width: auto; }
.foot-mark { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark img { display: block; width: 22px; height: 22px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:not(.login):hover { text-decoration: underline; text-underline-offset: 4px; }
.top .login { border: 2px solid var(--ink); padding: 7px 16px; font-weight: 650; }
.top .login:hover { background: var(--ink); color: #fff; }

/* Haupttitel */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
}
h1 {
  font-size: clamp(3.1rem, 11.4vw, 10rem); font-weight: 800; font-stretch: 62%;
  line-height: .9; letter-spacing: -.012em; max-width: 13ch; text-wrap: balance;
}
.hero-text {
  margin-top: clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.hero-text > * { grid-column: 1 / -1; }
.hero-text p:first-child { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.45; max-width: 36em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }
@media (min-width: 900px) {
  .hero-text > * { grid-column: 6 / -1; }
}

.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff; padding: 14px 24px; font-weight: 650; font-stretch: 108%;
  border: 2px solid var(--ink);
}
.btn:hover { background: #fff; color: var(--ink); }
.tally { width: 11px; height: 11px; border-radius: 50%; background: var(--tally); flex: none; }
.textlink { font-weight: 550; text-underline-offset: 5px; }

/* Bühne mit Displays und Sendeplan */
.stage { max-width: var(--max); margin: 0 auto; padding: clamp(16px, 3vw, 36px) var(--gutter) clamp(56px, 8vw, 112px); }

.wall {
  container-type: inline-size;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0;
}
.wall > .unit { flex: none; --u: calc(100cqw / 152); }
.screen { width: calc(var(--u) * var(--w, 30)); }
@supports not (width: 1cqw) { .wall > .unit { --u: calc(min(100vw, 1360px) / 160); } }

.screen { margin: 0; }
.bezel { background: #0b0d12; padding: calc(var(--u) * .7); border-radius: calc(var(--u) * .5); box-shadow: 0 1px 0 #fff inset, 0 calc(var(--u) * 1.2) calc(var(--u) * 2.4) -12px rgba(18, 21, 28, .45); }
.glass {
  position: relative; overflow: hidden; container-type: inline-size;
  width: 100%; aspect-ratio: var(--ar); background: var(--s-ink); color: #fff;
}
.screen figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; margin-top: 12px; font-size: .88rem; line-height: 1.3; }
.screen .sc-name { font-weight: 700; font-stretch: 100%; }
.screen .sc-now { color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.screen .sc-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); }
.screen .sc-now i.off { background: #8b92a1; }

.scene { position: absolute; inset: 0; padding: 7cqw 7cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4cqw; }
.scene.in { animation: wipe .34s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.scene[data-tone="yellow"] { background: var(--s-yellow); color: var(--s-ink); }
.scene[data-tone="blue"] { background: var(--s-blue); color: #fff; }
.scene[data-tone="red"] { background: var(--s-red); color: #fff; }
.scene[data-tone="white"] { background: var(--s-white); color: var(--s-ink); }
.scene[data-tone="ink"] { background: var(--s-ink); color: #fff; }
.scene .t { hyphens: auto; overflow-wrap: break-word; font-size: 15cqw; font-weight: 850; font-stretch: 62%; line-height: .92; letter-spacing: -.005em; position: relative; z-index: 1; text-wrap: balance; }
.scene .l { font-size: 5.2cqw; font-weight: 550; line-height: 1.25; position: relative; z-index: 1; max-width: 22em; }
.portrait .scene .t { font-size: 17cqw; }
.portrait .scene .l { font-size: 8cqw; }
.scene .art { position: absolute; pointer-events: none; }
.art-disc { width: 56cqw; height: 56cqw; border-radius: 50%; right: -12cqw; top: -14cqw; background: currentColor; opacity: .16; }
.art-bars { right: 7cqw; top: 7cqw; width: 22cqw; height: 22cqw; background: linear-gradient(to right, currentColor 0 18%, transparent 18% 32%, currentColor 32% 50%, transparent 50% 64%, currentColor 64% 100%); opacity: .2; }
.art-corner { right: 0; top: 0; width: 0; height: 0; border-style: solid; border-width: 0 34cqw 34cqw 0; border-color: transparent currentColor transparent transparent; opacity: .16; }
.art-ring { width: 46cqw; height: 46cqw; border-radius: 50%; right: -6cqw; top: -8cqw; border: 5cqw solid currentColor; opacity: .18; }

/* Sendeplan */
.plan { margin-top: clamp(28px, 4vw, 52px); border-top: 2px solid var(--ink); padding-top: 14px; }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.plan-title { font-weight: 700; font-stretch: 100%; }
.plan-clock { font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 800; font-stretch: 70%; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.plan-clock button { font: inherit; font-size: .9rem; font-weight: 600; font-stretch: 100%; background: none; border: 0; border-bottom: 2px solid var(--ink); padding: 0; cursor: pointer; color: var(--ink); }

.plan-body { position: relative; --lab: clamp(64px, 11vw, 150px); --cg: 14px; }
.plan-grid { display: grid; grid-template-columns: var(--lab) 1fr; gap: 6px var(--cg); align-items: center; }
.plan-axis, .plan-row { display: contents; }
.plan-axis .ticks { position: relative; height: 22px; font-size: .75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.plan-axis .ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.plan-axis .ticks span:first-child { transform: none; }
.plan-axis .ticks span:last-child { transform: translateX(-100%); }
.plan-row .name { font-size: .9rem; font-weight: 650; line-height: 1.2; }
.track { position: relative; height: 38px; background: repeating-linear-gradient(to right, var(--paper-2) 0 1px, transparent 1px calc(100% / 8)); background-color: rgba(255, 255, 255, .45); }
.block { position: absolute; top: 3px; bottom: 3px; overflow: hidden; display: flex; align-items: center; padding: 0 8px; font-size: .78rem; font-weight: 650; line-height: 1; white-space: nowrap; text-overflow: clip; border-right: 2px solid var(--paper); }
.block[data-tone="yellow"] { background: var(--s-yellow); color: var(--s-ink); }
.block[data-tone="blue"] { background: var(--s-blue); color: #fff; }
.block[data-tone="red"] { background: var(--s-red); color: #fff; }
.block[data-tone="white"] { background: #fff; color: var(--s-ink); box-shadow: inset 0 0 0 1px var(--line); }
.block[data-tone="ink"] { background: var(--s-ink); color: #cfd3dc; }
.block.live { outline: 2px solid var(--ink); outline-offset: -2px; z-index: 1; }

.plan-scrub { position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--lab) + var(--cg)); right: 0; display: block; margin: 0; }
.playhead { position: absolute; top: 0; bottom: 0; width: 0; pointer-events: none; z-index: 2; }
.playhead::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--tally); }
.playhead .handle { position: absolute; left: -22px; top: -2px; width: 44px; height: 22px; background: var(--tally); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.plan-scrub input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.plan-scrub input:focus-visible ~ .playhead .handle { outline: 3px solid var(--ink); outline-offset: 2px; }
.plan-help { margin-top: 14px; font-size: .9rem; color: var(--ink-2); max-width: 46em; }

/* Abschnitte */
section.steps, section.features, section.who, section.closing { padding-left: var(--gutter); padding-right: var(--gutter); }
.steps, .features, .who { max-width: var(--max); margin: 0 auto; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 800; font-stretch: 66%; line-height: .98; letter-spacing: -.005em; }
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 100%; line-height: 1.25; }

.steps { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 112px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 16px; }
.steps-head { grid-column: 1 / -1; max-width: 44em; }
.steps-head p { margin-top: 14px; color: var(--ink-2); }
.steps-list { grid-column: 1 / -1; list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-list li::before { content: counter(step); grid-row: 1 / 3; font-size: 3.2rem; font-weight: 850; font-stretch: 62%; line-height: .85; }
.steps-list p { color: var(--ink-2); max-width: 34em; margin-top: 4px; }
.pairing { grid-column: 1 / -1; }
.pairing-screen { aspect-ratio: 16 / 9; background: var(--s-ink); color: #fff; padding: clamp(18px, 3.2vw, 40px); display: flex; flex-direction: column; justify-content: space-between; border: calc(8px) solid #0b0d12; box-shadow: 0 24px 40px -22px rgba(18, 21, 28, .5); container-type: inline-size; }
.pairing-label { font-size: 3.2cqw; font-weight: 600; opacity: .8; }
.pairing-code { font-size: 22cqw; font-weight: 850; font-stretch: 62%; line-height: .9; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pairing-hint { font-size: 3cqw; opacity: .8; }
@media (min-width: 900px) {
  .steps-list { grid-column: 1 / 7; }
  .pairing { grid-column: 8 / -1; align-self: start; position: sticky; top: 24px; }
}

.features { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 112px); border-top: 2px solid var(--ink); }
.features dl { margin-top: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr; gap: 0 clamp(24px, 5vw, 72px); }
.features dl > div { border-top: 1px solid var(--line); padding: 18px 0 26px; }
.features dt { font-size: 1.25rem; font-weight: 750; font-stretch: 100%; line-height: 1.2; }
.features dd { margin-top: 6px; color: var(--ink-2); max-width: 38em; }
@media (min-width: 820px) { .features dl { grid-template-columns: 1fr 1fr; } }

.who { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); border-top: 2px solid var(--ink); }
.who-cols { margin-top: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr; gap: 40px; }
.who-cols article p { margin-top: 10px; max-width: 34em; }
.who-cols ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 34em; }
.who-cols li { position: relative; padding-left: 20px; color: var(--ink-2); }
.who-cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--ink); }
.who-cols article + article { border-top: 1px solid var(--line); padding-top: 32px; }
@media (min-width: 820px) {
  .who-cols { grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
  .who-cols article + article { border-top: 0; border-left: 1px solid var(--line); padding-top: 0; padding-left: clamp(32px, 6vw, 96px); }
}
.compare { margin-top: clamp(32px, 5vw, 56px); max-width: 44em; font-size: 1.05rem; padding-left: 16px; border-left: 4px solid var(--tally); }

.closing { background: var(--ink); color: #fff; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 104px); }
.closing > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.closing h2 { font-size: clamp(2.6rem, 8vw, 7rem); font-stretch: 62%; }
.closing p { margin-top: 18px; max-width: 36em; color: #c9cdd8; }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn:hover { background: transparent; color: #fff; }
.closing :focus-visible { outline-color: #fff; }

.foot { background: var(--ink); color: #9aa1b0; padding: 0 var(--gutter) 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .85rem; }
.foot p { max-width: none; margin: 0 auto 0 0; }
.foot-note { margin: 0; }
.foot { max-width: none; }

/* Fußzeile mit Rechtsseiten */
.foot-links nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #cfd3dc; text-underline-offset: 4px; }
.foot-links a:hover { color: #fff; }
.closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.closing .textlink { color: #fff; }

/* Rechtstexte */
.page-doc .top { padding-bottom: 12px; }
.page-doc .top nav a:not(.login) { display: inline; }
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 112px); }
.doc h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-stretch: 75%; font-weight: 850; line-height: 1.02; margin-bottom: 8px; text-wrap: balance; }
.doc h2 { font-size: 1.3rem; font-weight: 750; font-stretch: 100%; line-height: 1.2; margin-top: 2.2em; padding-top: 14px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.4em; }
.doc p, .doc li { max-width: 40rem; }
.doc p { margin-top: .8em; }
.doc ul, .doc ol { margin: .8em 0 0; padding-left: 1.3em; }
.doc li { margin-top: .4em; }
.doc a { text-underline-offset: 3px; }
.draft { margin: 0 0 20px; padding: 10px 14px; border-left: 4px solid var(--tally); background: #fff; font-weight: 600; font-size: .95rem; }
.page-doc .foot { background: var(--ink); padding-top: 28px; }

/* Registrierung */
.reg-lead { font-size: 1.15rem; color: var(--ink-2); }
.reg form { margin-top: 28px; }
.reg #confirm-form { border-top: 2px solid var(--ink); padding-top: 20px; }
.reg #reg-done { margin-top: 28px; border-top: 2px solid var(--ink); padding-top: 20px; }
.reg #reg-done h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.reg-note { margin-top: 20px; padding: 10px 14px; background: #fff; border-left: 4px solid var(--ink); font-weight: 600; }
.reg-error { border-left-color: var(--tally); }
.field { margin-top: 18px; }
.field label, fieldset legend { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 450; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 11px 12px; min-height: 46px;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--tally); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hint { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
fieldset { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
fieldset legend { float: left; width: 100%; border-top: 1px solid var(--line); padding: 18px 0 6px; margin: 0; }
fieldset legend + * { clear: both; }
.choice { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; cursor: pointer; line-height: 1.4; }
.choice input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.choice a { font-weight: 600; }
.ver { color: var(--ink-2); font-size: .9em; }
.nonprofit { margin-left: 34px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg .btn { margin-top: 28px; cursor: pointer; font-size: 1rem; font-family: inherit; }
.reg .btn:disabled { opacity: .6; cursor: progress; }

/* Kontakt und Angebotsanfrage auf der Startseite */
section.contact { padding-left: var(--gutter); padding-right: var(--gutter); }
.contact { max-width: var(--max); margin: 0 auto; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr; gap: 28px clamp(24px, 5vw, 80px); }
.contact[hidden] { display: none; }
.contact h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 75%; line-height: 1.02; letter-spacing: -.01em; }
.contact-intro p { margin-top: 16px; max-width: 32em; color: var(--ink-2); }
.contact-box #inq-form > .field:first-child { margin-top: 0; }
.contact-box .btn { margin-top: 24px; cursor: pointer; font-size: 1rem; font-family: inherit; }
.contact-box .btn:disabled { opacity: .6; cursor: progress; }
#inq-done h3 { font-size: 1.5rem; font-stretch: 85%; }
#inq-done p { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 7fr; align-items: start; } }

/* schmale Bildschirme */
@media (max-width: 760px) {
  .top nav a:not(.login) { display: none; }
  .wall { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; align-items: end; --cols: 2; }
  .wall > .unit { --u: calc((100cqw - 16px) / 2 / 25); width: 100%; }
  .wall > .unit .screen { width: 100%; }
  .plan-axis .ticks span:nth-child(even) { display: none; }
  .plan-body { --lab: 90px; --cg: 8px; }
  .plan-row .name { font-size: .8rem; }
  .block { font-size: .68rem; padding: 0 5px; }
  .screen figcaption { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene.in { animation: none; }
}

[hidden] { display: none !important; }
