/* Restaro Dashboard. Akzentfarbe (--akzent) setzt app.js aus der Farbe des Restaurants. */
/* Schriften selbst gehostet (fonts/, aus Google Fonts geladen 09.11.2026, OFL): keine Verbindung zu Google im Browser */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --grund: #ecebe7;
  --flaeche: #ffffff;
  --flaeche-2: #f6f5f2;
  --tinte: #1f1a17;
  --tinte-2: #5f5852;
  --leise: #8c847d;
  --linie: #dedad3;
  --akzent: #b5382c;
  --akzent-hell: color-mix(in srgb, var(--akzent) 10%, white);
  --gruen: #1e8e4e;
  --wa-grund: #efe7dc;
  --wa-blase: #ffffff;
  --r-gross: 18px;
  --r: 12px;
  --r-klein: 8px;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --text: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login-karte { width: min(400px, 100%); background: var(--flaeche); border-radius: var(--r-gross); padding: 36px 32px 28px; border: 1px solid var(--linie); }
.login h1 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.02; margin: 18px 0 6px; letter-spacing: .005em; }
.login p.unter { color: var(--tinte-2); margin: 0 0 24px; }
.login .marke { height: 22px; display: block; }
.feld { display: block; margin-bottom: 14px; }
.feld > span { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.feld small { display: block; color: var(--leise); font-size: 12.5px; margin-top: 5px; }
.eingabe { width: 100%; border: 1.5px solid var(--linie); background: var(--flaeche); border-radius: var(--r-klein); padding: 11px 13px; outline: none; transition: border-color .15s; }
.eingabe:focus { border-color: var(--tinte); }
textarea.eingabe { resize: vertical; min-height: 120px; line-height: 1.5; }
.fehlertext { color: #b42318; font-size: 13.5px; margin: 4px 0 12px; }
.login-fuss { margin-top: 22px; font-size: 12.5px; color: var(--leise); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 600; background: var(--tinte); color: #fff; transition: transform .12s, background .15s; white-space: nowrap; text-decoration: none; }
.knopf:hover { background: #000; }
.knopf:active { transform: scale(.98); }
.knopf.akzent { background: var(--akzent); }
.knopf.akzent:hover { background: color-mix(in srgb, var(--akzent) 86%, black); }
.knopf.leer { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf.leer:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); background: transparent; }
.knopf.breit { width: 100%; }
.knopf[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.textlink { background: none; border: 0; padding: 0; color: var(--tinte); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--tinte) 30%, transparent); }
.textlink:hover { text-decoration-color: var(--tinte); }

/* ---------- Rahmen: Seitenleiste + Inhalt ---------- */
.rahmen { display: grid; grid-template-columns: 248px 1fr; min-height: 100dvh; }
.leiste { position: sticky; top: 0; height: 100dvh; padding: 26px 18px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--linie); }
.kunde { display: flex; align-items: center; gap: 12px; padding: 0 8px 26px; }
.kunde img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.kunde b { display: block; line-height: 1.2; }
.kunde span { font-size: 12.5px; color: var(--leise); }
.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-klein); border: 0; background: none; text-align: left; font-weight: 500; color: var(--tinte-2); width: 100%; }
.nav svg { width: 20px; height: 20px; flex: none; }
.nav:hover { background: var(--flaeche-2); color: var(--tinte); }
.nav[aria-current="page"] { background: var(--flaeche); color: var(--tinte); font-weight: 600; box-shadow: 0 0 0 1px var(--linie); }
.nav[aria-current="page"] svg { color: var(--akzent); }
.nav .zahl { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--leise); }
.leiste-fuss { margin-top: auto; padding: 0 12px; font-size: 12.5px; color: var(--leise); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.leiste-fuss img { height: 15px; opacity: .55; }
.inhalt { padding: 34px clamp(16px, 4vw, 48px) 80px; max-width: 1240px; width: 100%; }
.kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.kopf h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; margin: 0; letter-spacing: .005em; }
.kopf p { margin: 6px 0 0; color: var(--tinte-2); }

