/* Vireo – Startseite „Wie das Spiel“ (29.11.2026): große Spielbilder über die ganze Breite, Text in Glas-Tafeln am Rand wie im Hauptmenü.
   Quelle: website/neu/stil/start.css. Nichts ist beim Scrollen angeheftet außer der Kopfleiste, nichts hängt am Scrollweg. */

/* ------------------------------------------------------------------ Kopf: der erste Bildschirm ist das Hauptmenü */
.kopf-szene { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; min-height: calc(100vh - var(--kopf)); min-height: min(calc(100svh - var(--kopf)), 75vw);
	padding: var(--rand-y) var(--rand-x); overflow: hidden; }
.kopf-bild { position: absolute; inset: 0; z-index: 0; background: var(--grund); }
.kopf-bild .steh, .kopf-bild .lauf { object-position: 30% 50%; }
.kopf-bild::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 42%; background: linear-gradient(90deg, rgba(5, 7, 5, 0), rgba(5, 7, 5, .35)); pointer-events: none; }
.kopf-tafel { z-index: 1; width: 500px; display: flex; flex-direction: column; }
.kopf-logo { width: 100%; max-width: 360px; height: auto; margin: 4px auto 0; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
.kopf-tafel > .caps { margin-top: 18px; }
.kopf-tafel h1 { font-size: clamp(1.75rem, 1.2rem + .9vw, 2.25rem); line-height: 1.14; margin-top: 10px; }
.kopf-text { font-size: 1.08rem; }
.kopf-tafel .held { margin-top: 22px; }
.kopf-tafel .zeilen { margin-top: 12px; }
.kopf-tafel .tafel-fuss { margin-top: auto; padding-top: 16px; }

/* ------------------------------------------------------------------ Szenen: großes Bild, Tafel am Rand */
.szene { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 24px; min-height: min(56.25vw, calc(100vh - var(--kopf)));
	padding: var(--rand-y) var(--rand-x) 72px; background: var(--grund); }
.szene-bild, .buehne, .jahr-bilder { position: absolute; inset: 0; z-index: 0; }
.szene-bild .steh, .szene-bild .lauf, .buehne-bild .steh, .buehne-bild .lauf, .jahr-bild .steh, .jahr-bild .lauf { object-fit: cover; }
.szene > .tafel, .szene > .menue { z-index: 1; }
.szene-tafel { width: 460px; flex: none; }
.szene.rechts { justify-content: flex-end; }
/* sanfter Verlauf nur an der Tafelseite – kein Farbfilter über dem Bild */
.szene::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: 0; background: linear-gradient(90deg, rgba(5, 7, 5, .35), rgba(5, 7, 5, 0)); pointer-events: none; }
.szene.rechts::before { inset: 0 0 0 auto; background: linear-gradient(270deg, rgba(5, 7, 5, .35), rgba(5, 7, 5, 0)); }
.szene-tafel .chips { margin-top: 22px; }

/* Was du im Spiel machst: Leiste + Tafel daneben, wie Hauptmenü und Unteransicht */
.buehne-bild { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.buehne-bild.an { opacity: 1; }
.buehne-bild .steh, .buehne-bild .lauf { object-position: 70% 50%; }
.menue { position: relative; display: flex; align-items: flex-start; gap: 12px; }
.leiste-tafel { width: 330px; flex: none; }
.platte { width: 440px; flex: none; }
.platte .punkt { background: var(--glas); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); border: 1px solid var(--glas-rand); border-radius: var(--radius);
	padding: var(--tafel-pad); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); text-shadow: 0 1px 5px var(--schatten); }
