/*
 * Demo-Installation (APP_DEMO=true, demo.machtool.de): MachTool-Look wie auf machtool.de – Anthrazit und Orange.
 * Wird nur in der Demo nach app.css geladen; ProH2O bleibt unverändert.
 */
:root {
    --bg: #f3f4f6;
    --ink: #1e2329;
    --muted: #6b7280;
    --primary: #1e2329;
    --primary-dark: #0f1215;
    --primary-rgb: 30 35 41;
    --accent: #e8590c;
    --accent-rgb: 232 89 12;
    --border: #e2e5e9;
    --shadow: 0 2px 10px rgba(17, 20, 24, .06);
}

/* Kopfzeile wie die Website: dunkler Verlauf, orange Linie */
.topbar { background: linear-gradient(180deg, #3a3f46 0%, #1e2329 100%); border-bottom: 3px solid var(--accent); }
.brand img { height: 38px; }
.topbar nav a, .topbar nav .btn-link { color: #d1d5db; }
.topbar .nav-soon { color: #8b939e; }

/* Hauptknöpfe orange wie „Gespräch vereinbaren“ auf der Website */
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: #c94c0a; border-color: #c94c0a; }

/* Hinweisleiste der Demo */
.demo-bar { background: #fff4ec; color: #7a2e05; border-bottom: 1px solid #f6c9a8; padding: .45rem 2.6rem; font-size: .88rem; text-align: center; position: relative; }
.demo-bar[hidden] { display: none; }
.demo-bar-close { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.3rem; line-height: 1; color: #7a2e05; cursor: pointer; padding: .1rem .4rem; }
.demo-bar-close:hover { color: var(--accent); }
.demo-bar strong { color: var(--accent); }

/* Einstellungen → Demo */
.demo-guest-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; align-items: end; }
.demo-actions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.demo-actions form { display: inline-flex; gap: .3rem; align-items: center; margin: 0; }
.demo-actions select { width: auto; padding: .25rem .4rem; }
.demo-cred-text { background: #f6f7f9; border: 1px solid var(--border); border-radius: 8px; padding: .7rem .9rem; white-space: pre-wrap; font-size: .95rem; }
.demo-credentials { border-left: 4px solid var(--accent); }

/* Einstellungen → Demo: Sichtbarkeit je Gast */
.demo-vis-details { grid-column: 1 / -1; }
.demo-vis-details > summary { cursor: pointer; font-weight: 600; }
.demo-vis-row { text-align: left; }
.demo-vis-row > summary { display: inline-block; list-style: none; }
.demo-vis-row > summary::-webkit-details-marker { display: none; }
.demo-vis-row[open] { flex-basis: 100%; order: 5; background: #f6f7f9; border: 1px solid var(--border); border-radius: 8px; padding: .6rem .8rem; }
.demo-actions .demo-vis-form { display: block; }
.demo-visibility fieldset { border: 1px solid var(--border); border-radius: 8px; padding: .5rem .8rem .7rem; margin: .6rem 0; }
.demo-visibility legend { font-weight: 600; padding: 0 .3rem; }
.demo-vis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .15rem 1rem; }
.demo-vis-grid .checkbox { margin: .2rem 0; font-weight: normal; }
.demo-vis-cat { margin-top: .5rem; }
.demo-vis-cat > strong { font-size: .88rem; color: var(--muted); }
.demo-vis-quick { margin: .2rem 0 0; font-size: .88rem; }
