/* Sinnphonie Office, Entwurf A "Bühne": dunkle Bühne oben, helle Arbeitsfläche, dunkler Abschluss.
   Regeln der Plattform (DESIGN-HANDOFF.md): Poppins, nur die Token-Farben, Radius 0, "glow" nur auf Dunkel.
   Breiten und Höhen der Balken kommen als Klassen (.w0 bis .w100, .h0 bis .h100), die der Dienst anhängt:
   So braucht keine Seite ein style-Attribut, und die Inhaltsrichtlinie kann sie verbieten. */

@font-face { font-family: "Poppins"; src: url("Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ink-900: #0b0c0d; --ink-800: #16181a; --ink-700: #191e23;
  --paper-50: #f9f9f9; --paper-100: #f1f1f1;
  --gray-500: #7e8082; --gray-700: #4a4d4f;
  --glow: #f5efe6; --linie: #e2e4e8; --kante: #2a2e33; --matt: #b9bcbf;
}
* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { background: var(--paper-50); color: var(--ink-800); min-height: 100vh; display: flex; flex-direction: column; }
b, strong, h1, h2, h3, th { font-weight: 600; }
a { color: inherit; text-decoration: none; }
.caps { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.r { text-align: right; white-space: nowrap; }
.leise { color: var(--gray-700); }

/* ----- Bühne ----- */
.buehne { background: var(--ink-900); color: #fff; padding: 22px 22px 30px; }
.leiste { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.marke img { height: 34px; width: auto; }
.marke small { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-500); margin-left: 4px; }
.ab { background: none; border: 0; color: var(--gray-500); font: inherit; font-size: 12px; cursor: pointer; }
.leiste form { order: 2; }
.leiste nav { order: 3; }
nav { display: flex; gap: 18px; font-size: 12.5px; color: var(--matt); width: 100%; margin-top: 4px; }
nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
nav a.an { color: #fff; border-bottom-color: var(--glow); }
.kino { margin-top: 34px; border-top: 1px solid var(--kante); border-bottom: 1px solid var(--kante); padding: 28px 0 24px; }
.kino .caps { color: var(--glow); }
.kino h1 { font-size: 34px; line-height: 1.12; letter-spacing: -.025em; margin: 8px 0 4px; overflow-wrap: anywhere; }
.zahl { font-weight: 600; font-size: 56px; line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 4px; white-space: nowrap; }
.unter { color: var(--matt); font-size: 13.5px; }
.welle { display: flex; align-items: flex-end; gap: 5px; height: 92px; margin-top: 28px; }
.welle i { flex: 1; background: var(--glow); min-height: 2px; }
.welle i.leer { background: var(--kante); }
.achse { display: flex; gap: 5px; margin-top: 7px; color: var(--gray-500); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.achse span { flex: 1; text-align: center; }
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.werte b { display: block; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.werte span { font-size: 11.5px; color: var(--matt); }
.jahre { display: flex; gap: 16px; margin-top: 18px; font-size: 12.5px; color: var(--gray-500); flex-wrap: wrap; }
.jahre a.an { color: #fff; border-bottom: 1px solid var(--glow); }

/* ----- Arbeitsfläche ----- */
main { padding: 34px 22px 50px; display: grid; gap: 40px; flex: 1; align-content: start; }
main > * { min-width: 0; }   /* sonst drückt eine breite Tabelle die ganze Seite auf */
h2 { font-size: 22px; letter-spacing: -.015em; margin-bottom: 4px; }
h3 { font-size: 17px; margin: 6px 0 2px; }
.hin { color: var(--gray-700); font-size: 13px; margin-bottom: 16px; }
.hin.knapp { margin: 10px 0 0; }
.oben { margin-top: 40px; }
.beleg { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 0; border-top: 1px solid var(--linie); }
.beleg:last-of-type { border-bottom: 1px solid var(--linie); }
.beleg .nr { font-weight: 600; font-size: 14px; }
.beleg .wer { color: var(--gray-700); font-size: 12.5px; }
.beleg .eur { font-weight: 600; font-size: 14px; text-align: right; white-space: nowrap; }
.beleg .tag { color: var(--gray-700); font-size: 12px; text-align: right; }
.beleg:hover .nr { text-decoration: underline; }
.fach { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--ink-800); padding: 2px 7px; }
.fach.leer { border-color: #c9ccd0; color: var(--gray-700); }
.fach.voll { background: var(--ink-800); color: #fff; }
.karte { background: #fff; border: 1px solid var(--ink-800); padding: 20px; }
.karte .caps { color: var(--gray-700); }
.karte + .karte { margin-top: 16px; }
.datei { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; padding: 11px 0; border-top: 1px solid var(--linie); font-size: 13px; }
.datei span { color: var(--gray-700); white-space: nowrap; }
.datei a { font-weight: 600; overflow-wrap: anywhere; }
.datei a:hover { text-decoration: underline; }
.datei.alt a { font-weight: 500; }
.knopf { display: inline-block; margin-top: 14px; background: var(--ink-800); color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; padding: 10px 16px; border: 1px solid var(--ink-800); cursor: pointer; }
.knopf.hell { background: transparent; color: var(--ink-800); }
.knopf.klein { padding: 6px 11px; font-size: 11.5px; margin-top: 8px; }
.balken { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 9px 0; font-size: 13.5px; }
.balken .strich { grid-column: 1 / -1; height: 9px; background: var(--paper-100); }
.balken .strich i { display: block; height: 100%; background: var(--ink-800); }
.balken.schwach .strich i { background: transparent; border: 1px solid var(--ink-800); min-width: 7px; }
.balken.an span { font-weight: 600; text-decoration: underline; }
.pos { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 13px 0; border-top: 1px solid var(--linie); font-size: 13.5px; }
.pos:last-of-type { border-bottom: 1px solid var(--linie); }
.pos small { display: block; color: var(--gray-700); font-size: 11.5px; margin-top: 2px; }
.pos .eur { white-space: nowrap; }
.pos .wo { grid-column: 1 / -1; }
.pos select { width: 100%; font-size: 12.5px; padding: 6px 8px; }
.durch { margin-top: 12px; padding: 12px 14px; background: var(--paper-100); font-size: 12.5px; color: var(--gray-700); }
.zwei { display: grid; gap: 16px; }
.zwei .karte + .karte { margin-top: 0; }
.fakt { padding: 11px 0; border-top: 1px solid var(--linie); font-size: 13.5px; }
.meldung { border: 1px solid var(--ink-800); background: #fff; padding: 12px 14px; font-size: 13.5px; }
.meldung.gut { border-left: 6px solid var(--ink-800); }

/* ----- Tabellen und Formulare ----- */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-700); text-align: left; padding: 0 8px 7px 0; border-bottom: 1.3px solid var(--ink-800); white-space: nowrap; }
td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
td:last-child, th:last-child { padding-right: 0; }
td small { display: block; color: var(--gray-700); font-size: 11.5px; white-space: pre-line; }
.rollen { overflow-x: auto; }
label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-700); margin: 14px 0 5px; }
input[type=text], input[type=password], input[type=search], select, textarea, input[type=file] {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink-800); background: #fff; border: 1px solid var(--ink-800); padding: 9px 10px; }
select.schmal { width: auto; max-width: 100%; font-size: 12.5px; padding: 5px 6px; }
input:focus, select:focus, textarea:focus, .knopf:focus, a:focus-visible { outline: 2px solid var(--ink-800); outline-offset: 2px; }
.buehne a:focus-visible, .buehne button:focus-visible { outline-color: var(--glow); }
.filter { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: end; }
.filter .breit { grid-column: 1 / -1; }
.summe { display: flex; justify-content: space-between; padding: 12px 0; font-size: 13.5px; border-bottom: 1.3px solid var(--ink-800); }
details { margin-top: 10px; }
summary { cursor: pointer; font-size: 12.5px; font-weight: 600; text-decoration: underline; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13.5px; }
.dl dt { color: var(--gray-700); }
.code { font-size: 15px; letter-spacing: .12em; overflow-wrap: anywhere; background: var(--paper-100); padding: 10px 12px; }
.qr { width: 200px; height: 200px; display: block; margin: 12px 0; border: 1px solid var(--linie); }

/* ----- Anmeldung ----- */
.tor { background: var(--ink-900); color: #fff; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 22px; }
.tor .innen { width: 100%; max-width: 400px; margin: 0 auto; }
.tor h1 { font-size: 34px; letter-spacing: -.025em; line-height: 1.1; margin: 26px 0 6px; }
.tor p { color: var(--matt); font-size: 13.5px; }
.tor label { color: var(--gray-500); }
.tor input[type=text], .tor input[type=password] { background: var(--ink-800); border-color: var(--kante); color: #fff; }
.tor input:focus { outline-color: var(--glow); }
.tor .knopf { background: var(--glow); color: var(--ink-900); border-color: var(--glow); width: 100%; padding: 12px 16px; margin-top: 22px; }
.tor .meldung { background: transparent; color: #fff; border-color: var(--glow); margin-top: 18px; }
.tor .code { background: var(--ink-800); color: #fff; }
.tor .qr { background: #fff; border: 0; }

footer { background: var(--ink-900); color: var(--gray-500); padding: 24px 22px; font-size: 11.5px; display: flex; justify-content: space-between; gap: 12px; }

@media (min-width: 900px) {
  .buehne { padding: 30px 64px 50px; }
  nav { width: auto; margin-top: 0; gap: 30px; font-size: 13.5px; }
  .leiste nav { order: 2; margin-left: auto; }
  .leiste form { order: 3; margin-left: 34px; }
  .kino { margin-top: 54px; padding: 44px 0 38px; }
  .kino.geteilt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
  .kino h1 { font-size: 60px; }
  .zahl { font-size: 104px; }
  .welle { height: 150px; margin-top: 0; }
  .werte { margin-top: 32px; } .werte b { font-size: 28px; }
  main { padding: 60px 64px 80px; grid-template-columns: 1.15fr 1fr; gap: 56px 64px; }
  .voll { grid-column: 1 / -1; }
  .pos { grid-template-columns: 1fr 210px auto; align-items: start; }
  .pos .wo { grid-column: 2; grid-row: 1; }
  .pos .eur { grid-column: 3; grid-row: 1; }
  .zwei { grid-template-columns: 1fr 1fr; gap: 24px; }
  .filter { grid-template-columns: repeat(4, 1fr) auto; } .filter .breit { grid-column: auto; }
  footer { padding: 30px 64px; }
}

.w0{width:0%}.h0{height:0%}.w1{width:1%}.h1{height:1%}.w2{width:2%}.h2{height:2%}.w3{width:3%}.h3{height:3%}.w4{width:4%}.h4{height:4%}.w5{width:5%}.h5{height:5%}.w6{width:6%}.h6{height:6%}.w7{width:7%}.h7{height:7%}.w8{width:8%}.h8{height:8%}.w9{width:9%}.h9{height:9%}.w10{width:10%}.h10{height:10%}.w11{width:11%}.h11{height:11%}.w12{width:12%}.h12{height:12%}.w13{width:13%}.h13{height:13%}.w14{width:14%}.h14{height:14%}.w15{width:15%}.h15{height:15%}.w16{width:16%}.h16{height:16%}.w17{width:17%}.h17{height:17%}.w18{width:18%}.h18{height:18%}.w19{width:19%}.h19{height:19%}.w20{width:20%}.h20{height:20%}.w21{width:21%}.h21{height:21%}.w22{width:22%}.h22{height:22%}.w23{width:23%}.h23{height:23%}.w24{width:24%}.h24{height:24%}.w25{width:25%}.h25{height:25%}.w26{width:26%}.h26{height:26%}.w27{width:27%}.h27{height:27%}.w28{width:28%}.h28{height:28%}.w29{width:29%}.h29{height:29%}.w30{width:30%}.h30{height:30%}.w31{width:31%}.h31{height:31%}.w32{width:32%}.h32{height:32%}.w33{width:33%}.h33{height:33%}.w34{width:34%}.h34{height:34%}.w35{width:35%}.h35{height:35%}.w36{width:36%}.h36{height:36%}.w37{width:37%}.h37{height:37%}.w38{width:38%}.h38{height:38%}.w39{width:39%}.h39{height:39%}.w40{width:40%}.h40{height:40%}.w41{width:41%}.h41{height:41%}.w42{width:42%}.h42{height:42%}.w43{width:43%}.h43{height:43%}.w44{width:44%}.h44{height:44%}.w45{width:45%}.h45{height:45%}.w46{width:46%}.h46{height:46%}.w47{width:47%}.h47{height:47%}.w48{width:48%}.h48{height:48%}.w49{width:49%}.h49{height:49%}.w50{width:50%}.h50{height:50%}.w51{width:51%}.h51{height:51%}.w52{width:52%}.h52{height:52%}.w53{width:53%}.h53{height:53%}.w54{width:54%}.h54{height:54%}.w55{width:55%}.h55{height:55%}.w56{width:56%}.h56{height:56%}.w57{width:57%}.h57{height:57%}.w58{width:58%}.h58{height:58%}.w59{width:59%}.h59{height:59%}.w60{width:60%}.h60{height:60%}.w61{width:61%}.h61{height:61%}.w62{width:62%}.h62{height:62%}.w63{width:63%}.h63{height:63%}.w64{width:64%}.h64{height:64%}.w65{width:65%}.h65{height:65%}.w66{width:66%}.h66{height:66%}.w67{width:67%}.h67{height:67%}.w68{width:68%}.h68{height:68%}.w69{width:69%}.h69{height:69%}.w70{width:70%}.h70{height:70%}.w71{width:71%}.h71{height:71%}.w72{width:72%}.h72{height:72%}.w73{width:73%}.h73{height:73%}.w74{width:74%}.h74{height:74%}.w75{width:75%}.h75{height:75%}.w76{width:76%}.h76{height:76%}.w77{width:77%}.h77{height:77%}.w78{width:78%}.h78{height:78%}.w79{width:79%}.h79{height:79%}.w80{width:80%}.h80{height:80%}.w81{width:81%}.h81{height:81%}.w82{width:82%}.h82{height:82%}.w83{width:83%}.h83{height:83%}.w84{width:84%}.h84{height:84%}.w85{width:85%}.h85{height:85%}.w86{width:86%}.h86{height:86%}.w87{width:87%}.h87{height:87%}.w88{width:88%}.h88{height:88%}.w89{width:89%}.h89{height:89%}.w90{width:90%}.h90{height:90%}.w91{width:91%}.h91{height:91%}.w92{width:92%}.h92{height:92%}.w93{width:93%}.h93{height:93%}.w94{width:94%}.h94{height:94%}.w95{width:95%}.h95{height:95%}.w96{width:96%}.h96{height:96%}.w97{width:97%}.h97{height:97%}.w98{width:98%}.h98{height:98%}.w99{width:99%}.h99{height:99%}.w100{width:100%}.h100{height:100%}
