:root {
  color-scheme: light dark;
  --papier: #F5F5F7; --karte: #FFFFFF; --text: #1D1D1F; --text2: #6E6E73; --text3: #8E8E93;
  --trenn: rgba(60, 60, 67, .13); --grau-fl: #E8E8ED; --grau-fl-h: #DCDCE1;
  --haupt: #282D34; --haupt-text: #FFFFFF; --gold: #C7A665; --gold-text: #86692F; --balken: #A98A4B;
  --rot: #C8281E; --gruen: #1F7A3D; --orange: #9A5B00;
  --schatten: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
  --r-karte: 20px; --r-feld: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #16181C; --karte: #24282E; --text: #F5F5F7; --text2: #A1A1A6; --text3: #8E8E93;
    --trenn: rgba(235, 235, 245, .14); --grau-fl: #33383F; --grau-fl-h: #3D434B;
    --haupt: #F5F5F7; --haupt-text: #1D1D1F; --gold-text: #D7BB83; --balken: #C7A665;
    --rot: #FF6B60; --gruen: #5BD27F; --orange: #F0B35A;
    --schatten: none;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--text);
  font: 400 17px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; letter-spacing: -.01em;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.zahl { font-variant-numeric: tabular-nums lining-nums; }
.leise { color: var(--text2); }
.klein { font-size: 13px; line-height: 1.35; }
.unsichtbar { position: fixed; left: -100px; top: -100px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Kopf und Reiter */
.kopf { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 6px 20px; padding-top: calc(6px + env(safe-area-inset-top)); background: rgba(40, 45, 52, .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.marke img { height: 44px; width: auto; }
.nav { display: none; gap: 4px; flex: 1; }
.nav a { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 14px; border-radius: 980px; }
.nav a:hover { color: #fff; }
.nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .14); }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--karte) 86%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid var(--trenn); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text3); text-decoration: none; font-size: 10px; font-weight: 500; letter-spacing: 0; min-width: 0; }
.tabs a span { white-space: nowrap; }
.tabs svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current] { color: var(--gold-text); }
.tab-kamera { justify-self: center; width: 54px; height: 54px; margin-top: -18px; border-radius: 50%; background: #282D34; color: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); cursor: pointer; }
.tab-kamera svg { width: 28px; height: 28px; }

.inhalt { max-width: 760px; margin: 0 auto; padding: 18px 16px calc(112px + env(safe-area-inset-bottom)); }
.block { margin-top: 28px; }
.block-klein { margin-top: 12px; }
.kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 980px; background: var(--grau-fl); color: var(--text); font: 500 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: -.01em; text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap; }
.knopf:hover { background: var(--grau-fl-h); }
.knopf.voll { background: var(--haupt); color: var(--haupt-text); }
.knopf.voll:hover { opacity: .88; }
.knopf.gold { background: var(--gold); color: #282D34; }
.knopf.gold:hover { background: #BA9858; }
.knopf.rot { color: var(--rot); }
.knopf.rot-voll { background: var(--rot); color: #fff; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.nur-gross { display: none; }
.aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.aktionen .knopf { flex: 1 1 140px; }
.textknopf { background: none; border: 0; padding: 10px 16px; color: var(--gold-text); font: 400 17px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; width: 100%; text-align: left; }

/* Segment-Umschalter */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 2px; background: var(--grau-fl); border-radius: 10px; }
.segment button { min-height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: 500 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; cursor: pointer; }
.segment button[aria-pressed=true] { background: var(--haupt); color: var(--haupt-text); }

/* Makler */
.segment.reiter { margin-bottom: 14px; }
.segment a { display: flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 8px; color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none; }
.segment a[aria-current] { background: var(--haupt); color: var(--haupt-text); }
.filter { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 8px; }
.filter select { min-height: 40px; border: 0; border-radius: 12px; background: var(--grau-fl); color: var(--text); padding: 0 10px; font-size: 15px; min-width: 0; }
.zeile.eintrag { grid-template-columns: minmax(0, 1fr) auto; min-height: 50px; }
.zeile.eintrag a { color: inherit; text-decoration: none; min-width: 0; }
.zeile.eintrag select { border: 0; background: transparent; color: var(--text2); font-size: 14px; max-width: 150px; text-align: right; }
.zeile.eintrag .knopf { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.betrag.klein { font-size: 13px; color: var(--text2); font-weight: 400; }
.klein-los { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--grau-fl); color: var(--rot); cursor: pointer; }
.aufgaben, .verlauf { list-style: none; margin: 0; padding: 0; }
.aufgabe { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 16px; border-bottom: .5px solid var(--trenn); }
.aufgabe a { color: inherit; text-decoration: none; min-width: 0; }
.aufgabe-text b { display: block; font-weight: 500; font-size: 16px; }
.neben { display: block; font-size: 13px; color: var(--text2); }
.neben.status.fehlt { color: var(--rot); }
.haken-rund { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--text3); background: transparent; cursor: pointer; padding: 0; }
.haken-rund:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 30%, transparent); }
.schnell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 16px; }
.schnell input, .schnell select, .schnell textarea { width: 100%; min-height: 40px; border: 0; border-radius: 10px; background: var(--grau-fl); color: var(--text); padding: 8px 12px; font: 400 16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.leer-zeile { padding: 16px; color: var(--text2); font-size: 15px; }
.verlauf li { padding: 10px 16px; border-top: .5px solid var(--trenn); font-size: 15px; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 34px; padding: 6px 14px; border: 0; border-radius: 980px; background: var(--grau-fl); color: var(--text); font-size: 14px; cursor: pointer; }
.chips button[aria-pressed=true] { background: var(--haupt); color: var(--haupt-text); }
.fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.foto { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--grau-fl); min-width: 0; border: 0; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto.neu { color: var(--gold-text); font-size: 15px; cursor: pointer; }
.foto-knoepfe { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; gap: 6px; }
.foto-knoepfe button, .foto-knoepfe span { min-height: 28px; padding: 3px 10px; border: 0; border-radius: 980px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; }
.schalter { width: 22px !important; height: 22px; min-height: 0 !important; justify-self: end; accent-color: var(--gold); }
.zeile-f .titel small { display: block; }
.detail.breit { align-items: start; }
.tabs.team { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Suche */
.suchfeld { width: 100%; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 12px; background: var(--grau-fl); color: var(--text); font-size: 17px; outline-offset: 0; }
.suchfeld::placeholder { color: var(--text2); }

/* Monat */
.monatswahl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.monatswahl h1 { flex: 1; min-width: 0; font-size: 28px; }
.pfeil { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--grau-fl); color: var(--text); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; flex: none; }
.pfeil.aus { visibility: hidden; }
.karte { background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); padding: 18px; min-width: 0; }
.karte + .karte { margin-top: 12px; }
.summe { margin-top: 14px; }
.summe .titel { font-size: 13px; color: var(--text2); }
.gross { display: block; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; padding-top: 14px; border-top: .5px solid var(--trenn); }
.kacheln > div { min-width: 0; }
.kacheln b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.kacheln span { font-size: 12px; color: var(--text2); }