/* Handy: Kopfzeile + Leiste unten */
.handy-kopf, .handy-nav { display: none; }
@media (max-width: 860px) {
  .rahmen { grid-template-columns: 1fr; }
  .leiste { display: none; }
  .handy-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px; border-bottom: 1px solid var(--linie); background: var(--grund); position: sticky; top: 0; z-index: 20; }
  .handy-kopf .kunde { padding: 0; }
  .handy-kopf .kunde img { width: 34px; height: 34px; }
  .handy-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--flaeche); border-top: 1px solid var(--linie); padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px); }
  .handy-nav .nav { flex-direction: column; gap: 3px; font-size: 11.5px; padding: 6px 2px; text-align: center; justify-content: center; }
  .handy-nav .nav[aria-current="page"] { box-shadow: none; background: none; }
  .inhalt { padding-top: 22px; padding-bottom: 110px; }
}

/* ---------- Übersicht ---------- */
.held { background: var(--flaeche); border-radius: var(--r-gross); padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--linie); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.held .gross { font-family: var(--display); font-size: clamp(76px, 11vw, 132px); line-height: .86; color: var(--akzent); letter-spacing: -.005em; }
.held .gross-text { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; margin: 10px 0 0; }
.held .satz { color: var(--tinte-2); margin: 14px 0 0; max-width: 42ch; }
.diagramm { width: 100%; }
.diagramm svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagramm figcaption { font-size: 12.5px; color: var(--leise); margin-top: 8px; display: flex; justify-content: space-between; }
@media (max-width: 760px) { .held { grid-template-columns: 1fr; gap: 22px; } }

.reihe { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 960px) { .reihe { grid-template-columns: 1fr; } }
.tafel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 24px; }
.tafel h2 { font-size: 17px; margin: 0 0 4px; font-weight: 700; }
.tafel .hinweis { color: var(--tinte-2); font-size: 14px; margin: 0 0 18px; }

.dauer-balken { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; margin: 6px 0 18px; }
.dauer-balken span { display: block; }
.dauer-liste { list-style: none; margin: 0; padding: 0; }
.dauer-liste li { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--linie); }
.dauer-liste li:first-child { border-top: 0; }
.punkt { width: 10px; height: 10px; border-radius: 50%; }
.dauer-liste b { font-variant-numeric: tabular-nums; }

