/* =========================================
   EINHEITLICHES DARK-THEME
   Zentrale Variablen, passend zum Design von
   index.php. Wird Seite für Seite ausgerollt -
   bereits umgestellte Seiten binden diese
   Variablen in ihren eigenen scoped Regeln ein.
   ========================================= */
:root {
    --hsm-bg-page: #0d131f;
    --hsm-bg-card: #1a2332;
    --hsm-bg-surface: #0f172a;
    --hsm-border: rgba(255, 255, 255, 0.14);
    --hsm-border-soft: rgba(255, 255, 255, 0.08);
    --hsm-text: #ffffff;
    --hsm-text-muted: #94a3b8;
    --hsm-text-dim: #cbd5e1;
    --hsm-accent: #38bdf8;
    --hsm-accent-strong: #2563eb;
    --hsm-gradient: linear-gradient(135deg, #0284c7, #2563eb);
    --hsm-success-bg: rgba(16, 185, 129, 0.2);
    --hsm-success-text: #34d399;
    --hsm-success-border: #10b981;
    --hsm-danger-bg: rgba(239, 68, 68, 0.25);
    --hsm-danger-text: #f87171;
    --hsm-danger-border: #ef4444;
    --hsm-warning-bg: rgba(234, 179, 8, 0.15);
    --hsm-warning-text: #fde047;
    --hsm-warning-border: #eab308;
}

/* Einheitliche Seiten-Kopfzeile (Vorbild: index.php) */
.header-bar {
    background-color: #1e293b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    margin-bottom: 24px;
}
.header-bar h1 {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 700;
}

/* =========================================
   HAUPTMENÜ (menu.php) DESIGN
   ========================================= */
.main-menu-wrapper {
    /* Der Breakout-Trick zwingt das Menü auf 96% der echten Bildschirmbreite */
    width: 96vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #343a40;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
    z-index: 1000;
}
.main-menu-links { display: flex; gap: 15px; flex-wrap: wrap; }
.main-menu-links a { text-decoration: none; font-weight: bold; padding: 5px 10px; border-radius: 4px; transition: background 0.2s; }
.menu-link-std { color: white; background: rgba(255,255,255,0.1); }
.menu-link-std:hover { background: rgba(255,255,255,0.2); }
.menu-link-admin { color: #ffc107; background: rgba(255,193,7,0.1); }
.menu-link-admin:hover { background: rgba(255,193,7,0.2); }
.menu-link-logout { color: #dc3545; background: rgba(220,53,69,0.1); }
.menu-link-logout:hover { background: rgba(220,53,69,0.2); }
.menu-timer { font-weight: bold; color: #ffc107; background: rgba(0,0,0,0.3); padding: 5px 10px; border-radius: 4px; }

/* =========================================
   EINSATZPLANUNG (einsatzplanung.php) DESIGN
   ========================================= */
body { font-family: Arial, sans-serif; padding: 20px; margin: 0; background-color: #f4f4f9; color: #333; }
.box { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 25px; }
h1, h2, h3 { color: #333; margin-top: 0; }
.erfolg { background-color: #d4edda; color: #155724; padding: 12px; border-radius: 5px; margin-bottom: 20px; font-weight: bold; border-left: 4px solid #28a745; }
.fehler { background-color: #f8d7da; color: #721c24; padding: 12px; border-radius: 5px; margin-bottom: 20px; font-weight: bold; border-left: 4px solid #dc3545; }
label { font-weight: bold; display: block; margin-top: 15px; margin-bottom: 5px; }
input[type="text"], input[type="date"], select, button.btn-gross { width: 100%; padding: 10px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }
button.btn-gross { background-color: #007BFF; color: white; border: none; font-weight: bold; cursor: pointer; margin-top: 15px; }
button.btn-gross:hover { background-color: #0056b3; }
.search-container { position: relative; }
.autocomplete-items { position: absolute; border: 1px solid #d4d4d4; z-index: 99; top: 100%; left: 0; right: 0; background-color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); max-height: 250px; overflow-y: auto; }
.autocomplete-items div { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
.autocomplete-items div:hover { background-color: #f1f1f1; }
.week-nav { display: flex; justify-content: space-between; align-items: center; background: #343a40; color: white; padding: 15px 20px; border-radius: 8px; margin-bottom: 30px; }
.week-nav a { color: white; text-decoration: none; font-weight: bold; background: rgba(255,255,255,0.2); padding: 8px 15px; border-radius: 4px; }
.board-container { background: white; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-top: 5px solid #28a745; overflow: hidden; }
.board-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding: 15px 20px; background-color: #fcfcfc; cursor: pointer; }
.board-header h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.toggle-icon { font-size: 1.2em; }
.board-content { padding: 20px; }
.kanban-scroll { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; min-height: 150px; }
.kanban-column { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; min-width: 340px; max-width: 340px; display: flex; flex-direction: column; position: relative; }
.column-ueberfaellig { background: #fff5f5; border-color: #ffc107; }
.column-header { padding: 12px; background: #e9ecef; border-bottom: 1px solid #ddd; border-radius: 6px 6px 0 0; text-align: center; }
.column-ueberfaellig .column-header { background: #dc3545; color: white; border-color: #dc3545; }
.column-header h4 { margin: 0 0 5px 0; font-size: 1.1em; }
.kanban-dropzone { padding: 10px; flex-grow: 1; display: flex; flex-direction: column; gap: 10px; min-height: 100px; transition: background-color 0.2s; }
.dropzone-locked { background-color: #e9ecef !important; opacity: 0.8; }

.task-card { 
    background: white; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    padding: 12px 12px 12px 35px; 
    position: relative; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    height: auto; 
}
.task-verschoben { background-color: #ffe6e6 !important; border-color: #dc3545 !important; }
.aufgabe-ueberfaellig { background-color: #f8d7da !important; border-left: 5px solid #dc3545 !important; }
.drag-handle { position: absolute; left: 0; top: 0; bottom: 0; width: 25px; background: #f1f3f5; border-radius: 6px 0 0 6px; border-right: 1px solid #ddd; display: flex; align-items: center; justify-content: center; cursor: grab; color: #adb5bd; }
.task-title { font-weight: bold; font-size: 1em; margin: 0; color: #007BFF; white-space: normal; }
.task-verschoben .task-title { color: #dc3545; }
.task-address { font-size: 0.85em; color: #444; line-height: 1.4; white-space: normal; }

.status-badge { padding: 4px 8px; border-radius: 4px; font-size: 0.8em; font-weight: bold; border: none; cursor: pointer; }
.status-geplant { background-color: #ffc107; color: #333; }
.status-freigegeben { background-color: #28a745; color: white; }
.btn-mass-action { padding: 4px; font-size: 0.8em; font-weight: bold; border-radius: 4px; border: none; cursor: pointer; width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.btn-mass-green { background: #28a745; color: white; }
.btn-mass-yellow { background: #ffc107; color: #333; }
.btn-mass-gray { background: #6c757d; color: white; }
.btn-mass-blue { background: #007BFF; color: white; margin-top: 5px; }
.action-row { display: flex; gap: 5px; justify-content: space-between; margin-top: 5px; }
.action-row button { padding: 5px 8px; font-size: 0.8em; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; flex: 1; }
.btn-done { background: #28a745; color: white; }
.btn-skip { background: #dc3545; color: white; }
.card-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; }
.card-actions a, .card-actions button { font-size: 0.85em; background: none; border: none; cursor: pointer; padding: 0; }
.pool-box { border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 25px; overflow: hidden; background: #fff; }
.pool-unassigned-header { background-color: #fffdf5; border-left: 6px solid #ffc107; }
.pool-unassigned-header h2 { color: #d39e00; }
.pool-assigned-header { background-color: #f0f7ff; border-left: 6px solid #17a2b8; }
.pool-assigned-header h2 { color: #117a8b; }
.inline-select, .inline-date { padding: 6px; border: 1px solid #ccc; font-size: 0.85em; width: 100%; border-radius: 4px; box-sizing: border-box; }
.pool-grid { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: flex-start; gap: 15px; padding: 15px; min-height: 80px; }
.pool-grid .task-card { width: 320px !important; }

/* =========================================
   DRUCK-SEITE (druck_aufgaben.php) DESIGN
   ========================================= */
.druck-wrapper { max-width: 900px; margin: 0 auto; }
.no-print-box { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; border-top: 5px solid #007BFF; }
.btn-search { background-color: #007BFF; color: white; border: none; font-weight: bold; cursor: pointer; margin-top: 15px; width: 100%; padding: 12px; border-radius: 4px; font-size: 16px;}
.btn-search:hover { background-color: #0056b3; }
.btn-print { background-color: #28a745; color: white; border: none; font-weight: bold; cursor: pointer; padding: 15px; font-size: 1.2em; margin-bottom: 20px; width: 100%; border-radius: 4px;}
.btn-print:hover { background-color: #218838; }
.druck-wrapper table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }
.druck-wrapper th, .druck-wrapper td { border: 1px solid #ddd; padding: 12px; text-align: left; vertical-align: top; }
.druck-wrapper th { background-color: #f8f9fa; font-weight: bold; }
.draggable-row { background-color: white; }
.draggable-row.dragging { opacity: 0.5; background-color: #e9ecef; border: 2px dashed #007BFF; }
.drag-handle { cursor: grab; font-size: 1.2em; color: #999; text-align: center; vertical-align: middle; }
.drag-handle:active { cursor: grabbing; }
.stadt-trenner { background-color: #e9ecef; border-top: 3px solid #6c757d; }
.protokoll-box { margin-top: 30px; border: 1px solid #333; padding: 15px; border-radius: 6px; background: #fafafa; }
.protokoll-box h4 { margin: 0 0 10px 0; border-bottom: 1px solid #ccc; padding-bottom: 5px; }
@media print {
    body { background-color: white; margin: 0; padding: 0; }
    .no-print { display: none !important; }
    .druck-wrapper table { width: 100%; border-collapse: collapse; font-size: 11pt; }
    .druck-wrapper th, .druck-wrapper td { border: 1px solid #000; padding: 8px; }
    .druck-wrapper th { background-color: #eee !important; -webkit-print-color-adjust: exact; }
    .print-header { text-align: center; margin-bottom: 20px; }
    .checkbox-print { width: 25px; height: 25px; border: 2px solid #000; display: inline-block; }
    .stadt-trenner { background-color: #d6d8db !important; border-top: 3px solid #000 !important; -webkit-print-color-adjust: exact; }
    .protokoll-box { page-break-inside: avoid; margin-top: 20px; background: white !important; }
    @page { margin: 1cm; }
}

/* =========================================
   MEINE AUFGABEN (meine_aufgaben.php) DESIGN
   ========================================= */
/* HIER IST DIE LÖSUNG: Alles mit .content-wrapper abgeriegelt! */
.content-wrapper { max-width: 600px; margin: 0 auto; padding-top: 20px;}
.content-wrapper .task-list { display: flex; flex-direction: column; gap: 20px; }
.content-wrapper .task-card { background: #1a2332 !important; padding: 20px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15) !important; border-left: 5px solid var(--hsm-accent-strong) !important; }
.content-wrapper .task-header { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 10px; }
.content-wrapper .task-title { font-size: 1.4em; margin: 0 0 5px 0; color: #ffffff !important; }
.content-wrapper .task-meta { color: #94a3b8 !important; font-size: 0.95em; line-height: 1.5; }
.content-wrapper .btn-maps { display: inline-block; padding: 8px 14px; background: #28a745; color: white; text-decoration: none; border-radius: 4px; font-size: 0.9em; font-weight: bold; margin-top: 10px; }
.content-wrapper .btn-maps:hover { background: #218838; }
.content-wrapper label { font-weight: bold; display: block; margin-top: 15px; margin-bottom: 5px; color: #cbd5e1 !important; }
.content-wrapper textarea, .content-wrapper input[type="file"], .content-wrapper input[type="date"], .content-wrapper button { width: 100%; padding: 12px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; margin-bottom: 10px; }
.content-wrapper textarea { resize: vertical; min-height: 80px; }
.content-wrapper .checkbox-container { display: flex; align-items: center; margin-top: 15px; background: #0f172a !important; padding: 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15) !important; }
.content-wrapper .checkbox-container input { width: 25px; height: 25px; margin-right: 15px; cursor: pointer; }
.content-wrapper .checkbox-container label { margin: 0; font-size: 1.1em; cursor: pointer; color: #28a745 !important; font-weight: bold; }
.content-wrapper button { background-color: #007BFF; color: white; border: none; font-weight: bold; cursor: pointer; margin-top: 15px; }
.content-wrapper button:hover { background-color: #0056b3; }
.content-wrapper .mini-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.content-wrapper .mini-gallery img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); }

/* =========================================
   OBJEKTE & AKTEN (ansicht.php) DESIGN
   ========================================= */
.ansicht-wrapper { max-width: 1000px; margin: 0 auto; padding-top: 20px; color: var(--hsm-text); }
.ansicht-wrapper h1, .ansicht-wrapper h2, .ansicht-wrapper h3 { color: var(--hsm-text); }
.ansicht-wrapper .search-container { position: relative; margin-bottom: 30px; background: var(--hsm-bg-card); padding: 20px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border: 1px solid var(--hsm-border); }
.ansicht-wrapper .search-container input[type="text"] { width: 100%; padding: 15px; font-size: 1.1em; border: 2px solid var(--hsm-accent-strong); border-radius: 6px; box-sizing: border-box; background: var(--hsm-bg-surface); color: var(--hsm-text); color-scheme: dark; }
.ansicht-wrapper .stadt-header { background-color: var(--hsm-bg-surface); color: var(--hsm-text); border: 1px solid var(--hsm-border); padding: 10px 20px; border-radius: 6px; margin-top: 40px; margin-bottom: 20px; display: inline-block; font-size: 1.5em; }
.ansicht-wrapper .objekt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ansicht-wrapper .objekt-kachel { background: var(--hsm-bg-card); border: 1px solid var(--hsm-border); border-radius: 12px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border-bottom: 4px solid var(--hsm-accent-strong); transition: transform 0.2s; display: flex; flex-direction: column; overflow: hidden; }
.ansicht-wrapper .objekt-kachel:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(0,0,0,0.45); }
.ansicht-wrapper .objekt-link { padding: 25px; text-decoration: none; color: inherit; flex-grow: 1; display: block; }
.ansicht-wrapper .objekt-link h3 { margin: 0 0 10px 0; font-size: 1.3em; color: var(--hsm-text); }
.ansicht-wrapper .objekt-link p { margin: 0; color: var(--hsm-text-muted); }
.ansicht-wrapper .btn-zurueck { display: inline-block; padding: 10px 15px; background: var(--hsm-bg-surface); border: 1px solid var(--hsm-border); color: var(--hsm-text); text-decoration: none; border-radius: 6px; font-weight: bold; margin-bottom: 20px; }
.ansicht-wrapper .btn-zurueck:hover { background: #1e293b; }
.ansicht-wrapper .btn-maps { display: inline-block; padding: 8px 12px; background: var(--hsm-success-border); color: white; text-decoration: none; border-radius: 6px; font-size: 0.9em; font-weight: bold; margin-top: 10px; }
.ansicht-wrapper .btn-maps:hover { opacity: 0.9; }
.ansicht-wrapper .akte-header { background: var(--hsm-bg-card); padding: 20px; border-radius: 12px; margin-bottom: 25px; border: 1px solid var(--hsm-border); border-left: 5px solid var(--hsm-accent); box-shadow: 0 6px 20px rgba(0,0,0,0.35); color: var(--hsm-text); }
.ansicht-wrapper .akte-notiz { background: var(--hsm-warning-bg); border: 1px solid var(--hsm-warning-border); padding: 10px; border-radius: 6px; margin-top: 15px; color: var(--hsm-warning-text); font-size: 0.95em; }
.ansicht-wrapper .eintrag-card { background: var(--hsm-bg-card); padding: 20px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border: 1px solid var(--hsm-border); border-left: 4px solid var(--hsm-success-border); color: var(--hsm-text); }
.ansicht-wrapper .eintrag-header { border-bottom: 1px solid var(--hsm-border-soft); padding-bottom: 10px; margin-bottom: 12px; }
.ansicht-wrapper .eintrag-titel { font-size: 1.2em; font-weight: bold; margin: 0; color: var(--hsm-text); }
.ansicht-wrapper .eintrag-meta { font-size: 0.85em; color: var(--hsm-text-muted); margin-top: 5px; }
.ansicht-wrapper .eintrag-notiz { background: var(--hsm-bg-surface); padding: 10px; border-radius: 6px; font-size: 0.95em; margin-top: 10px; color: var(--hsm-text-dim); }
.ansicht-wrapper .galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 15px; }
.ansicht-wrapper .galerie img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; border: 1px solid var(--hsm-border); }
.ansicht-wrapper .freie-fotos { background: var(--hsm-bg-card); padding: 20px; border-radius: 12px; margin-top: 40px; border: 1px solid var(--hsm-border); border-top: 4px solid var(--hsm-accent); box-shadow: 0 6px 20px rgba(0,0,0,0.35); color: var(--hsm-text); }

/* =========================================
   ADMIN ZENTRALE (admin.php) DESIGN
   ========================================= */
.admin-wrapper { width: 96%; max-width: 1900px; margin: 0 auto; padding-top: 20px; box-sizing: border-box; color: var(--hsm-text); }
.admin-wrapper h1, .admin-wrapper h2, .admin-wrapper h3 { color: var(--hsm-text); }
.admin-wrapper .box { background: var(--hsm-bg-card); padding: 25px; border-radius: 0 12px 12px 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); margin-bottom: 30px; border: 1px solid var(--hsm-border); }
.admin-wrapper .tab-nav { display: flex; border-bottom: 3px solid var(--hsm-accent-strong); margin-bottom: 0; flex-wrap: wrap; }
.admin-wrapper .tab-link { padding: 12px 25px; text-decoration: none; color: var(--hsm-text-muted); font-weight: bold; border-radius: 8px 8px 0 0; margin-right: 5px; background-color: var(--hsm-bg-surface); transition: 0.2s; }
.admin-wrapper .tab-link:hover { background-color: #1e293b; color: var(--hsm-text); }
.admin-wrapper .tab-link.active { background: var(--hsm-gradient); color: white; margin-bottom: -3px; }
.admin-wrapper table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.admin-wrapper th, .admin-wrapper td { border: 1px solid var(--hsm-border); padding: 12px; text-align: left; vertical-align: middle; color: var(--hsm-text); }
.admin-wrapper th { background-color: var(--hsm-bg-surface); color: var(--hsm-text-muted); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.4px; }
.admin-wrapper tr:hover td { background-color: rgba(255,255,255,0.03); }
.admin-wrapper input[type="text"], .admin-wrapper input[type="password"], .admin-wrapper select { padding: 10px; border: 1px solid var(--hsm-border); border-radius: 6px; box-sizing: border-box; background: var(--hsm-bg-surface); color: var(--hsm-text); color-scheme: dark; }
.admin-wrapper button { background: var(--hsm-gradient); color: white; border: none; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-weight: bold; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3); }
.admin-wrapper button:hover { opacity: 0.92; }
.admin-wrapper button.btn-rot { background: var(--hsm-danger-border); box-shadow: none; }
.admin-wrapper button.btn-rot:hover { background: #c0392b; }
.admin-wrapper button.btn-gelb { background: var(--hsm-warning-border); color: #1a1a1a; box-shadow: none; }
.admin-wrapper .btn-edit { background: none; border: none; color: var(--hsm-accent); font-size: 1.2em; padding: 0 5px; cursor: pointer; }
.admin-wrapper .btn-edit:hover { opacity: 0.7; background: none; }
.admin-wrapper details { background: var(--hsm-bg-surface); padding: 10px; border-radius: 6px; border: 1px solid var(--hsm-border); margin-top: 10px; color: var(--hsm-text); }
.admin-wrapper summary { font-weight: bold; cursor: pointer; color: var(--hsm-accent); outline: none; }
.admin-wrapper .rechte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 15px; }
.admin-wrapper .rechte-item { background: var(--hsm-bg-surface); padding: 8px; border: 1px solid var(--hsm-border); border-radius: 6px; font-size: 0.9em; display: flex; align-items: flex-start; gap: 8px; color: var(--hsm-text); }
.admin-wrapper .rechte-item input { margin-top: 3px; cursor: pointer; }
.admin-wrapper .edit-form { display: none; align-items: center; gap: 5px; }
.admin-wrapper .admin-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 auto 40px auto; max-width: 72%; }
@media (max-width: 700px) {
    .admin-wrapper .admin-dashboard { grid-template-columns: 1fr; max-width: 100%; }
}
@media (min-width: 701px) and (max-width: 1000px) {
    .admin-wrapper .admin-dashboard { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}
.admin-wrapper .admin-card { background: #1a2332 !important; padding: 30px 20px; border-radius: 14px; text-align: center; text-decoration: none; color: #ffffff !important; box-shadow: 0 8px 25px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15) !important; border-top: 4px solid var(--hsm-accent-strong); transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.admin-wrapper .admin-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); background: #1e293b !important; border-color: rgba(255,255,255,0.35) !important; }
.admin-wrapper .admin-card-icon { font-size: 3rem; margin-bottom: 15px; }
.admin-wrapper .admin-card-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; color: #ffffff !important; }
.admin-wrapper .admin-card-desc { font-size: 0.9rem; color: #cbd5e1 !important; }

/* =========================================
   TAGEBUCH & ARCHIV (archiv.php) DESIGN
   ========================================= */
.archiv-wrapper { max-width: 800px; margin: 0 auto; padding-top: 20px; color: var(--hsm-text); }
.archiv-wrapper h1 { text-align: center; color: var(--hsm-text); }
.archiv-wrapper .archiv-card { background: var(--hsm-bg-card); padding: 20px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border: 1px solid var(--hsm-border); margin-bottom: 20px; border-left: 5px solid #6c757d; color: var(--hsm-text); }
.archiv-wrapper .archiv-header { border-bottom: 1px solid var(--hsm-border-soft); padding-bottom: 8px; margin-bottom: 12px; }
.archiv-wrapper .archiv-title { font-size: 1.25em; margin: 0; color: var(--hsm-text); }
.archiv-wrapper .archiv-meta { font-size: 0.85em; color: var(--hsm-text-muted); margin-top: 4px; line-height: 1.5; }
.archiv-wrapper .bericht-box { background: var(--hsm-bg-surface); padding: 12px; border-radius: 4px; border: 1px dashed var(--hsm-border); margin-top: 15px; font-size: 0.95em; color: var(--hsm-text-dim); }
.archiv-wrapper .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 15px; }
.archiv-wrapper .gallery img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; border: 1px solid var(--hsm-border); }