/* Gruppierte Listen wie in iOS */
.gruppe-titel { font-size: 13px; color: var(--text2); padding: 0 16px 6px; }
.gruppe-fuss { font-size: 13px; color: var(--text2); padding: 6px 16px 0; }
.liste { list-style: none; margin: 0; padding: 0; background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); overflow: hidden; }
.zeile { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 14px; color: inherit; text-decoration: none; position: relative; }
.zeile:active { background: var(--grau-fl); }
.liste li + li .zeile::before, .zeile-f + .zeile-f::before, .pruefliste li + li::before { content: ''; position: absolute; left: 16px; right: 0; top: 0; border-top: .5px solid var(--trenn); }
.vorschau { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; background: var(--grau-fl); }
.vorschau.pdf { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text2); }
.zeile b { display: block; font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .neben { display: block; font-size: 13px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.betrag { text-align: right; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.status { display: block; font-size: 12px; font-weight: 400; color: var(--text2); }
.status.warten { color: var(--orange); }
.status.fehlt { color: var(--rot); }
.status.ok { color: var(--gruen); }
.leer { padding: 28px 16px; text-align: center; color: var(--text2); background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); }

/* Hinweise */
.hinweise { list-style: none; margin: 0; padding: 4px 16px; background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); font-size: 15px; }
.hinweise li { padding: 9px 0; }
.hinweise li + li { border-top: .5px solid var(--trenn); }
.hinweise li.fehlt { color: var(--rot); }
.hinweise li.warnung { color: var(--orange); }
.band { padding: 12px 16px; background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); font-size: 15px; color: var(--text2); }