.letzte .blase-mini { background: var(--wa-grund); border-radius: var(--r); padding: 14px; margin: 4px 0 16px; }
.meta { font-size: 13px; color: var(--leise); }
.knopfreihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Gäste ---------- */
.werkzeug { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.suche { position: relative; flex: 1 1 260px; max-width: 380px; }
.suche svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--leise); }
.suche .eingabe { padding-left: 40px; border-radius: 999px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--linie); background: var(--flaeche); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--tinte-2); }
.chip:hover { border-color: var(--tinte-2); }
.chip[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

.liste { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; }
.liste table { width: 100%; border-collapse: collapse; }
.liste th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--leise); padding: 12px 16px; border-bottom: 1px solid var(--linie); background: var(--flaeche-2); white-space: nowrap; }
.liste td { padding: 11px 16px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.liste tr:last-child td { border-bottom: 0; }
.liste tbody tr { cursor: pointer; }
.liste tbody tr:hover td { background: var(--flaeche-2); }
.liste tr.gewaehlt td { background: var(--akzent-hell); }
.liste .nr { font-variant-numeric: tabular-nums; color: var(--tinte-2); white-space: nowrap; }
.liste .rechts { text-align: right; }
.name-zelle { display: flex; align-items: center; gap: 11px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; color: var(--tinte); }
.ohne-name { color: var(--leise); font-style: italic; }
.status-ab { font-size: 12.5px; color: var(--leise); }
.haken { width: 19px; height: 19px; accent-color: var(--akzent); cursor: pointer; }
.mehr { padding: 14px; text-align: center; border-top: 1px solid var(--linie); }
@media (max-width: 700px) {
  .liste th.weg, .liste td.weg { display: none; }
  .liste td, .liste th { padding: 10px 12px; }
}
.auswahl-leiste { position: sticky; bottom: 18px; margin-top: 16px; background: var(--tinte); color: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: hoch .2s ease-out; }
.auswahl-leiste .textlink { color: #fff; text-decoration-color: rgba(255,255,255,.4); font-weight: 500; }
@media (max-width: 860px) { .auswahl-leiste { bottom: 84px; } }
@keyframes hoch { from { transform: translateY(12px); opacity: 0; } }

/* ---------- Nachricht schreiben ---------- */
.schreiben { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 1080px) { .schreiben { grid-template-columns: 1fr; } }
.schritt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 22px 24px 24px; margin-bottom: 16px; }
.schritt > h2 { font-size: 17px; margin: 0 0 14px; display: flex; gap: 10px; align-items: baseline; }
.schritt > h2 .sn { font-family: var(--display); font-weight: 400; color: var(--akzent); font-size: 20px; }
.ziele { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ziel { position: relative; border: 1.5px solid var(--linie); border-radius: var(--r); padding: 12px 14px; text-align: left; background: var(--flaeche); display: flex; flex-direction: column; gap: 2px; }
.ziel:hover { border-color: var(--tinte-2); }
.ziel b { font-size: 14.5px; }
.ziel span { font-size: 13px; color: var(--tinte-2); }
.ziel .anz { font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--tinte); font-weight: 400; margin-top: 4px; }
.ziel[aria-pressed="true"] { border-color: var(--akzent); background: var(--akzent-hell); box-shadow: inset 0 0 0 1px var(--akzent); }
.ziel[aria-pressed="true"] .anz { color: var(--akzent); }
.umschalter { display: inline-flex; background: var(--flaeche-2); border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 18px; border: 1px solid var(--linie); }
.umschalter button { border: 0; background: none; border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--tinte-2); }
.umschalter button[aria-pressed="true"] { background: var(--flaeche); color: var(--tinte); box-shadow: 0 1px 2px rgba(31,26,23,.12), 0 0 0 1px var(--linie); }
.stil-info { font-size: 13.5px; color: var(--tinte-2); margin: -8px 0 16px; }
.zaehler { float: right; font-weight: 500; color: var(--leise); font-size: 12.5px; }
.zaehler.voll { color: #b42318; }
.bildfeld { border: 1.5px dashed var(--linie); border-radius: var(--r); padding: 18px; display: flex; align-items: center; gap: 14px; background: var(--flaeche-2); }
.bildfeld.drueber { border-color: var(--akzent); background: var(--akzent-hell); }
.bildfeld img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-klein); }
.bildfeld input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bildfeld .klein { font-size: 13px; color: var(--leise); }

