/* LKW-Wissen – Stylesheet. Keine externen Ressourcen, keine Inline-Styles (CSP). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --nacht: #0f1a2e;
  --nacht-2: #15233c;
  --nacht-3: #1c2d4b;
  --linie: rgba(233, 238, 246, .12);
  --gelb: #f6b60b;
  --gelb-hell: #ffc93a;
  --text: #e9eef6;
  --leise: #9eabc2;
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --breit: 80rem;
  --font: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nacht); color: var(--text); font: 400 1.0625rem/1.65 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gelb); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--gelb); color: var(--nacht); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--breit); margin-inline: auto; padding-inline: var(--rand); }

/* Kopfzeile */
.kopf { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; }
.marke { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; letter-spacing: -.01em; }
.marke img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--leise); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .abo { color: var(--nacht); background: var(--gelb); padding: .55rem 1rem; border-radius: 999px; font-weight: 700; }
.nav .abo:hover { color: var(--nacht); background: var(--gelb-hell); }

/* Bühne */
.buehne { position: relative; overflow: hidden; min-height: min(100svh, 56rem); display: flex; align-items: center; background: radial-gradient(120% 90% at 75% 40%, #23365a 0%, var(--nacht) 60%); }
.buehne picture { position: absolute; right: -9%; top: 50%; transform: translateY(-46%); width: min(60%, 60rem); }
.buehne picture img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 62% 52%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 62% 52%, #000 58%, transparent 100%);
  animation: einfahren 1.6s cubic-bezier(.16, .84, .3, 1) both;
}
.buehne .wrap { position: relative; width: 100%; padding-block: 8rem 6rem; }
.buehne .text { max-width: 44rem; animation: auftauchen 1s .15s cubic-bezier(.16, .84, .3, 1) both; }
.buehne h1 span { display: block; white-space: nowrap; }
.buehne h1 { margin: 0; font-weight: 800; font-stretch: 108%; font-size: clamp(2.9rem, 5.6vw, 5.6rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.buehne p { margin: 1.75rem 0 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: #c4cede; max-width: 32rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.knopf { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: background .2s, box-shadow .2s; }
.knopf svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.knopf.voll { background: var(--gelb); color: var(--nacht); }
.knopf.voll:hover { background: var(--gelb-hell); }
.knopf.rand { box-shadow: inset 0 0 0 1.5px rgba(233, 238, 246, .35); }
.knopf.rand:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.auch { display: flex; align-items: center; gap: .9rem; margin-top: 2.25rem; color: var(--leise); font-size: .92rem; }
.auch a { display: inline-flex; padding: .3rem; border-radius: 6px; }
.auch svg { width: 1.15rem; height: 1.15rem; fill: var(--leise); transition: fill .2s; }
.auch a:hover svg { fill: var(--text); }

.streifen { height: 12px; background: repeating-linear-gradient(-45deg, var(--gelb) 0 14px, var(--nacht) 14px 28px); }

@keyframes einfahren { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Abschnitte */
.abschnitt { padding-block: clamp(4.5rem, 10vw, 8rem); }
.kopfzeile { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.abschnitt h2 { margin: 0; font-weight: 800; font-stretch: 106%; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.025em; }
.kopfzeile p { margin: .9rem 0 0; color: var(--leise); max-width: 34rem; }
.textlink { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--gelb); }
.textlink svg { width: 1.1rem; height: 1.1rem; fill: currentColor; transition: transform .2s; }
.textlink:hover svg { transform: translateX(3px); }

/* Videos */
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.video a { display: block; text-decoration: none; }
.video .bild { aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--nacht-2); box-shadow: 0 0 0 1px var(--linie); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, .84, .3, 1); }
.video a:hover img { transform: scale(1.035); }
.video .meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .9rem; font-size: .85rem; color: var(--leise); }
.video .thema { color: var(--gelb); font-weight: 600; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Serie */
.serie { background: var(--nacht-2); }
.serie .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem clamp(3rem, 8vw, 8rem); align-items: center; }
.serie h2 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .92; font-stretch: 112%; }
.serie p { margin: 1.75rem 0 0; color: #c4cede; font-size: 1.15rem; max-width: 30rem; }
.serie .takt { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(246, 182, 11, .12); color: var(--gelb); font-weight: 600; font-size: .95rem; }
.serie .takt svg { width: 1rem; height: 1rem; fill: currentColor; }
.serie figure { margin: 0; justify-self: center; width: min(100%, 22rem); }
.serie figure img { border-radius: 22px; box-shadow: 0 0 0 1px var(--linie), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.serie figcaption { margin-top: 1rem; font-size: .9rem; color: var(--leise); text-align: center; }

/* Prinzipien */
.prinzipien { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.prinzipien li { border-top: 1px solid var(--linie); padding-top: 1.75rem; position: relative; }
.prinzipien li::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 2px; background: var(--gelb); }
.prinzipien h3 { margin: 0 0 .75rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.prinzipien p { margin: 0; color: var(--leise); }

/* Kanäle */
.kanaele { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--linie); border-radius: 22px; overflow: hidden; }
.kanaele li + li { border-left: 1px solid var(--linie); }
.kanaele a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo pfeil" "txt txt"; row-gap: 2.5rem; height: 100%; padding: 2rem; text-decoration: none; transition: background .25s; }
.kanaele a:hover { background: var(--nacht-2); }
.kanaele .logo { grid-area: logo; width: 2.25rem; height: 2.25rem; fill: var(--text); }
.kanaele .pfeil { grid-area: pfeil; width: 1.25rem; height: 1.25rem; fill: var(--leise); transition: transform .25s, fill .25s; }
.kanaele .txt { grid-area: txt; }
.kanaele a:hover .pfeil { fill: var(--gelb); transform: translate(2px, -2px); }
.kanaele .name { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.kanaele .handle { display: block; margin-top: .2rem; color: var(--leise); font-size: .95rem; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding-block: 3rem; color: var(--leise); font-size: .92rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.fuss .marke { color: var(--text); font-size: 1rem; }
.fuss .marke img { width: 2rem; height: 2rem; }
.fuss nav { display: flex; gap: 1.75rem; }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { color: var(--text); }

/* Unterseiten */
.unterseite .kopf { position: static; border-bottom: 1px solid var(--linie); }
.text-seite { padding-block: clamp(3.5rem, 8vw, 6rem); }
.text-seite .wrap > * { max-width: 44rem; }
.text-seite h1 { margin: 0 0 2.5rem; font-weight: 800; font-stretch: 106%; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.03em; }
.text-seite h2 { margin: 2.75rem 0 .6rem; font-size: 1.35rem; font-weight: 700; }
.text-seite p { color: #c4cede; }
.hinweis { padding: 1rem 1.25rem; border-radius: 12px; background: rgba(246, 182, 11, .12); color: var(--gelb); font-weight: 600; }

/* Responsiv */
@media (max-width: 64rem) {
  .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .nav a:not(.abo) { display: none; }
  .buehne { flex-direction: column; align-items: stretch; min-height: 0; }
  .buehne picture { position: relative; right: auto; top: auto; transform: none; width: 130%; margin: 4rem -15% -22% -15%; order: -1; }
  .buehne .wrap { padding-block: 0 4rem; }
  .serie .wrap, .prinzipien { grid-template-columns: 1fr; }
  .videos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); scroll-padding-inline: var(--rand); padding-bottom: .5rem; scrollbar-width: none; }
  .video { scroll-snap-align: start; }
  .kanaele a { row-gap: 1.5rem; padding: 1.5rem; }
}
@media (max-width: 30rem) {
  .kanaele { grid-template-columns: 1fr; }
  .kanaele li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .kanaele a { grid-template-columns: auto 1fr auto; grid-template-areas: "logo txt pfeil"; column-gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; }
  .kanaele .logo { width: 1.9rem; height: 1.9rem; }
  .kanaele .name { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .buehne picture img, .buehne .text { animation: none; }
  .video img, .textlink svg, .kanaele .pfeil { transition: none; }
}