/* Beleg */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.bildrahmen { display: flex; justify-content: center; background: #1D1F23; border-radius: var(--r-karte); overflow: hidden; }
.bildrahmen img { max-height: 32vh; width: auto; object-fit: contain; }
.pdfhinweis { color: #fff; padding: 40px 16px; text-align: center; }
.pdfhinweis a { color: var(--gold); }
.zurueck { display: inline-block; padding: 4px 0; color: var(--gold-text); text-decoration: none; }
.gruppe { background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); overflow: hidden; }
.zeile-f { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; align-items: center; min-height: 46px; padding: 2px 16px; }
.zeile-f.lang { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 10px; padding-bottom: 6px; }
.zeile-f label, .zeile-f .titel { font-size: 16px; color: var(--text); }
.zeile-f.lang label { font-size: 13px; color: var(--text2); }
.zeile-f input, .zeile-f select, .zeile-f textarea { width: 100%; min-height: 40px; border: 0; background: transparent; color: var(--text); font: 400 16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums lining-nums; text-align: right; padding: 6px 0; border-radius: 6px; outline-offset: 0; }
.zeile-f textarea, .zeile-f.lang input { text-align: left; resize: vertical; }
.zeile-f select { text-align-last: right; color: var(--text2); }
.zeile-f input[type=date] { -webkit-appearance: none; appearance: none; }
.wert { text-align: right; color: var(--text2); font-size: 16px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums lining-nums; }
.feldgruppe { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.feldgruppe:disabled input, .feldgruppe:disabled select, .feldgruppe:disabled textarea { color: var(--text2); opacity: 1; }
.steuerzeile { display: grid; grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 8px; align-items: center; padding: 2px 16px; position: relative; }
.steuerkopf { font-size: 12px; color: var(--text2); padding-top: 8px; }
.steuerkopf span { text-align: right; }
.steuerkopf span:first-child { text-align: left; }
.steuerzeile input { width: 100%; min-height: 40px; border: 0; border-radius: 8px; background: var(--grau-fl); color: var(--text); padding: 6px 8px; font-size: 16px; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.steuerzeile button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--grau-fl); color: var(--rot); font-size: 16px; line-height: 1; cursor: pointer; }
.positionen { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.positionen li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 7px 16px; }
.positionen li + li { border-top: .5px solid var(--trenn); }
.positionen small { display: block; color: var(--text2); font-size: 12px; }

.aktionen.eng { margin-top: 0; }
.aktionen .haupt { flex: 1 1 100%; min-height: 50px; font-size: 17px; }
.mehr > summary { list-style: none; cursor: pointer; padding: 10px 16px; color: var(--gold-text); font-size: 16px; }
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary::after { content: ' ›'; }
.mehr[open] > summary::after { content: ' ⌄'; }
.titelzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 16px; }
.titelzeile a { font-size: 14px; color: var(--gold-text); text-decoration: none; }

