/* Ablage – nach den Vorlagen in „REF SVG“.
   Alle Maße sind Vorlagen-Pixel (2368 x 1489) mal --u. */
@font-face { font-family: Janz;  src: url(schrift/janz.woff2) format("woff2"); font-display: swap;
  unicode-range: U+20-2B, U+2D, U+2F-10FFFF; }   /* Punkt und Komma sind darin so winzig, dass „.pdf“ zu „pdf“ wird – die kommen aus Comic */
@font-face { font-family: Comic; src: url(schrift/comic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Mono;  src: url(schrift/spacemono.woff2) format("woff2"); font-display: swap; }

:root {
  --u: min(calc(100vw / 2368), calc(100vh / 1489));
  --bg: linear-gradient(180deg, #e30613 0%, #000 41.7%, #e30613 79.1%, #3b3a3d 100%);
  --v25: #82368c 0%, #000 41.7%, #e30613 79.1%, #3b3a3d 100%;
  --hand: Janz, Comic, "Comic Sans MS", "Comic Neue", cursive;
  --mono: Mono, Consolas, Menlo, monospace;
  --rot: #e30613; --lila: #662483; --gelb: #dedc00; --gruen: #3aaa35;
  --weiss: #f6f6f6; --grau: #d1d1d1; --strich: #ededed;
  --reihe: var(--hand);
}
* { box-sizing: border-box; }
html { height: 100%; background: #000; }
body { margin: 0; min-height: 100%; color: var(--weiss); font-family: var(--mono); font-size: 14px; line-height: 1.45; }
body::before { content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: var(--bg); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; }
[hidden] { display: none !important; }
.hand { font-family: var(--hand); font-weight: 400; }
:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.buehne { position: relative; width: calc(2368 * var(--u)); min-height: 100vh; height: calc(1489 * var(--u)); margin: 0 auto; overflow: visible; }
.el { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }
.el > img, img.el { width: 100%; height: 100%; }
img.el { width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }

/* ================= Anmeldung ================= */
.anmeldung { overflow-x: hidden; }
.feld { position: absolute; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; outline: 0; color: var(--strich);
  font-family: var(--hand); font-size: calc(60 * var(--u)); transform-origin: 0 50%; caret-color: var(--rot); -webkit-appearance: none; }
.feld:-webkit-autofill { -webkit-text-fill-color: var(--strich); transition: background-color 99999s; }
.feld.name { left: calc(296 * var(--u)); top: calc(386 * var(--u)); width: calc(810 * var(--u)); height: calc(72 * var(--u)); transform: skewY(-11.3deg); }
.feld.pass { left: calc(330 * var(--u)); top: calc(482 * var(--u)); width: calc(720 * var(--u)); height: calc(54 * var(--u)); transform: skewY(-13.2deg); font-size: calc(44 * var(--u)); }
.platz { pointer-events: none; transition: opacity .15s; }
.voll + .platz { opacity: 0; }
.rahmen { pointer-events: none; opacity: .85; transition: opacity .15s; }
.rahmen.an { opacity: 1; filter: drop-shadow(0 0 calc(5 * var(--u)) #fff); }
.kunst { position: absolute; left: calc(937 * var(--u)); top: calc(616 * var(--u)); width: calc(1337 * var(--u)); height: calc(726 * var(--u)); }
.kunst img { position: absolute; pointer-events: none; }
.kunst .s { left: 0; top: 0; width: calc(1325 * var(--u)); height: calc(696 * var(--u)); transition: transform .25s; }
.kunst .v { left: calc(6 * var(--u)); top: calc(28 * var(--u)); width: calc(1325 * var(--u)); height: calc(696 * var(--u)); }
.kunst .k { left: calc(11.5 * var(--u)); top: calc(25.4 * var(--u)); width: calc(1326 * var(--u)); height: calc(698 * var(--u)); transition: transform .25s; }
.kunst:hover .s, .kunst:focus-visible .s { transform: translate(calc(-18 * var(--u)), calc(-16 * var(--u))); }
.kunst:hover .k, .kunst:focus-visible .k { transform: translate(calc(10 * var(--u)), calc(8 * var(--u))); }
.kunst:active .s { transform: none; }
.schild { transition: filter .15s, transform .15s; }
.schild:hover { filter: invert(1); transform: rotate(-2deg); }
.ansage { position: absolute; left: calc(320 * var(--u)); top: calc(600 * var(--u)); width: calc(760 * var(--u)); transform: skewY(-13.2deg); transform-origin: 0 0;
  font-family: var(--hand); font-size: calc(46 * var(--u)); line-height: 1.15; color: var(--strich); }
.ansage p { margin: 0 0 .5em; }
.ansage button { font-family: var(--hand); background: #000; color: var(--weiss); padding: .2em .6em; font-size: 1em; }
.ansage button:hover { color: var(--rot); }

/* ================= Hauptseite ================= */
.leiste { background: var(--weiss); }
.knopf { position: absolute; display: flex; align-items: center; justify-content: center; background: #000; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }
.knopf img { width: calc(var(--iw) * var(--u)); height: auto; transition: transform .12s; }
.knopf:hover img { transform: rotate(-3deg) scale(1.07); }
.knopf.an { box-shadow: 0 calc(6 * var(--u)) 0 var(--rot); }
.zaehler { background: var(--weiss); padding: calc(4 * var(--u)) calc(16 * var(--u)); overflow: hidden; white-space: nowrap; font-family: var(--hand); line-height: 1; }
.zaehler .a { color: var(--rot); font-size: calc(63 * var(--u)); -webkit-text-stroke: calc(2.6 * var(--u)) var(--rot); height: calc(66 * var(--u)); line-height: calc(76 * var(--u)); }
.zaehler .b { color: var(--lila); font-size: calc(46 * var(--u)); -webkit-text-stroke: calc(1.6 * var(--u)) var(--lila); height: calc(56 * var(--u)); line-height: calc(58 * var(--u)); }

.tafel { position: absolute; left: calc(688 * var(--u)); top: calc(192 * var(--u)); width: calc(1120 * var(--u)); bottom: calc(94 * var(--u)); background: #000;
  border: 1px solid; border-image: linear-gradient(90deg, var(--v25)) 1; display: flex; flex-direction: column; min-height: 320px; }
.tafel-kopf { flex: none; padding: calc(16 * var(--u)) calc(36 * var(--u)) 0; }
.tafel-inhalt { flex: 1; overflow-y: auto; overflow-x: hidden; padding: calc(44 * var(--u)) 0 calc(30 * var(--u)) calc(35 * var(--u)); scrollbar-width: thin; scrollbar-color: #555 #000; position: relative; }
.tafel-kopf + .tafel-inhalt.eng { padding-top: calc(20 * var(--u)); }
.tafel-inhalt::-webkit-scrollbar { width: 8px; }
.tafel-inhalt::-webkit-scrollbar-thumb { background: #555; }
.tafel-fuss { flex: none; min-height: calc(96 * var(--u)); display: flex; align-items: center; justify-content: center; padding: 6px calc(36 * var(--u)); gap: 12px; flex-wrap: wrap; }
.graues { background: var(--grau); }
.balken { bottom: calc(99.5 * var(--u)); height: auto; }

/* Zeilen */
.zeile { position: relative; display: flex; align-items: center; width: calc(1030 * var(--u)); height: max(calc(33 * var(--u)), 22px); margin: 0 0 max(calc(21.6 * var(--u)), 7px) var(--v, 0); background: var(--grau); color: #000; padding: 0 calc(10 * var(--u)); font-family: var(--reihe); font-size: var(--reihe-gr); line-height: 1; transition: background-color .1s; }
body { --reihe-gr: max(calc(32 * var(--u)), 17px); }
body.maschine { --reihe: var(--mono); --reihe-gr: max(calc(19 * var(--u)), 12px); }
body.eng .zeile { margin-bottom: max(calc(7 * var(--u)), 3px); }
body.weit .zeile { margin-bottom: max(calc(40 * var(--u)), 14px); }
.zeile:hover, .zeile:focus-within { background: var(--weiss); }
.zeile.da { background: var(--rot); color: #fff; }
.zeile .nr { flex: none; width: 2.4em; font-size: .82em; text-align: left; color: inherit; opacity: .6; height: 100%; }
.zeile .nr:hover { opacity: 1; }
.zeile .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; line-height: 1.5; text-decoration: none; }
.zeile .n:hover { text-decoration: underline; }
.zeile .g, .zeile .z { flex: none; font-family: var(--mono); font-size: max(calc(15 * var(--u)), 10px); padding-left: 1em; white-space: nowrap; opacity: .75; }
.zeile .tun { display: none; flex: none; padding-left: .6em; height: 100%; align-items: center; }
.zeile:hover .tun, .zeile:focus-within .tun { display: flex; }
.zeile .tun button { background: #000; color: var(--weiss); font-family: var(--hand); font-size: max(calc(25 * var(--u)), 15px); height: 86%; padding: 0 .45em; margin-left: 4px; line-height: 1; }
.zeile .tun button:hover { color: var(--rot); }
.block { margin: max(calc(34 * var(--u)), 16px) 0 max(calc(16 * var(--u)), 7px) 0; width: calc(1030 * var(--u)); font-family: var(--hand); font-size: max(calc(36 * var(--u)), 19px); line-height: 1; color: var(--weiss); display: flex; align-items: baseline; }
.block:first-child { margin-top: 0; }
.block .rest { margin-left: auto; font-family: var(--mono); font-size: max(calc(15 * var(--u)), 10px); color: #9a9a9a; }
.block button { color: #9a9a9a; font-family: var(--mono); font-size: max(calc(15 * var(--u)), 10px); margin-left: 1.2em; text-decoration: underline; }
.block button:hover { color: var(--weiss); }
.leer { font-family: var(--hand); font-size: max(calc(46 * var(--u)), 22px); color: #777; padding: calc(40 * var(--u)) 0; }
.balken-lauf { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--rot); transition: width .15s; }

/* Kleinkram */
.bt { background: #000; color: var(--weiss); font-family: var(--hand); font-size: max(calc(32 * var(--u)), 18px); line-height: 1; padding: .32em .6em .28em; border: 1px solid #555; white-space: nowrap; }
.bt:hover { color: var(--rot); border-color: var(--rot); }
.bt.an { background: var(--rot); color: #fff; border-color: var(--rot); }
.bt.rot { color: var(--rot); } .bt.gelb { color: var(--gelb); } .bt.gruen { color: var(--gruen); }
.bt[disabled] { opacity: .4; pointer-events: none; }
.hoch { font-size: max(calc(48 * var(--u)), 24px); border: 0; }
.kl { font-size: 12px; color: #9a9a9a; }

.klappe { position: absolute; z-index: 20; background: var(--weiss); color: #000; padding: calc(24 * var(--u)) calc(28 * var(--u)); min-width: 300px; max-width: min(640px, 94vw); max-height: 78vh; overflow: auto; box-shadow: calc(12 * var(--u)) calc(12 * var(--u)) 0 rgba(0,0,0,.85); }
.klappe h3 { font-family: var(--hand); font-weight: 400; font-size: max(calc(38 * var(--u)), 22px); margin: 14px 0 6px; line-height: 1; color: var(--lila); }
.klappe h3:first-child { margin-top: 0; }
.klappe .reihe { display: flex; flex-wrap: wrap; margin: 0 -6px -6px 0; }
.klappe .reihe > * { margin: 0 6px 6px 0; }
.klappe .bt { border-color: #000; }
.klappe p { margin: 8px 0; font-size: 12.5px; }
.klappe input[type=text], .klappe input[type=search], .klappe input[type=number] { border: 1px solid #000; background: #fff; color: #000; padding: 6px 8px; width: 100%; border-radius: 0; }
.farbe { width: 64px; height: 42px; border: 1px solid #000; }
.farbe.an { outline: 3px solid var(--rot); outline-offset: 1px; }

.decke { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.kasten { background: #000; color: var(--weiss); border: 1px solid; border-image: linear-gradient(180deg, var(--v25)) 1; padding: 26px 30px; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; }
.kasten h1, .kasten h2 { font-family: var(--hand); font-weight: 400; font-size: 40px; line-height: 1; margin: 0 0 14px; }
.kasten h3 { font-family: var(--hand); font-weight: 400; font-size: 25px; margin: 20px 0 6px; color: var(--grau); }
.kasten input[type=text], .kasten input[type=password] { width: 100%; background: none; border: 1px solid var(--strich); color: var(--weiss); padding: 10px 12px; border-radius: 0; font-family: var(--mono); }
.kasten .reihe { display: flex; flex-wrap: wrap; margin-top: 16px; }
.kasten .reihe > * { margin: 0 8px 8px 0; }
.kasten-mitte { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.schau { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 55; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.schau img, .schau video { max-width: 96vw; max-height: 90vh; object-fit: contain; }
.schau .oben { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; align-items: center; font-family: var(--hand); font-size: 24px; }
.schau .oben span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schau .oben .bt { margin-left: 8px; }

.zettelei { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 320px; max-width: 92vw; }
.zettel { background: var(--weiss); color: #000; padding: 10px 14px; margin-top: 8px; font-size: 12.5px; position: relative; overflow: hidden; overflow-wrap: anywhere; box-shadow: 6px 6px 0 rgba(0,0,0,.8); }
.zettel.schlimm { background: var(--rot); color: #fff; }
.fang { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 70; background: rgba(227,6,19,.82); display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: 12vw; pointer-events: none; }

/* ================= Projekte ================= */
.ordner-reihe { display: grid; grid-template-columns: 1fr 1fr; grid-gap: calc(34 * var(--u)) calc(30 * var(--u)); width: calc(1030 * var(--u)); }
.ordner { position: relative; height: max(calc(250 * var(--u)), 130px); text-align: left; display: block; width: 100%; }
.ordner i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; clip-path: polygon(0 23.6%, .6% 100%, 79% 67.6%, 100% 0); transition: clip-path .25s; }
.ordner:nth-child(even) i { clip-path: polygon(0 0, 21% 67.6%, 99.4% 100%, 100% 23.6%); }
.ordner:hover i, .ordner:focus-visible i { clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0); }
.ordner b { position: absolute; left: 8%; bottom: 34%; max-width: 84%; background: #000; color: var(--weiss); font-family: var(--hand); font-weight: 400; font-size: max(calc(48 * var(--u)), 24px); line-height: 1; padding: .18em .4em .12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ordner:nth-child(even) b { left: 22%; }
.ordner small { position: absolute; right: 0; bottom: 0; font-size: 11px; color: #bbb; background: #000; padding: 2px 6px; }
.ordner.neu { border: 1px dashed #666; display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-size: max(calc(48 * var(--u)), 24px); color: var(--grau); }
.ordner.neu:hover { border-color: var(--rot); color: var(--rot); }
.ortname { display: flex; flex-wrap: wrap; align-items: center; }
.ortname h2 { flex: 1; min-width: 40%; font-family: var(--hand); font-weight: 400; font-size: max(calc(64 * var(--u)), 28px); line-height: 1; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ortname .bt { margin: 4px 0 4px 6px; font-size: max(calc(28 * var(--u)), 17px); }

/* ================= Zugriffe ================= */
.art { display: inline-block; min-width: 6.2em; font-family: var(--hand); font-size: max(calc(29 * var(--u)), 17px); line-height: 1.1; }
.zugriff { width: calc(1030 * var(--u)); margin: 0 0 6px; background: var(--grau); color: #000; padding: 5px 10px; font-size: max(calc(16 * var(--u)), 11.5px); display: grid; grid-template-columns: 9.6em 7.8em 1fr; grid-gap: 0 10px; align-items: baseline; }
.zugriff .wer { font-weight: 700; }
.zugriff .was { overflow-wrap: anywhere; }
.zugriff .wie { grid-column: 3; color: #555; font-size: .92em; }
.zugriff.warn { background: var(--rot); color: #fff; }
.zugriff.warn .wie { color: #ffd9d9; }

/* ================= Admin ================= */
.admin { width: calc(1040 * var(--u)); }
.admin h3 { font-family: var(--hand); font-weight: 400; font-size: max(calc(48 * var(--u)), 25px); line-height: 1; margin: 34px 0 10px; color: var(--weiss); }
.admin h3:first-child { margin-top: 0; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-gap: 10px; }
.kachel { background: #111; border: 1px solid #333; padding: 10px 12px; }
.kachel b { display: block; font-family: var(--hand); font-weight: 400; font-size: 34px; line-height: 1.05; color: var(--weiss); overflow-wrap: anywhere; }
.kachel span { font-size: 11.5px; color: #a5a5a5; }
.saeulen { display: flex; align-items: flex-end; height: 130px; border-bottom: 1px solid #444; }
.saeulen div { flex: 1; height: 100%; display: flex; align-items: flex-end; padding: 0 1px; min-width: 0; }
.saeulen i { display: block; width: 100%; background: var(--rot); border-radius: 3px 3px 0 0; min-height: 0; }
.saeulen div:hover i { background: #ff5a63; }
.achse { display: flex; justify-content: space-between; font-size: 11px; color: #a5a5a5; margin-top: 4px; }
.strich { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; grid-gap: 10px; align-items: center; font-size: 12px; margin: 0 0 5px; }
.strich span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strich i { display: block; height: 10px; background: var(--rot); border-radius: 0 3px 3px 0; min-width: 2px; }
.strich em { font-style: normal; color: #bbb; white-space: nowrap; }
.uhr { display: grid; grid-template-columns: 2.2em repeat(24, 1fr); grid-gap: 2px; font-size: 10px; color: #a5a5a5; }
.uhr i { display: block; height: 17px; background: #1a1a1a; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 6px 34px; }
.liste-klein { font-size: 12px; margin: 0; padding: 0; list-style: none; }
.liste-klein li { display: flex; align-items: baseline; padding: 4px 0; border-bottom: 1px solid #2a2a2a; }
.liste-klein li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-klein li em { font-style: normal; color: #a5a5a5; margin-left: 10px; white-space: nowrap; }
.liste-klein li button { color: var(--rot); margin-left: 10px; text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr auto; grid-gap: 8px 16px; align-items: center; font-size: 12.5px; }
.form input { width: 8em; background: #000; border: 1px solid #666; color: #fff; padding: 5px 8px; text-align: right; }
.verlaeufe { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-gap: 8px; font-size: 11px; color: #bbb; }
.verlaeufe i { display: block; height: 60px; margin-bottom: 3px; }
.verlaeufe .weg i { outline: 1px solid #888; outline-offset: 2px; }
.verlaeufe div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px; }

/* ================= Impressum / Datenschutz ================= */
body.recht { --bg: #000; }
.flaeche { position: absolute; left: calc(105.2 * var(--u)); top: calc(324.5 * var(--u)); width: calc(1415.3 * var(--u)); height: calc(921 * var(--u)); }
.imptext { position: absolute; left: calc(154 * var(--u)); top: calc(574 * var(--u)); width: calc(1000 * var(--u)); height: calc(560 * var(--u)); font-family: var(--hand); font-size: max(calc(31 * var(--u)), 15px); line-height: 1.12; --ab: 82; --bis: 84;
  /* oben auf Rot schwarz, unten auf Schwarz und Lila hell: die Schrift ist selbst ein Verlauf */
  color: transparent; background: linear-gradient(180deg, #000 calc(var(--ab) * var(--u)), #f6f6f6 calc(var(--bis) * var(--u))); -webkit-background-clip: text; background-clip: text; }
.imptext p { margin: 0 0 .75em; }
.imptext a { text-decoration: none; }
.imptext a:hover { text-decoration: underline; text-decoration-color: var(--weiss); }
.dsbox { position: absolute; left: calc(135.2 * var(--u)); top: calc(517.5 * var(--u)); width: calc(1782.5 * var(--u)); height: calc(210 * var(--u)); border: 1px solid; border-image: linear-gradient(240deg, var(--v25)) 1; overflow-y: scroll; overflow-x: hidden; padding: calc(9 * var(--u)) calc(20 * var(--u)); color: #fff; font-family: var(--hand); font-size: max(calc(23 * var(--u)), 14px); line-height: 1.15; scrollbar-width: none; overscroll-behavior: contain; }
.dsbox::-webkit-scrollbar { width: 0; }
.dsbox h2 { font-weight: 400; font-size: 1.15em; margin: 1.1em 0 .25em; }
.dsbox p { margin: 0 0 .7em; }
.zurueck { position: absolute; right: calc(60 * var(--u)); bottom: calc(50 * var(--u)); font-family: var(--hand); font-size: max(calc(38 * var(--u)), 18px); color: #8a8a8a; text-decoration: none; }
.zurueck:hover { color: var(--rot); }

/* ================= Handy und schmale Fenster ================= */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  :root { --u: calc(100vw / 1180); }
  .buehne { width: 100%; height: auto; min-height: 100vh; }
  .haupt { display: flex; flex-direction: column; padding: 8px; min-height: 100vh; }
  .haupt .el, .haupt .knopf { position: static; width: auto; height: auto; }
  .haupt .leiste { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 6px; padding: 8px; }
  .haupt .leiste .logo { grid-column: 1 / 4; }
  .haupt .leiste .logo img { height: 34px; width: auto; }
  .haupt .knopf { height: 44px; }
  .haupt .knopf img { height: 24px; width: auto; }
  .haupt .rechts { display: flex; margin: 6px 0; }
  .haupt .zaehler { flex: 1; padding: 4px 12px; }
  .haupt .zaehler .a { font-size: 34px; height: 34px; line-height: 38px; -webkit-text-stroke-width: .8px; }
  .haupt .zaehler .b { font-size: 26px; height: 26px; line-height: 26px; -webkit-text-stroke-width: .5px; }
  .haupt .abmelden { width: 118px; height: auto; margin-left: 6px; }
  .haupt .tafel { position: static; width: 100%; flex: 1; min-height: 62vh; max-height: none; }
  .haupt .tafel-inhalt { padding: 14px 0 14px 10px; overflow: visible; }
  .haupt .tafel-kopf { padding: 12px 10px 0; }
  .haupt .tafel-fuss { position: -webkit-sticky; position: sticky; bottom: 0; background: #000; padding: 8px 10px; border-top: 1px solid #333; }
  /* Die grauen Dinger gucken auf dem Handy nur am Rand rein */
  .haupt .balken { position: fixed; right: 0; top: 30vh; width: 5px; height: 40vh; bottom: auto; z-index: 2; }
  .haupt .zacke { display: none; }
  .zeile, .block, .zugriff, .ordner-reihe, .admin { width: calc(100% - 12px); }
  .zeile { height: auto; min-height: 34px; margin-bottom: 7px; flex-wrap: wrap; padding: 2px 8px; --v: 0 !important; margin-left: 0; }
  .zeile .n { font-size: 20px; }
  body.maschine .zeile .n { font-size: 13px; }
  .zeile .z { display: none; }
  .zeile .tun { display: none; width: 100%; padding: 4px 0 5px; height: auto; }
  .zeile:hover .tun { display: none; }
  .zeile.da .tun, .zeile.offen .tun { display: flex; }
  .zeile .tun button { height: 34px; flex: 1; font-size: 19px; }
  .zwei, .ordner-reihe { grid-template-columns: 1fr; }
  .ordner { height: 150px; }
  .zugriff { grid-template-columns: 1fr auto; }
  .zugriff .was, .zugriff .wie { grid-column: 1 / 3; }
  .klappe { position: fixed !important; left: 8px !important; right: 8px; top: auto !important; bottom: 8px; max-width: none; }

  .anmeldung .buehne { --u: calc(100vw / 1180); min-height: 100vh; overflow: hidden; }
  .anmeldung .vorn { position: absolute; left: calc(-298 * var(--u)); top: calc(130 * var(--u)); width: 100%; transform: scale(1.22); transform-origin: 0 0; }
  .anmeldung .kunst { left: calc(-70 * var(--u)); top: auto; bottom: calc(30 * var(--u)); transform: scale(.92); transform-origin: 0 100%; }
  .anmeldung .schild { left: auto; right: calc(40 * var(--u)); width: calc(var(--w) * var(--u) * 1.7); height: calc(var(--h) * var(--u) * 1.7); }
  /* oben, wo es rot genug ist, um Schwarz zu lesen */
  .anmeldung .schild.s1 { top: calc(60 * var(--u)); right: auto; left: calc(60 * var(--u)); } .anmeldung .schild.s2 { top: calc(24 * var(--u)); right: calc(400 * var(--u)); } .anmeldung .schild.s3 { top: calc(36 * var(--u)); }
  .anmeldung .feld.pass { font-size: 30px; } .anmeldung .feld.name { font-size: 34px; }
  .anmeldung .ansage { font-size: 22px; }

  .recht .buehne { padding: 20px 16px; }
  .recht .el, .recht .flaeche, .recht .imptext, .recht .dsbox, .recht .zurueck { position: static; }
  .recht .flaeche { position: absolute; left: 0; top: 70px; width: 100%; height: 700px; }
  .recht .streifen { display: none; }
  .recht .titel { width: 70vw; height: auto; }
  .recht .imptext { position: absolute; left: 18px; right: 12px; top: 250px; width: auto; height: 420px; font-size: 20px; background-image: linear-gradient(180deg, #000 52px, #f6f6f6 54px); }
  .recht .titel.ds { width: 34vw; height: 34vw; }
  .recht .dsbox { width: 100%; height: 170px; margin: 12px 0; font-size: 19px; padding: 8px 12px; }
  .recht .zurueck { position: fixed; right: 18px !important; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
body.ruhig * { transition: none !important; animation: none !important; }
.gastname { font-family: var(--hand); font-size: calc(50 * var(--u)); line-height: calc(62 * var(--u)); color: #000; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gastfuss { position: absolute; left: calc(440 * var(--u)); bottom: calc(96 * var(--u)); font-family: var(--hand); font-size: max(calc(30 * var(--u)), 16px); color: #fff; width: calc(230 * var(--u)); }
.gastfuss a { display: block; text-decoration: none; background: #000; padding: .15em .5em; margin-top: 4px; width: max-content; }
.gastfuss a:hover { color: var(--rot); }
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .gastname { grid-column: 1 / 4; font-size: 26px; line-height: 1.1; text-align: left; order: 9; }
  .gastfuss { position: static; width: auto; } .gastfuss a { display: inline-block; }
}
/* Ordner-Passwort: Linien und Schilder muessen auf jedem Verlauf zu sehen sein */
.ordnerpass .vorn { mix-blend-mode: difference; }
.ordnerpass .schild { filter: invert(1); mix-blend-mode: difference; }
.ordnerpass .schild:hover { filter: invert(.6); }