.platte .punkt + .punkt { margin-top: 12px; }
.punkt > * + * { margin-top: 12px; }
.punkt h3 { font-size: 1.5rem; line-height: 1.2; }
.punkt p:not(.caps) { color: var(--text-matt); }
.punkt-bild { display: none; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
/* Erst wenn das Skript die Leiste bedient, steht nur die gewählte Stufe da – ohne Skript stehen alle drei untereinander. */
.spiel.bedient .platte .punkt:not(.an) { display: none; }
.spiel.bedient .platte .punkt.an { animation: auftauchen .35s ease both; }
.spiel:not(.bedient) .leiste-tafel .zeile .pfeil { display: none; }

/* Die Welt: derselbe Ort in vier Jahreszeiten hinter der Tafel, die Zeilen wählen */
.jahr-bild { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.jahr-bild.an { opacity: 1; }
.welt-tafel { width: 500px; flex: none; background: var(--glas-dicht); }
.zeilen-lang .zeile { align-items: flex-start; padding-top: 10px; padding-bottom: 10px; font: 400 1rem/1.45 var(--schrift); color: var(--text-matt); }
.zeilen-lang .zeile > svg:first-child { margin-top: 2px; }
.zeilen-lang .zeile.an { color: var(--papier); }
.zeilen-lang .zeile.an::before { top: 14px; margin-top: 0; }

/* ------------------------------------------------------------------ Karte: wie das Fenster „Neues Spiel“ */
.band { position: relative; padding: 56px var(--rand-x); background: radial-gradient(120% 90% at 50% 0%, #1a1f15 0%, var(--grund) 62%); }
.karte { display: grid; grid-template-columns: 420px minmax(0, min(calc(100vh - var(--kopf) - 112px), 1000px)) 340px; justify-content: center; align-items: start; gap: 24px; }
.karte-tafel, .werte-tafel { background: var(--glas-dicht); }
.felder { border-top: 1px solid var(--weiss-08); }
.feld { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--weiss-08); }
.feld-name { font: 700 1.05rem var(--schrift); color: var(--papier); }
.eingabe { min-width: 130px; padding: 7px 12px; border-radius: 9px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 250, 237, .18); font: 700 1.05rem var(--schrift); color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.karte-tafel .knopf-breit { margin-top: 22px; }
.knopf .wuerfel { transition: transform .5s; }
.knopf.dreh .wuerfel { transform: rotate(360deg); }
.karte-bild { position: relative; }
.karte-rahmen { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--glas-rand); background: #1c2016; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); touch-action: pan-y; }
.karte-rahmen.gezoomt { cursor: grab; touch-action: none; }
.karte-rahmen.gezoomt:active { cursor: grabbing; }
.karte-zug { position: absolute; inset: 0; transform-origin: 0 0; }
.karte-zug img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; user-select: none; -webkit-user-drag: none; }
.karte-rahmen.laedt .karte-zug img { opacity: .3; }
.karte-leiste { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; pointer-events: none; }
.karte-leiste > * { pointer-events: auto; background: rgba(2, 3, 2.5, .78); }
.karte-zoom { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--weiss-12); }
.karte-zoom button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: none; cursor: pointer; font: 700 1.3rem/1 var(--schrift); color: var(--papier); }
.karte-zoom button:hover { background: var(--weiss-08); color: #fff; }
.zeilen-werte .zeile { cursor: default; gap: 12px; padding: 6px 12px 6px 16px; font: 400 1rem/1.35 var(--schrift); color: var(--text-matt); }
.zeilen-werte .zeile:hover { background: transparent; }
.zeilen-werte dt { flex: 1; min-width: 0; }
.zeilen-werte dd { font-weight: 700; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.werte-tafel .klein { color: var(--matt); }
.werte-tafel .karte-hinweis { padding-top: 14px; border-top: 1px solid var(--weiss-08); }

/* ------------------------------------------------------------------ Das gibt es im Spiel schon */
.drin-tafel { width: min(860px, 62%); flex: none; background: var(--glas-dicht); }
.drin-liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.drin-liste .zeile { padding-top: 7px; padding-bottom: 7px; }
.drin .szene-bild .steh { object-position: 80% 50%; }

/* ------------------------------------------------------------------ Stand der Entwicklung und Aufruf */
.schluss { justify-content: space-between; }
.stand-tafel { width: 620px; flex: none; background: var(--glas-dicht); }
.ruf-tafel { width: 440px; flex: none; background: var(--glas-dicht); }
.ruf-tafel h2 { color: var(--gold-hell); }
.ruf-tafel .held, .ruf-tafel .knopf { margin-top: 18px; }
.drei { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px !important; }
.innen { padding: 14px 18px; border-radius: 12px; background: var(--weiss-06); border: 1px solid var(--weiss-08); }
.innen p { font-size: 1rem; }
.innen-kopf { display: flex; align-items: center; gap: 9px; font: 700 1.1rem var(--schrift); color: #fff !important; margin-bottom: 4px; }
.punkt-farbe { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.punkt-farbe.gut { background: var(--gut); }
.punkt-farbe.gold { background: var(--gold); }
.punkt-farbe.matt { background: var(--matt); }
.schluss .bildzeile { right: auto; left: 50%; transform: translateX(-50%); }

/* ------------------------------------------------------------------ Trailer */
.kino { width: min(1200px, 94vw); padding: 0; border: 1px solid var(--glas-rand); border-radius: var(--radius); background: #000; overflow: hidden; }
.kino::backdrop { background: rgba(5, 7, 5, .85); }
.kino video { width: 100%; height: auto; }
.kino-zu { position: absolute; right: 10px; top: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glas-rand); background: var(--glas-dicht); color: var(--papier); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ------------------------------------------------------------------ mittlere Breiten */
@media (max-width: 1500px) {
	.kopf-tafel { width: 440px; padding: 24px 26px 20px; }
	.kopf-tafel > * + * { margin-top: 12px; }
	.kopf-logo { max-width: 300px; }
	.kopf-tafel .held { margin-top: 16px; min-height: 74px; }
	.kopf-tafel .zeile { min-height: 40px; }
	.kopf-bild .steh, .kopf-bild .lauf { object-position: 18% 50%; }
	.szene-tafel, .welt-tafel { width: 430px; }
	.leiste-tafel { width: 300px; }
	.platte { width: 400px; }
	/* die Tafeln decken links viel ab: das Bild rückt nach rechts, damit das Geschehen frei bleibt */
	.spiel .buehne { left: clamp(0px, calc(780px - 40vw), 34%); }
	.spiel .buehne::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 120px; background: linear-gradient(90deg, var(--grund), rgba(14, 17, 12, 0)); }
	.buehne-bild .steh, .buehne-bild .lauf { object-position: 0% 50%; }
	.karte { grid-template-columns: 340px minmax(0, min(calc(100vh - var(--kopf) - 112px), 820px)) 280px; gap: 20px; }
	.karte-tafel { padding: 24px 24px 20px; }
	.werte-tafel { padding: 22px 20px 18px; }
	.drin-tafel { width: min(760px, 66%); }
	.stand-tafel { width: 520px; }
	.ruf-tafel { width: 400px; }
}
@media (max-width: 1290px) {
	.karte { grid-template-columns: 360px minmax(0, min(calc(100vh - var(--kopf) - 112px), 760px)); }
	.werte-tafel { grid-column: 1; grid-row: 2; }
	.karte-bild { grid-column: 2; grid-row: 1 / span 2; }
}
/* niedrige Fenster: die Kopftafel wird kompakter, damit das Menü auf den ersten Bildschirm passt */
@media (min-width: 761px) and (max-height: 900px) {
	.kopf-tafel { padding: 20px 24px 16px; }
	.kopf-tafel > * + * { margin-top: 10px; }
	.kopf-logo { max-width: 250px; }
	.kopf-tafel > .caps { margin-top: 12px; }
	.kopf-tafel h1 { font-size: 1.65rem; margin-top: 6px; }
	.kopf-text { font-size: 1rem; line-height: 1.5; }
	.kopf-tafel .held { margin-top: 14px; min-height: 64px; padding: 10px 12px 10px 18px; }
	.kopf-tafel .held-rund { width: 44px; height: 44px; }
	.kopf-tafel .zeilen { margin-top: 6px; }
	.kopf-tafel .zeile { min-height: 36px; font-size: 1.05rem; }
	.kopf-tafel .tafel-fuss { padding-top: 8px; }
}
@media (max-width: 1100px) {
	.menue { flex-direction: column; }
	.leiste-tafel, .platte { width: 420px; }
	.spiel .buehne { left: 0; }
	.spiel .buehne::after { display: none; }
	.buehne-bild .steh, .buehne-bild .lauf { object-position: 70% 50%; }
	.karte { grid-template-columns: minmax(0, 640px); }
	.karte-tafel, .werte-tafel, .karte-bild { grid-column: 1; grid-row: auto; }
	.drin-tafel { width: 100%; }
	.schluss { flex-direction: column; }
	.stand-tafel, .ruf-tafel { width: min(620px, 100%); }
	.schluss .bildzeile { left: auto; right: var(--rand-x); transform: none; }
}

/* ------------------------------------------------------------------ Telefon: Bild oben, Tafel darunter */
@media (max-width: 760px) {
	.kopf-szene, .szene { display: block; min-height: 0; padding: 0 0 26px; }
	.kopf-bild, .szene-bild, .jahr-bilder { position: relative; inset: auto; aspect-ratio: 16 / 9; }
	.kopf-bild { aspect-ratio: 4 / 3; }
	.kopf-bild::after, .szene::before { display: none; }
	.kopf-bild .steh, .kopf-bild .lauf { object-position: 35% 50%; }
	.kopf-tafel, .szene-tafel, .welt-tafel, .drin-tafel, .stand-tafel, .ruf-tafel { width: auto; margin: -24px var(--rand-x) 0; background: var(--glas-dicht); }
	.kopf-tafel { padding: var(--tafel-pad); }
	.kopf-logo { max-width: 240px; }
	.kopf-tafel h1 { font-size: 1.7rem; }
	.bildzeile { position: static; display: inline-block; margin: 12px var(--rand-x) 0; }
	.schluss .bildzeile { transform: none; }
	.drin-liste { grid-template-columns: 1fr; }

	.spiel { padding: 28px 0 26px; }
	.buehne { display: none; }
	.menue { padding: 0 var(--rand-x); gap: 18px; }
	.leiste-tafel { width: 100%; padding: 0 4px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.leiste-tafel .zeilen { display: none; }
	.platte { width: 100%; }
	.spiel.bedient .platte .punkt:not(.an) { display: block; }
	.platte .punkt { background: var(--glas-dicht); overflow: hidden; padding: 0 20px 20px; }
	.platte .punkt + .punkt { margin-top: 18px; }
	.punkt-bild { display: block; margin: 0 -20px 16px; }
	.punkt h3 { font-size: 1.3rem; }

	.welt .jahr-bilder { aspect-ratio: 16 / 9; }
	.stand-tafel + .ruf-tafel { margin-top: 18px; }
	.band { padding: 36px var(--rand-x); }
	.karte { gap: 18px; }
	.feld { flex-wrap: wrap; }
	.eingabe { min-width: 110px; }
}
