/* Midgard Studio – Gestaltung. Schwarz und Weiss mit EINEM Akzent: Gruen (#34D27F); alles gedeckt und ruhig, nichts leuchtet.
   Nutzer 2026-12-02: "nicht so brutal hell ... Mach die schwarz weiss mit gruenen Akzenten" - und am selben Tag nach dem ersten Umbau:
   "so wie die Seite davor aussah war besser irgendwie, kannst du die zwei Projekte so nebeneinander machen wie davor und die Seite
   scrollbar, die erste Seite, und die MIDGARD-Schrift bisschen anders eventuell und die HILLS und so weiter, damit die besser lesbar
   ist. Die MLOs sollen dann immer rechts links angezeigt werden. Und nicht alles so hell machen, es ist sehr ueberbelichtet."
   Deshalb: AUFBAU wie vor dem 2026-12-02 (Start mit dem Abschnitt darunter, MLOs als Karten in ZWEI Spalten), FARBEN schwarz/weiss/gruen,
   UEBERSCHRIFTEN in einer DIN-Schrift (grosses I ohne Fuesschen), Weiss nur gedeckt (--hell), keine Leuchtraender, kein Cyan, kein Gold.
   Nutzer 2026-11-21: "auf die komplette Breite ohne Rahmen" - keine Kaesten, keine Randlinien: Bilder und 3D-Ansicht laufen von Rand
   zu Rand, die Leiste oben ist nur eine weich auslaufende Unschaerfe. "diese blauen Punkte sollen weg, diese Info oben auch" - keine
   Leuchtpunkte vor Zeilen, in Knoepfen oder hinter Ueberschriften, keine Schildchen im Bild. Viel Luft, wenig Text (englisch und deutsch, js/sprache.js). */
@font-face { font-family: 'Inter'; src: url('../schrift/Inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --nacht: #080909;
  --n: 8, 9, 9;
  --karte: #111312;
  --hell: #dfe2df;                                                       /* gedecktes Weiss: reines Weiss blendet auf dem dunklen Grund */
  --matt: #8f948f;
  --leise: #5f6461;
  --linie: rgba(255, 255, 255, .1);
  --gruen: #34d27f;
  --gr: 52, 210, 127;
  --tinte: #03170c;                                                      /* Schrift auf Gruen */
  --rand: clamp(20px, 4.6vw, 88px);
  /* Ueberschriften: DIN-Schrift des Geraets (Windows: Bahnschrift, Apple: DIN Alternate), sonst die Systemschrift - ueberall ein
     grosses I OHNE Fuesschen. Es wird keine Schriftdatei geladen. */
  --kopf: 'Bahnschrift', 'DIN Alternate', 'DIN Condensed', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --weich: cubic-bezier(.2, .7, .1, 1);
  --schnell: cubic-bezier(.3, 0, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nacht); color: var(--hell); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16.5px/1.6 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif; font-optical-sizing: auto; font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.laedt, html.seite-fest, html.seite-fest body { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; color: var(--gruen); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--gruen); color: var(--tinte); }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 6px; }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* nur fuer Vorleseprogramme */

.rahmen { width: 100%; padding: 0 var(--rand); }                     /* volle Breite: nur ein Seitenabstand, kein Hoechstmass */
.vorzeile { display: block; font-size: 11.5px; font-weight: 620; letter-spacing: .22em; text-transform: uppercase; color: var(--matt); }   /* nur Text, kein Punkt davor */
/* Ueberschriften (Nutzer 2026-12-02: "die HILLS und so weiter, damit die besser lesbar ist"): bis dahin Inter Black in Versalien - die
   Inter aus Blender hat das grosse I nur MIT Fuesschen (kein Schriftmerkmal schaltet es um, gemessen 2026-11-21), in "HILLSIDE" standen
   zwei solche I zwischen L und S. Jetzt die DIN-Schrift des Geraets (--kopf) in Bold: klares I, offene Formen, etwas Luft zwischen den
   Buchstaben. Schriftprobe mit sieben Fassungen nebeneinander im Browser angesehen (Inter 900, Inter mit griechischem Iota, Bahnschrift
   700 / schmal / 600, Segoe UI Black, Inter gemischt) - Bahnschrift 700 liest sich am besten. Laufweite nie verengen. */
.titel, .h-claim, .mlo-kopf h2, .p-held h1, .t-spalte h3, .guete h3 { font-family: var(--kopf); font-weight: 700; font-stretch: 100%; font-feature-settings: normal; letter-spacing: .014em; text-transform: uppercase; }
.titel { margin-top: 16px; font-size: clamp(2.3rem, 6.4vw, 7rem); line-height: .98; }
.titel.klein { font-size: clamp(1.9rem, 4.4vw, 4.4rem); }
.titel em { display: inline-block; }                                    /* der gruene Teil bricht als Ganzes um: "BUILT FOR / STABLE FPS", nicht "... STABLE / FPS" (Handy) */
.erklaer { max-width: 29em; font-size: 15.5px; color: var(--matt); }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 44px; margin-bottom: clamp(30px, 5vh, 60px); }

