/* Register der Language Models · whoami.special.at · Falzbein, 15.11.2026
   Hell: Normpapier mit Millimeterraster. Dunkel: Blaupause. Eine Schrift: IBM Plex Mono, die strengste. */
:root {
  --papier: #F3EEE2; --blatt: #FBF8F1; --tinte: #1E2836; --leise: #5E6673; --linie: rgba(30, 40, 54, .18);
  --raster: rgba(47, 109, 181, .06); --raster2: rgba(47, 109, 181, .12); --stempel: #C8432E; --blau: #2F6DB5;
  --klappe: #1B1D22; --klappe-schrift: #F4F1EA; --schatten: #1E2836;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #0E2440; --blatt: #112C4C; --tinte: #E6EEF7; --leise: #9FB3CA; --linie: rgba(230, 238, 247, .22);
    --raster: rgba(230, 238, 247, .045); --raster2: rgba(230, 238, 247, .09); --stempel: #FF8466; --blau: #8DBBF0;
    --klappe: #060E1A; --klappe-schrift: #F4F1EA; --schatten: #04101F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #0E2440; --blatt: #112C4C; --tinte: #E6EEF7; --leise: #9FB3CA; --linie: rgba(230, 238, 247, .22);
  --raster: rgba(230, 238, 247, .045); --raster2: rgba(230, 238, 247, .09); --stempel: #FF8466; --blau: #8DBBF0;
  --klappe: #060E1A; --klappe-schrift: #F4F1EA; --schatten: #04101F; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--tinte); font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 15.5px; line-height: 1.6; background-color: var(--papier);
  background-image: linear-gradient(var(--raster2) 1px, transparent 1px), linear-gradient(90deg, var(--raster2) 1px, transparent 1px),
    linear-gradient(var(--raster) 1px, transparent 1px), linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--blau); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
button { font: inherit; color: inherit; }
.leise { color: var(--leise); font-size: .88rem; }
.hinweis { border: 1.5px dashed var(--stempel); padding: .6rem .8rem; }

/* Ecke: Sprache und GitHub */
.ecke { display: flex; gap: .6rem; align-items: center; max-width: 1100px; margin: 0 auto; padding-top: 14px; }
.sprache { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--tinte); border: 1.5px solid var(--tinte); padding: .15rem .55rem; }
.sprache:hover, .sprache:focus-visible { background: var(--tinte); color: var(--papier); }
.gh { color: var(--tinte); display: inline-flex; } .gh svg { fill: currentColor; }

/* Kopf */
.kopf { position: relative; max-width: 1100px; margin: 0 auto; padding: 1.5rem 0 1rem; text-align: center; }
.kopf-orden { width: min(190px, 46vw); margin: 0 auto .8rem; animation: schweben 6s ease-in-out infinite; filter: drop-shadow(0 8px 0 var(--linie)); }
.kopf-orden svg { display: block; width: 100%; height: auto; }
@keyframes schweben { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.kicker { margin: 0; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--leise); }
h1 { margin: .35rem 0 .2rem; font-size: clamp(1.9rem, 6.4vw, 4rem); letter-spacing: -.01em; text-transform: uppercase; }
.host { margin: 0; font-size: clamp(1rem, 2.6vw, 1.3rem); }
.host span { color: var(--stempel); font-weight: 700; }
.host::after { content: "▍"; animation: cursor 1.1s steps(1) infinite; color: var(--stempel); }
@keyframes cursor { 50% { opacity: 0; } }
.unter { max-width: 40rem; margin: .8rem auto 0; color: var(--leise); }
.amtsstempel { position: absolute; right: 0; top: 2.6rem; transform: rotate(9deg); border: 3px double var(--stempel); color: var(--stempel); padding: .25rem .7rem; text-align: center; text-transform: uppercase; opacity: .85; line-height: 1.15; }
.amtsstempel b { display: block; font-size: 1.15rem; letter-spacing: .12em; }
.amtsstempel span { font-size: .66rem; letter-spacing: .14em; }
@media (max-width: 720px) { .amtsstempel { position: static; display: inline-block; margin-top: .8rem; } }

/* Blätter */
main { max-width: 1100px; margin: 0 auto; }
.blatt { position: relative; background: var(--blatt); border: 1.5px solid var(--tinte); box-shadow: 7px 7px 0 var(--schatten); padding: 1.3rem clamp(1rem, 3vw, 2rem) 1.5rem; margin: 2.2rem 0; }
.blatt > p { max-width: 52rem; }
h2 { display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem; font-size: clamp(1.25rem, 3vw, 1.7rem); text-transform: uppercase; letter-spacing: .02em; }
.nr { flex: none; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--email); color: #FBF8F5; font-size: 1rem; border: 1.5px solid var(--tinte); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 1.4rem 0 .5rem; }

