:root {
    --color-gold: #FDC500;
    --color-gold-dark: #8A6A00;
    --color-ink: #1C1B18;
    --color-logo-black: #000000;
    --color-cream: #FBF8F1;
    --color-white: #FFFFFF;
    --color-warmgray: #6B6558;
    --color-warmgray-light: #E5E1D6;
    --color-info: #2A5CAA;
    --color-success: #2E7D32;
    --color-success-bg: #E4F1E4;
    --color-warning: #B25C00;
    --color-warning-bg: #FBEBDC;
    --color-error: #C0392B;
    --color-error-bg: #F8E1DE;

    --font-sans: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 6px;
    --shadow-card: 0 1px 3px rgba(28, 27, 24, 0.12), 0 1px 2px rgba(28, 27, 24, 0.08);
}

* {
    box-sizing: border-box;
}

/* Ohne diese Regel gewinnt jede Klasse, die selbst "display" setzt (z.B. .btn), gegen das
   hidden-Attribut, weil Autoren-CSS immer die UA-Standardregel [hidden]{display:none} schlägt,
   sobald die Spezifität gleich ist - Elemente blieben dann sichtbar, obwohl hidden gesetzt war
   (siehe Issue "Buttons für Jährliche Besuche/Besuche aus Personen überall vorhanden"). */
[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--color-cream);
    color: var(--color-ink);
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: var(--color-gold-dark);
}

.app-shell {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.app-sidebar {
    width: 234px;
    flex-shrink: 0;
    background: var(--color-ink);
    color: var(--color-cream);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.app-content {
    flex: 1;
    min-width: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 16px 18px;
}

.sidebar-brand img.logo {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-brand .app-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-gold);
    line-height: 1.25;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 10px;
    flex: 1;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-warmgray-light);
    text-decoration: none;
    font-size: 13.5px;
    padding: 9px 10px;
    border-radius: var(--radius);
}

.app-sidebar svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.sidebar-nav a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-nav a:hover {
    background: rgba(253, 197, 0, 0.10);
    color: var(--color-cream);
}

.sidebar-nav a.active {
    background: rgba(253, 197, 0, 0.16);
    color: var(--color-gold);
    font-weight: 600;
}

.sidebar-nav.sort-mode a {
    cursor: grab;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 2px;
}

.sidebar-nav.sort-mode a .drag-handle {
    display: flex;
    color: var(--color-warmgray);
    flex-shrink: 0;
}

.sidebar-nav.sort-mode a .drag-handle svg {
    width: 14px;
    height: 14px;
    stroke: none;
    fill: currentColor;
}

.sidebar-nav.sort-mode a.dragging {
    opacity: 0.4;
}

.sidebar-nav.sort-mode a.drag-over {
    border-top: 2px solid var(--color-gold);
}

.nav-group-toggle {
    position: relative;
}

.nav-group-toggle .chevron {
    margin-left: auto;
    transition: transform 0.15s;
}

.nav-group-toggle .chevron svg {
    width: 12px;
    height: 12px;
}

.nav-group.open .nav-group-toggle .chevron {
    transform: rotate(90deg);
}

.nav-subitems {
    display: none;
    flex-direction: column;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin: 2px 0 2px 24px;
}

.nav-group.open .nav-subitems {
    display: flex;
}

.nav-subitem {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--color-warmgray-light);
    text-decoration: none;
    font-size: 13px;
    padding: 7px 8px;
    border-radius: var(--radius);
}

.nav-subitem svg {
    width: 15px;
    height: 15px;
}

.nav-subitem:hover {
    background: rgba(253, 197, 0, 0.10);
    color: var(--color-cream);
}

.nav-subitem.active {
    background: rgba(253, 197, 0, 0.16);
    color: var(--color-gold);
    font-weight: 600;
}

