/* Schrift Inter, selbst ausgeliefert (keine Verbindung zu Google Fonts; Lizenz: static/fonts/Inter-LICENSE.txt) */
@font-face { font-family: "Inter"; src: url("/static/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Fokus-Mail · Weiß/Hellblau · Stand 23.10.2026 */
:root {
  --blau: #3b7ff5;
  --blau-dunkel: #2563eb;
  --blau-hell: #eaf2ff;
  --blau-zart: #f5f9ff;
  --blau-linie: #dbe7fb;
  --text: #0f1b33;
  --leise: #64748b;
  --linie: #e8eef7;
  --weiss: #ffffff;
  --gelb: #f6b73c;
  --gelb-hell: #fff4dc;
  --gruen: #16a34a;
  --gruen-hell: #e7f8ee;
  --rot: #e5484d;
  --rot-hell: #fdecec;
  --r: 20px;
  --schatten: 0 1px 2px rgba(15, 27, 51, .04), 0 8px 24px rgba(15, 27, 51, .05);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--weiss); color: var(--text); }
body { font: 15px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blau); text-decoration: none; }
.i { flex: none; vertical-align: -0.2em; }

/* Gerüst */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--blau-zart) 248px, #fff 248px); }
.seite { background: var(--blau-zart); border-right: 1px solid var(--linie); padding: 28px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.3px; padding: 0 10px; margin-bottom: 36px; }
.logo { width: 36px; height: 36px; border-radius: 10px; background: var(--blau); color: #fff; display: grid; place-items: center; }
.seite nav, .seite .unten { display: flex; flex-direction: column; gap: 4px; }
.seite nav a, .seite .unten > a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; color: #334155; font-weight: 500; font-size: 16px; transition: background .15s, color .15s; }
.seite nav a:hover, .seite .unten > a:hover { background: #fff; }
.seite nav a.an, .seite .unten > a.an { background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 600; }
.seite .unten { margin-top: auto; }
.claim { color: var(--leise); font-size: 13px; padding: 18px 14px 4px; line-height: 1.4; }
.proto { font-size: 11px; color: #94a3b8; padding: 0 14px; text-transform: uppercase; letter-spacing: .08em; }
main { padding: 40px 48px 64px; max-width: 1240px; width: 100%; }

/* Typo */
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.8px; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 18px; margin: 0; font-weight: 700; display: flex; align-items: center; gap: 10px; }
h2 .i { color: var(--blau); }
.unter { color: var(--leise); font-size: 17px; margin: 0 0 28px; }
.leise { color: var(--leise); }
.klein { font-size: 13px; }
.mitte { text-align: center; margin-top: 10px; }
.eyebrow { color: var(--blau); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 600; margin-bottom: 14px; }

/* Bausteine */
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 24px; box-shadow: var(--schatten); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.leise-link { color: var(--blau); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blau); color: #fff; border: 0; border-radius: 14px; padding: 12px 20px; font: 600 15px Inter, sans-serif; cursor: pointer; transition: background .15s, transform .1s; }
.knopf:hover { background: var(--blau-dunkel); }
.knopf:active { transform: scale(.98); }
.knopf:disabled { background: #b9cff8; cursor: default; }
.knopf.voll { width: 100%; padding: 16px 20px; font-size: 16px; }
.knopf.gross { padding: 16px 28px; font-size: 16px; margin-top: 8px; }
.knopf.zweit { background: var(--blau-hell); color: var(--blau-dunkel); }
.knopf.zweit:hover { background: #dbe8ff; }
.klein-knopf { padding: 9px 14px; font-size: 14px; }
.link-knopf { background: none; border: 0; color: var(--leise); font: 500 14px Inter, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.link-knopf:hover { color: var(--text); }
.hinweis { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin-bottom: 18px; background: var(--blau-hell); color: #1e3a8a; font-size: 14px; }
.hinweis.ok { background: var(--gruen-hell); color: #14532d; }
.hinweis.warn { background: var(--gelb-hell); color: #78350f; }
.hinweis.fehler { background: var(--rot-hell); color: #7f1d1d; }
.hinweis .i { margin-top: 1px; }
.zurueck { display: inline-flex; align-items: center; gap: 8px; color: var(--leise); font-weight: 500; margin-bottom: 18px; }
.zurueck:hover { color: var(--text); }
.kreis { width: 48px; height: 48px; border-radius: 14px; background: var(--blau-hell); color: var(--blau); display: grid; place-items: center; flex: none; }
.warten-zeile .kreis.gruen { background: var(--gruen-hell); }
.kreis.gruen { background: var(--gruen-hell); color: var(--gruen); }
.kreis.gelb { background: var(--gelb-hell); color: #b7791f; }
.kreis.rot { background: var(--rot-hell); color: var(--rot); }

/* Formulare */
label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
input[type=text], input[type=tel], input[type=date], input[type=time], input[type=password], input[type=email], input[type=datetime-local], input[type=number], select, textarea {
  width: 100%; font: 15px Inter, sans-serif; color: var(--text); background: #fff; border: 1.5px solid var(--linie); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px var(--blau-hell); }
textarea { resize: vertical; }
.schalter { appearance: none; width: 48px; height: 28px; border-radius: 99px; background: #d5deec; position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.schalter::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.schalter:checked { background: var(--blau); }
.schalter:checked::after { transform: translateX(20px); }
.schalter:focus-visible { box-shadow: 0 0 0 4px var(--blau-hell); }

/* Startseite */
.start { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.held { padding-top: 24px; }
.held h1 { font-size: 52px; letter-spacing: -1.6px; }
.held .unter { font-size: 19px; max-width: 30em; }
.held-bild { max-width: 400px; margin: 8px 0 0 -12px; }
.illu { width: 100%; height: auto; display: block; }
.uhr-karte { padding-bottom: 20px; }
.uhr { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.uhr-zahl { font: 500 12px Inter, sans-serif; fill: #94a3b8; }
.uhr-label { font: 700 14px Inter, sans-serif; fill: var(--blau); }
.uhr-klein { font: 500 13px Inter, sans-serif; fill: var(--leise); }
.uhr-gross { font: 800 34px Inter, sans-serif; fill: var(--text); letter-spacing: -1px; }
.uhr-mitte { filter: drop-shadow(0 4px 12px rgba(59,127,245,.12)); }
.uhr-fuss { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--leise); font-size: 14px; margin-top: 4px; }
.start-unten { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; margin-top: 32px; }
.avatare { display: flex; gap: 16px; flex-wrap: nowrap; overflow: hidden; padding: 4px 2px 2px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: 14px; }
.person:hover .avatar { transform: translateY(-2px); }
.avatar { position: relative; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; color: #1e3a8a; background: #dbe8ff; transition: transform .15s; flex: none; }
.avatar.s1 { background: #e0f2fe; color: #075985; } .avatar.s2 { background: #ede9fe; color: #5b21b6; }
.avatar.s3 { background: #fce7f3; color: #9d174d; } .avatar.s4 { background: #dcfce7; color: #166534; }
.avatar .badge { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(15,27,51,.15); }
.badge.pause { color: #5b7fd6; } .badge.urlaub { color: #0e7490; } .badge.offen { color: #b7791f; }
.badge.aus { color: #94a3b8; } .badge.anlauf { color: #b7791f; }
.avatar.klein-av { width: 40px; height: 40px; font-size: 15px; }
.warten { display: flex; flex-direction: column; gap: 14px; }
.warten-zeile { display: flex; align-items: center; gap: 16px; background: var(--blau-zart); border-radius: 16px; padding: 16px; font-size: 16px; }
.warten-zeile .kreis { background: #fff; }
.zahl { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-right: 4px; }
.notfall { text-align: center; }

/* Zeiten */
.kopf-mitte { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.kopf-mitte .unter { margin-bottom: 0; }
.reiter { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.reiter a { padding: 8px 16px; border-radius: 99px; background: var(--blau-zart); color: #334155; font-weight: 500; font-size: 14px; border: 1px solid var(--linie); }
.reiter a.an { background: var(--blau); color: #fff; border-color: var(--blau); }
.reiter form { display: inline; }
.reiter-plus { width: 38px; height: 38px; border-radius: 50%; border: 1.5px dashed var(--blau-linie); background: #fff; color: var(--blau); cursor: pointer; display: grid; place-items: center; }
.zeiten { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.zeiten-uhr { position: sticky; top: 32px; }
.legende { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--leise); font-size: 13px; margin-top: 10px; }
.punkt-blau { width: 12px; height: 12px; border-radius: 50%; background: var(--blau); display: inline-block; }
.balken-hell { width: 26px; height: 10px; border-radius: 99px; background: #c9dcfd; display: inline-block; margin-left: 14px; }
.vorlagen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vorlage { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px 18px; border-radius: 18px; border: 1.5px solid var(--linie); background: #fff; cursor: pointer; font: 500 13px Inter, sans-serif; color: var(--leise); transition: border-color .15s, background .15s, transform .1s; }
.vorlage b { color: var(--text); font-size: 16px; font-weight: 700; }
.vorlage:hover { border-color: var(--blau-linie); transform: translateY(-1px); }
.vorlage.an { border-color: var(--blau); background: var(--blau-zart); box-shadow: 0 0 0 3px var(--blau-hell); }
.vorlage-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); display: grid; place-items: center; margin-bottom: 4px; }
.vorlage-icon.gelb { background: var(--gelb-hell); color: #d4901a; }
.feld { margin-top: 26px; }
.feld-titel { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.stunden { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 44px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--linie); background: #fff; font: 600 14px Inter, sans-serif; color: #334155; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: all .12s; margin: 0; }
.chip:hover { border-color: var(--blau-linie); }
.chip.an { background: var(--blau); border-color: var(--blau); color: #fff; }
.chip.plus { color: var(--blau); border-style: dashed; position: relative; font-weight: 700; }
.chip.plus input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; padding: 0; border: 0; }
.tage { display: flex; gap: 10px; flex-wrap: wrap; }
.tage label { margin: 0; }
.tage input { position: absolute; opacity: 0; pointer-events: none; }
.tage span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--linie); background: #fff; font-weight: 600; cursor: pointer; transition: all .12s; color: #334155; }
.tage input:checked + span { background: var(--blau); border-color: var(--blau); color: #fff; }
.tage input:focus-visible + span { box-shadow: 0 0 0 4px var(--blau-hell); }
.schalter-zeile { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 14px 16px; border: 1.5px solid var(--linie); border-radius: 16px; cursor: pointer; font-weight: 500; }
.schalter-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--gelb-hell); color: #d4901a; display: grid; place-items: center; }
.schalter-text { flex: 1; display: flex; flex-direction: column; }
.vorschau { display: flex; gap: 12px; align-items: flex-start; background: var(--blau-hell); color: #1e3a8a; border-radius: 16px; padding: 16px 18px; margin: 18px 0; font-size: 15px; line-height: 1.7; }
.vorschau .i { margin-top: 3px; }
.mehr { margin: 4px 0 20px; }
.mehr summary { cursor: pointer; color: var(--leise); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; list-style: none; }
.mehr summary::-webkit-details-marker { display: none; }
.mehr summary:hover { color: var(--text); }
.mehr[open] summary { color: var(--text); }
.mehr-inhalt { padding: 6px 0 4px; }
.mehr-inhalt.zeile { display: flex; gap: 10px; }

/* Team */
.kopf-zeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.team-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.person-karte { display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: var(--text); transition: border-color .15s, transform .1s; }
.person-karte:hover { border-color: var(--blau-linie); transform: translateY(-1px); }
.person-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.person-text b { font-size: 16px; }
.status-satz { font-size: 14px; color: var(--leise); }
.status-satz.fokus { color: var(--blau-dunkel); }
.status-satz.offen, .status-satz.anlauf { color: #b7791f; }
.leer { text-align: center; color: var(--leise); grid-column: 1 / -1; }
.datenschutz { display: flex; align-items: center; gap: 8px; margin-top: 24px; }

/* Person */
.person-kopf { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; flex-wrap: wrap; }
.person-kopf h1 { margin: 0 0 2px; }
.person-kopf-text { flex: 1; min-width: 200px; }
.person-kopf .status-satz { font-size: 16px; font-weight: 500; }
.person-aktionen { display: flex; align-items: center; gap: 14px; }
.anlauf { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; background: var(--gelb-hell); border-color: #f8e3b5; box-shadow: none; }
.anlauf-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #b7791f; flex: none;
  background: radial-gradient(closest-side, var(--gelb-hell) 78%, transparent 80% 100%), conic-gradient(var(--gelb) calc(var(--p) * 1%), #f3e2bb 0); }
.einstell-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.einstell-raster .breit { grid-column: 1 / -1; }
.einstell-raster h2 { margin-bottom: 4px; }
.zwei-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wahl { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.wahl label { margin: 0; font-weight: 500; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--linie); border-radius: 14px; cursor: pointer; transition: all .12s; }
.wahl span .i { color: var(--leise); }
.wahl input:checked + span { border-color: var(--blau); background: var(--blau-zart); }
.wahl input:checked + span .i { color: var(--blau); }
.schalter-mini { display: flex; align-items: center; gap: 8px; margin: 0; }
.antwort-raster { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.sprechblase { background: var(--blau-zart); border: 1px solid var(--blau-linie); border-radius: 18px 18px 18px 4px; padding: 16px 18px; }
.sprechblase pre { white-space: pre-wrap; font: 14px/1.6 Inter, sans-serif; margin: 6px 0 0; }
.speichern-leiste { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.speichern-leiste .knopf { max-width: 320px; }
.verlauf { margin-top: 28px; }
.protokoll-liste { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; }
.protokoll-liste li { padding: 10px 0; border-bottom: 1px solid var(--linie); display: flex; gap: 12px; flex-wrap: wrap; }
.protokoll-liste li:last-child { border-bottom: 0; }
.protokoll-liste .wer { color: var(--blau-dunkel); font-weight: 500; min-width: 70px; }

/* Einrichtung */
.schritte { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.schritte span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.schritte .fertig { background: var(--gruen-hell); color: var(--gruen); }
.schritte .an { background: var(--blau); color: #fff; }
.einrichtung { max-width: 760px; margin: 0 auto; }
.schritt-liste { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.schritt { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--blau-zart); color: var(--leise); }
.schritt.fertig { color: var(--gruen); background: var(--gruen-hell); }
.schritt.an { color: var(--blau-dunkel); background: var(--blau-hell); }
.konten { list-style: none; margin: 0 0 12px; padding: 0; }
.konten li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.konto-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.konto-text .klein { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konto-form { display: flex; gap: 8px; align-items: center; }

/* Einstellungen */
.einstell-liste { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.zeile-karte { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.zeile-karte > div { flex: 1; }
.link-karte { color: var(--text); }
.link-karte:hover { border-color: var(--blau-linie); }

.tab-leiste { display: none; }

/* Handy & schmale Fenster */
@media (max-width: 1100px) {
  .start, .start-unten, .zeiten { grid-template-columns: 1fr; }
  .zeiten-uhr { position: static; max-width: 360px; margin: 0 auto; }
  .held h1 { font-size: 40px; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; background: #fff; }
  /* Handy: oben nur die Marke, Menü als feste Leiste unten (alle vier Punkte immer sichtbar) */
  .seite { position: static; height: auto; flex-direction: row; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
  .marke { margin: 0; padding: 0; font-size: 18px; }
  .seite nav, .seite .unten { display: none; }
  .tab-leiste { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--linie);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tab-leiste a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: #64748b; font-size: 11px; font-weight: 500; }
  .tab-leiste a.an { color: var(--blau-dunkel); background: var(--blau-hell); font-weight: 600; }
  main { padding: 24px 16px calc(96px + env(safe-area-inset-bottom)); }
  .held h1 { font-size: 34px; }
  .einstell-raster, .antwort-raster { grid-template-columns: 1fr; }
  .vorlagen { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .vorlage { padding: 16px 6px 12px; }
  .vorlage-icon { width: 48px; height: 48px; }
  .tage span { width: 42px; height: 42px; }
  .konten li { flex-wrap: wrap; }
}

/* Marke Pingnap + Anmeldung (25.10.) */
.logo-bild { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.login-seite { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg, var(--blau-zart), #fff 60%); padding: 24px 16px; }
.login-karte { width: 100%; max-width: 400px; text-align: center; }
.login-karte .marke { justify-content: center; margin-bottom: 8px; padding: 0; font-size: 24px; }
.login-karte .unter { font-size: 15px; margin-bottom: 24px; }
.login-karte form { text-align: left; }
.login-karte .knopf { margin-top: 20px; }

/* Ausnahmen „Kommt sofort durch“ (25.10.) */
.ausnahmen-karte { margin-top: 18px; border: 1.5px solid var(--linie); border-radius: 18px; padding: 18px; }
.ausnahmen-kopf { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.ausnahmen-kopf > div { display: flex; flex-direction: column; }
.schalter-icon.blau { background: var(--blau-hell); color: var(--blau); }
.ausnahme-zeile { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 4px; border-top: 1px solid var(--linie); cursor: pointer; font-weight: 500; }
.ausnahme-zeile > .i { color: var(--leise); }
.vip { border-top: 1px solid var(--linie); padding-top: 14px; margin-top: 2px; }
.vip-titel { display: flex; flex-direction: column; margin-bottom: 10px; }
.vip-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.vip-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--blau-hell); color: #1e3a8a; border-radius: 99px; padding: 6px 6px 6px 12px; font-size: 14px; font-weight: 500; }
.vip-chip button { border: 0; background: #fff; color: var(--leise); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.vip-chip button:hover { color: var(--rot); }
.vip-neu { display: flex; gap: 8px; }
.vip-neu input.fehler, .vip-neu input.fehler:focus { border-color: var(--rot); box-shadow: 0 0 0 4px var(--rot-hell); }
.ausnahmen-fuss { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; }
.mehr.innen { margin: 14px 0 0; }

.klein-anlauf { max-width: 760px; margin: 0 auto 20px; padding: 16px 20px; }

/* Pause aussetzen (25.10., Idee aus Boomerang) */
.aussetzen { position: relative; }
.aussetzen summary { list-style: none; cursor: pointer; }
.aussetzen summary::-webkit-details-marker { display: none; }
.aussetzen-feld { position: absolute; right: 0; top: 52px; width: 320px; z-index: 5; padding: 18px; }
.aussetzen-feld label { margin-top: 0; }
.aussetzen-feld .knopf { margin-top: 12px; }
.anlauf.ausgesetzt { background: var(--gelb-hell); }
.anlauf.ausgesetzt > div:nth-child(2) { flex: 1; }
@media (max-width: 760px) { .aussetzen-feld { position: static; width: 100%; margin-top: 8px; } }
.aussetzen-feld .leise { display: block; margin-top: 8px; }

.ok-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); margin-right: 4px; box-shadow: 0 0 0 3px var(--gruen-hell); animation: puls 2s infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 6px transparent; } }

/* Protokoll mit Suche und Filtern (25.10.) */
.filter { display: flex; gap: 10px; padding: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.filter select { width: auto; min-width: 170px; }
.suche { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--linie); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--leise); }
.suche:focus-within { border-color: var(--blau); box-shadow: 0 0 0 4px var(--blau-hell); }
.suche input { border: 0 !important; box-shadow: none !important; padding: 11px 0; font: 15px Inter, sans-serif; width: 100%; outline: none; background: transparent; }
.art-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.art-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--linie); background: #fff; color: #334155; font-size: 14px; font-weight: 500; }
.art-chip:hover { border-color: var(--blau-linie); }
.art-chip.an { background: var(--blau); border-color: var(--blau); color: #fff; }
.treffer { margin-left: auto; }
.tag-gruppe { margin-bottom: 22px; }
.tag-titel { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); margin: 0 0 10px 4px; }
.eintraege { list-style: none; margin: 0; padding: 6px 20px; }
.eintrag { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--linie); }
.eintrag:last-child { border-bottom: 0; }
.eintrag-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--blau-hell); color: var(--blau); }
.eintrag-icon.zustellung { background: var(--gruen-hell); color: var(--gruen); }
.eintrag-icon.notfall { background: var(--gelb-hell); color: #b7791f; }
.eintrag-icon.antwort { background: #ede9fe; color: #6d28d9; }
.eintrag-icon.fehler { background: var(--rot-hell); color: var(--rot); }
.eintrag-text { flex: 1; min-width: 0; }
.eintrag-detail { margin-top: 2px; overflow-wrap: anywhere; }
.eintrag time { flex: none; padding-top: 2px; font-variant-numeric: tabular-nums; }
.wer-chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blau-dunkel); background: var(--blau-zart); border: 1px solid var(--blau-linie); border-radius: 99px; padding: 1px 9px; margin-left: 6px; vertical-align: 1px; }

/* Eigene Rückfrage (25.10.) */
.frage { border: 0; border-radius: 22px; padding: 28px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(15,27,51,.25); color: var(--text); }
.frage::backdrop { background: rgba(15, 27, 51, .35); backdrop-filter: blur(3px); }
.frage[open] { animation: auftauchen .18s ease-out; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.frage-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gelb-hell); color: #b7791f; margin-bottom: 14px; }
.frage h2 { font-size: 20px; margin: 0 0 8px; }
.frage p { margin: 0 0 22px; font-size: 15px; }
.frage-knoepfe { display: flex; gap: 10px; justify-content: flex-end; }

/* Ladezustand (25.10.) */
.knopf.laedt, .link-knopf.laedt { opacity: .85; cursor: progress; pointer-events: none; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: drehen .7s linear infinite; vertical-align: -3px; }
@keyframes drehen { to { transform: rotate(360deg); } }
body.beschaeftigt { cursor: progress; }

/* Illustration animiert (25.10.): ruhig, langsam, nie hektisch */
.illu .a-schweben, .illu .a-atmen, .illu .a-schatten, .illu .a-mond, .illu .a-funkeln, .illu .a-augen, .illu .a-blitz, .illu .a-punkt, .illu .a-z { transform-box: fill-box; transform-origin: center; }
.illu .a-schweben { animation: schweben 4s ease-in-out infinite; }
.illu .a-atmen { animation: atmen 5.5s ease-in-out infinite; }
.illu .a-schatten { animation: schatten 4s ease-in-out infinite; }
.illu-pause .a-schatten { animation-duration: 5.5s; }
.illu .a-mond { animation: wiegen 7s ease-in-out infinite; }
.illu .a-funkeln { animation: funkeln 3.2s ease-in-out infinite; }
.illu .a-punkt { animation: schweben 3s ease-in-out infinite .6s; }
.illu .a-augen { animation: blinzeln 5s ease-in-out infinite; }
.illu .a-blitz { animation: blitzen 1.8s ease-in-out infinite; }
.illu .a-zeiger { transform-box: view-box; transform-origin: 248px 56px; animation: uhrzeiger 12s linear infinite; }
.illu .a-z { opacity: 0; animation: zett 4.5s ease-in infinite; }
.illu .z2 { animation-delay: 1.5s; } .illu .z3 { animation-delay: 3s; }
@keyframes schweben { 50% { transform: translateY(-6px); } }
@keyframes atmen { 50% { transform: translateY(-3px) scale(1.015); } }
@keyframes schatten { 50% { transform: scaleX(.93); opacity: .7; } }
@keyframes wiegen { 50% { transform: rotate(-9deg); } }
@keyframes funkeln { 50% { transform: scale(.65) rotate(25deg); opacity: .45; } }
@keyframes blinzeln { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.12); } }
@keyframes blitzen { 50% { opacity: .55; transform: scale(.92); } }
@keyframes uhrzeiger { to { transform: rotate(360deg); } }
@keyframes zett { 0% { opacity: 0; transform: translate(0, 8px); } 20% { opacity: 1; } 75% { opacity: .7; } 100% { opacity: 0; transform: translate(-12px, -26px); } }
@media (prefers-reduced-motion: reduce) {
  .illu * { animation: none !important; }
  .illu .a-z { opacity: 1; }
}
/* Login: kleiner schlafender Umschlag über dem Formular */
.login-illu { width: 150px; margin: 0 auto -6px; }

/* Uhrzeiten: alle 24 Stunden + eigene Minuten (25.10.) */
.stunden { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.stunden .chip { min-width: 0; padding: 0; height: 38px; }
.feld-hilfe { margin: -6px 0 10px; }
.extra-zeile { margin-top: 10px; }
.extra-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.extra-liste:empty { display: none; }
.extra-feld summary { list-style: none; cursor: pointer; }
.extra-feld summary::-webkit-details-marker { display: none; }
.extra-panel { display: flex; gap: 10px; align-items: flex-end; margin-top: 10px; padding: 14px; border: 1.5px solid var(--linie); border-radius: 14px; background: #fff; }
.extra-panel label { margin: 0 0 6px; font-size: 13px; }
.extra-panel select { width: 110px; }
@media (max-width: 760px) { .stunden { grid-template-columns: repeat(6, minmax(0, 1fr)); } .extra-panel { flex-wrap: wrap; } }

/* Zeiten-Seite ohne „Für Fortgeschrittene“ (25.10.) */
.schalter-text label { margin: 0; cursor: pointer; }
.absender-liste { margin: -4px 0 10px 30px; }
.absender-liste summary { cursor: pointer; font-size: 13px; color: var(--blau); list-style: none; }
.absender-liste summary::-webkit-details-marker { display: none; }
.absender-liste[open] summary { margin-bottom: 6px; }
/* Zeitplan-Wahl beim Hinzufügen: gleiche Pillenform wie der Knopf daneben */
.plan-wahl { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 12px 0 14px; border: 1.5px solid var(--linie); border-radius: 999px; background: #fff; color: var(--blau); cursor: pointer; position: relative; transition: border-color .15s, box-shadow .15s; }
.plan-wahl:hover { border-color: #c9d8f5; }
.plan-wahl:focus-within { border-color: var(--blau); box-shadow: 0 0 0 4px var(--blau-hell); }
.plan-wahl select { appearance: none; -webkit-appearance: none; border: 0; padding: 0; width: auto; max-width: 300px; font-size: 14px; font-weight: 500; background: transparent; box-shadow: none; text-overflow: ellipsis; cursor: pointer; }
.plan-wahl select:focus { box-shadow: none; }
.plan-wahl svg:last-child { color: var(--leise); pointer-events: none; }
.land-zeile { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.plan-wahl.klein-wahl { height: 30px; padding: 0 10px 0 10px; gap: 6px; }
.plan-wahl.klein-wahl select { font-size: 13px; }
.land-zeile { margin-top: 6px; }
/* Zeitplan-Kopf, Reiter mit Personenzahl, Dialoge (25.10., Panel „Zeitplan-Begriff“) */
.reiter a { display: inline-flex; align-items: center; gap: 8px; }
.reiter-zahl { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--blau); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.reiter a.an .reiter-zahl { background: rgba(255,255,255,.25); color: #fff; }
.reiter-neu { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1.5px dashed var(--blau-linie); background: #fff; color: var(--blau); font: 500 14px Inter, sans-serif; cursor: pointer; }
.reiter-neu:hover { border-style: solid; }
.plan-kopf { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 0 auto 26px; max-width: 760px; }
.plan-kopf-text { flex: 1; min-width: 0; line-height: 1.45; }
.plan-name { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.etikett { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 99px; background: var(--blau-hell); color: var(--blau); }
.plan-kopf-aktion { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.plan-kopf-aktion form { display: inline; }
.link-knopf.rot { color: #c2410c; }
.frage-icon.blau { background: var(--blau-hell); color: var(--blau); }
.dialog-form label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.dialog-form input[type=text] { margin-bottom: 18px; }
.dialog-form p.leise { margin-bottom: 18px; }
.klein-titel { font-size: 14px; margin: 4px 0 8px; }
.personen-wahl { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow: auto; border: 1.5px solid var(--linie); border-radius: 14px; padding: 6px; margin-bottom: 8px; }
.person-haken { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.person-haken:hover { background: var(--blau-zart); }
.person-haken input { width: 18px; height: 18px; accent-color: var(--blau); }
.person-haken .leise { margin-left: auto; font-weight: 400; }
.feld-titel .normal { font-weight: 400; }
.knopf.voll.speichern { margin-top: 4px; }
@media (max-width: 760px) { .plan-kopf { flex-wrap: wrap; } .plan-kopf-aktion { width: 100%; justify-content: flex-end; } }
.uhr-mitte-text { font-size: 12px; letter-spacing: .01em; }
.alle-haken { position: sticky; top: -6px; z-index: 1; background: #fff; border-bottom: 1px solid var(--linie); border-radius: 10px 10px 0 0; margin-bottom: 4px !important; padding-bottom: 10px; }
.notfall-an { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--gelb-hell); color: #92400e; font-size: 14px; }
.notfall-an span { display: inline-flex; align-items: center; gap: 6px; }
.notfall-an form { margin: 0; }
/* Team-Zeile auf der Startseite (25.10.): feste Breite je Person, Rest als „+N“, am Ende „Hinzufügen“ */
.avatare .person { width: 76px; flex: none; text-align: center; }
.avatare .person > span:last-child { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatare .person[hidden] { display: none; }
.mehr-av { width: 56px; height: 56px; font-size: 17px; background: #f1f5f9; color: #475569; }
.neu-av { width: 56px; height: 56px; background: var(--blau); color: #fff; box-shadow: 0 6px 16px rgba(59,127,245,.28); }
.person-neu > span:last-child, .person-mehr > span:last-child { color: var(--leise); }
.person-neu:hover .neu-av { background: var(--blau-dunkel); }
.start-unten > *, .avatare { min-width: 0; }
.person-neu > span:last-child, .person-mehr > span:last-child { font-size: 13px; }
/* Startseite: Karte „neue Mails“ über den Zustellzeiten, Team darunter über die volle Breite (25.10.) */
.start-rechts { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.start-unten { grid-template-columns: 1fr !important; }
.post-karte { padding: 18px 20px; }
.post-kopf { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.post-zahl { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blau-hell); color: var(--blau-dunkel); font-size: 24px; font-weight: 800; }
.post-zahl.erledigt { background: #e8f7ee; color: #16a34a; }
.post-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-text b { font-size: 17px; }
.post-aktion { margin: 0; }
.post-aktion .knopf { white-space: nowrap; }
.post-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 14px; }
.post-fuss form { margin: 0; }
.leise-knopf { color: var(--leise) !important; font-size: 14px; }
.leise-knopf:hover { color: #b45309 !important; }
.post-offen { display: inline-flex; align-items: center; gap: 6px; color: #b45309; font-weight: 500; }
@media (max-width: 760px) { .post-kopf { grid-template-columns: auto 1fr; } .post-aktion { grid-column: 1 / -1; } .post-aktion .knopf { width: 100%; justify-content: center; } }
.plan-wahl-titel { font-size: 12px; font-weight: 600; color: var(--leise); text-transform: uppercase; letter-spacing: .04em; padding-right: 6px; border-right: 1px solid var(--linie); }
.personen-suche { position: relative; margin-bottom: 8px; }
.personen-suche svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--leise); }
.personen-suche input { padding-left: 38px !important; margin: 0 !important; }
.personen-leer { padding: 14px 10px; text-align: center; }
.person-haken[hidden] { display: none !important; }
/* Testansicht „E-Mails“ (nur Prototyp) */
.test-etikett { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: var(--gelb-hell); color: #b45309; }
.test-hinweis { background: var(--gelb-hell); color: #92400e; }
.mail-liste { padding: 6px 0; overflow: hidden; }
.mail-zeile { display: grid; grid-template-columns: 112px 110px minmax(140px, 1.1fr) minmax(160px, 2fr) 96px 96px; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--linie); font-size: 14px; }
.mail-zeile:last-of-type { border-bottom: 0; }
.mail-zeile[hidden] { display: none; }
.mail-kopf { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; padding-top: 8px; padding-bottom: 8px; }
.mail-zeile > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-betreff { font-weight: 500; }
.mail-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.mail-status.wartet { background: var(--blau-hell); color: var(--blau-dunkel); }
.mail-status.zugestellt { background: #e8f7ee; color: #15803d; }
.tab-leiste { grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 900px) {
  .mail-kopf { display: none; }
  .mail-zeile { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 16px; }
  .mail-zeile > span:nth-child(1) { order: 2; justify-self: end; }
  .mail-zeile > span:nth-child(3) { order: 1; font-weight: 600; }
  .mail-zeile > span:nth-child(4) { order: 3; grid-column: 1 / -1; font-weight: 400; color: var(--text); }
  .mail-zeile > span:nth-child(2) { order: 4; color: var(--leise); font-size: 13px; }
  .mail-zeile > span:nth-child(5) { order: 5; justify-self: end; }
  .mail-zeile > span:nth-child(6) { display: none; }
}
/* Geteilter Knopf „Jetzt zustellen | ▾ länger sofort zustellen“ (Personen-Seite) */
.split-knopf { display: inline-flex; align-items: stretch; position: relative; }
.split-knopf > form { margin: 0; }
.split-knopf > form .knopf { border-top-right-radius: 0; border-bottom-right-radius: 0; height: 100%; }
.split-knopf .split-pfeil { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 1px; padding-left: 12px; padding-right: 12px; height: 100%; }
.split-knopf details { position: static; }
.split-knopf .aussetzen-feld { right: 0; left: auto; }
.aussetzen-feld b { display: block; font-size: 15px; margin-bottom: 4px; }
.split-knopf .aussetzen-feld label { margin-top: 14px; }
@media (max-width: 760px) { .split-knopf .aussetzen-feld { position: absolute; left: 0; right: auto; width: min(320px, calc(100vw - 32px)); margin-top: 0; } }
/* Handy: nichts darf die Seite seitlich verbreitern (25.10.) */
main { min-width: 0; }
@media (max-width: 760px) {
  .konto-form { flex-wrap: wrap; width: 100%; }
  .konto-form .plan-wahl { flex: 1 1 100%; min-width: 0; }
  .konto-form .plan-wahl select { max-width: none; flex: 1; min-width: 0; }
  .konto-form > .knopf { width: 100%; justify-content: center; }
  .person-kopf-text { min-width: 0; flex-basis: calc(100% - 140px); }
  .person-kopf h1 { overflow-wrap: anywhere; }
}
.einstell-raster > *, .zwei-felder > * { min-width: 0; }
input[type=date], input[type=datetime-local], input[type=time] { min-width: 0; max-width: 100%; }
@media (max-width: 420px) { .zwei-felder { grid-template-columns: 1fr; } }
.mail-zustellen { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--blau-linie); background: #fff; color: var(--blau); font: 600 12px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.mail-zustellen:hover { background: var(--blau-hell); border-color: var(--blau); }
.mail-zustellen.laedt { color: var(--leise); }
.mail-zeile form { margin: 0; }
@media (max-width: 900px) { .mail-zeile > span:nth-child(6):has(form) { display: block; order: 6; grid-column: 1 / -1; } }
a.post-zahl { transition: background .15s, transform .15s; }
a.post-zahl:hover { background: #dbe8ff; transform: translateY(-1px); }
.post-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.post-link svg { color: var(--blau); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.post-link:hover b { color: var(--blau-dunkel); }
.post-link:hover svg, .post-kopf:has(a.post-zahl:hover) .post-link svg { opacity: 1; transform: none; }
@media (hover: none) { .post-link svg { opacity: 1; transform: none; } }
.uhr-plan { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--leise); flex-wrap: wrap; }
.uhr-plan svg { color: var(--blau); }
.uhr-plan a { color: var(--blau); }
.uhr-plan-name { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 13px; color: var(--leise); }
.uhr-plan-name svg { color: var(--blau); }
.uhr-plan a { display: inline-flex; align-items: center; gap: 4px; }
.uhr-karte .karte-kopf { align-items: flex-start; }
.person-link { color: inherit; text-decoration: underline; text-decoration-color: var(--blau-linie); text-underline-offset: 3px; }
.person-link:hover { color: var(--blau-dunkel); text-decoration-color: var(--blau); }
.person-link[hidden] { display: none; }
.mehr-zeigen { font-size: inherit; padding: 0; margin-left: 2px; }
/* Team nach Zeitplan */
.team-gruppe { margin-bottom: 28px; }
.team-gruppe[hidden], .team-liste [hidden] { display: none !important; }
.team-gruppe-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 4px 10px; flex-wrap: wrap; }
.team-gruppe-kopf h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 2px; }
.team-gruppe-kopf .stern { color: var(--blau); display: inline-flex; }
.team-gruppe-kopf .leise-link { display: inline-flex; align-items: center; gap: 4px; }
.team-leer { padding: 6px 4px; }
/* Zifferblatt auf der Startseite klickbar */
.uhr-link { display: block; position: relative; border-radius: 24px; color: inherit; }
.uhr-link .uhr { transition: transform .2s; }
.uhr-hinweis { position: absolute; left: 50%; bottom: 6px; transform: translate(-50%, 6px); opacity: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--blau); color: #fff; font-size: 13px; font-weight: 600; transition: opacity .2s, transform .2s; pointer-events: none; box-shadow: 0 6px 16px rgba(59,127,245,.3); }
.uhr-link:hover .uhr-hinweis, .uhr-link:focus-visible .uhr-hinweis { opacity: 1; transform: translate(-50%, 0); }
.uhr-link:hover .uhr { transform: scale(1.015); }
@media (hover: none) { .uhr-hinweis { opacity: 1; transform: translate(-50%, 0); position: static; margin: 4px auto 0; width: max-content; } }
/* E-Mails: geplante Zustellung + Knopf */
.mail-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mail-plan > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mail-zeile { grid-template-columns: 112px 110px minmax(140px, 1.1fr) minmax(160px, 2fr) 96px 130px; }
/* Team: Karte mit Zeitplan-Auswahl */
.person-karte.mit-wahl { gap: 12px; }
.person-karte-link { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; color: inherit; }
.zeitplan-wechsel { margin: 0; flex: none; }
.zeitplan-wechsel .plan-wahl select { max-width: 190px; }
.person-karte-pfeil { display: inline-flex; }
@media (max-width: 760px) { .person-karte.mit-wahl { flex-wrap: wrap; } .zeitplan-wechsel { order: 3; width: 100%; padding-left: 64px; } .person-karte-pfeil { margin-left: auto; } }
/* Team nach Zeitplan: eine Spalte, Zeilen statt gedrängter Karten */
.team-gruppe .team-liste { display: flex; flex-direction: column; gap: 8px; }
.team-gruppe .person-karte.mit-wahl { padding: 12px 16px; }
.team-gruppe .person-karte .person-text .status-satz { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .team-gruppe .person-karte .person-text .status-satz { white-space: normal; } }
.extra-knopf { display: inline-flex; align-items: center; gap: 6px; width: auto; }
.extra-feld[open] .extra-knopf { background: var(--blau-hell); }
/* Suchfeld in den Dialogen (Neuer Zeitplan, Personen hinzufügen): wie die übrigen Eingabefelder */
.personen-suche input[type=search] { width: 100%; font: 15px Inter, sans-serif; color: var(--text); background: #fff; border: 1.5px solid var(--linie); border-radius: 12px; padding: 11px 13px 11px 38px !important; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.personen-suche input[type=search]:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px var(--blau-hell); }
.personen-suche { margin-bottom: 10px; }
/* Team: wartende Mails je Person */
.post-zaehler { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 99px; background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 700; font-size: 13px; flex: none; transition: background .15s; }
.post-zaehler:hover { background: #dbe8ff; }
.post-zaehler.leer { background: #f1f5f9; color: #94a3b8; font-weight: 600; }
.post-zaehler[hidden] { display: none; }
@media (max-width: 760px) { .person-karte.mit-wahl .post-zaehler { order: 2; } }
@media (max-width: 760px) { .person-karte.mit-wahl .post-zaehler { order: 1; } .person-karte.mit-wahl .person-karte-pfeil { order: 2; margin-left: 0; } }
/* Personen-Seite: offene Mails dieser Person */
.person-post { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--text); transition: border-color .15s, transform .1s; }
.person-post:hover { border-color: var(--blau-linie); transform: translateY(-1px); }
.person-post-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blau); white-space: nowrap; }
@media (max-width: 760px) { .person-post { grid-template-columns: auto 1fr; } .person-post-link { grid-column: 2; } }
.person-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.person-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 760px) { .person-name { flex-direction: column; gap: 0; } }
.name-zeile { display: flex; align-items: center; gap: 10px; }
.stift-knopf { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--leise); cursor: pointer; transition: background .15s, color .15s; }
.stift-knopf:hover, .stift-knopf:focus-visible { background: var(--blau-hell); color: var(--blau); outline: none; }
.aussetzen-feld { position: absolute; }
.popover-zu { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: transparent; color: var(--leise); cursor: pointer; display: grid; place-items: center; }
.popover-zu:hover { background: var(--blau-hell); color: var(--blau); }
.aussetzen-feld b { padding-right: 36px; }
/* Pingnap aus-/einschalten (Panel 25.10.): unten eigener Abschnitt, bei „aus“ Hinweisbalken oben */
.aus-abschnitt { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.aus-abschnitt p { margin: 4px 0 0; max-width: 620px; }
.aus-abschnitt form { margin: 0; }
.aus-balken { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 20px; border-color: #e2e8f0; background: #f8fafc; }
.aus-balken form { margin: 0; }
.post-zahl.aus-zahl { background: #e2e8f0; color: #475569; }
@media (max-width: 760px) { .aus-balken { grid-template-columns: auto 1fr; } .aus-balken form { grid-column: 1 / -1; } .aus-balken .knopf { width: 100%; justify-content: center; } }
.alle-zustellen { margin: 0 0 0 4px; }
.art-chips { flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .alle-zustellen { width: 100%; margin: 6px 0 0; } .alle-zustellen .knopf { width: 100%; justify-content: center; } }
/* Mini-Legende zu den Status-Symbolen */
.status-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; color: var(--leise); }
.legende-punkt { display: inline-flex; align-items: center; gap: 6px; }
.legende-punkt .badge { position: static; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(15,27,51,.15); }
.team-gruppe:first-of-type { margin-top: 0; }
form.filter + .status-legende { margin: -8px 4px 18px; }
.badge.fokus { color: var(--blau); }
/* E-Mails: Name + (Adresse) in zwei Zeilen */
.mail-zeile > .mail-person { white-space: normal; display: flex; flex-direction: column; min-width: 0; }
.mail-person > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-person .klein { font-size: 12px; }
.mail-zeile { grid-template-columns: 104px minmax(150px, 1fr) minmax(170px, 1.1fr) minmax(170px, 1.7fr) 92px 126px; }
@media (max-width: 900px) { .mail-zeile { grid-template-columns: 1fr auto; } }
/* Login: Microsoft-Anmeldung */
.ms-knopf { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f2937; border: 1.5px solid #d6dbe4; }
.ms-knopf:hover { background: #f8fafc; }
.login-hinweis { margin: 8px 0 0; text-align: center; }
.login-oder { display: flex; align-items: center; gap: 10px; color: var(--leise); font-size: 12.5px; margin: 18px 0 6px; }
.login-oder::before, .login-oder::after { content: ""; flex: 1; height: 1px; background: var(--linie); }

/* Einrichtungs-Assistent (27.10.2026) */
.assistent { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.assist-schritt { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.assist-schritt h2 { margin: 2px 0 6px; font-size: 18px; }
.assist-schritt p { margin: 0 0 10px; }
.assist-schritt.gesperrt { opacity: .55; }
.assist-schritt.erledigt .assist-nr { background: var(--gruen-hell); color: var(--gruen); }
.assist-nr { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--blau); color: #fff; }
.assist-schritt.gesperrt .assist-nr { background: var(--blau-zart); color: var(--leise); }
.assist-liste { margin: 0 0 12px; padding-left: 18px; }
.ok-text { color: var(--gruen); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.assist-fortschritt { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 6px; }
.assist-fortschritt li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.st-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--blau-zart); flex: none; transform: translateY(1px); }
.st-ok .st-punkt { background: var(--gruen); }
.st-laeuft .st-punkt { background: var(--blau); animation: puls 1s infinite alternate; }
.st-fehler .st-punkt { background: #d14343; }
.st-warten .st-punkt { background: #e0a400; }
@keyframes puls { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .st-laeuft .st-punkt { animation: none; } }
.assist-form { display: grid; gap: 12px; justify-items: start; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.haken input { margin-top: 3px; }
.assist-personen { list-style: none; padding: 0; margin: 10px 0; max-height: 340px; overflow: auto; border: 1px solid var(--linie, #e3e8f0); border-radius: 12px; }
.assist-personen li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--linie, #eef2f7); }
.assist-personen li:last-child { border-bottom: 0; }
.assist-personen label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.assist-status { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.assist-unten { justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.assist-details { margin: 4px 0 12px; }
.assist-details summary { cursor: pointer; width: fit-content; }
.assist-fortschritt li { display: grid; grid-template-columns: 10px auto 1fr; column-gap: 10px; align-items: baseline; }
.assist-fortschritt li .leise { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .assist-fortschritt li { grid-template-columns: 10px 1fr; } .assist-fortschritt li .leise { grid-column: 2; white-space: normal; } }
.assist-personen { max-height: none; overflow: visible; }
.assist-personen li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; }
.assist-personen li[hidden] { display: none; }
.ap-wahl { display: grid; place-items: center; }
.ap-wahl input { width: 18px; height: 18px; margin: 0; }
.ap-haken { color: var(--gruen); display: grid; place-items: center; }
.ap-text { display: grid; gap: 1px; cursor: pointer; }
.ist-dabei .ap-text { cursor: default; }
.ap-marke { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.ap-marke.aktiv { background: var(--gruen-hell); color: var(--gruen); }
.ap-marke.wartet { background: var(--blau-hell); color: var(--blau-dunkel); }
.assist-unten { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.assist-unten .knopf:disabled { opacity: .5; cursor: not-allowed; }
.assistent .suche { margin-bottom: 4px; }
@media (max-width: 600px) { .assist-personen li { grid-template-columns: 24px 1fr; } .ap-marke { grid-column: 2; justify-self: start; } }
.assist-unten[hidden] { display: none; }
.ap-haken.wartet { color: var(--blau-dunkel); }
.assist-notiz { flex-basis: 100%; margin: 0; }

/* Verträge im Assistenten (28.10.2026) */
.vertrag-form { justify-items: stretch; }
.vertrag-form .knopf { justify-self: start; }
.v-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.v-felder label { margin: 6px 0 0; font-weight: 600; font-size: 13.5px; }
.v-felder label input { margin-top: 6px; font-weight: 400; }
.v-felder .breit { grid-column: 1 / -1; }
.vertrag-form .haken { font-weight: 400; margin: 4px 0 0; }
@media (max-width: 560px) { .v-felder { grid-template-columns: 1fr; } }
/* Login vor der Einrichtung: Einrichten ist der Hauptweg (28.10.) */
.login-neu { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--blau-hell); color: var(--blau-dunkel); text-align: left; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; }
.login-neu strong { font-size: 15px; }
.login-karte .knopf + .knopf { margin-top: 10px; }
/* Assistent 28.10.: Hilfetext, Zweitfaktor-Hinweis, Warten im Hintergrund, technische Details, Vertrag im Fenster */
.feld-hilfe { display: block; font-weight: 400; font-size: 12.5px; color: var(--leise); margin-top: 6px; }
.assist-mfa { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 12px; }
.assist-warten { line-height: 1.5; }
.assist-warten-stand { display: block; margin-top: 6px; opacity: .85; }
.tech-details { margin-top: 8px; font-size: 12.5px; }
.tech-details summary { cursor: pointer; width: fit-content; }
.tech-details code { display: block; margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; opacity: .85; }
.v-dialog { width: min(760px, calc(100% - 32px)); max-height: 86vh; padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .25); display: none; flex-direction: column; color: inherit; background: #fff; }
.v-dialog[open] { display: flex; }
.v-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.vd-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--linie, #e3e8f0); }
.vd-kopf h2 { margin: 0; font-size: 17px; }
.vd-zu { border: 0; background: var(--blau-hell); color: var(--blau-dunkel); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.vd-inhalt { overflow: auto; padding: 4px 22px 18px; font-size: 14.5px; line-height: 1.6; }
.vd-inhalt h1 { font-size: 20px; margin: 14px 0 4px; }
.vd-inhalt h2 { font-size: 16px; margin: 18px 0 6px; }
.vd-inhalt h3 { font-size: 15px; margin: 14px 0 4px; }
.vd-inhalt .v-fassung { font-size: 12.5px; color: var(--leise); overflow-wrap: anywhere; }
.vd-fuss { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--linie, #e3e8f0); font-size: 14px; }
.vd-fuss a { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 560px) { .v-dialog { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; margin-bottom: 0; } .vd-inhalt { padding: 4px 16px 16px; } }

/* Einrichtung läuft / im Hintergrund (28.10., Max: „schicker, mit Animation“): ruhige blaue Karte statt gelber Warnung */
.hg-karte { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blau-zart), var(--blau-hell)); border: 1px solid var(--blau-linie); color: var(--text); }
.hg-symbol { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--blau);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(59, 127, 245, .15); }
.hg-dreh { transform-box: fill-box; transform-origin: center; }
.hg-gross { animation: drehen 9s linear infinite; }
.hg-klein { animation: drehen 6s linear infinite reverse; }
.hg-schnell .hg-gross { animation-duration: 3s; }
.hg-schnell .hg-klein { animation-duration: 2s; }
.hg-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14.5px; line-height: 1.5; color: var(--leise); }
.hg-text b { color: var(--text); font-size: 16px; }
.hg-balken { height: 4px; border-radius: 4px; background: var(--blau-linie); overflow: hidden; margin: 6px 0 2px; }
.hg-balken span { display: block; height: 100%; width: 35%; border-radius: 4px; background: var(--blau); animation: hg-lauf 2.4s ease-in-out infinite; }
@keyframes hg-lauf { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
.hg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff;
  border: 1px solid var(--blau-linie); font-size: 12.5px; color: var(--leise); white-space: nowrap; }
.hg-chip .i { color: var(--blau); }
.hg-grund { font-size: 12.5px; }
@media (max-width: 560px) { .hg-karte { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .hg-gross, .hg-klein, .hg-balken span { animation: none; } .hg-balken span { width: 100%; opacity: .35; } }

/* Blättern in der Mail-Übersicht (28.10.) */
.seiten { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin: 14px 0 6px; }
.seite-knopf { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--blau-linie); background: #fff;
  color: var(--text); font: 500 14px Inter, sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.seite-knopf:hover:not(:disabled) { background: var(--blau-zart); border-color: var(--blau); }
.seite-knopf.an { background: var(--blau); border-color: var(--blau); color: #fff; }
.seite-knopf:disabled { opacity: .4; cursor: default; }
.seite-luecke { color: var(--leise); padding: 0 2px; }