/* Prüfstand */
.pruefstand { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-top: 1rem; }
.ps-anzeige, .ps-links, .ps-rechts { min-width: 0; }
@media (min-width: 900px) { .pruefstand.an { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } .ps-rechts { position: sticky; top: 1rem; } }
.pruefstand:not(.an) .ps-links, .pruefstand:not(.an) .ps-rechts { display: none; }
.ps-tasten { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .5rem; }
.ps-taste { position: relative; display: grid; gap: .05rem; text-align: left; min-height: 4.1rem; padding: .45rem .5rem .5rem; cursor: pointer;
  background: var(--papier); border: 1.5px solid var(--tinte); box-shadow: 0 3px 0 var(--tinte); transition: transform .06s, box-shadow .06s, background .15s; }
.ps-taste b { font-size: 1.35rem; line-height: 1.1; }
.ps-taste small { font-size: .62rem; line-height: 1.2; color: var(--leise); overflow-wrap: anywhere; }
.ps-taste:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tinte); }
.ps-taste[aria-pressed="true"] { background: var(--email); color: #FBF8F5; }
.ps-taste[aria-pressed="true"] small { color: rgba(251, 248, 245, .88); }
.ps-taste .v { position: absolute; top: .3rem; right: .35rem; min-width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: #FBF8F5; color: var(--stempel); border: 1.5px solid var(--tinte); }
.ps-taste .v:empty { display: none; }
.ps-taste:focus-visible, .ps-hebel:focus-visible, .ps-knoepfe button:focus-visible, .knopf:focus-visible, #album-leeren:focus-visible { outline: 3px solid var(--stempel); outline-offset: 2px; }
.ps-hebel { display: flex; align-items: center; gap: .8rem; width: 100%; margin-top: .8rem; padding: .55rem .7rem; background: var(--papier); border: 1.5px solid var(--tinte); cursor: pointer; text-align: left; }
.ps-hebel small { display: block; font-size: .7rem; color: var(--leise); }
.ps-schalter { flex: none; position: relative; width: 3.2rem; height: 1.7rem; border-radius: 1rem; background: var(--linie); border: 1.5px solid var(--tinte); }
.ps-schalter::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--tinte); transition: left .18s; }
.ps-hebel[aria-pressed="true"] .ps-schalter { background: var(--stempel); }
.ps-hebel[aria-pressed="true"] .ps-schalter::after { left: 1.65rem; background: #FBF8F5; }
.ps-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.ps-knoepfe button, .knopf, #album-leeren { background: transparent; border: 1.5px solid var(--tinte); padding: .35rem .8rem; cursor: pointer; font-size: .82rem; text-decoration: none; color: var(--tinte); display: inline-block; }
.ps-knoepfe button:hover, .knopf:hover, #album-leeren:hover { background: var(--tinte); color: var(--papier); }
.ps-zufall { border-color: var(--stempel) !important; color: var(--stempel) !important; }
.ps-zufall:hover { background: var(--stempel) !important; color: #FBF8F5 !important; }

.ps-rechts { text-align: center; }
.ps-anzeige { container-type: inline-size; grid-column: 1 / -1; padding: .9rem .6rem; background: var(--klappe); border: 1.5px solid var(--tinte); border-radius: 6px;
  background-image: radial-gradient(ellipse 60% 120% at 50% -30%, rgba(255, 214, 140, .22), transparent 70%); box-shadow: inset 0 2px 10px rgba(0,0,0,.5); }
.pruefstand:not(.an) .ps-anzeige { display: none; }
.ps-fallblatt { --n: 8; display: flex; flex-wrap: nowrap; justify-content: center; gap: .08em; perspective: 300px; font-size: min(3rem, calc(88cqw / (var(--n) * 1.2))); }
.ps-blatt { position: relative; display: inline-grid; place-items: center; width: 1.12em; height: 1.5em; font-weight: 700; color: var(--klappe-schrift); background: linear-gradient(#2A2D34 0 49%, #22252B 51% 100%); border-radius: .12em; box-shadow: inset 0 -2px 0 rgba(255,255,255,.08), 0 2px 0 rgba(0,0,0,.35); }
.ps-blatt::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .65); }
.ps-blatt.klapp { animation: klapp .055s linear; transform-origin: 50% 50%; }
@keyframes klapp { from { transform: rotateX(-80deg); } to { transform: rotateX(0); } }
.ps-lang { margin: .7rem auto 0; max-width: 30rem; font-size: .92rem; min-height: 1.5em; }
.ps-klasse { margin: .2rem 0 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }
.ps-orden { width: min(280px, 74vw); margin: .8rem auto 0; }
.ps-orden svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 0 var(--linie)); }
.ps-orden.stempel { animation: stempel .32s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes stempel { from { transform: scale(1.35) rotate(-14deg); opacity: .2; } to { transform: none; opacity: 1; } }
.ps-sonder { position: relative; margin: 1rem auto 0; max-width: 30rem; border: 2px dashed var(--stempel); padding: .9rem 1rem .8rem; text-align: left; background: var(--papier); }
.ps-sonder-stempel { position: absolute; top: -.85rem; right: .8rem; margin: 0; background: var(--stempel); color: #FBF8F5; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: .15rem .55rem; transform: rotate(-3deg); }
.ps-sonder-titel { margin: 0 0 .3rem; font-weight: 700; font-size: 1.15rem; color: var(--stempel); }
.ps-sonder-text { margin: 0; font-size: .9rem; }

.album-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: 2rem; border-top: 1.5px solid var(--tinte); padding-top: .6rem; }
.album-kopf h3 { margin: 0; }
#album-zahl { color: var(--stempel); }
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .8rem; }
.album:empty { display: block; }
.album:empty::before { content: attr(data-leer); color: var(--leise); font-size: .85rem; }
.album-orden { margin: 0; cursor: pointer; text-align: center; }
.album-orden svg { display: block; width: 100%; height: auto; transition: transform .15s; }
.album-orden:hover svg { transform: rotate(-6deg) scale(1.04); }
.album-orden figcaption { font-size: .72rem; line-height: 1.25; margin-top: .25rem; }