.sidebar-footer {
    padding: 12px 14px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer .user-info {
    font-size: 12.5px;
    color: var(--color-warmgray-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.app-sidebar .btn-outline {
    color: var(--color-cream);
    border-color: var(--color-warmgray);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.app-sidebar .btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-logo-black);
    border-color: var(--color-gold);
}

.sidebar-footer .version-tag {
    padding: 8px 0 0 0;
    text-align: left;
}

@media (max-width: 820px) {
    .app-shell {
        flex-direction: column;
    }

    .app-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .sidebar-brand {
        padding: 12px 14px;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 6px 10px 12px 10px;
    }

    .sidebar-footer {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sidebar-footer .user-info {
        margin-bottom: 0;
    }

    .sidebar-footer .btn-outline {
        width: auto;
    }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px;
    margin-bottom: 20px;
}

h1, h2, h3 {
    color: var(--color-ink);
}

.btn {
    display: inline-block;
    border: none;
    border-radius: var(--radius);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-logo-black);
}

.btn-primary:hover {
    background: #E6B300;
}

.btn-secondary {
    background: var(--color-info);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #234B8C;
}

.btn-danger {
    background: var(--color-error);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-ink);
    border: 1px solid var(--color-warmgray-light);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* Zeilen-Menü für Tabellen mit vielen Aktions-Buttons je Zeile (siehe Issue "Besuchsliste -
   Menü in Zeile anstatt viele Buttons"). Das Dropdown selbst ist position:fixed statt absolute,
   damit es nicht vom horizontal scrollbaren Tabellen-Wrapper abgeschnitten wird. */
.row-menu {
    position: relative;
    display: inline-block;
}

.row-menu-toggle {
    padding: 6px 10px;
    line-height: 1;
}

.row-menu-dropdown {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--color-cream);
    border: 1px solid var(--color-warmgray-light);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 8px;
    min-width: 200px;
    z-index: 50;
}

.row-menu-dropdown .btn {
    width: 100%;
    text-align: left;
}

.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-error { background: var(--color-error-bg); color: var(--color-error); }
.badge-gold { background: var(--color-gold); color: var(--color-ink); }

.anwesend-select.anwesend-gruen { background: var(--color-success-bg); color: var(--color-success); border-color: var(--color-success); font-weight: 600; }
.anwesend-select.anwesend-blau { background: #e8edf6; color: #1f3a6b; border-color: #1f3a6b; font-weight: 600; }
.anwesend-select.anwesend-gelb { background: var(--color-warning-bg); color: var(--color-warning); border-color: var(--color-warning); font-weight: 600; }
.anwesend-select.anwesend-rot { background: var(--color-error-bg); color: var(--color-error); border-color: var(--color-error); font-weight: 600; }

.adresse-treffer {
    padding: 13px 16px;
    border-radius: 8px;
    background: var(--color-warning-bg);
    color: var(--color-warning);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    cursor: pointer;
}
.adresse-treffer:hover { filter: brightness(0.96); }
.adresse-treffer-neutral { background: var(--color-warmgray-light); color: var(--color-ink); }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--color-warmgray-light);
    font-size: 14px;
}

th {
    color: var(--color-warmgray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.03em;
}

th.sortable-th {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

th.sortable-th:hover {
    color: var(--color-gold-dark);
}

tbody tr:hover {
    background: #FFF8E1;
}

input, select, textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    padding: 8px 10px;
    border: 1px solid var(--color-warmgray-light);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 1px;
    border-color: var(--color-gold-dark);
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-warmgray);
}

.form-row {
    margin-bottom: 14px;
}

.form-row[hidden] { display: none; }

/* Personen-Formular: zwei Spalten; Textfelder, Adresse und "neue Adresse" über die volle Breite */
.form-2spaltig {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}
.form-2spaltig .form-row:has(textarea),
.form-2spaltig [data-field="id_adresse"],
.form-2spaltig > .form-row:has(#neue-adresse-toggle),
.form-2spaltig #neue-adresse-fields { grid-column: 1 / -1; }
.form-2spaltig #neue-adresse-fields:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-2spaltig { grid-template-columns: 1fr; } }

.alert {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 14px;
}

.alert-error { background: var(--color-error-bg); color: var(--color-error); }
.alert-success { background: var(--color-success-bg); color: var(--color-success); }
.alert-warning { background: var(--color-warning-bg); color: var(--color-warning); }

.version-tag {
    font-size: 11px;
    color: var(--color-warmgray);
    text-align: center;
    padding: 10px;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.login-wrapper img.logo {
    width: 140px;
}

.login-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 28px;
    width: 320px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-tile {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 16px;
    border-left: 4px solid var(--color-gold);
}

.stat-tile .stat-value {
    font-size: 26px;
    font-weight: 700;
}

.stat-tile .stat-label {
    font-size: 12.5px;
    color: var(--color-warmgray);
}

.progress-bar { background: var(--color-warmgray-light); border-radius: 8px; height: 10px; overflow: hidden; }
.progress-bar-fill { background: var(--color-gold); height: 100%; transition: width .3s; }

.such-treffer-liste { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.such-treffer {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px; border-radius: 8px;
    font-size: 16px; font-weight: 600; text-decoration: none;
}
.such-treffer-adresse { background: var(--color-warning-bg); color: var(--color-warning); }
.such-treffer-person { background: var(--color-success-bg); color: var(--color-success); }
.such-treffer-sub { font-weight: 400; font-size: 13.5px; opacity: .8; }

.gebiete-grid {
    display: grid;
    grid-template-columns: repeat(var(--gebiete-spalten, 3), 1fr);
    gap: 10px;
}
.gebiete-grid .card { padding: 12px; margin-bottom: 0; }

/* Gruppeneinteilung: Karte bleibt beim Scrollen stehen, nur die Gebiete-Liste darunter scrollt
   mit der Seite weiter - siehe Issue "Karte soll beim Scrollen stehen bleiben". */
#ergebnis-sticky-bereich {
    position: sticky;
    top: 12px;
    background: var(--color-white);
    z-index: 5;
    padding-top: 2px;
}

.btn-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
}

.btn-icon-only svg {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
    transition: transform 0.15s;
}

.btn-icon-only.eingeklappt svg {
    transform: rotate(0deg);
}

.hilfe-listeneintrag {
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.hilfe-listeneintrag:hover {
    background: var(--color-warmgray-light);
}

.hilfe-listeneintrag.aktiv {
    background: #F5E7C4;
}

#hilfe-inhalt p {
    font-size: 13.5px;
    line-height: 1.55;
}

.verteilung-balken {
    display: flex;
    align-items: stretch;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-warmgray-light);
}

.verteilung-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.verteilung-segment:last-child {
    border-right: none;
}

.form-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(28, 27, 24, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}

/* Eingebettet (Bearbeitung aus einer Liste): Seite ausblenden, nur das Formular über transparentem Grund zeigen. */
html.eingebettet, html.eingebettet body { background: transparent; }
html.eingebettet .app-shell { visibility: hidden; }
html.eingebettet .form-overlay:not(#form-overlay) { display: none; }

/* Bearbeitungsformular liegt über der Detailansicht, damit man beim Bearbeiten verknüpfter Datensätze im Datensatz bleibt. */
#form-overlay {
    z-index: 110;
}

.form-overlay[hidden] {
    display: none;
}

.detail-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px 20px;
    margin-bottom: 10px;
}