/* Analyse und Sicherheit */
.saeulen-kopf { min-height: 42px; }
.saeulen-kopf b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.saeulen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; height: 170px; margin-top: 10px; align-items: end; }
.saeule { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-decoration: none; color: var(--text2); min-width: 0; }
.saeule i { display: block; border-radius: 4px 4px 0 0; background: var(--balken); min-height: 3px; }
.saeule.leer-m i { background: var(--grau-fl); min-height: 3px; }
.saeule[data-aktiv] i { background: var(--gold-text); }
.saeulen-rest { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.saeule span { font-size: 11px; text-align: center; padding-top: 5px; flex: none; }
.anteile { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.anteile .kopf-z { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.anteile .kopf-z span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anteile .kopf-z span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.balken { height: 6px; background: var(--grau-fl); border-radius: 3px; overflow: hidden; margin-top: 5px; }
.fuellung { display: block; height: 100%; border-radius: 3px; background: var(--balken); }
.fuellung.warnung { background: var(--orange); }
.fuellung.schlecht { background: var(--rot); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle td, .tabelle th { padding: 8px 0; text-align: left; font-weight: 400; }
.tabelle tr + tr td { border-top: .5px solid var(--trenn); }
.tabelle th { font-size: 12px; color: var(--text2); padding-top: 0; }
.tabelle .r { text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; padding-left: 12px; }
.spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.spalten .karte + .karte { margin-top: 0; }
.karte h2 { font-size: 17px; }
.messungen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.messungen .karte + .karte { margin-top: 0; }
.messkopf { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.messkopf b { font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.pruefliste { list-style: none; margin: 0; padding: 0; background: var(--karte); border-radius: var(--r-karte); box-shadow: var(--schatten); overflow: hidden; }
.pruefliste li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; }
.pruefname b { display: block; font-weight: 500; font-size: 16px; }
.pruefname span { display: block; font-size: 13px; color: var(--text2); }
.pruefstufe { font-size: 13px; color: var(--text2); white-space: nowrap; }
.pruefstufe.gut { color: var(--gruen); } .pruefstufe.warnung { color: var(--orange); } .pruefstufe.schlecht { color: var(--rot); }

/* Anmeldung */
.anmeldung { min-height: 100vh; min-height: 100dvh; background: #1D2025; display: flex; align-items: center; justify-content: center; padding: 16px; }
.anmeldung form { width: 100%; max-width: 360px; display: grid; gap: 14px; }
.anmeldung form.breiter { max-width: 420px; }
.anmeldung img.logo { width: 150px; height: auto; margin: 0 auto 8px; }
.anmeldung h1 { color: #fff; text-align: center; font-size: 26px; }
.anmeldung .hell { color: rgba(255, 255, 255, .72); font-size: 15px; text-align: center; }
.anmeldung label { color: rgba(255, 255, 255, .72); font-size: 13px; display: grid; gap: 4px; }
.anmeldung input:not([type=checkbox]) { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: var(--r-feld); background: rgba(255, 255, 255, .1); color: #fff; font-size: 17px; }
.anmeldung .knopf { background: rgba(255, 255, 255, .12); color: #fff; }
.anmeldung .knopf.gold { background: var(--gold); color: #282D34; }
.anmeldung .fehler { color: #FF9C94; font-size: 15px; text-align: center; }
.anmeldung .fehler:empty { display: none; }
.qr { width: 216px; height: 216px; margin: 0 auto; background: #fff; padding: 8px; border-radius: 16px; }
.geheimtext { color: var(--gold); word-break: break-all; font-size: 14px; font-family: inherit; font-weight: 500; }
.ersatzcodes { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: #fff; color: #1D1D1F; border-radius: 16px; font-weight: 500; font-size: 16px; text-align: center; font-variant-numeric: tabular-nums lining-nums; }
.anmeldung .haken { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }
.haken input { width: 22px; height: 22px; flex: none; accent-color: var(--gold); }

/* Blatt von unten */
.dialog { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; justify-content: center; }
.dialog > div { background: var(--papier); width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
.dialog h2 { margin-bottom: 12px; }

.meldung { position: fixed; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 30; max-width: 420px; margin: 0 auto; padding: 12px 18px; border-radius: 16px; background: rgba(40, 45, 52, .94); color: #fff; font-size: 15px; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.meldung.schlecht { background: #A8251C; }

@media (min-width: 760px) {
  .nav { display: flex; }
  .nur-klein { display: none; }
  .knopf.nur-gross { display: inline-flex; }
  .tabs { display: none !important; }
  .inhalt { max-width: 1000px; padding: 28px 24px 64px; }
  .meldung { bottom: 24px; }
  .detail { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .detail.breit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schnell { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  .bildrahmen { position: sticky; top: 76px; }
  .bildrahmen img { max-height: calc(100vh - 100px); }
  .spalten, .messungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog { align-items: center; padding: 16px; }
  .dialog > div { border-radius: 20px; }
  .saeulen { height: 200px; gap: 10px; }
  h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dialog > div { animation: hoch .22s ease-out; }
  @keyframes hoch { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
}