.abschluss { position: sticky; bottom: 12px; z-index: 5; background: var(--tinte); color: #fff; border-radius: var(--r-gross); padding: 20px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.abschluss .zus b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .01em; }
.abschluss .zus span { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.abschluss .warnung { color: #ffd2a8; }
.abschluss .knopf.akzent { padding: 14px 26px; font-size: 15.5px; }
@media (max-width: 860px) {
  .abschluss { bottom: 74px; padding: 12px 14px; gap: 10px; border-radius: var(--r); flex-wrap: nowrap; }
  .abschluss .zus { min-width: 0; }
  .abschluss .zus b { font-size: 20px; }
  .abschluss .zus span { font-size: 12px; }
  .abschluss .knopf.akzent { padding: 11px 18px; font-size: 14.5px; }
  .ziele { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ziel { padding: 10px 12px; }
  .ziel .anz { font-size: 22px; }
  .schritt { padding: 18px 16px 20px; }
}

/* WhatsApp-Vorschau */
.vorschau { position: sticky; top: 24px; }
.vorschau > p { font-size: 13px; color: var(--leise); margin: 0 0 10px; text-align: center; }
.telefon { background: #1b1714; border-radius: 42px; padding: 10px; }
.bildschirm { border-radius: 33px; overflow: hidden; background: var(--wa-grund); display: flex; flex-direction: column; height: 600px; }
.wa-kopf { background: #f7f5f2; display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; border-bottom: 1px solid #e3ddd4; }
.wa-kopf img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid #e3ddd4; }
.wa-kopf b { font-size: 14px; display: block; line-height: 1.2; }
.wa-kopf span { font-size: 11.5px; color: #8a8178; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px 10px 18px; background-color: var(--wa-grund); background-image: radial-gradient(rgba(120,100,80,.08) 1px, transparent 1px); background-size: 14px 14px; }
.wa-tag { text-align: center; margin: 0 0 12px; }
.wa-tag span { display: inline-block; background: #fff; border-radius: 7px; padding: 3px 10px; font-size: 11.5px; color: #6b635b; }
.wa-blase { background: var(--wa-blase); border-radius: 4px 12px 12px 12px; padding: 4px 4px 0; max-width: 92%; font-size: 13.8px; line-height: 1.42; color: #111b21; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-blase .wa-bild { border-radius: 9px; overflow: hidden; aspect-ratio: 1.6; background: #ddd; }
.wa-blase .wa-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-blase .wa-kopfzeile { font-weight: 700; padding: 6px 8px 0; }
.wa-blase .wa-text { padding: 6px 8px 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-blase .wa-fuss { padding: 2px 8px 0; font-size: 12px; color: #8696a0; }
.wa-blase .wa-zeit { text-align: right; font-size: 11px; color: #8696a0; padding: 0 8px 5px; }
.wa-blase .wa-knopf { border-top: 1px solid #e9edef; text-align: center; color: #027eb5; font-weight: 500; padding: 9px 0 10px; font-size: 14px; }
.platzhalter { color: #9aa3a8; }
@media (max-width: 1080px) { .vorschau { position: static; max-width: 360px; margin: 0 auto 20px; } .bildschirm { height: auto; min-height: 420px; } }

/* Senden-Fortschritt */
.ueberlagerung { position: fixed; inset: 0; background: rgba(31,26,23,.55); display: grid; place-items: center; z-index: 50; padding: 16px; animation: ein .15s ease-out; }
@keyframes ein { from { opacity: 0; } }
.dialog { background: var(--flaeche); border-radius: var(--r-gross); padding: 30px; width: min(440px, 100%); text-align: center; }
.dialog h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 8px 0 8px; }
.dialog p { color: var(--tinte-2); margin: 0 0 20px; }
.fortschritt { height: 8px; background: var(--flaeche-2); border-radius: 999px; overflow: hidden; margin: 18px 0 10px; }
.fortschritt span { display: block; height: 100%; background: var(--akzent); border-radius: 999px; transition: width .1s linear; }
.fertig-zeichen { width: 64px; height: 64px; border-radius: 50%; background: var(--akzent); color: #fff; display: grid; place-items: center; margin: 0 auto; animation: plopp .35s cubic-bezier(.2,1.6,.4,1); }
.fertig-zeichen svg { width: 30px; height: 30px; }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } }

/* ---------- Verlauf ---------- */
.verlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.eintrag { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); }
.eintrag > button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 18px; align-items: center; width: 100%; padding: 18px 22px; cursor: pointer; border-radius: var(--r-gross); }
.eintrag > button:focus-visible { outline: 2.5px solid var(--akzent); }
.datum { text-align: center; border-right: 1px solid var(--linie); padding-right: 16px; }
.datum b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.datum span { font-size: 12.5px; color: var(--leise); }
.eintrag h3 { margin: 0 0 3px; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eintrag .auszug { color: var(--tinte-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.etikett { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--flaeche-2); color: var(--tinte-2); margin-right: 6px; border: 1px solid var(--linie); }
.zahlen { display: flex; gap: 22px; text-align: right; }
.zahlen b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.zahlen span { font-size: 12px; color: var(--leise); }
.zahlen .rot b { color: #b42318; }
.aufgeklappt { padding: 0 22px 22px; display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 24px; }
.aufgeklappt .wa-chat { border-radius: var(--r); padding: 14px 10px; }
.aufgeklappt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; align-content: start; }
.aufgeklappt dt { color: var(--leise); }
.aufgeklappt dd { margin: 0; }
@media (max-width: 700px) {
  .eintrag > button { grid-template-columns: 56px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .zahlen { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .aufgeklappt { grid-template-columns: 1fr; padding: 0 16px 16px; }
  .datum b { font-size: 24px; }
}
.leerzustand { background: var(--flaeche); border: 1.5px dashed var(--linie); border-radius: var(--r-gross); padding: 40px 24px; text-align: center; color: var(--tinte-2); }

/* ---------- Toast + Laden ---------- */
#toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; background: var(--tinte); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 60; font-weight: 500; animation: hoch .2s ease-out; max-width: calc(100% - 32px); }
@media (max-width: 860px) { #toast { bottom: 90px; } }
.laden { min-height: 100dvh; display: grid; place-items: center; color: var(--leise); }

/* ---------- Anmeldung: Authenticator, Passwort ---------- */
.einrichten { padding-left: 20px; margin: 0 0 18px; color: var(--tinte-2); font-size: 14.5px; }
.einrichten li { margin-bottom: 10px; padding-left: 4px; }
.einrichten b { color: var(--tinte); }
.qr { width: 184px; margin: 12px 0 8px; border: 1px solid var(--linie); border-radius: var(--r); padding: 8px; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.einrichten details { font-size: 13.5px; }
.einrichten summary { cursor: pointer; color: var(--tinte); font-weight: 600; }
.einrichten code { font-size: 14px; background: var(--flaeche-2); padding: 2px 6px; border-radius: 6px; letter-spacing: .04em; word-break: break-all; }
.eingabe.code { font-size: 24px; letter-spacing: .25em; text-align: center; font-variant-numeric: tabular-nums; }
.merken { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--tinte-2); margin: 0 0 16px; cursor: pointer; }
.merken input { width: 18px; height: 18px; accent-color: var(--tinte); }
.dialog.links { text-align: left; }
.dialog.links h2 { margin-top: 0; }
.logo-ersatz { width: 44px; height: 44px; border-radius: 50%; background: var(--akzent); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 22px; flex: none; }
.wa-kopf .logo-ersatz { width: 32px; height: 32px; font-size: 16px; }
.testmodus { background: #fff4d6; color: #6b4e00; text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-bottom: 1px solid #f0dc9c; }
.fortschritt.laeuft span { width: 35% !important; animation: laeuft 1.3s ease-in-out infinite; }
@keyframes laeuft { from { transform: translateX(-100%); } to { transform: translateX(290%); } }

/* Passwortfeld mit „Anzeigen“ */
.pw-feld { position: relative; display: block; }
.pw-feld .eingabe { padding-right: 92px; }
.pw-auge { position: absolute; right: 6px; top: 50%; translate: 0 -50%; border: 0; background: var(--flaeche-2); border-radius: 6px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; color: var(--tinte-2); }
.pw-auge:hover { color: var(--tinte); }

/* Impressum/Datenschutz */
.rechtlich { display: flex; gap: 16px; justify-content: center; margin-top: 16px; font-size: 12.5px; }
.rechtlich a { color: var(--leise); text-decoration: none; }
.rechtlich a:hover { color: var(--tinte); text-decoration: underline; }
.leiste-fuss .rechtlich { justify-content: flex-start; margin-top: 2px; }