.detail-field-grid .field-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-warmgray);
    margin-bottom: 2px;
}

.detail-field-grid .field-value {
    font-size: 14px;
    word-break: break-word;
}

.detail-card {
    width: 100%;
    max-width: 1180px;
}

.detail-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.detail-main {
    flex: 1 1 380px;
    min-width: 0;
}

.detail-side {
    flex: 1 1 420px;
    min-width: 0;
    max-height: 72vh;
    overflow-y: auto;
    padding-left: 24px;
    border-left: 1px solid var(--color-warmgray-light);
}

@media (max-width: 900px) {
    .detail-layout {
        flex-direction: column;
    }

    .detail-side {
        max-height: none;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-warmgray-light);
        padding-top: 12px;
        width: 100%;
    }
}

.relation-block {
    margin-top: 18px;
    border-top: 1px solid var(--color-warmgray-light);
    padding-top: 12px;
}

.relation-block:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.relation-block h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.relation-block table tbody tr {
    cursor: pointer;
}

.detail-map {
    margin-top: 14px;
}

.map-canvas {
    width: 100%;
    height: 260px;
    border-radius: var(--radius);
    border: 1px solid var(--color-warmgray-light);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}


/* Durchsuchbare Auswahl (combobox.js) und Straßen-Vorschläge */
.combobox { position: relative; }
.combobox-input { padding-right: 32px; }
.combobox-clear {
    position: absolute; right: 6px; top: 6px; border: 0; background: transparent;
    font-size: 20px; line-height: 1; cursor: pointer; color: var(--color-warmgray); padding: 2px 6px;
}
.combobox-list {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 80; margin-top: 2px;
    background: #fff; border: 1px solid var(--color-warmgray-light); border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); max-height: 260px; overflow-y: auto;
}
.combobox-list[hidden] { display: none; }
.combobox-item { padding: 8px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.combobox-item.active, .combobox-item:hover { background: var(--color-gold); color: var(--color-ink); }
.combobox-empty, .combobox-hinweis { padding: 8px 12px; color: var(--color-warmgray); font-size: 12.5px; }
.combobox-quelle { color: var(--color-warmgray); font-size: 11px; align-self: center; }

/* Personen-Symbol in Listen (Spalte "Personen" der Adressliste) */
.badge-personen { white-space: nowrap; background: var(--color-cream); color: var(--color-ink); border: 1px solid var(--color-warmgray-light); }
.badge-personen.leer { opacity: 0.55; }

/* Schnelleingabe-Wizard (wizard.js) */
.wizard-card { width: 100%; max-width: 620px; }
.wizard-steps { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; flex-wrap: wrap; }
.wizard-steps li {
    flex: 1 1 0; min-width: 90px; text-align: center; padding: 6px 4px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; background: var(--color-cream); color: var(--color-warmgray);
}
.wizard-steps li.aktiv { background: var(--color-gold); color: var(--color-ink); }
.wizard-steps li.fertig { background: var(--color-success-bg); color: var(--color-success); }
.wizard-personen { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.wizard-personen label { display: flex; gap: 8px; align-items: center; font-weight: normal; }
.wizard-personen input[type="radio"] { width: auto; }
.wizard-summary { background: var(--color-cream); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 10px; }
.wizard-summary dt { font-weight: 600; font-size: 12.5px; color: var(--color-warmgray); margin-top: 6px; }
.wizard-summary dd { margin: 0; }

/* Aktionen-Spalte (3-Strich-Menü) bleibt beim seitlichen Scrollen breiter Listen am rechten Rand sichtbar. */
#entity-table th:last-child,
#entity-table td:last-child {
    position: sticky;
    right: 0;
    background: #fff;
    box-shadow: -6px 0 6px -6px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Die fixierte Spalte darf das geöffnete Zeilenmenü der darüberliegenden Zeilen nicht überdecken. */
#entity-table td:last-child:has(.row-menu-dropdown:not([hidden])) {
    z-index: 5;
}

/* Fixierter Listenkopf: Die Tabelle scrollt in einem Rahmen begrenzter Höhe, Titelzeile mit Knöpfen und Spaltenköpfe bleiben stehen.
   --liste-offset = Platz über dem Rahmen (Kopfzeile, Filter, Hinweise); bei Seiten mit mehr Kopfbereich größer setzen. */
.liste-scroll {
    overflow: auto;
    max-height: calc(100vh - var(--liste-offset, 240px));
    min-height: 220px;
}
.liste-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 0 1px 0 var(--color-warmgray-light);
}
/* Schnittpunkt aus fixierter Kopfzeile und fixierter Aktionen-Spalte liegt über beiden. */
#entity-table thead th:last-child { top: 0; z-index: 6; }
/* Titelzeile mit den Knöpfen (und die Auswahlleiste) bleibt beim Scrollen der Seite sichtbar. */
main.main-breit .card > .toolbar:first-child {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Listenansichten (entity.html) nutzen die volle Fensterbreite statt der festen 1200px. */
main.main-breit {
    max-width: none;
    padding: 20px 16px;
}

/* Einstellungsseite: Blöcke in zwei Spalten (bei schmalem Fenster eine Spalte), Blöcke werden nicht getrennt. */
.einstellungen-spalten { columns: 2 460px; column-gap: 20px; }
.einstellungen-spalten > .card { break-inside: avoid; margin-bottom: 20px; max-width: none; }

/* Startseite: Auswahl der Anwendung nach der Anmeldung */
.auswahl-kachel {
    display: block; padding: 14px 16px; margin-bottom: 10px; border: 2px solid var(--color-warmgray-light); border-radius: var(--radius);
    background: #fff; color: var(--color-ink); text-decoration: none;
}
.auswahl-kachel strong { display: block; font-size: 17px; }
.auswahl-kachel span { display: block; font-size: 13px; color: var(--color-warmgray); margin-top: 2px; }
.auswahl-kachel:hover, .auswahl-kachel.zuletzt { border-color: var(--color-gold); background: var(--color-cream); }
.auswahl-kachel[hidden] { display: none; }

/* Druck-Seite: Tabreiter */
.druck-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--color-warmgray-light); margin-bottom: 18px; flex-wrap: wrap; }
.druck-tab {
    background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 18px;
    font: inherit; font-weight: 600; color: var(--color-warmgray); cursor: pointer;
}
.druck-tab:hover { color: var(--color-ink); }
.druck-tab.aktiv { color: var(--color-ink); border-bottom-color: var(--color-gold, #fdc500); }
.druck-panel[hidden] { display: none; }

.druck-tab.drop-ziel { background: var(--color-gold); color: var(--color-ink); border-radius: 6px 6px 0 0; }
