/* Explainer videos (AI Literacy) – uses the site tokens from style.css */
html[lang="en"] [data-l="de"], html:not([lang="en"]) [data-l="en"] { display: none !important; }
.v-hero { padding: 56px 0 8px; } .v-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .1em 0 .3em; }
.v-lead { color: var(--muted); font-size: 1.15rem; max-width: 66ch; }
.v-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; } .v-pill { font: 600 .8rem var(--font-mono); letter-spacing: .06em; border: 1px solid var(--border); border-radius: 99px; padding: 4px 12px; color: var(--muted); }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 22px 0 0; }
a.v-card { display: block; text-decoration: none; color: var(--text); position: relative; transition: transform .2s, border-color .2s; }
a.v-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.v-card .num { font: 800 2.2rem var(--font-display); color: var(--lime); line-height: 1; } :root[data-theme="light"] .v-card .num { color: var(--accent); }
.v-card h3 { margin: .4em 0 .3em; } .v-card p { color: var(--muted); margin: 0 0 10px; font-size: .95rem; } .v-card .go { font-weight: 700; color: var(--accent); }
.v-badge { position: absolute; top: 14px; right: 14px; background: var(--ok); color: #111; border-radius: 99px; font: 700 .75rem var(--font-body); padding: 2px 10px; }
.v-notice { border-left: 4px solid var(--coral); background: var(--surface); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--muted); font-size: .92rem; margin: 28px 0 0; }
.v-player { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.v-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-player-wrap { margin: 0; }
.v-open { display: none; }
@media (max-width: 820px) { .v-player { aspect-ratio: auto; height: min(88svh, 760px); min-height: 520px; } .v-open { display: inline-flex; } }
.v-lang { display: inline-flex; gap: 0; border: 1px solid var(--border); border-radius: 99px; overflow: hidden; } .v-lang button { background: none; border: 0; color: var(--muted); padding: 6px 16px; font: 700 .85rem var(--font-body); cursor: pointer; } .v-lang button[aria-pressed="true"] { background: var(--accent); color: #111; }
html[data-vlang="de"] .vl-en, html[data-vlang="en"] .vl-de { display: none !important; }
.v-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; } .v-row label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; color: var(--muted); }
ol.v-chap { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px; }
ol.v-chap a { display: flex; gap: 12px; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 9px 14px; background: var(--surface); }
ol.v-chap a:hover { border-color: var(--accent); } ol.v-chap time { font: 600 .85rem var(--font-mono); color: var(--lime); } :root[data-theme="light"] ol.v-chap time { color: var(--accent); }
.v-mn { display: flex; flex-wrap: wrap; gap: 10px; } .v-mn span { border: 1px solid var(--coral); color: var(--coral); border-radius: 99px; padding: 6px 16px; font-weight: 600; }
.v-main details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 18px; margin: 10px 0; } .v-main summary { cursor: pointer; font-weight: 600; }
.v-main details[open] summary { margin-bottom: 8px; } .v-tr h3 { color: var(--accent); margin-top: 1.2em; } .v-tr p { margin: .3em 0; }
.v-main h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.v-nav { display: flex; justify-content: space-between; gap: 12px; margin: 36px 0 0; flex-wrap: wrap; }
.fc { perspective: 1000px; cursor: pointer; min-height: 230px; border: 0; background: none; padding: 0; text-align: inherit; font: inherit; color: inherit; }
.fc .in { position: relative; min-height: 230px; transition: transform .5s; transform-style: preserve-3d; } .fc.flip .in { transform: rotateY(180deg); }
.fc .f, .fc .b { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.fc .b { transform: rotateY(180deg); border-color: var(--accent); } .fc small { color: var(--muted); margin-bottom: 8px; } .fc .big { font: 700 1.2rem/1.3 var(--font-display); }
.v-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
@media (prefers-reduced-motion: reduce) { .fc .in { transition: none; } a.v-card { transition: none; } }
.v-why { margin-top: 14px; font-size: 1.02rem; border-left: 3px solid var(--lime); padding-left: 14px; }

/* Block groupings (Block 1 = Kap. 3, Block 2 = Kap. 6) */
.v-main h2.v-block { margin-top: 2.4em; padding-top: .6em; border-top: 2px solid currentColor; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.v-main h3.v-chap { margin-top: 1.4em; font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

/* Permalink on block headings */
.v-main h2.v-block { scroll-margin-top: 5rem; position: relative; }
.v-permalink { margin-left: .5em; font-size: .7em; text-decoration: none; opacity: .45; position: relative; }
.v-block:hover .v-permalink, .v-permalink:focus-visible { opacity: 1; }
.v-copied { position: absolute; left: 100%; margin-left: .6em; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .8rem; font-weight: 600; line-height: 1; padding: .35em .6em; border-radius: 6px; background: var(--card, #2a1745); border: 1px solid currentColor; }
@media (hover: none) { .v-permalink { opacity: .8; } }
