/* theme.css — Firmen-Designs von Eisstübchen OS (07.11.2026)
 *
 * Wird nach style.css und eis.css geladen. Das Design hängt an der Firma
 * (Einstellung ui_design) und wird per Klasse am <body> gesetzt:
 *   body.theme-eis    Eisstübchen Gehrden — Farben der Website: Himmelblau,
 *                     Tiefblau, Creme, Erdbeer-Rosa, Waffel-Beige; Poppins.
 *   body.theme-media  Media-Firma — futuristisch: tiefes Nachtblau, Glas,
 *                     Violett→Cyan-Verlauf; Space Grotesk + Inter. Immer dunkel.
 * Ohne Klasse bleibt das bisherige Uniqinvoice-Design.
 */
@import url('/fonts/fonts.css');

/* ═══════════════════════════════════════════════════════════════════════════
   EISSTÜBCHEN
   ═══════════════════════════════════════════════════════════════════════════ */
body.theme-eis {
  --eis-himmel: #7fb0d0;
  --eis-himmel-hell: #b9d6e8;
  --eis-tiefblau: #3b7299;
  --eis-nacht: #234a66;
  --eis-creme: #fbf6eb;
  --eis-erdbeere: #e3a6ad;
  --eis-erdbeere-tief: #c9737d;
  --eis-waffel: #d8b793;
  --eis-pistazie: #b8d4a8;

  --primary: #3b7299;
  --primary-dark: #2c5878;
  --primary-light: #e2eef6;
  --sidebar-bg: linear-gradient(180deg, #cfe3f0 0%, #b9d6e8 55%, #a9cbe1 100%);
  --sidebar-text: #24506f;
  --sidebar-hover: rgba(255,255,255,.45);
  --sidebar-active: #3b7299;
  --sidebar-border: rgba(35,74,102,.12);
  --sidebar-text-strong: #14334a;
  --sidebar-text-muted: #4f7895;
  --sidebar-brand-bg: transparent;
  --bg: #fbf6eb;
  --card: #fffdf9;
  --border: #ece2cf;
  --text: #141414;
  --text-2: #5d5549;
  --text-3: #857a6b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(41,23,13,.04), 0 4px 14px rgba(41,23,13,.05);
  --shadow-md: 0 10px 28px rgba(41,23,13,.10);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px;
}
body.theme-eis.dark-mode {
  --primary: #7fb0d0;
  --primary-dark: #a5cbe3;
  --primary-light: #1d3a52;
  --sidebar-bg: linear-gradient(180deg, #102536 0%, #0c1c2a 100%);
  --sidebar-text: #a9c6da;
  --sidebar-hover: rgba(127,176,208,.12);
  --sidebar-active: #7fb0d0;
  --sidebar-border: rgba(127,176,208,.14);
  --sidebar-text-strong: #f4ecdc;
  --sidebar-text-muted: #6f91a8;
  --bg: #0e1b27;
  --card: #152735;
  --border: #233c50;
  --text: #f6efe0;
  --text-2: #b9c4cc;
  --text-3: #8899a6;
  --shadow: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 10px 28px rgba(0,0,0,.45);
}

body.theme-eis button, body.theme-eis input, body.theme-eis select, body.theme-eis textarea,
body.theme-media button, body.theme-media input, body.theme-media select, body.theme-media textarea { font-family: inherit; }

/* Seitenleiste */
body.theme-eis #sidebar { background: var(--sidebar-bg); border-right: 1px solid var(--sidebar-border); }
body.theme-eis .brand {
  border-bottom: 0; padding: 18px 16px 10px; gap: 12px;
  font-weight: 800; font-size: 15px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.1;
}
body.theme-eis .brand .brand-logo { width: 46px; height: 46px; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(35,74,102,.18)); }
body.theme-eis .brand-text small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--sidebar-text-muted); text-transform: uppercase; margin-top: 2px; }
body.theme-eis .nav-group-label { font-weight: 700; letter-spacing: .14em; color: var(--sidebar-text-muted); padding: 16px 20px 6px; }
body.theme-eis .nav-link { border-radius: 999px; margin: 2px 10px; padding: 9px 14px; font-weight: 500; transition: background .18s, color .18s, transform .18s; }
body.theme-eis .nav-link:hover { transform: translateX(2px); }
body.theme-eis .nav-link.active {
  background: #fff; color: var(--eis-tiefblau); font-weight: 600;
  box-shadow: 0 4px 14px rgba(35,74,102,.16);
}
body.theme-eis .nav-link.active svg { color: var(--eis-erdbeere-tief); }
body.theme-eis.dark-mode .nav-link.active { background: var(--eis-himmel); color: #0c1c2a; box-shadow: 0 4px 18px rgba(127,176,208,.25); }
body.theme-eis.dark-mode .nav-link.active svg { color: #0c1c2a; }
body.theme-eis .firmen-umschalter { border-bottom: 0; }
body.theme-eis .firma-wahl-rahmen { border-radius: 999px; border-color: transparent; background: rgba(255,255,255,.7); padding: 0 12px; }
body.theme-eis.dark-mode .firma-wahl-rahmen { background: rgba(255,255,255,.06); }
body.theme-eis .sidebar-user-avatar { background: var(--eis-erdbeere); color: #4a1f25; }

/* Kopfzeilen: kräftig wie auf der Website, mit Wellenlinie */
body.theme-eis .page-header { margin-bottom: 26px; align-items: flex-end; }
body.theme-eis .page-header h1 {
  font-size: 28px; font-weight: 800; letter-spacing: -.015em; text-transform: uppercase; line-height: 1.05;
  padding-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M2 6 C 14 1, 22 1, 32 5 S 52 9, 62 5 S 82 1, 92 5 S 110 8, 118 4' fill='none' stroke='%23e3a6ad' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 120px 10px no-repeat;
}
body.theme-eis h2, body.theme-eis h3, body.theme-eis .modal-title { font-weight: 700; letter-spacing: -.01em; }

/* Karten, Kacheln, Tabellen */
body.theme-eis .card, body.theme-eis .stat-card, body.theme-eis .table-wrap, body.theme-eis .eis-karte { border-radius: var(--radius); }
body.theme-eis .stat-card { position: relative; overflow: hidden; }
body.theme-eis .stat-card::after {
  content: ''; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--eis-himmel-hell); opacity: .35; pointer-events: none;
}
body.theme-eis .stats-grid > .stat-card:nth-child(4n+2)::after { background: var(--eis-erdbeere); }
body.theme-eis .stats-grid > .stat-card:nth-child(4n+3)::after { background: var(--eis-pistazie); }
body.theme-eis .stats-grid > .stat-card:nth-child(4n+4)::after { background: var(--eis-waffel); }
body.theme-eis .stat-label { font-weight: 600; letter-spacing: .1em; font-size: 11px; }
body.theme-eis .stat-value { font-weight: 800; letter-spacing: -.02em; }
body.theme-eis .stat-card.highlight { border-left: 0; box-shadow: inset 4px 0 0 var(--eis-erdbeere), var(--shadow); }
body.theme-eis .dashboard-greeting {
  border-radius: 22px; padding: 22px 26px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 30%, rgba(255,255,255,.95) 0 26px, transparent 27px),
    radial-gradient(circle at 80% 62%, var(--eis-erdbeere) 0 30px, transparent 31px),
    radial-gradient(circle at 94% 70%, var(--eis-pistazie) 0 28px, transparent 29px),
    linear-gradient(135deg, #8fbbd8 0%, #6fa3c6 100%);
  box-shadow: 0 10px 30px rgba(59,114,153,.25);
}
body.theme-eis .dashboard-greeting-text { font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(35,74,102,.25); }
body.theme-eis .data-table th { background: #f6efe1; color: var(--eis-nacht); font-weight: 700; letter-spacing: .09em; }
body.theme-eis .data-table tbody tr:hover, body.theme-eis .data-table tr:hover td { background: #fdf4e6; }
body.theme-eis .data-table thead .col-aktionen { background: #f6efe1; }
body.theme-eis.dark-mode .data-table th, body.theme-eis.dark-mode .data-table thead .col-aktionen { background: #12212d; color: var(--eis-himmel); }
body.theme-eis.dark-mode .data-table tbody tr:hover, body.theme-eis.dark-mode .data-table tr:hover td { background: #1a3043; }
body.theme-eis .eis-klick:hover td { background: #eef5fa; }
body.theme-eis.dark-mode .eis-klick:hover td { background: #1a3043; }

/* Knöpfe & Felder */
body.theme-eis .btn { border-radius: 999px; font-weight: 600; padding-left: 16px; padding-right: 16px; transition: background .15s, transform .12s, box-shadow .15s; }
body.theme-eis .btn-sm { padding-left: 12px; padding-right: 12px; }
body.theme-eis .btn:active:not(:disabled) { transform: translateY(1px); }
body.theme-eis .btn-primary { box-shadow: 0 4px 14px rgba(59,114,153,.28); }
body.theme-eis .btn-primary:hover { box-shadow: 0 6px 18px rgba(59,114,153,.36); }
body.theme-eis.dark-mode .btn-primary { color: #0c1c2a; }
body.theme-eis .btn-secondary { border-color: #e2d6bf; }
body.theme-eis .btn-secondary:hover { background: #f6efe1; }
body.theme-eis.dark-mode .btn-secondary { border-color: var(--border); }
body.theme-eis.dark-mode .btn-secondary:hover { background: #1a3043; }
body.theme-eis .btn-icon { border-radius: 999px; }
body.theme-eis input:not([type]), body.theme-eis input[type=url], body.theme-eis input[type=text], body.theme-eis input[type=number], body.theme-eis input[type=email], body.theme-eis input[type=tel],
body.theme-eis input[type=date], body.theme-eis input[type=password], body.theme-eis input[type=search], body.theme-eis select, body.theme-eis textarea {
  border-radius: 12px; border-color: #e6dac4; font-family: inherit;
}
body.theme-eis.dark-mode input, body.theme-eis.dark-mode select, body.theme-eis.dark-mode textarea { background: #0f1f2c; border-color: var(--border); }
body.theme-eis input:focus, body.theme-eis select:focus, body.theme-eis textarea:focus {
  border-color: var(--eis-himmel); box-shadow: 0 0 0 4px rgba(127,176,208,.25);
}
body.theme-eis .badge { border-radius: 999px; font-weight: 600; }
body.theme-eis .proj-tabs { border-bottom-color: var(--border); }
body.theme-eis #modal-box { border-radius: 22px; }
body.theme-eis .toast { border-radius: 14px; font-family: inherit; }
body.theme-eis .eis-leer { border-radius: 20px; border-color: #e2d3b8; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(227,166,173,.06) 14px 28px), var(--card); }

/* Handy-Kopfleiste */
body.theme-eis #topbar { background: #cfe3f0; color: var(--sidebar-text-strong); }
body.theme-eis.dark-mode #topbar { background: #102536; }
body.theme-eis .topbar-brand { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }

/* ═══════════════════════════════════════════════════════════════════════════
   MEDIA — futuristisch (immer dunkel)
   ═══════════════════════════════════════════════════════════════════════════ */
body.theme-media {
  --neo-violett: #8b5cf6;
  --neo-cyan: #22d3ee;
  --neo-pink: #f472b6;
  --neo-verlauf: linear-gradient(120deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --neo-glas: rgba(255,255,255,.035);
  --neo-glas-rand: rgba(148,163,255,.14);

  --primary: #8b5cf6;
  --primary-dark: #a78bfa;
  --primary-light: rgba(139,92,246,.16);
  --sidebar-bg: rgba(8,10,22,.72);
  --sidebar-text: #a3a9cf;
  --sidebar-hover: rgba(139,92,246,.12);
  --sidebar-active: #8b5cf6;
  --sidebar-border: rgba(148,163,255,.10);
  --sidebar-text-strong: #eef0ff;
  --sidebar-text-muted: #646b97;
  --sidebar-brand-bg: transparent;
  --bg: #070812;
  --card: #0e1122;
  --border: rgba(148,163,255,.14);
  --text: #eceeff;
  --text-2: #a3a9cf;
  --text-3: #7a80aa;
  --success: #34d399; --success-bg: rgba(52,211,153,.12);
  --warning: #fbbf24; --warning-bg: rgba(251,191,36,.12);
  --danger: #fb7185;  --danger-bg: rgba(251,113,133,.12);
  --radius: 14px;
  --shadow: 0 0 0 1px rgba(148,163,255,.06), 0 8px 24px rgba(0,0,0,.35);
  --shadow-md: 0 0 0 1px rgba(139,92,246,.25), 0 14px 40px rgba(0,0,0,.5);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgba(34,211,238,.10), transparent 60%),
    #070812;
  background-attachment: fixed;
}
body.theme-media #content {
  background-image:
    linear-gradient(rgba(148,163,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
body.theme-media #dark-mode-toggle { display: none; }

body.theme-media h1, body.theme-media h2, body.theme-media h3, body.theme-media .modal-title,
body.theme-media .stat-value, body.theme-media .brand, body.theme-media .dashboard-greeting-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
/* Seitenleiste: Glas mit Leuchtkante */
body.theme-media #sidebar {
  background: var(--sidebar-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: inset -1px 0 0 rgba(139,92,246,.08);
}
body.theme-media .brand { border-bottom: 1px solid var(--sidebar-border); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: 14px; }
body.theme-media .brand .brand-icon { width: 28px; height: 28px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(139,92,246,.6)); }
body.theme-media .brand-text {
  background: var(--neo-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.theme-media .brand-text small { display: block; font-size: 9.5px; letter-spacing: .32em; color: var(--sidebar-text-muted); -webkit-text-fill-color: var(--sidebar-text-muted); margin-top: 2px; font-family: 'Inter', sans-serif; font-weight: 500; }
body.theme-media .nav-group-label { letter-spacing: .24em; font-weight: 600; color: var(--sidebar-text-muted); }
body.theme-media .nav-link { border-radius: 10px; margin: 2px 8px; position: relative; transition: background .18s, color .18s; }
body.theme-media .nav-link.active {
  background: linear-gradient(90deg, rgba(139,92,246,.28), rgba(34,211,238,.08));
  color: #fff; box-shadow: inset 0 0 0 1px rgba(139,92,246,.35), 0 0 22px rgba(139,92,246,.18);
}
body.theme-media .nav-link.active::before {
  content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: var(--neo-verlauf); box-shadow: 0 0 10px var(--neo-cyan);
}
body.theme-media .nav-link.active svg { color: var(--neo-cyan); }
body.theme-media .firmen-umschalter { border-bottom-color: var(--sidebar-border); }
body.theme-media .firma-wahl-rahmen { background: rgba(255,255,255,.04); border-color: var(--neo-glas-rand); }
body.theme-media .firma-wahl-rahmen select { color: var(--text); }
body.theme-media .firma-wahl-rahmen select option { background: #0e1122; }
body.theme-media .sidebar-user-avatar { background: var(--neo-verlauf); box-shadow: 0 0 14px rgba(139,92,246,.45); }

/* Kopfzeilen mit Verlaufsschrift */
body.theme-media .page-header { margin-bottom: 26px; }
body.theme-media .page-header h1 {
  font-size: 30px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(100deg, #ffffff 0%, #c4b5fd 45%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.theme-media .page-header h1::after {
  content: ''; display: block; width: 46px; height: 3px; margin-top: 8px; border-radius: 3px;
  background: var(--neo-verlauf); box-shadow: 0 0 12px rgba(34,211,238,.6);
}

/* Glas-Karten */
body.theme-media .card, body.theme-media .stat-card, body.theme-media .table-wrap, body.theme-media .eis-karte,
body.theme-media #modal-box {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--neo-glas-rand);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
body.theme-media #modal-box { background: #0e1122; border-radius: 18px; box-shadow: 0 0 0 1px rgba(139,92,246,.25), 0 30px 80px rgba(0,0,0,.6); }
body.theme-media .stat-card { position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
body.theme-media .stat-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--neo-verlauf); opacity: .7;
}
body.theme-media .stat-card:hover { border-color: rgba(139,92,246,.4); box-shadow: var(--shadow-md); transform: translateY(-1px); }
body.theme-media .stat-label { letter-spacing: .16em; font-size: 10.5px; color: var(--text-3); }
body.theme-media .stat-value { font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.theme-media .stat-card.highlight { border-left: 1px solid var(--neo-glas-rand); box-shadow: inset 3px 0 0 var(--neo-cyan), var(--shadow); }
body.theme-media .dashboard-greeting {
  border-radius: 18px; padding: 22px 26px; border: 1px solid rgba(139,92,246,.35); position: relative; overflow: hidden;
  background:
    radial-gradient(500px 160px at 85% 0%, rgba(34,211,238,.35), transparent 70%),
    linear-gradient(120deg, rgba(139,92,246,.55), rgba(99,102,241,.35) 50%, rgba(14,17,34,.9));
  box-shadow: 0 0 40px rgba(139,92,246,.18);
}
body.theme-media .dashboard-greeting-text { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
body.theme-media .data-table th, body.theme-media .data-table thead .col-aktionen {
  background: rgba(139,92,246,.06); color: #b8bdf0; letter-spacing: .14em; font-weight: 600; border-bottom-color: var(--neo-glas-rand);
}
body.theme-media .data-table tbody tr, body.theme-media .data-table .col-aktionen { background: transparent; }
body.theme-media .data-table td { border-bottom-color: rgba(148,163,255,.08); }
body.theme-media .data-table tbody tr:hover, body.theme-media .data-table tr:hover td { background: rgba(139,92,246,.07); }

/* Knöpfe: Verlauf mit Leuchten */
body.theme-media .btn { border-radius: 10px; font-weight: 600; letter-spacing: .01em; transition: box-shadow .2s, transform .12s, background .2s, border-color .2s; }
body.theme-media .btn-primary { background: var(--neo-verlauf); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 6px 22px rgba(139,92,246,.35); }
body.theme-media .btn-primary:hover { background: var(--neo-verlauf); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 8px 30px rgba(34,211,238,.35); }
body.theme-media .btn:active:not(:disabled) { transform: translateY(1px); }
body.theme-media .btn-secondary { background: rgba(255,255,255,.04); border-color: var(--neo-glas-rand); color: var(--text); }
body.theme-media .btn-secondary:hover { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.45); }
body.theme-media .btn-accent { background: rgba(34,211,238,.12); color: #67e8f9; }
body.theme-media .btn-icon:hover { background: rgba(139,92,246,.14); }
body.theme-media input:not([type]), body.theme-media input[type=url], body.theme-media input[type=text], body.theme-media input[type=number], body.theme-media input[type=email], body.theme-media input[type=tel],
body.theme-media input[type=date], body.theme-media input[type=password], body.theme-media input[type=search], body.theme-media select, body.theme-media textarea {
  background: rgba(255,255,255,.035); border-color: var(--neo-glas-rand); border-radius: 10px; color: var(--text); font-family: inherit;
}
body.theme-media input:focus, body.theme-media select:focus, body.theme-media textarea:focus {
  background: rgba(255,255,255,.05); border-color: var(--neo-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.18), 0 0 18px rgba(34,211,238,.15);
}
body.theme-media select option { background: #0e1122; color: var(--text); }
body.theme-media input[type=date] { color-scheme: dark; }
body.theme-media .badge { border-radius: 6px; font-weight: 600; letter-spacing: .04em; }
body.theme-media .proj-tabs { border-bottom-color: var(--neo-glas-rand); }
body.theme-media .toast { border-radius: 12px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
body.theme-media #topbar { background: rgba(8,10,22,.9); backdrop-filter: blur(12px); color: var(--text); border-bottom: 1px solid var(--sidebar-border); }
body.theme-media ::selection { background: rgba(139,92,246,.45); color: #fff; }
body.theme-media #content::-webkit-scrollbar, body.theme-media #sidebar::-webkit-scrollbar { width: 10px; }
body.theme-media #content::-webkit-scrollbar-thumb, body.theme-media #sidebar::-webkit-scrollbar-thumb { background: rgba(139,92,246,.25); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }

/* Bewegungen nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
  body.theme-eis .nav-link:hover { transform: none; }
  body.theme-media .stat-card:hover { transform: none; }
}

/* ── Startseiten-Kacheln (Uhr, Wetter) je Design ───────────────────────────── */
body.theme-eis .clock-card   { background: linear-gradient(150deg, #3b7299 0%, #5d93b9 100%); }
body.theme-eis .weather-card { background: linear-gradient(150deg, #7fb0d0 0%, #a9cbe1 100%); color: #14334a; }
body.theme-eis .weather-card * { color: inherit; }
body.theme-eis .clock-card::after, body.theme-eis .weather-card::after { background: #fff; opacity: .18; }
body.theme-eis .firma-wahl-rahmen select { font-size: 12.5px; }
body.theme-media .clock-card {
  background: radial-gradient(260px 140px at 100% 0%, rgba(34,211,238,.28), transparent 70%), linear-gradient(150deg, rgba(139,92,246,.45), rgba(14,17,34,.85));
  border-color: rgba(139,92,246,.35);
}
body.theme-media .weather-card {
  background: radial-gradient(260px 140px at 0% 100%, rgba(139,92,246,.30), transparent 70%), linear-gradient(150deg, rgba(34,211,238,.30), rgba(14,17,34,.85));
  border-color: rgba(34,211,238,.30);
}

/* Suchfelder hatten in der Vorlage keine Grundgestaltung */
body.theme-eis input[type=search], body.theme-media input[type=search] {
  padding: 8px 14px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 13.5px; outline: none;
}
body.theme-eis input[type=search] { border-radius: 999px; border-color: #e6dac4; padding-left: 36px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857a6b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center / 15px no-repeat; }
body.theme-eis.dark-mode input[type=search] { background-color: #0f1f2c; border-color: var(--border); }
body.theme-media input[type=search] { background: rgba(255,255,255,.035); border-color: var(--neo-glas-rand); }

/* Handy-Kopfleiste mit Markenzeichen */
body.theme-eis .topbar-brand, body.theme-media .topbar-brand { display: flex; align-items: center; gap: 8px; }
body.theme-eis .topbar-brand .brand-logo { width: 30px; height: 30px; }
body.theme-media .topbar-brand .brand-icon { width: 22px; height: 22px; }
body.theme-eis .topbar-brand small, body.theme-media .topbar-brand small { display: none; }
body.theme-media .topbar-brand .brand-text { background: var(--neo-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Space Grotesk', sans-serif; font-weight: 700; text-transform: uppercase; }

/* ── Begrüßung mit den Sortendeckeln (Bild der Website) ─────────────────────── */
body.theme-eis .dashboard-greeting {
  min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 26px 30px;
  background: #f8f1e3; border: 1px solid #ece2cf; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
body.theme-eis .dashboard-greeting::before {
  content: ''; position: absolute; pointer-events: none;
  right: -24px; top: -14%; height: 128%; aspect-ratio: 2000 / 764; max-width: 70%;
  background: url('/marke/deckel-1400.webp') right center / cover no-repeat;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 6%, #000 22%, #000 72%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 6%, #000 22%, #000 72%, transparent 92%);
  mask-composite: intersect;
}
body.theme-eis .dashboard-greeting-text, body.theme-eis .dashboard-greeting::after { position: relative; }
body.theme-eis .dashboard-greeting-text { color: var(--eis-tiefblau); text-shadow: none; font-size: 26px; max-width: 52%; }
body.theme-eis .dashboard-greeting::after {
  content: 'Nachhaltig · Regional · Handgefertigt'; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #a08867;
}
body.theme-eis.dark-mode .dashboard-greeting { background: linear-gradient(135deg, #16314a, #0f2233); border-color: var(--border); }
body.theme-eis.dark-mode .dashboard-greeting::before { mix-blend-mode: normal; opacity: .92; }
body.theme-eis.dark-mode .dashboard-greeting-text { color: #f6efe0; }
body.theme-eis.dark-mode .dashboard-greeting::after { color: var(--eis-waffel); }
@media (max-width: 900px) {
  body.theme-eis .dashboard-greeting { padding-bottom: 150px; }
  body.theme-eis .dashboard-greeting-text { max-width: none; font-size: 21px; }
  body.theme-eis .dashboard-greeting::before { left: 50%; right: auto; top: auto; bottom: -6px; height: auto; width: min(560px, 125%); max-width: none; transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 75%, transparent 100%); }
}