/* ------------------------------------------------------------------ Einblenden beim Scrollen, Tiefe */
.zeig { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--weich), transform 1.1s var(--weich); transition-delay: calc(var(--i, 0) * 90ms); }
.zeig.da { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Marke: die Wortmarke MIDGARD ist eine eigene Zeichnung (js/gemeinsam.js) - seit 2026-12-02
   aus STRICHEN gleicher Staerke (16 von 100 Hoehe statt 24), mit offenen Formen und weiten Abstaenden (Nutzer: "die MIDGARD-Schrift
   bisschen anders eventuell ... damit die besser lesbar ist"). Rechts darunter steht "Studio" als gruene Unterschrift; sie liegt nie
   UEBER den Buchstaben (Nutzer 2026-11-21: MIDGARD "erkennt man irgendwie schlecht"). */
.marke { position: relative; display: inline-grid; justify-items: end; color: var(--hell); line-height: 1; }
.wortmarke { display: block; }
.wortmarke svg { display: block; width: 100%; height: auto; overflow: visible; }
.marke .wortmarke { width: 122px; }
.wm-form { fill: none; }
.marke .wm-form, .vorhang .wm-form { stroke: currentColor; }               /* klein und im Ladebild einfarbig, gross mit leichtem Verlauf */
.unterschrift { display: block; color: var(--gruen); pointer-events: none; }
/* KEIN Leuchtschein um die Unterschrift (bis 2026-12-02 lag ein gruener drop-shadow von 5 px, im Start 12 px darauf): er machte die
   Linie weich - Nutzer: "das Studio ist bisschen unscharf oder?". Die Linie ist jetzt eine klare Kante, wie die Wortmarke. */
.unterschrift svg { display: block; width: 100%; height: auto; overflow: visible; }
.marke .unterschrift { width: 60px; margin: 3px -5px 0 0; transform: rotate(-4deg); transform-origin: 100% 0; }
.marke .unterschrift svg { stroke-width: 6.4; }
/* Die Unterschrift schreibt sich von links nach rechts - alle 15 Sekunden neu. Ein Umlauf: schreiben (0,15-2,65 s), stehen,
   ausblenden (13,9-14,45 s), unsichtbar zuruecksetzen. Strich 1, Luecke 1.5: vor dem Schreiben bleibt kein Punkt stehen. */
.zug { stroke-dasharray: 1 1.5; stroke-dashoffset: 0; }
.schreibt .zug { animation: 15s linear infinite both; }
.schreibt .z1 { animation-name: zug1; }
.schreibt .z2 { animation-name: zug2; }
.schreibt .z3 { animation-name: zug3; }
.schreibt .z4 { animation-name: zug4; }
.schreibt .z5 { animation-name: zug5; }
.schreibt svg { animation: unterschrift-aus 15s linear infinite both; }
@keyframes zug1 { 0%, 1% { stroke-dashoffset: 1.01; animation-timing-function: cubic-bezier(.3, 0, .1, 1); } 4.4%, 96.4% { stroke-dashoffset: 0; animation-timing-function: steps(1, end); } 96.5%, 100% { stroke-dashoffset: 1.01; } }
@keyframes zug2 { 0%, 4% { stroke-dashoffset: 1.01; animation-timing-function: cubic-bezier(.3, 0, .1, 1); } 12.4%, 96.4% { stroke-dashoffset: 0; animation-timing-function: steps(1, end); } 96.5%, 100% { stroke-dashoffset: 1.01; } }
@keyframes zug3 { 0%, 12.3% { stroke-dashoffset: 1.01; animation-timing-function: cubic-bezier(.3, 0, .1, 1); } 13.7%, 96.4% { stroke-dashoffset: 0; animation-timing-function: steps(1, end); } 96.5%, 100% { stroke-dashoffset: 1.01; } }
@keyframes zug4 { 0%, 13.5% { stroke-dashoffset: 1.01; animation-timing-function: cubic-bezier(.3, 0, .1, 1); } 14.2%, 96.4% { stroke-dashoffset: 0; animation-timing-function: steps(1, end); } 96.5%, 100% { stroke-dashoffset: 1.01; } }
@keyframes zug5 { 0%, 14% { stroke-dashoffset: 1.01; animation-timing-function: cubic-bezier(.3, 0, .1, 1); } 17.8%, 96.4% { stroke-dashoffset: 0; animation-timing-function: steps(1, end); } 96.5%, 100% { stroke-dashoffset: 1.01; } }
@keyframes unterschrift-aus { 0%, 92.6% { opacity: 1; } 96.3%, 99.8% { opacity: 0; } 100% { opacity: 1; } }

/* ------------------------------------------------------------------ "German Quality" (js/gemeinsam.js guete()): ein kleiner Block UNTEN -
   auf dem Start am Ende von "Built for Stable FPS", auf der Services-Seite unter der Anfrage (Nutzer 2026-12-02: "vielleicht unten
   irgendwo vermerken, nicht direkt unter Explore MLO ... da ein Text, dass German Quality alles ueberprueft wird"). Links die Zeile
   mit kleiner Flagge und eine Ueberschrift, rechts ein Satz und die Pruefpunkte in einer Zeile. Kein Kasten, kein grosses Siegel
   (das runde Siegel von 104 px war ihm zu gross, die Zeile neben den Knoepfen stand am falschen Ort). */
.guete { margin-top: clamp(70px, 12vh, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px clamp(34px, 5.5vw, 110px); align-items: end; }
.siegel { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 640; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: rgba(223, 226, 223, .7); }
.siegel svg { flex: none; display: block; width: 18px; height: 12px; }
.guete h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.06; text-wrap: balance; }   /* zweizeilig gleichmaessig: "ERST GEPRUEFT, / DANN GELIEFERT." */
.guete-text { max-width: 40em; font-size: 15.5px; color: var(--matt); }
/* Stichworte (.punkte: Pruefpunkte im Block "German Quality", Stichworte unter den Angeboten der Services-Seite): eine Textzeile aus Kaestchen (inline-block). Bricht sie um (Handy), verteilt text-wrap: balance die Woerter gleichmaessig
   (3 + 2 statt 4 + 1). Der Trennpunkt haengt VOR jedem Wort, aber links AUSSERHALB seines Kastens: am Zeilenanfang liegt er jenseits des
   Rands und wird abgeschnitten (overflow) - so beginnt und endet keine Zeile mit einem Punkt ("COLLISION ." stand am Zeilenende). */
.punkte { margin-top: 13px; overflow: hidden; text-wrap: balance; font-size: 11px; line-height: 2.14; font-weight: 640; letter-spacing: .18em; text-transform: uppercase; color: rgba(223, 226, 223, .72); }
.punkte span { position: relative; display: inline-block; margin-right: 2.2em; }
.punkte span:last-child { margin-right: 0; }
.punkte span::before { content: '·'; position: absolute; left: -1.19em; transform: translateX(-50%); letter-spacing: 0; color: var(--leise); }
@media (max-width: 900px) { .guete { grid-template-columns: 1fr; align-items: start; } }

/* ------------------------------------------------------------------ Vorhang (Ladebild) */
.vorhang { position: fixed; inset: 0; z-index: 100; background: var(--nacht); display: grid; place-items: center; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--schnell) .05s, visibility 0s 1.1s; }
.vorhang.auf { clip-path: inset(0 0 100% 0); visibility: hidden; }
.vorhang-marke { width: clamp(210px, 32vw, 430px); color: var(--hell); animation: steigen 1s var(--weich) both; }
.vorhang-linie { position: absolute; left: 50%; top: calc(50% + clamp(40px, 6vw, 70px)); width: min(220px, 46vw); height: 1px; margin-left: calc(min(220px, 46vw) / -2); background: var(--linie); overflow: hidden; }
.vorhang-linie i { display: block; height: 100%; background: var(--gruen); transform-origin: left; transform: scaleX(0); animation: fuellen 1.5s var(--schnell) forwards; }
@keyframes steigen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fuellen { to { transform: scaleX(1); } }

/* ------------------------------------------------------------------ Filmkorn und Zeiger */
.korn { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: korn 1.1s steps(6) infinite; }
@keyframes korn { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.zeiger { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.zeiger span { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border: 1px solid rgba(241, 243, 241, .45); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: var(--tinte); transition: transform .35s var(--weich), background .3s, border-color .3s; }
.zeiger.an { opacity: 1; }
.zeiger.gross span { transform: scale(1.9); border-color: var(--gruen); background: rgba(var(--gr), .08); }
.zeiger.ziehen span { transform: scale(2.3); background: var(--gruen); border-color: var(--gruen); }
.zeiger.ziehen span::after { content: '↔'; font-size: 8px; }
@media (hover: none), (pointer: coarse) { .zeiger { display: none; } }

/* ------------------------------------------------------------------ Kopf: keine Leiste mit Rahmen - beim Scrollen liegt nur eine
   weich auslaufende Unschaerfe dahinter, der Inhalt scheint durch. Von links nach rechts:
   - die Marke (fuehrt zum Start) - NICHT auf der Startseite: dort ist die grosse Wortmarke die Marke (Nutzer 2026-12-02: "Zwei mal
     auf der Startseite sieht bloed aus")
   - die REITER mit allen Gebaeuden (Nutzer 2026-12-02: "wenn man MLO Explore geht, will ich die Gebaeude sehen und oben vielleicht
     ein Reiter mit allen Gebaeuden") - auf der Uebersicht und auf jeder MLO-Seite: "Overview" und je MLO sein Name; der aktive Reiter
     ist weiss mit gruener Linie. Auf schmalen Schirmen stehen die Reiter in einer zweiten Zeile und lassen sich seitlich schieben.
   - EIN stiller Textlink ("Services", auf der Services-Seite "All MLOs").
   - ganz rechts der Umschalter der Sprache "EN / DE" - auf jeder Seite, auf dem Start ist er das Einzige im Kopf.
   Den Knopf "Explore MLOs" gibt es im Kopf nicht (2026-12-02: "das Explore steht zwei mal auf der Website"). Die leere Flaeche des
   Kopfs faengt keine Klicks ab. */
.kopf { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px clamp(22px, 3.4vw, 56px); padding: 18px var(--rand) 14px; pointer-events: none; }
.kopf > * { pointer-events: auto; }
.kopf::before { content: ''; position: absolute; z-index: -1; inset: 0 0 -38px 0; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: linear-gradient(180deg, rgba(var(--n), .6), rgba(var(--n), .28) 60%, rgba(var(--n), 0));
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  -webkit-mask-image: linear-gradient(180deg, #000 56%, transparent); mask-image: linear-gradient(180deg, #000 56%, transparent); }
.kopf.fest::before { opacity: 1; }
.kopf-reiter, .kopf-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.kopf-reiter { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.kopf-reiter::-webkit-scrollbar { display: none; }
.kopf-nav { margin-left: auto; }
.kopf-reiter a, .kopf-nav a { position: relative; padding: 9px 0; font-size: 11.5px; font-weight: 640; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(223, 226, 223, .6); text-shadow: 0 1px 12px rgba(0, 0, 0, .7); transition: color .3s; }
.kopf-reiter a:hover, .kopf-nav a:hover { color: var(--hell); }
.kopf-reiter a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--weich); }
.kopf-reiter a.an { color: var(--hell); }
.kopf-reiter a.an::after { transform: scaleX(1); }
/* Umschalter der Sprache "EN / DE" (js/sprache.js, Nutzer 2026-12-02: "auf deutsch und englisch ... automatisch erkannt"): ganz rechts
   im Kopf JEDER Seite, still wie die Textlinks - die gewaehlte Sprache hell, die andere blass, dazwischen ein Schraegstrich. Kein
   Rahmen, keine Flagge, kein Gruen. Ein Klick laedt die Seite in der anderen Sprache und merkt die Wahl. */
.kopf-sprache { margin-left: auto; display: flex; align-items: center; }
.kopf-nav + .kopf-sprache { margin-left: 0; }
.kopf-sprache button { padding: 9px 0; font-size: 11.5px; font-weight: 640; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(223, 226, 223, .42); text-shadow: 0 1px 12px rgba(0, 0, 0, .7); transition: color .3s; }
.kopf-sprache button:last-child { margin-right: -.2em; }                 /* die Laufweite haengt hinter dem letzten Buchstaben: buendig mit dem Rand */
.kopf-sprache button + button::before { content: '/'; margin: 0 .55em 0 .35em; letter-spacing: 0; color: rgba(223, 226, 223, .28); }
.kopf-sprache button:hover { color: var(--hell); }
.kopf-sprache button.an { color: var(--hell); cursor: default; }
/* Konto im Kopf (Nutzer 2026-12-03: "mach ein discord anmelde button. Damit der user immer ueber discord rein kann"): links vor
   "EN / DE", still wie die Textlinks. Abgemeldet das Discord-Zeichen (einfarbig, kein Blurple) mit "Sign in", angemeldet das runde
   Bild und der Name - beides fuehrt zum Konto bzw. zur Anmeldung. Kein Rahmen, keine Flaeche. Steht nur da, wenn der Bot antwortet. */
.kopf-konto { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 0; font-size: 11.5px; font-weight: 640; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(223, 226, 223, .6); text-shadow: 0 1px 12px rgba(0, 0, 0, .7); transition: color .3s; }
.kopf-konto:hover { color: var(--hell); }
.kopf-konto .kk-text { overflow: hidden; text-overflow: ellipsis; max-width: 10em; }
.kopf-konto svg { flex: none; width: 17px; height: 17px; fill: currentColor; }
.kopf-konto .kk-bild { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.kopf-nav + .kopf-konto, .kopf-konto + .kopf-sprache { margin-left: 0; }
@media (max-width: 760px) {
  .kopf { flex-wrap: wrap; column-gap: 18px; }
  .kopf-reiter { order: 3; flex: 0 0 100%; }
}
/* Name bzw. "Sign in" nur auf breiten Schirmen: bis 1100 px steht nur das Zeichen bzw. das Bild da, bis 800 px rutschen die
   Reiter mit Konto in die zweite Zeile (gemessen 2026-12-03: sonst verschwand auf Tablets der letzte Reiter hinter dem Rand) */
@media (max-width: 1100px) { .kopf-konto .kk-text { display: none; } }
@media (max-width: 800px) {
  .kopf:has(.kopf-konto) { flex-wrap: wrap; column-gap: 18px; }
  .kopf:has(.kopf-konto) .kopf-reiter { order: 3; flex: 0 0 100%; }
}
/* sehr schmale Handys (unter 360 px): Marke, Textlink und Umschalter bleiben in EINER Zeile (gemessen bei 320 px, deutsch "Alle MLOs":
   sonst rutschte "EN / DE" in eine eigene Zeile) */
@media (max-width: 359px) {
  .kopf { column-gap: 12px; }
  .kopf-nav a, .kopf-sprache button { letter-spacing: .1em; }
  .kopf-sprache button:last-child { margin-right: -.1em; }
  .marke .wortmarke { width: 108px; }
  .marke .unterschrift { width: 53px; }
}
/* mit dem Konto im Kopf (Zeichen bzw. rundes Bild) wird es auf Handys enger: kleinere Abstaende, damit Marke, Textlink, Konto und
   "EN / DE" in EINER Zeile bleiben (gemessen 2026-12-03 auf services.html, deutsch "Alle MLOs", angemeldet: bei 360 px fehlten
   10 px, bei 320 px 4 px). Ohne Konto (Bot antwortet nicht) bleibt der Kopf wie bisher. */
@media (max-width: 380px) { .kopf:has(.kopf-konto) { column-gap: 10px; } }
@media (max-width: 359px) {
  .kopf:has(.kopf-konto) { column-gap: 8px; }
  .kopf:has(.kopf-konto) .kopf-nav a, .kopf:has(.kopf-konto) .kopf-sprache button { letter-spacing: .08em; }
  .kopf:has(.kopf-konto) .kopf-sprache button:last-child { margin-right: -.08em; }
  .kopf-konto .kk-bild { width: 22px; height: 22px; }
}

/* ------------------------------------------------------------------ Knoepfe. Drei Arten:
   .knopf        gruen, dunkle Schrift - der EINE wichtige Knopf einer Gruppe ("Explore MLOs", "3D View", "Buy on Tebex")
   .knopf.glas   durchscheinend, weisse Schrift - alles daneben ("Details", "Trailer")
   Kein Leuchtrand: die Flaeche traegt, beim Darueberfahren wird sie nur etwas heller. */
.knopf { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 660; letter-spacing: -.005em; white-space: nowrap;
  background: var(--gruen); color: var(--tinte);
  transition: transform .5s var(--weich), background .3s, color .3s; will-change: transform; }
.knopf:hover { background: #55e09a; }
.knopf i { font-style: normal; transition: transform .4s var(--weich); }
.knopf:hover i { transform: translateX(3px); }
.knopf.glas { background: rgba(255, 255, 255, .09); color: var(--hell); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.knopf.glas:hover { background: rgba(255, 255, 255, .2); }
.knopf.klein { padding: 11px 17px; font-size: 13px; gap: 8px; }
.knopf svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knopf.klein svg { width: 15px; height: 15px; }
.knopf.gross { padding: 20px 34px; font-size: 16.5px; gap: 12px; }
.knopf.gross svg { width: 22px; height: 22px; }
.knopf svg.dc { fill: currentColor; stroke: none; }                      /* Discord-Zeichen: Flaeche statt Linie */
.knopf:disabled { opacity: .6; cursor: progress; }
/* Stand statt Knopf: "Coming soon on Tebex" (solange bei einem MLO keine Tebex-Adresse eingetragen ist) - nur Text, nichts zum Anklicken */
.bald { display: inline-flex; align-items: center; min-height: 38px; padding: 0 6px; font-size: 11px; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 243, 241, .58); white-space: nowrap; }

/* ------------------------------------------------------------------ Start: Marke, Claim, Kulisse - der erste Bildschirm; darunter der Abschnitt
   "Built for Stable FPS" und der Fuss. Die Seite scrollt wieder (Nutzer 2026-12-02: "die Seite scrollbar, die erste Seite"; der
   Versuch mit nur EINEM Bildschirm vom selben Tag gefiel nicht). MLOs stehen auf der Startseite nicht (2026-11-21: "erstmal keine
   MLOs"). "Explore MLOs" steht hier genau einmal: als Knopf unter dem Claim. Dahinter die Drahtgitter-Kulisse in Grau, Weiss, Gruen. */
.held { --wm: clamp(270px, 56vw, 1060px); position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 70% at 72% 50%, rgba(var(--gr), .035), transparent 70%), var(--nacht); }
.h-kulisse, .h-video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.h-kulisse { opacity: 0; transition: opacity 1.6s ease; }
.h-kulisse.an { opacity: 1; }
.h-kulisse.aus { display: none; }
.h-video { filter: grayscale(.7) brightness(.5); }
.h-schleier { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(90deg, rgba(var(--n), .9) 0%, rgba(var(--n), .5) 38%, rgba(var(--n), 0) 66%),
  linear-gradient(180deg, rgba(var(--n), .5) 0%, rgba(var(--n), 0) 20%, rgba(var(--n), 0) 74%, var(--nacht) 100%); }
.h-inhalt { width: 100%; padding: 150px var(--rand) 110px; opacity: calc(1 - var(--roll, 0) * 1.3); transform: translate3d(0, calc(var(--roll, 0) * 70px), 0); }
/* die Wortmarke laeuft ueber die Breite --wm; die Unterschrift haengt rechts DARUNTER, der Claim steht links daneben */
.h-marke { position: relative; display: block; width: min(100%, var(--wm)); margin-top: clamp(20px, 3.4vh, 34px); }
.h-marke .unterschrift { position: absolute; right: -1%; top: 100%; width: 43%; margin-top: 2.2%; transform: rotate(-4deg); transform-origin: 100% 0; }
.h-marke .unterschrift svg { stroke-width: 3.3; }
.h-claim { margin-top: clamp(26px, 3.6vw, 64px); max-width: 13.5em; font-size: clamp(1.35rem, 2.7vw, 2.9rem); line-height: 1.06; text-wrap: balance; }
.h-unter { margin-top: clamp(14px, 2vh, 22px); max-width: 33em; font-size: clamp(15px, 1.15vw, 18px); color: rgba(223, 226, 223, .62); }
.h-knoepfe { margin-top: clamp(26px, 4.2vh, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h-roll { position: absolute; right: var(--rand); bottom: 30px; display: flex; align-items: center; gap: 14px; font-size: 10.5px; font-weight: 620; letter-spacing: .26em; text-transform: uppercase; color: var(--matt); transition: color .3s; }
.h-roll:hover { color: var(--hell); }
.h-roll i { position: relative; width: 1px; height: 46px; background: var(--linie); overflow: hidden; }
.h-roll i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gruen); animation: rollen 2.2s var(--schnell) infinite; }
@keyframes rollen { from { transform: translateY(-110%); } to { transform: translateY(280%); } }
@media (max-width: 860px) {
  .held { --wm: 100%; }
  .h-marke .unterschrift { position: relative; right: auto; top: auto; width: 46%; margin: 3.4% 0 0 auto; }
  .h-claim { margin-top: 12px; }
  .h-inhalt { padding-top: 130px; }
}

/* ------------------------------------------------------------------ Technik: drei offene Spalten unter dem Start ("Built for Stable FPS") */
.technik { padding: clamp(96px, 15vh, 190px) 0 clamp(50px, 9vh, 110px); }
.t-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(34px, 5.5vw, 110px); }
.t-kopf { display: flex; align-items: center; justify-content: space-between; }
.t-nr { font-size: 11px; font-weight: 620; letter-spacing: .2em; color: var(--leise); }
.t-symbol { width: 58px; height: 58px; color: var(--gruen); transition: transform .7s var(--weich); }
.t-spalte:hover .t-symbol { transform: translateY(-6px); }
.t-symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.t-spalte h3 { margin-top: clamp(24px, 4vh, 40px); font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.1; }
.t-zeile { margin-top: 12px; font-size: 11px; font-weight: 640; letter-spacing: .18em; text-transform: uppercase; color: rgba(223, 226, 223, .72); }
.t-text { margin-top: 14px; max-width: 30em; font-size: 15px; color: var(--matt); }
@media (max-width: 900px) { .t-spalten { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Fuss: nur die Rechtszeile und die Links - OHNE Marke (sie stuende sonst unter der Marke im Kopf
   noch einmal im Bild; Nutzer 2026-12-02: "Midgard Studio zwei mal ... unten und oben ... sieht bloed aus") */
.fuss { padding: clamp(40px, 8vh, 90px) 0 44px; }
.fuss-reihe { display: grid; grid-template-columns: 1fr auto; gap: 14px 48px; align-items: end; }
.fuss-text { font-size: 12px; color: var(--leise); max-width: 62em; line-height: 1.55; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--matt); white-space: nowrap; }
.fuss-recht a:hover { color: var(--gruen); }
@media (max-width: 820px) { .fuss-reihe { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Services (services.html): Custom MLOs und Script Service auf Anfrage (Nutzer 2026-12-02: "mach so eine
   Seite fuer Service ... auf der Seite soll stehen, dass Custom MLOs moeglich oder Script Service moeglich ist auf Anfrage. Dann am
   besten ein Discord-Link oder sowas, mach erstmal als Platzhalter"). Zwei offene Spalten wie unter "Built for Stable FPS", darunter der Weg zur
   Anfrage: der Knopf "Request on Discord". Solange in projekte.json kein studio.discord steht, ist er ein PLATZHALTER (.knopf.aus:
   blass, nicht anklickbar) mit der Zeile "Discord link follows". Kein Formular, keine Mailadresse. */
.dienste { min-height: 100svh; padding: clamp(112px, 16vh, 168px) 0 clamp(50px, 9vh, 110px); }
.dienste .kopfzeile .titel { margin-top: 12px; }
.t-spalten.zwei { grid-template-columns: repeat(2, 1fr); max-width: 1180px; }
@media (max-width: 900px) { .t-spalten.zwei { grid-template-columns: 1fr; } }
.d-anfrage { margin-top: clamp(44px, 8vh, 90px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.d-anfrage p { margin-right: 6px; font-size: 15.5px; color: rgba(223, 226, 223, .78); }
.knopf.aus, .knopf.aus:hover { background: rgba(255, 255, 255, .07); color: rgba(223, 226, 223, .45); cursor: default; }

/* ------------------------------------------------------------------ MLOs (projects.html): eine Ueberschrift ("All MLOs"), darunter jedes MLO als Karte -
   IMMER in zwei Spalten, links und rechts (Nutzer 2026-12-02: "die zwei Projekte so nebeneinander machen wie davor ... Die MLOs sollen
   dann immer rechts links angezeigt werden"; der Versuch mit Baendern ueber die ganze Breite vom selben Tag gefiel nicht). Nur auf
   schmalen Handys (unter 720 px) stehen sie untereinander. Karte = Bild in Farbe, Name (rechts der Preis oder "Coming soon on Tebex"),
   Art und Ort, ein Satz und die zwei Wege "3D View" und "Details". Keine Kaesten, keine Schildchen im Bild: die Karte ist nur Bild und
   Text auf dem Grund der Seite. */
.mlos { min-height: 100svh; padding: clamp(112px, 16vh, 168px) 0 clamp(50px, 9vh, 110px); }
.mlos-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 44px; margin-bottom: clamp(22px, 3.6vh, 40px); }
.mlos-kopf .titel { margin-top: 0; }
.mlos-kopf .erklaer { max-width: none; }
.mlo-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vh, 64px) clamp(18px, 2.2vw, 36px); }
@media (max-width: 720px) { .mlo-liste { grid-template-columns: 1fr; } }
.mlo { min-width: 0; }
.mlo-bild { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--karte); }
.mlo-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--weich), opacity .8s ease; }
.mlo-bild img.zwei { opacity: 0; }                       /* weitere Bilder: js/sammlung.js blendet sie beim Darueberfahren nacheinander ein */
.mlo-bild img.zwei.an { opacity: 1; }
.mlo-bild img.sofort { transition: none; }
img[data-bild]:not([src]) { visibility: hidden; }        /* Vorschaubild noch im Tresor (js/tresor.js): kein Alt-Text, kein Rahmen */
/* Striche unten im Bild, einer je Bild (js/sammlung.js): gruen = gezeigtes Bild, Klick/Tippen springt hin */
.mlo-bildfeld { position: relative; }
.mlo-striche { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: center; gap: 4px; padding: 0 12px 8px; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.mlo-striche button { pointer-events: auto; display: grid; align-items: end; width: 38px; height: 24px; padding: 0 3px 6px; border: 0; background: none; cursor: pointer; }
.mlo-striche i { display: block; height: 3px; border-radius: 2px; background: rgba(223, 226, 223, .5); transition: background .45s ease; }
.mlo-striche button:hover i { background: var(--hell); }
.mlo-striche button[aria-current] i { background: var(--gruen); }
@media (hover: none) { .mlo-striche button { width: 46px; height: 34px; padding-bottom: 8px; } }
.mlo-kopf { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.mlo-kopf .bald { min-height: 0; padding: 0; }
.mlo-kopf h2 { font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1; }
.mlo-kopf h2 a { transition: color .3s; }
.mlo-kopf h2 a:hover { color: var(--gruen); }
.mlo-preis { font-size: 1.2rem; font-weight: 780; letter-spacing: -.02em; color: var(--hell); white-space: nowrap; }
.mlo-preis small { margin-left: 7px; font-size: 10px; font-weight: 620; letter-spacing: .16em; text-transform: uppercase; color: var(--matt); }   /* Preis aus Tebex: "excl. VAT" */
.mlo-art { margin-top: 9px; font-size: 11px; font-weight: 620; letter-spacing: .16em; text-transform: uppercase; color: var(--matt); }
.mlo-kurz { margin-top: 10px; max-width: 36em; min-height: 2.9em; font-size: 15px; line-height: 1.45; color: rgba(223, 226, 223, .78); }   /* zwei Zeilen Platz: die Knoepfe aller Karten stehen auf einer Hoehe */
.mlo-knoepfe { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (hover: hover) { .mlo:hover .mlo-bild img { transform: scale(1.04); } }

/* ------------------------------------------------------------------ MLO-Seite: EIN Bildschirm (Kopfbild, Name, ein Satz, Angaben, Knoepfe) -
   darunter kommt nichts (Nutzer 2026-11-21: "ich will nicht weiter nach unten scrollen koennen, nur die Seite hier").
   Rechts unten steht der grosse Knopf "Open 3D View". Der Rueckweg zur Uebersicht und der Wechsel zu den anderen Gebaeuden stehen
   seit 2026-12-02 als Reiter oben im Kopf (der Link "All MLOs" ueber dem Knopf ist dafuer weg - er stuende sonst doppelt im Bild).
   Das Kopfbild zeigt das Modell vor schwarzer Kulisse ("nicht so hell"), Verlaeufe darueber halten die Schrift lesbar. */
.p-held { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.p-held-bild { position: absolute; inset: -3%; z-index: -2; }
.p-held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(.94) saturate(.96); animation: gleiten 26s ease-out forwards; will-change: transform; }
@keyframes gleiten { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.2%, -1.4%, 0); } }
.p-held::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgba(var(--n), .76) 0%, rgba(var(--n), .14) 26%, rgba(var(--n), .2) 44%, rgba(var(--n), .92) 88%, var(--nacht) 100%),
  linear-gradient(90deg, rgba(var(--n), .7), rgba(var(--n), 0) 62%); }
.p-held-inhalt { padding-top: 150px; padding-bottom: clamp(36px, 6vh, 72px); }
.p-aktion { display: grid; justify-items: start; gap: 16px; }
.p-held .vorzeile { color: rgba(255, 255, 255, .74); }
.p-held h1 { margin-top: 16px; font-size: clamp(3rem, 10.2vw, 12rem); line-height: .9; }
.p-kurz { margin-top: clamp(16px, 2.6vh, 26px); max-width: 27em; font-size: clamp(1.05rem, 1.65vw, 1.7rem); font-weight: 520; letter-spacing: -.02em; line-height: 1.26; color: rgba(255, 255, 255, .86); }
.p-held-unten { margin-top: clamp(26px, 4.6vh, 54px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3.4vw, 54px); }
.p-meta li { font-size: 14px; font-variant-numeric: tabular-nums; }
.p-meta span { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 620; letter-spacing: .2em; text-transform: uppercase; color: var(--matt); }
.kaufbox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.preis { display: grid; margin-right: 14px; }
.preis span { font-size: 10px; font-weight: 620; letter-spacing: .2em; text-transform: uppercase; color: var(--matt); }
.preis b { font-size: 1.25rem; font-weight: 780; letter-spacing: -.02em; color: var(--hell); white-space: nowrap; }
/* Zeile unter den Knoepfen waehrend des Kaufs ("Preparing checkout …", "Ready. You pay securely through Tebex.") - nur Text */
.kauf-meldung { font-size: 13.5px; color: rgba(223, 226, 223, .78); }
.kauf-meldung.fehler { color: #ffb4a0; }

/* ------------------------------------------------------------------ Konto (konto.html, js/kontoseite.js): Ueberschrift "My MLOs" links,
   rechts die Anmeldung bzw. wer angemeldet ist; darunter die gekauften MLOs (Bild, Name, Datum, "Download") und "How it works" in
   drei offenen Spalten wie unter "Built for Stable FPS". Keine Kaesten, keine Linien. Die Rolle steht in den Farben des Discords:
   Customer gelb, Guest grau (Nutzer 2026-12-03: "Gäste sind Grau und Customer sind Gelb") - gedeckt, nur als Schrift. */
.konto { min-height: 100svh; padding: clamp(112px, 16vh, 168px) 0 clamp(50px, 9vh, 110px); }
.konto .kopfzeile { align-items: center; }
.konto .kopfzeile .titel { margin-top: 12px; }
.konto-aus { display: grid; justify-items: start; gap: 22px; }
.konto-wer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.kw-bild { flex: none; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.ohne-bild { display: inline-grid; place-items: center; background: var(--karte); color: var(--matt); font-weight: 700; }
.kw-name { font-size: 17px; font-weight: 640; color: var(--hell); }
.kw-rolle { margin-top: 3px; font-size: 11px; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--matt); }
.rolle.customer { color: #d9b44a; }
.rolle.gast { color: #a3a8a4; }
.kw-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 10px; }
.konto > .rahmen > .kauf-meldung { margin-bottom: 18px; font-size: 15px; }
.k-liste { display: grid; gap: clamp(18px, 3vh, 30px); }
.k-eintrag { display: grid; grid-template-columns: clamp(120px, 14vw, 190px) minmax(0, 1fr) auto; align-items: center; gap: 14px clamp(16px, 2.4vw, 32px); }
.k-bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--karte); }
.k-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.k-eintrag:hover .k-bild img { transform: scale(1.04); }
.k-name { font-family: var(--kopf); font-weight: 700; letter-spacing: .014em; text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.02; }
.k-name a { transition: color .3s; }
.k-name a:hover { color: var(--gruen); }
.k-datum { margin-top: 8px; font-size: 11px; font-weight: 620; letter-spacing: .16em; text-transform: uppercase; color: var(--matt); }
.k-eintrag.weg { opacity: .55; }                                          /* erstattet, abgelehnt, strittig: kein Download */
.k-leer { display: grid; justify-items: start; gap: 22px; }
.k-leer p { max-width: 34em; font-size: 15.5px; color: var(--matt); }
.konto-wie { margin-top: clamp(70px, 12vh, 140px); }
.konto-wie .t-spalten { margin-top: clamp(22px, 3.4vh, 36px); }
.konto-tebex { margin-top: clamp(34px, 5vh, 56px); font-size: 12px; color: var(--leise); }
@media (max-width: 640px) {
  .k-eintrag { grid-template-columns: 112px minmax(0, 1fr); }
  .k-eintrag > .knopf { grid-column: 2; justify-self: start; }
  .kw-knoepfe { margin-left: 0; flex-basis: 100%; }
}

/* kurze Zeile oben (Anmeldung abgebrochen oder gescheitert) - blendet nach einigen Sekunden aus */
.hinweis-oben { position: fixed; z-index: 70; top: 74px; left: 50%; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; transform: translate(-50%, -8px); background: rgba(var(--n), .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; color: rgba(223, 226, 223, .9); opacity: 0; transition: opacity .5s ease, transform .5s var(--weich); pointer-events: none; }
.hinweis-oben.an { opacity: 1; transform: translate(-50%, 0); }
.hinweis-oben.fehler { color: #ffb4a0; }

/* ------------------------------------------------------------------ 3D-Ansicht (.raum): liegt bildschirmfuellend ueber der Seite - nichts
   scrollt, das Rad zoomt, die Werkzeuge stehen am Rand. Geoeffnet wird sie mit dem Knopf "Open 3D View" der MLO-Seite oder mit
   "3D View" in der Uebersicht. Das Modell steht vor einem dunklen, grauen Hintergrund (js/betrachter.js: Kulisse) statt vor hellem
   Himmel; Regler und Zeichen sind gruen, die Leisten dunkles Glas. */
.ring { position: relative; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--n), .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.raum svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.raum { position: fixed; inset: 0; z-index: 110; background: #050606; opacity: 0; transition: opacity .35s ease; user-select: none; }
.raum.offen { opacity: 1; }
.raum canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; cursor: grab; touch-action: none; opacity: 0; transition: opacity 1s ease; }
.raum canvas:active { cursor: grabbing; }
.raum.bereit canvas { opacity: 1; }
.r-lade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 20px; transition: opacity .6s ease; }
.r-lade p { font-size: 11px; font-weight: 620; letter-spacing: .22em; text-transform: uppercase; color: var(--matt); }
.r-lade .ring svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); fill: none; stroke: none; }
.r-lade .ring circle { fill: none; stroke: var(--gruen); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--anteil, 0)); transition: stroke-dashoffset .3s linear; }
.raum.bereit .r-lade { opacity: 0; pointer-events: none; }
.r-leiste { position: absolute; z-index: 5; left: 16px; right: 16px; display: flex; align-items: center; gap: 14px; }
.r-leiste.oben { top: 16px; }
.r-leiste.unten { bottom: 16px; justify-content: center; }
.r-leiste .luecke { flex: 1; }
.r-zu, .r-zeit, .r-maus, .r-orte { background: rgba(var(--n), .66); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); }
.r-zu { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 15px; font-size: 13px; font-weight: 640; transition: background .3s, color .3s; }
.r-zu:hover { background: var(--hell); color: #0c0d0c; }
.r-name { font-size: 11.5px; font-weight: 640; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .74); text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.r-zeit { display: flex; gap: 4px; padding: 4px; border-radius: 15px; }
.r-zeit button { display: grid; place-items: center; width: 48px; height: 38px; border-radius: 11px; color: rgba(255, 255, 255, .7); transition: background .3s, color .3s; }
.r-zeit button:hover { color: #fff; }
.r-zeit button.an { background: var(--hell); color: #0c0d0c; }
/* Legende am rechten Rand: Maus-Sinnbilder zeigen, was man tut - nichts davon ist ein Knopf (pointer-events: none) */
.r-maus { position: absolute; z-index: 5; right: 16px; top: 50%; transform: translateY(-50%); display: grid; gap: 20px; padding: 20px 12px 18px; border-radius: 20px; pointer-events: none; }
.r-maus li { display: grid; justify-items: center; min-width: 98px; text-align: center; }   /* Mindestbreite: deutsche Zeilen ("Rechte Taste ziehen") sind laenger, der Kasten waechst mit */
.r-maus .maus { width: 24px; height: 34px; margin-bottom: 9px; stroke-width: 1.5; color: rgba(255, 255, 255, .84); }
.r-maus .maus .an { fill: var(--gruen); stroke: none; }
.r-maus b { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.r-maus span { margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.r-orte { display: flex; gap: 4px; padding: 4px; border-radius: 17px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.r-orte::-webkit-scrollbar { display: none; }
.r-orte button { padding: 11px 17px; border-radius: 13px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; transition: background .3s, color .3s; }
.r-orte button:hover { color: #fff; }
.r-orte button.an { background: var(--hell); color: #0c0d0c; }
.r-teiler { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--t, .5) * 100%); width: 48px; margin-left: -24px; cursor: ew-resize; display: grid; place-items: center; touch-action: none; }
.r-teiler::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--gruen) 12%, var(--gruen) 88%, transparent); opacity: .85; }
.r-teiler span { position: relative; width: 52px; height: 52px; border-radius: 50%; background: rgba(var(--n), .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1.5px var(--gruen); display: grid; place-items: center; transition: transform .4s var(--weich), background .3s; }
.r-teiler span::before { content: '‹ ›'; font-size: 16px; letter-spacing: .12em; color: #fff; }
.r-teiler:hover span, .r-teiler.zieht span { transform: scale(1.1); background: var(--gruen); }
.r-teiler:hover span::before, .r-teiler.zieht span::before { color: var(--tinte); }
.r-teiler[data-rand] { display: none; }
.r-schild { position: absolute; z-index: 3; top: 82px; padding: 7px 12px; border-radius: 999px; font-size: 10px; font-weight: 660; letter-spacing: .18em; text-transform: uppercase; background: rgba(var(--n), .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; transition: opacity .4s; }
.r-schild.vor { right: calc((1 - var(--t, .5)) * 100% + 38px); }
.r-schild.nach { left: calc(var(--t, .5) * 100% + 38px); color: var(--tinte); background: var(--gruen); }
.raum[data-seite='vorher'] .r-schild.nach, .raum[data-seite='nachher'] .r-schild.vor { opacity: 0; }
.r-hinweis { position: absolute; z-index: 3; left: 50%; bottom: 88px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 9px 16px; border-radius: 999px; background: rgba(var(--n), .66); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12px; color: rgba(255, 255, 255, .84); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.r-hinweis { display: none; }                                              /* nur ohne Maus (siehe unten) */
.raum.bereit:not(.benutzt) .r-hinweis { opacity: 1; transition-delay: 1.2s; }
.r-fehler { position: absolute; inset: auto 20px 90px; z-index: 6; text-align: center; font-size: 13px; color: #ffb4a0; }
/* bis das Modell da ist, stehen nur "Close" und der Ladering im Bild */
.raum:not(.bereit) .r-maus, .raum:not(.bereit) .r-leiste.unten, .raum:not(.bereit) .r-zeit, .raum:not(.bereit) .r-teiler, .raum:not(.bereit) .r-schild { opacity: 0; pointer-events: none; }
.r-maus, .r-leiste.unten, .r-zeit, .r-teiler { transition: opacity .6s ease .2s; }
@media (max-width: 760px) {
  .r-leiste { left: 10px; right: 10px; } .r-leiste.unten { justify-content: flex-start; } .r-name { display: none; }
}
/* ohne Maus (Handy, Tablet): keine Maus-Legende, dafuer die Zeile fuer die Finger */
@media (hover: none), (pointer: coarse) { .r-maus { display: none; } .r-hinweis { display: block; white-space: normal; text-align: center; } }
@media (max-height: 620px) { .r-maus { gap: 10px; padding: 12px 10px; } .r-maus span { display: none; } }

.fehlt { min-height: 80svh; display: grid; align-items: center; padding-top: 140px; }
.fehlt .knopf { margin-top: 30px; }

/* ------------------------------------------------------------------ Lichtkasten, Kino */
.lichtkasten { position: fixed; inset: 0; z-index: 120; background: rgba(5, 6, 6, .95); display: grid; place-items: center; padding: 4vh 4vw; opacity: 0; transition: opacity .4s; }
.lichtkasten.an { opacity: 1; }
.lk-zu { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.lk-zu:hover { background: var(--hell); color: #0c0d0c; }
.kino-flaeche { width: min(1400px, 100%); aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.kino-flaeche iframe, .kino-flaeche video { width: 100%; height: 100%; border: 0; display: block; }

/* ?bild in der Adresse: alles steht sofort still und fertig da (fuer Bildschirmfotos der Seite) */
html.bild *, html.bild *::before, html.bild *::after { animation: none !important; transition: none !important; }
html.bild .vorhang, html.bild .zeiger { display: none; }
html.bild .zeig, html.bild .h-kulisse.an { opacity: 1; transform: none; }
html.bild { scroll-behavior: auto; }
/* Start und MLO-Seite fuellen auch im Bildmodus genau das Fenster (100svh wie sonst). Bis 2026-12-02 standen hier feste 1000 px: im
   Handy-Rahmen (844 px hoch) war die Seite damit hoeher als das Fenster und das Bildschirmfoto schnitt Knopf und Rechtszeile ab. */
