/* Interner Bereich: ergänzt css/style.css */
.seite-intern .kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.intern-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: .875rem; }
.intern-nav a, .intern-nav button { padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--weiss); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.intern-nav a:hover, .intern-nav button:hover { background: rgba(255, 255, 255, .12); }
.intern-nav form { margin: 0; }
.intern-wer { padding: 6px 4px; opacity: .75; }
.intern-main { min-height: 70vh; }
.intern-karte { max-width: 440px; margin: 48px auto; padding: 28px 26px; border-radius: var(--rund); background: rgba(255, 255, 255, .9); box-shadow: 0 12px 36px rgba(11, 11, 11, .12); }
.intern-karte h1 { margin: 0 0 8px; font-size: 1.75rem; }
.intern-karte h2 { margin: 28px 0 8px; font-size: 1.125rem; }
.intern-breit { max-width: 760px; }
.intern-form { display: grid; gap: 14px; margin-top: 16px; }
.intern-form label { display: grid; gap: 4px; font-weight: 500; font-size: .9375rem; }
.intern-form input:not([type=checkbox]) { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(11, 11, 11, .25); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--weiss); }
.intern-form input:focus { outline: 2px solid var(--meerblau); outline-offset: 1px; }
.intern-form .knopf-dunkel { justify-self: start; min-height: 48px; border: 0; font: inherit; cursor: pointer; }
.intern-haken { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; }
.intern-haken input { width: 20px; height: 20px; }
.intern-reihe { grid-template-columns: 1fr auto; align-items: end; }
.intern-klein { color: var(--grau); font-size: .875rem; }
.intern-meldung { max-width: 760px; margin: 0 auto 16px; padding: 12px 16px; border-radius: 12px; background: rgba(62, 142, 88, .14); color: #245C36; }
.intern-meldung.fehler { background: rgba(190, 50, 40, .1); color: #8A2A20; }
.intern-status { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-size: .875rem; color: #4A4A4A; }
.intern-status .ok { color: #2F7A47; font-weight: 500; }
.intern-status .offen { color: #A0522D; font-weight: 500; }
.intern-reinigung { margin: 0; }
.intern-mehr { margin-top: 24px; text-align: center; }
.intern-tabelle { display: grid; gap: 8px; margin-top: 12px; }
.intern-zeile { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(11, 11, 11, .04); }
.intern-zeile > div { flex: 1 1 220px; }
.intern-zeile form { margin: 0; }
.intern-klein-knopf { padding: 6px 12px; border: 1px solid rgba(11, 11, 11, .25); border-radius: 999px; background: var(--weiss); font: inherit; font-size: .8125rem; cursor: pointer; }
.intern-klein-knopf:hover { background: rgba(11, 11, 11, .06); }
@media (max-width: 560px) {
  .intern-karte { margin: 24px 16px; padding: 22px 18px; }
  .intern-reihe { grid-template-columns: 1fr; }
}

/* Statistik-Dashboard (nur Chef) */
.stat-seite { max-width: 1080px; margin: 0 auto; padding: 32px 16px 48px; }
.stat-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.stat-kopf h1 { margin: 0; font-size: 1.75rem; }
.stat-ampel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 600; background: rgba(11, 11, 11, .05); }
.stat-ampel .punkt { width: 12px; height: 12px; border-radius: 50%; }
.ampel-gruen .punkt { background: #2F9E57; } .ampel-gelb .punkt { background: #E0A100; } .ampel-rot .punkt { background: #C23B2E; }
.stat-fazit { margin: 12px 0 24px; padding: 14px 18px; border-left: 4px solid var(--meerblau); border-radius: 12px; background: rgba(30, 127, 184, .07); }
.stat-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-kachel, .stat-box { padding: 18px 20px; border-radius: var(--rund); background: rgba(255, 255, 255, .92); box-shadow: 0 8px 26px rgba(11, 11, 11, .08); }
.stat-kachel { display: grid; gap: 2px; align-content: start; }
.stat-kachel strong { font-size: 2rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--grau); }
.stat-erkl { margin-top: 6px; font-size: .8125rem; color: var(--grau); }
.stat-trend { font-size: .875rem; font-weight: 600; } .stat-trend.hoch { color: #2F7A47; } .stat-trend.runter { color: #B23A2C; } .stat-trend.gleich { color: var(--grau); }
.stat-box { margin-bottom: 18px; } .stat-box h2 { margin: 0 0 12px; font-size: 1.125rem; }
.stat-box ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.stat-gruen { border-top: 4px solid #2F9E57; } .stat-rot { border-top: 4px solid #D9822B; } .stat-blau { border-top: 4px solid var(--meerblau); }
.stat-drei { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.stat-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.stat-drei .stat-box, .stat-zwei .stat-box { margin-bottom: 0; } .stat-drei, .stat-zwei { margin-bottom: 18px; }
.stat-aufgaben { list-style: none; padding: 0 !important; } .stat-aufgaben li { display: flex; gap: 10px; align-items: baseline; }
.stat-tag { flex: none; padding: 1px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.tag-offen { background: rgba(224, 161, 0, .18); color: #7A5600; } .tag-laeuft { background: rgba(30, 127, 184, .14); color: #135A84; } .tag-erledigt { background: rgba(47, 158, 87, .15); color: #23683C; }
.stat-legende { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--grau); margin-bottom: 8px; }
.stat-legende span { width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; } .l-imp { background: var(--meerblau-hell); opacity: .55; } .l-kl { background: var(--meerblau); }
.stat-diagramm { width: 100%; height: auto; display: block; } .stat-diagramm text { font-size: 11px; fill: var(--grau); }
.b-imp { fill: var(--meerblau-hell); opacity: .55; } .b-kl { fill: var(--meerblau); } .achse { stroke: rgba(11, 11, 11, .2); }
.stat-liste { display: grid; gap: 6px; } .stat-zeile { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(11, 11, 11, .04); }
.stat-tab-kopf, .stat-tab-zeile { display: grid; grid-template-columns: 1fr 56px 56px; gap: 8px; padding: 7px 4px; font-variant-numeric: tabular-nums; }
.stat-tab-kopf { font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--grau); }
.stat-tab-zeile { border-top: 1px solid rgba(11, 11, 11, .07); font-size: .9375rem; } .stat-tab-zeile span:not(.stat-name), .stat-tab-kopf span:not(:first-child) { text-align: right; }
.stat-name { position: relative; overflow-wrap: anywhere; } .stat-mini { display: block; width: 100%; height: 4px; margin-top: 4px; } .stat-mini rect { fill: var(--meerblau-hell); opacity: .6; }
.stat-balken { display: block; width: 100%; height: 14px; } .stat-balken .hg { fill: rgba(11, 11, 11, .08); } .stat-balken .vg { fill: #2F9E57; }
.stat-fuss { text-align: center; }
@media (max-width: 560px) { .stat-zwei { grid-template-columns: 1fr; } .stat-kachel strong { font-size: 1.625rem; } }
/* Kurtaxe ansehen + drucken, Gästemappe */
.intern-daten { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .9375rem; }
.intern-daten th, .intern-daten td { padding: 8px 10px; border-bottom: 1px solid rgba(11, 11, 11, .12); text-align: left; vertical-align: top; }
.intern-daten th { width: 38%; color: #4A4A4A; font-weight: 500; }
.intern-liste th { width: auto; }
.intern-liste { display: block; overflow-x: auto; }
.intern-abschnitt { margin-top: 48px; text-align: center; }
.intern-kontakt { margin-top: 24px; }
.gast-kurtaxe { display: inline-block; margin-top: 10px; font-size: .875rem; font-weight: 500; }
@media print {
  .kopf, .nicht-drucken, .intern-nav { display: none !important; }
  body, .intern-karte { background: #fff !important; box-shadow: none !important; }
  .intern-karte { max-width: none; margin: 0; padding: 0; }
  .intern-daten a { color: #000; text-decoration: none; }
}

/* ===== Team-Funktionen (17.11.2026, Vorlage vf-ostmitte-Login) ===== */
/* Schriftgröße (7 Stufen), Fett, Kontrast, Ruhig */
html.gs-1 { font-size: 82%; } html.gs-2 { font-size: 88%; } html.gs-3 { font-size: 94%; }
html.gs-5 { font-size: 108%; } html.gs-6 { font-size: 117%; } html.gs-7 { font-size: 128%; }
.seite-intern { font-size: 1rem; }
html.fett body { font-weight: 500; } html.fett :is(b, strong, h1, h2, h3) { font-weight: 800; }
html.kontrast { --grau: #2E2E2E; } html.kontrast .intern-klein, html.kontrast .gast-zeit span { color: #222; }
html.ruhig *, html.ruhig *::before, html.ruhig *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

/* Passwort anzeigen mit der Schnippsl-Figur */
.pw-feld { position: relative; display: block; min-width: 0; }
.pw-feld input { padding-right: 54px !important; }
.pw-auge { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; opacity: .55; }
.pw-auge img { width: 22px; height: auto; display: block; filter: grayscale(1); transition: transform .2s; }
.pw-auge:hover { opacity: .85; }
.pw-auge.an { opacity: 1; background: rgba(30, 127, 184, .12); }
.pw-auge.an img { transform: scale(1.12) rotate(-8deg); filter: none; }

/* Navigation + Konto-Menü oben rechts */
.intern-nav .konto-zahl, .schnell .konto-zahl { margin-left: 4px; }
.konto { position: relative; margin-left: 4px; }
.konto > summary { list-style: none; position: relative; display: block; width: 44px; height: 44px; padding: 2px; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, var(--meerblau), var(--lila-hell)); }
.konto > summary::-webkit-details-marker { display: none; }
.konto > summary img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--schwarz); background: #333; }
.konto-punkt { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #3E8E58; border: 2px solid var(--schwarz); }
.konto-zahl-bild { position: absolute; top: -4px; right: -6px; }
.konto-zahl { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 99px; background: #D93025; color: #fff; font-size: .72rem; font-style: normal; font-weight: 600; line-height: 1.5; text-align: center; }
.konto-menue { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(320px, calc(100vw - 24px)); max-height: calc(100dvh - 100px); overflow: auto; padding: 16px; border-radius: 20px; background: #fff; color: var(--schwarz); box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.konto-kopf { display: grid; justify-items: center; gap: 2px; padding: 4px 4px 14px; text-align: center; }
.konto-bild { position: relative; display: inline-block; margin-bottom: 6px; border-radius: 50%; }
.konto-bild img { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pb-stift { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--meerblau); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.konto-kopf small { color: var(--grau); font-size: .82rem; }
.konto-rolle { margin-top: 6px; padding: 2px 12px; border-radius: 99px; background: rgba(30, 127, 184, .12); color: var(--meerblau); font-size: .75rem; font-weight: 600; }
.konto-liste { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid rgba(11, 11, 11, .1); border-bottom: 1px solid rgba(11, 11, 11, .1); }
.konto-liste a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--schwarz); font-weight: 500; font-size: .95rem; text-decoration: none; }
.konto-liste a i { width: 24px; font-style: normal; text-align: center; }
.konto-liste a span { flex: 1; }
.konto-liste a:hover { background: rgba(11, 11, 11, .06); }
.konto-ab { margin: 12px 0 0; } .konto-ab .knopf-dunkel { width: 100%; border: 0; font: inherit; cursor: pointer; }

/* Begrüßung + Schnellzugriff (Startseite) */
.hallo { display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 28px auto 0; padding: 22px 24px; border-radius: var(--rund); color: #fff; background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 45%), linear-gradient(135deg, #12304A, var(--meerblau) 55%, var(--lila)); box-shadow: 0 14px 40px rgba(11, 11, 11, .2); }
.hallo-foto img { display: block; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; padding: 3px; background: conic-gradient(#fff, var(--meerblau-hell), #F6D365, #fff); }
.hallo h1 { margin: 0; font-size: 1.6rem; line-height: 1.2; }
.hallo-name { color: #F6D365; white-space: nowrap; }
.hallo-datum { margin: 0 0 2px; font-size: .85rem; opacity: .8; }
.hallo-info { margin: 6px 0 0; opacity: .9; }
.schnell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; margin: 14px auto 28px; padding: 0 0; }
.schnell a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border-radius: 16px; background: #fff; color: var(--schwarz); font-size: .85rem; font-weight: 500; text-align: center; text-decoration: none; box-shadow: 0 6px 20px rgba(11, 11, 11, .08); }
.schnell a i { font-size: 1.5rem; font-style: normal; }
.schnell .konto-zahl { position: absolute; top: 8px; right: 10px; }
@media (max-width: 800px) { .hallo, .schnell { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 560px) { .hallo { gap: 14px; padding: 18px; } .hallo-foto img { width: 64px; height: 64px; } .hallo h1 { font-size: 1.3rem; } .schnell { grid-template-columns: repeat(2, 1fr); } }

/* Profilbild */
.pb-zeile { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pb-gross { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 20px rgba(11, 11, 11, .15); }
.pb-waehlen { display: inline-block; cursor: pointer; }
.pb-datei { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Personalisieren */
.einst h2 { margin-top: 18px; }
.einst-modi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.einst-modus { position: relative; } .einst-modus input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.einst-modus span { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border: 2px solid rgba(11, 11, 11, .12); border-radius: 16px; font-weight: 500 !important; cursor: pointer; }
.einst-modus i { font-size: 1.5rem; font-style: normal; }
.einst-modus input:checked + span { border-color: var(--meerblau); background: rgba(30, 127, 184, .08); }
.einst-modus input:focus-visible + span { outline: 2px solid var(--meerblau); }
.einst-groesse { display: flex; align-items: center; gap: 12px; }
.einst-groesse input { flex: 1; accent-color: var(--meerblau); min-height: 0 !important; padding: 0 !important; border: 0 !important; }
.einst-groesse .klein { font-size: .8rem; } .einst-groesse .gross { font-size: 1.4rem; }
.einst-schalter { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(11, 11, 11, .08); cursor: pointer; }
.einst-schalter span { display: grid; } .einst-schalter small { color: var(--grau); font-weight: 400; font-size: .85rem; }
.einst-schalter { position: relative; } .einst-schalter input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.einst-schalter i { position: relative; flex: none; width: 50px; height: 30px; border-radius: 99px; background: rgba(11, 11, 11, .2); transition: background .2s; }
.einst-schalter i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: transform .2s; }
.einst-schalter input:checked + i { background: #3E8E58; }
.einst-schalter input:checked + i::after { transform: translateX(20px); }
.einst-schalter input:focus-visible + i { outline: 2px solid var(--meerblau); }
.intern-form select { min-height: 48px; padding: 10px 14px; border: 1px solid rgba(11, 11, 11, .25); border-radius: 12px; font: inherit; background: #fff; }

/* Chat */
.chat { max-width: 1000px; padding: 0; overflow: hidden; }
.chat > .intern-meldung { margin: 12px; }
.chat-raster { display: grid; grid-template-columns: 300px 1fr; min-height: 70vh; }
.chat-liste { padding: 16px 10px; border-right: 1px solid rgba(11, 11, 11, .08); overflow-y: auto; max-height: 78vh; }
.chat-liste h1 { margin: 0 8px 12px; font-size: 1.4rem; }
.chat-eintrag { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 14px; color: var(--schwarz); text-decoration: none; }
.chat-eintrag:hover, .chat-eintrag.aktiv { background: rgba(30, 127, 184, .09); }
.chat-eintrag img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-eintrag img.chat-logo { object-fit: contain; padding: 6px; background: #F1F1F1; }
.chat-eintrag span { flex: 1; min-width: 0; display: grid; }
.chat-eintrag small { overflow: hidden; color: var(--grau); font-size: .82rem; white-space: nowrap; text-overflow: ellipsis; }
.chat-eintrag i { display: grid; justify-items: end; gap: 4px; color: var(--grau); font-size: .72rem; font-style: normal; }
.chat-eintrag.ungelesen b { font-weight: 700; }
.chat-fenster { display: flex; flex-direction: column; min-width: 0; max-height: 78vh; background: rgba(30, 127, 184, .04); }
.chat-kopf { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(11, 11, 11, .08); background: #fff; }
.chat-kopf small { color: var(--grau); }
.chat-zurueck { display: none; text-decoration: none; font-size: 1.3rem; color: var(--schwarz); }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 14px 16px; }
.chat-leer { margin: auto; padding: 40px 20px; color: var(--grau); text-align: center; }
.chat-tag { margin: 10px auto; width: fit-content; padding: 2px 12px; border-radius: 99px; background: rgba(11, 11, 11, .06); color: var(--grau); font-size: .75rem; }
.chat-nachricht { display: flex; align-items: flex-end; gap: 8px; margin: 6px 0; }
.chat-nachricht img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.chat-nachricht.meine { justify-content: flex-end; }
.chat-blase { position: relative; max-width: min(75%, 520px); padding: 8px 12px 6px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 1px 3px rgba(11, 11, 11, .1); }
.meine .chat-blase { border-radius: 16px 16px 4px 16px; background: #D9F0FF; }
.chat-blase b { display: block; color: var(--meerblau); font-size: .8rem; }
.chat-blase p { margin: 0; overflow-wrap: anywhere; }
.chat-blase small { display: block; color: var(--grau); font-size: .7rem; text-align: right; }
.chat-haken.gelesen { color: var(--meerblau); }
.chat-weg { position: absolute; top: -10px; left: -10px; display: none; margin: 0; }
.chat-blase:hover .chat-weg, .chat-blase:focus-within .chat-weg { display: block; }
.chat-weg button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; font-size: .8rem; }
.chat-senden { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid rgba(11, 11, 11, .08); background: #fff; }
.chat-senden textarea { flex: 1; min-height: 44px; max-height: 160px; padding: 10px 14px; border: 1px solid rgba(11, 11, 11, .2); border-radius: 22px; font: inherit; resize: none; }
.chat-senden .knopf-dunkel { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 760px) {
  .chat { margin: 12px; }
  .chat-raster { grid-template-columns: 1fr; }
  .chat-liste { border-right: 0; max-height: none; }
  .chat-offen .chat-liste { display: none; }
  .chat:not(.chat-offen) .chat-fenster { display: none; }
  .chat-fenster { max-height: calc(100dvh - 130px); min-height: calc(100dvh - 130px); }
  .chat-zurueck { display: inline; }
  .chat-weg { display: block; position: static; margin-top: 2px; text-align: right; }
  .chat-weg button { width: 24px; height: 24px; box-shadow: none; background: transparent; }
}

/* Dunkel-Modus (Team) */
html.dunkel body, html.dunkel .inhalt { background: #121216; color: #ECECF1; }
html.dunkel :is(.intern-karte, .konto-menue, .schnell a, .chat-kopf, .chat-senden, .chat-blase) { background: #1F1F26; color: #ECECF1; }
html.dunkel .meine .chat-blase { background: #18435E; }
html.dunkel .chat-fenster { background: #17171C; }
html.dunkel .gast-karte { background: rgba(40, 40, 50, .85); color: #ECECF1; }
html.dunkel .gast-auszeit { background: rgba(40, 60, 42, .85); } html.dunkel .gast-zeitlos { background: rgba(30, 48, 70, .85); }
html.dunkel :is(.intern-klein, .gast-zeit span, .unterseite-text, .chat-eintrag small, .chat-blase small, .konto-kopf small, .einst-schalter small, .gaeste-hinweis) { color: #A9A9B8; }
html.dunkel :is(.konto-liste a, .chat-eintrag, .chat-zurueck, .gast-zeile a, .intern-karte a:not(.knopf-dunkel)) { color: #ECECF1; }
html.dunkel :is(.intern-form input:not([type=checkbox]):not([type=radio]):not([type=range]), .intern-form select, .chat-senden textarea) { background: #2A2A33; color: #fff; border-color: rgba(255, 255, 255, .2); }
html.dunkel .gast-haken { background: rgba(255, 255, 255, .06); color: #ECECF1; border-color: rgba(255, 255, 255, .25); }
html.dunkel .pw-auge img { filter: invert(1) grayscale(1); } html.dunkel .pw-auge.an img { filter: invert(1); }
html.dunkel .einst-modus span { border-color: rgba(255, 255, 255, .15); }
html.dunkel .intern-daten :is(th, td) { border-color: rgba(255, 255, 255, .12); }
html.dunkel .intern-daten th { color: #C9C9D6; }
html.pbz-offen, html.pbz-offen body { overflow:hidden; }
.pbz { position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; background:#000; color:#fff; padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.pbz-kopf { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; padding:12px 16px; }
.pbz-kopf b { white-space:nowrap; }
.pbz-kopf button { font:inherit; font-weight:600; background:none; border:0; color:#fff; padding:10px 4px; cursor:pointer; justify-self:start; white-space:nowrap; }
.pbz-kopf .pbz-ok { justify-self:end; color:#4cc2ff; }
.pbz-feld { position:relative; flex:1; min-height:0; overflow:hidden; touch-action:none; cursor:grab; --d:300px; }
.pbz-feld img { position:absolute; left:50%; top:50%; max-width:none; user-select:none; -webkit-user-select:none; pointer-events:none; }
.pbz-maske { position:absolute; left:50%; top:50%; width:var(--d); height:var(--d); transform:translate(-50%,-50%); border-radius:50%; box-shadow:0 0 0 200vmax rgba(0,0,0,.6); outline:2px solid rgba(255,255,255,.85); outline-offset:-1px; pointer-events:none; }
.pbz-fuss { display:flex; align-items:center; gap:12px; padding:14px 24px 4px; max-width:420px; width:100%; margin:0 auto; }
.pbz-fuss input { flex:1; padding:0; background:none; border:0; accent-color:#fff; }
.pbz-tipp { text-align:center; font-size:.85rem; color:rgba(255,255,255,.7); margin:4px 16px 14px; }

/* Runterziehen = neu laden (intern.js, nur Home-Bildschirm-App) */
.ptr { position:fixed; left:50%; top:calc(env(safe-area-inset-top, 0px) + 6px); z-index:9999; width:40px; height:40px; border-radius:50%; background:#fff; color:#222; box-shadow:0 2px 10px rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; opacity:0; transform:translate(-50%,-50px); pointer-events:none; }
.ptr.zurueck { transition:transform .25s ease, opacity .25s ease; }
.ptr.bereit { background:#222; color:#fff; }
.ptr.laedt span { animation:ptr-dreh .8s linear infinite; }
@keyframes ptr-dreh { to { transform:rotate(360deg); } }

/* Namenswahl Team (17.11.2026) */
.name-wahl { display: grid; gap: 12px; margin: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; background: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.name-wahl legend { padding: 0 6px; font-weight: 700; }
.name-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.name-arten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.name-art { position: relative; } .name-art input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.name-art span { display: grid; gap: 3px; height: 100%; padding: 10px 8px; border: 2px solid rgba(11, 11, 11, .12); border-radius: 14px; text-align: center; cursor: pointer; background: rgba(255, 255, 255, .5); }
.name-art b { font-size: .88rem; } .name-art small { font-size: .78rem; color: #4A5A68; overflow-wrap: anywhere; }
.name-art input:checked + span { border-color: var(--meerblau); background: rgba(30, 127, 184, .1); }
.name-art input:focus-visible + span { outline: 2px solid var(--meerblau); outline-offset: 2px; }
.name-eigen { display: none !important; }
.name-wahl:has(input[value=eigen]:checked) .name-eigen { display: grid !important; }
.i-schritt { display: inline-block; margin: 0 0 8px !important; padding: 4px 12px; border-radius: 99px; background: rgba(30, 127, 184, .12); color: var(--meerblau); font-size: .8rem; font-weight: 700; }
html.dunkel .name-wahl { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
html.dunkel .name-art span { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); } html.dunkel .name-art small { color: rgba(255, 255, 255, .7); }
@media (max-width: 480px) { .name-zwei, .name-arten { grid-template-columns: 1fr; } .name-art span { grid-template-columns: auto 1fr; text-align: left; align-items: baseline; gap: 8px; } }