/* Klassen */
.klassen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.klasse-orden { margin: 0; text-align: center; }
.klasse-orden svg { display: block; width: min(150px, 100%); height: auto; margin: 0 auto .4rem; }
.klasse-orden figcaption { font-size: .76rem; color: var(--leise); }
.klasse-orden figcaption b { display: block; color: var(--tinte); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }

/* Tabellen */
.tabelle { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { text-align: left; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--tinte); padding: .35rem .5rem; }
td { border-bottom: 1px solid var(--linie); padding: .4rem .5rem; vertical-align: top; }
td.z { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
table.merkmale td.z { border-left: 6px solid var(--email); }
td.her { color: var(--leise); white-space: nowrap; }
table.klein { width: auto; }
td small { color: var(--leise); }
.zweispaltig { display: grid; gap: 0 2rem; }
@media (min-width: 760px) { .zweispaltig { grid-template-columns: auto 1fr; } }

/* Regel */
.regel { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.1rem; }
.baustein { display: inline-grid; text-align: center; border: 1.5px solid var(--tinte); padding: .3rem .7rem; background: var(--papier); }
.baustein b { font-size: 1.4rem; } .baustein small { font-size: .66rem; color: var(--leise); }
.plus, .gleich { font-weight: 700; color: var(--stempel); font-size: 1.4rem; }
.regel > b { font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: .04em; }

/* Karten */
.karten { display: grid; gap: 1.2rem; margin-top: 1rem; }
@media (min-width: 900px) { .karten { grid-template-columns: 1fr 1fr; } }
.karte { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; border: 1.5px solid var(--tinte); padding: .9rem; background: var(--papier); }
.karte-orden svg { display: block; width: 100%; height: auto; }
.karte-code { margin: 0; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; line-height: 1.1; }
.karte-lang { margin: .25rem 0 .5rem; font-size: .86rem; }
.karte ul { margin: 0; padding-left: 1.1rem; font-size: .78rem; color: var(--leise); }
.karte-fuss { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; border-top: 1px solid var(--tinte); margin: .6rem 0 0; padding-top: .4rem; font-size: .74rem; }
@media (max-width: 520px) { .karte { grid-template-columns: 1fr; } .karte-orden { width: 120px; } }

/* Zustellvermerk */
.vermerk p { max-width: 46rem; }
.pruefstempel { position: absolute; right: clamp(.6rem, 4vw, 2.5rem); bottom: 1.2rem; transform: rotate(-11deg); border: 3px solid var(--stempel); border-radius: 6px; color: var(--stempel); padding: .2rem .7rem; text-align: center; opacity: .85; line-height: 1.15; }
.pruefstempel b { display: block; font-size: 1.4rem; letter-spacing: .16em; text-transform: uppercase; }
.pruefstempel span { font-size: .62rem; }
@media (max-width: 720px) { .pruefstempel { position: static; display: inline-block; margin-top: .5rem; } .vermerk { padding-bottom: 1.5rem; } }
@media (min-width: 721px) { .vermerk { padding-bottom: 4.5rem; } }

/* Wünsche aus dem Wartezimmer */
.wuensche { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem; }
.wuensche li { border: 1px dashed var(--linie); padding: .45rem .6rem; background: var(--papier); }
.wuensche b { font-size: 1.1rem; margin-right: .45rem; }
.wuensche span { font-weight: 600; font-size: .86rem; }
.wuensche small { display: block; font-size: .74rem; color: var(--leise); line-height: 1.35; margin-top: .15rem; }
.artefakt-weg { max-width: 1100px; margin: 10px auto 0; font-size: .8rem; text-align: right; }

/* Skill */
.wo { padding-left: 1.2rem; }
.zips { display: flex; flex-wrap: wrap; gap: .5rem; }
.befehl { background: var(--klappe); color: var(--klappe-schrift); padding: .6rem .9rem; overflow-x: auto; font-size: .9rem; }
.befehl code::before { content: "> "; color: var(--stempel); }

/* Schriftfeld */
.schriftfeld { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 2px solid var(--tinte); background: var(--blatt); margin: 2.4rem 0 .6rem; }
.schriftfeld div { border: .5px solid var(--tinte); padding: .3rem .5rem .4rem; }
.schriftfeld span { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.schriftfeld b { font-size: .86rem; font-weight: 600; }
.herkunft { font-size: .74rem; color: var(--leise); text-align: center; max-width: 52rem; margin: 0 auto 2rem; }

/* Fuß (wie in allen Häusern) */
footer { text-align: center; padding: 2rem 0 3rem; font-size: .8rem; color: var(--leise); border-top: 1.5px solid var(--tinte); max-width: 1100px; margin: 0 auto; }
footer a { color: inherit; }
.haus { margin: 0 auto 1.6rem; }
.haus-titel { display: block; margin-bottom: .8rem; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; }
.haus ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.haus li { margin: 0; }
.haus a { display: block; border-radius: 50%; opacity: .85; transition: opacity .2s, transform .2s; }
.haus a:hover, .haus a:focus-visible { opacity: 1; transform: translateY(-3px); }
.haus a[aria-current="page"] { opacity: 1; outline: 2px solid var(--stempel); outline-offset: 3px; }
.haus img { display: block; width: 48px; height: 48px; margin: 0; border-radius: 50%; }
.rechtliches { display: block; margin-top: .6rem; }
.fuss-hinweis { display: block; max-width: 44rem; margin: .6rem auto 0; font-size: .74rem; line-height: 1.5; opacity: .9; }
.andy { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.3rem; margin: 1.4rem auto 0; font-size: .72rem; letter-spacing: .06em; }
.andy a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; opacity: .85; }
.andy a:hover, .andy a:focus-visible { opacity: 1; text-decoration: underline; }
.andy img { display: block; width: 16px; height: 16px; margin: 0; }
.foundry { display: block; margin-top: .7rem; font-size: .76rem; }

@media (prefers-reduced-motion: reduce) { .kopf-orden, .host::after { animation: none; } }

/* 3. Ausgabe: Verstärker in ihrem Metall */
.ps-blatt.v-T { background: linear-gradient(#B9773E 0 49%, #A3672F 51% 100%); color: #FFF4E6; }
.ps-blatt.v-S { background: linear-gradient(#C9CED4 0 49%, #B3B9C0 51% 100%); color: #1E2836; }
.ps-blatt.v-E { background: linear-gradient(#F0C75A 0 49%, #DDB040 51% 100%); color: #3A2A00; }
.ps-blatt.v-G { background: linear-gradient(#F6D77E 0 49%, #E3B21C 51% 100%); color: #3A2A00; box-shadow: inset 0 0 0 2px #9A6F12, 0 2px 0 rgba(0,0,0,.35); }
.ps-taste .v.v-T { background: #E0A872; color: #3A2210; }
.ps-taste .v.v-S { background: #E3E6EA; color: #1E2836; }
.ps-taste .v.v-E { background: #F6D77E; color: #3A2A00; }
.ps-taste .v.v-G { background: #E3B21C; color: #2A1E00; box-shadow: 0 0 0 2px #9A6F12; }
td.z.v-T { color: #A86A35; } td.z.v-S { color: #7D838B; } td.z.v-E { color: #B8860B; } td.z.v-G { color: #8A5A00; }
.ps-zusatz { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.ps-zusatz li { font-size: .74rem; border: 1.5px solid var(--tinte); border-radius: 1rem; padding: .05rem .55rem; background: var(--blatt); }
.ps-zusatz b { color: var(--stempel); }
.ps-zusatz-rest { margin: .5rem 0 0; font-size: .74rem; color: var(--leise); }
.ps-sonder-notiz { margin: .5rem 0 0; font-size: .62rem; color: var(--leise); font-style: italic; }
.ps-marker { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .9rem; }
.ps-marker-orden { margin: 0; width: 92px; text-align: center; }
.ps-marker-orden svg { display: block; width: 100%; height: auto; }
.ps-marker-orden figcaption { font-size: .66rem; line-height: 1.25; color: var(--leise); }
.ps-mit { margin: 1rem auto 0; max-width: 30rem; font-size: .72rem; color: var(--leise); }
.endrunde li { border-style: solid; }
