/* =========================================================
   Picvela – Studio (Verwaltungs-Oberfläche)
   Markenlook „Carbon": warmes Near-Black, Vela-Orange als CTA,
   Galerie-Weiß-Text. Schrift durchgehend Sora (Google Fonts).
   Brand-Paket: Vela-Orange #E07820 · Carbon #16130F · Galerie-Weiß #FAF7F2
                Stein #A39B8F · Erfolg #3E8E6E
   ========================================================= */
:root {
    --bg: #100e0b;             /* Seitenhintergrund (warmes Near-Black) */
    --bg-sub: #221e18;         /* dezente Inset-/Hover-Fläche */
    --side: #14110d;           /* Sidebar */
    --panel: #1a1713;          /* Karten / Panels */
    --panel2: #221e18;         /* tiefere Fläche (Inputs, Thumbs) */
    --text: #faf7f2;           /* Galerie-Weiß */
    --cream: #d8d0c4;          /* gedämpftes Weiß */
    --muted: #8f877b;          /* Stein */
    --line: #2c2620;
    --accent: #e07820;         /* Vela-Orange — aktive Nav + Akzente */
    --accent-text: #ffffff;
    --cta: #e07820;            /* Vela-Orange — primäre Aktion / CTA */
    --cta-text: #ffffff;
    --gut: #3e8e6e;            /* Erfolg / grün */
    --warn: #c99435;           /* amber / Hinweis */
    --bad: #b5483a;            /* rot / löschen */
    --radius: 12px;
    --sans: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --headline: "Sora", var(--sans);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------------- Grundgerüst: Sidebar + Inhalt ---------------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 248px;
    flex-shrink: 0;
    background: var(--side);
    border-right: 1px solid var(--line);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.marke {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0 0.75rem 1.75rem;
}
.marke span { color: var(--muted); font-weight: 400; }

/* ---------------- Picvela-Logo (Wort-Bild-Marke) ---------------- */
.pv-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--headline);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
}
.pv-logo__mark, .pv-mark { width: 1.55em; height: 1.55em; flex-shrink: 0; display: block; }
.pv-wort { font-size: 1.32rem; }
.pv-wort__pic { color: var(--text); }
.pv-wort__vela { color: var(--cta); }
.marke .pv-logo { font-size: 1rem; }
.marke__endorsement {
    margin: 0.5rem 0 0 0.1rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav { display: flex; flex-direction: column; gap: 0.15rem; }

.nav__label {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 1.25rem 0.75rem 0.4rem;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 9px;
    color: var(--cream);
    font-size: 0.94rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--bg-sub); color: var(--text); }
.nav a.aktiv { background: var(--accent); color: var(--accent-text); }

.sidebar__fuss {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}
.sidebar__fuss .nutzer { color: var(--muted); padding: 0 0.75rem 0.5rem; }

.inhalt { flex: 1; min-width: 0; padding: 2.5rem 3rem; max-width: 1200px; }

/* ---------------- Kopfzeile einer Seite ---------------- */
.seitenkopf {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.seitenkopf__titel { margin: 0; font-family: var(--headline); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.seitenkopf__sub { color: var(--muted); margin: 0.25rem 0 0; font-size: 0.95rem; }

/* ---------------- Knöpfe ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    border: 1px solid var(--cta);
    background: var(--cta);          /* Vela-Orange — primäre Aktion */
    color: var(--cta-text);
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn--hell { background: transparent; color: var(--text); border-color: #3a332b; }
.btn--hell:hover { background: transparent; border-color: var(--cta); color: var(--cta); opacity: 1; }
.btn--bad { background: transparent; color: var(--bad); border-color: #3a332b; }
.btn--bad:hover { background: rgba(181,72,58,0.12); opacity: 1; }
.btn--klein { padding: 0.4rem 0.7rem; font-size: 0.82rem; }

/* ---------------- Karten / Panels ---------------- */
.karte {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* Kennzahlen auf dem Dashboard */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.kennzahl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.kennzahl__wert { font-family: var(--headline); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.kennzahl__label { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.6rem; }

/* ---------------- Tabellen / Listen ---------------- */
.tabelle { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabelle th { text-align: left; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.tabelle td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: none; }
.tabelle tbody tr { transition: background 0.12s ease; }
.tabelle tbody tr:hover { background: var(--bg-sub); }
.tabelle a.zeile-titel { font-weight: 600; }

/* ---------------- Status-Abzeichen ---------------- */
.badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; border: 1px solid transparent; color: var(--cream); white-space: nowrap; }
.badge--offen { background: rgba(201,148,53,0.15); color: var(--warn); }
.badge--abgegeben { background: rgba(62,142,110,0.15); color: var(--gut); }
.badge--ausgeliefert { background: rgba(62,142,110,0.15); color: var(--gut); }
.badge--typ { background: rgba(216,208,196,0.12); color: var(--cream); }

/* ---------------- Formulare ---------------- */
.formular { max-width: 640px; }
.feld { margin-bottom: 1.4rem; }
.feld > label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.feld input[type="text"],
.feld input[type="email"],
.feld input[type="password"],
.feld select,
.feld textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    background: var(--panel2);
    color: var(--text);
}
.feld textarea { resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(224,120,32,0.14); }
.feld .hilfe { color: var(--muted); font-size: 0.82rem; margin-top: 0.35rem; }
.feld .fehler { color: var(--bad); font-size: 0.84rem; margin-top: 0.35rem; }
.formular__aktionen { display: flex; gap: 0.75rem; margin-top: 1.75rem; align-items: center; }

/* ---------------- Foto-Raster im Galerie-Detail ---------------- */
.foto-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.9rem; }
.foto-karte { position: relative; border-radius: 9px; overflow: hidden; background: var(--panel2); aspect-ratio: 3 / 4; }
.foto-karte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-karte__leiste { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 0.3rem; padding: 0.4rem; background: linear-gradient(transparent, rgba(0,0,0,0.6)); opacity: 0; transition: opacity 0.15s ease; }
.foto-karte:hover .foto-karte__leiste { opacity: 1; }
.foto-karte__btn { background: rgba(255,255,255,0.92); border: none; border-radius: 5px; padding: 0.3rem 0.5rem; font-size: 0.85rem; cursor: pointer; line-height: 1; }
.foto-karte__fav { position: absolute; top: 0.5rem; right: 0.6rem; color: #fff; font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.foto-karte--ausgewaehlt { outline: 3px solid var(--gut); outline-offset: -3px; }

/* Tabs (Vorschau / Finale) */
.tab-btn { background: none; border: none; font: inherit; font-size: 0.9rem; color: var(--muted); padding: 0.4rem 0.9rem; border-radius: 6px; cursor: pointer; }
.tab-btn:hover { background: var(--bg-sub); color: var(--text); }
.tab-btn.aktiv { background: var(--accent); color: var(--accent-text); }

/* Dateinamen-Liste der Kundenauswahl */
.karte--auswahl { background: rgba(62,142,110,0.10); border-color: rgba(62,142,110,0.30); }
.dateinamen-liste {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    max-height: 220px;
    overflow-y: auto;
    white-space: pre-wrap;
    color: var(--cream);
}

/* ---------------- Meldungen ---------------- */
.meldungen { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.meldung { padding: 0.75rem 1.1rem; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--cream); font-size: 0.92rem; }
.meldung--success { background: rgba(62,142,110,0.14); border-color: rgba(62,142,110,0.30); color: var(--gut); }
.meldung--warning { background: rgba(201,148,53,0.14); border-color: rgba(201,148,53,0.30); color: var(--warn); }
.meldung--error { background: rgba(181,72,58,0.14); border-color: rgba(181,72,58,0.30); color: var(--bad); }

/* ---------------- Leerzustand ---------------- */
.leerzustand { text-align: center; padding: 4rem 1rem; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }
.leerzustand p { margin: 0 0 1.25rem; }

/* ---------------- Hinweis-/Linkzeile ---------------- */
.kopierbar { display: flex; align-items: center; gap: 0.5rem; max-width: 100%; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 0.84rem; color: var(--cream); box-sizing: border-box; }
.kopierbar code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; }
.kopierbar .btn { flex-shrink: 0; }

/* ---------------- Login ---------------- */
.login-seite { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1.5rem; }
.login-karte { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.75rem 2.5rem; width: 100%; max-width: 380px; }
.login-karte__marke { display: flex; justify-content: center; margin-bottom: 0.6rem; }
.login-karte__marke .pv-logo { font-size: 1.25rem; }
.login-karte__sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }
.login-karte__endorsement {
    text-align: center;
    margin: 1.75rem 0 0;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------------- Responsiv ---------------- */
@media (max-width: 820px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 1rem; }
    .marke { padding: 0 1rem 0 0.5rem; }
    .nav { flex-direction: row; flex-wrap: wrap; }
    .nav__label { display: none; }
    .sidebar__fuss { margin: 0 0 0 auto; padding: 0; border: none; }
    .sidebar__fuss .nutzer { display: none; }
    .inhalt { padding: 1.5rem; }
}

/* ---------------- KI-Badges auf Fotokarten ---------------- */
.ki-badges {
    position: absolute;
    bottom: 2.4rem; /* über der .foto-karte__leiste */
    left: 0;
    right: 0;
    padding: 0 0.35rem;
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    pointer-events: none;
}

.ki-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(28,25,24,0.72);
    color: #fff;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.ki-badge--farbe {
    background: rgba(70, 120, 80, 0.82);
}

/* ---------------- Album-Sektionen ---------------- */
.album-sektion {
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
}

.album-sektion--ohne-album {
    border-style: dashed;
    opacity: 0.75;
}

.album-kopf {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--bg-sub);
    border-bottom: 1px solid var(--line);
    min-height: 48px;
}

.album-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.album-toggle:hover { background: var(--line); }

.album-pfeil { display: inline-block; transition: transform 0.15s; }

.album-name {
    font-weight: 700;
    font-size: 0.92rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-anzahl {
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
}

.album-badge {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}
.album-badge--ausgeblendet {
    background: rgba(201,148,53,0.15);
    color: var(--warn);
}

.album-aktionen {
    display: flex;
    gap: 0.15rem;
    margin-left: 0.25rem;
}

.album-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--muted);
    transition: background 0.12s;
}
.album-btn:hover { background: var(--line); color: var(--text); }
.album-btn--gefahr:hover { background: rgba(181,72,58,0.14); color: var(--bad); }

.album-inhalt {
    padding: 1rem;
}
.album-inhalt .foto-raster {
    margin: 0;
}
.album-inhalt .leerzustand {
    padding: 1.5rem 0;
}

/* Mini-Select im Foto-Karten-Footer */
.foto-karte__select {
    font-size: 0.65rem;
    padding: 0.1rem 0.2rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    max-width: 90px;
    cursor: pointer;
}
.foto-karte__select option { background: #2a2a2a; color: #fff; }

/* ---------------- Upload-Fortschritt ---------------- */
.upload-fortschritt { margin-top: 1.1rem; }
.upload-fortschritt__zeile { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; margin-bottom: 0.5rem; }
.upload-fortschritt__zeile #upload-zaehler { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.upload-balken { height: 8px; background: var(--bg-sub); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.upload-balken__fuell { height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 0.25s ease; }

/* ---------------- Foto-Mehrfachauswahl (Bulk) ---------------- */
.foto-karte .fk-check {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    z-index: 4;
    accent-color: #3a9b6a;
    opacity: 0;
    transition: opacity 0.12s ease;
}
.foto-karte:hover .fk-check,
.foto-karte .fk-check:checked { opacity: 1; }
.foto-karte.ist-markiert { outline: 3px solid #3a9b6a; outline-offset: -3px; }
.foto-karte.ist-markiert::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(58,155,106,0.14);
    pointer-events: none;
}

.bulk-leiste {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 0.8rem 0.6rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 34px rgba(0,0,0,0.3);
    z-index: 60;
    flex-wrap: wrap;
    justify-content: center;
}
.bulk-leiste[hidden] { display: none; }
.bulk-leiste__info { font-size: 0.9rem; opacity: 0.92; white-space: nowrap; }
.bulk-leiste__info b { font-variant-numeric: tabular-nums; }
.bulk-leiste__aktionen { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.bulk-select {
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
}
.bulk-select option { background: #2a2a2a; color: #fff; }
.bulk-leiste .btn { border-color: rgba(255,255,255,0.25); }

/* =====================================================================
   STUDIO-DESIGNS (Themes) — per <body class="studio-design-…">
   Standard = :root oben. Hier die Alternativen.
   ===================================================================== */

/* ---------- braun · dunkel & edel (an photography-braun.de) ---------- */
body.studio-design-braun {
    --bg: #131316;
    --bg-sub: #0e0e10;
    --panel: #1a1a1e;
    --text: #f1f0ee;
    --muted: #8d8b87;
    --line: #2a2a2e;
    --accent: #e07820;          /* Markenfarbe */
    --accent-text: #1a1206;     /* dunkler Text auf Orange */
}
body.studio-design-braun { background: var(--bg-sub); }
body.studio-design-braun .sidebar { background: #1a1a1e; }
body.studio-design-braun .nav a { color: #c8c6c1; }
body.studio-design-braun .nav a:hover { background: #232328; color: #fff; }
body.studio-design-braun .feld input[type="text"],
body.studio-design-braun .feld input[type="email"],
body.studio-design-braun .feld input[type="password"],
body.studio-design-braun .feld input[type="number"],
body.studio-design-braun .feld select,
body.studio-design-braun .feld textarea,
body.studio-design-braun input[type="search"] {
    background: #0e0e10;
    color: var(--text);
    border-color: #2a2a2e;
}
body.studio-design-braun .badge { color: #c8c6c1; }
body.studio-design-braun .badge--offen { background: #26262a; }
body.studio-design-braun .badge--abgegeben { background: #16291f; color: #7fd6a3; border-color: #1f3d2c; }
body.studio-design-braun .badge--ausgeliefert { background: #e07820; color: #1a1206; border-color: #e07820; }
body.studio-design-braun .foto-karte { background: #232328; }
body.studio-design-braun .kopierbar { background: #0e0e10; }
body.studio-design-braun .meldung { background: #1a1a1e; border-color: #2a2a2e; }
body.studio-design-braun .marke span { color: #e07820; }      /* .braun in Markenfarbe */
body.studio-design-braun .feld input:focus,
body.studio-design-braun .feld select:focus,
body.studio-design-braun .feld textarea:focus { border-color: #e07820; }

/* ---------- modern · hell, abgerundet, Markenfarbe #E07820 ---------- */
body.studio-design-modern {
    --bg: #ffffff;
    --bg-sub: #faf7f3;
    --panel: #ffffff;
    --text: #14161a;
    --muted: #7a7368;
    --line: #ece7e1;
    --accent: #e07820;          /* Markenfarbe */
    --accent-text: #1a1206;     /* dunkler Text auf Orange */
    --radius: 14px;
}
body.studio-design-modern .sidebar { border-right-color: #efe9e2; }
body.studio-design-modern .nav a.aktiv { box-shadow: 0 6px 16px rgba(224,120,32,0.28); }
body.studio-design-modern .btn { border-radius: 10px; }
body.studio-design-modern .btn--klein { border-radius: 8px; }
body.studio-design-modern .karte { box-shadow: 0 1px 3px rgba(20,22,26,0.04); }
body.studio-design-modern .kennzahl { box-shadow: 0 1px 3px rgba(20,22,26,0.04); }
body.studio-design-modern .badge--ausgeliefert { background: #e07820; border-color: #e07820; color: #1a1206; }
body.studio-design-modern .seitenkopf__titel { letter-spacing: -0.02em; }
body.studio-design-modern .marke span { color: #e07820; }

/* ---------------- Auswahl-Werkzeuge + Ziehen ---------------- */
/* Bereichskopf "Fotos & Alben" */
.fotos-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.fotos-kopf__titel { margin: 0; font-size: 1.1rem; font-weight: 700; }

/* Schlanke Werkzeugleiste — gruppiert, ruhig */
.foto-werkzeuge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.fw-gruppe { display: flex; align-items: center; gap: 0.4rem; }
.fw-label {
    font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-right: 0.15rem;
}
.fw-btn {
    background: none; border: 1px solid var(--line); border-radius: 6px;
    padding: 0.3rem 0.65rem; font: inherit; font-size: 0.8rem; cursor: pointer;
    color: var(--text); transition: background 0.12s ease, border-color 0.12s ease;
}
.fw-btn:hover { background: var(--bg-sub); border-color: #3a332b; }
.fw-hint { font-size: 0.78rem; color: var(--muted); margin-left: auto; }

/* Fotos nicht als Bild herausziehen (sonst stört es beim Markieren) */
.foto-raster img { -webkit-user-drag: none; user-drag: none; }
.foto-raster { user-select: none; }

/* Auswahl-Rechteck */
.marquee {
    position: fixed;
    z-index: 55;
    border: 1.5px solid var(--accent);
    background: rgba(224,120,32,0.14);
    pointer-events: none;
    border-radius: 2px;
}
.marquee[hidden] { display: none; }

/* „Alle in Album"-Knopf etwas hervorheben */
.album-sel { font-size: 0.8rem; }

/* ---------------- Sortier-Griff, Titelbild, Dropzone ---------------- */
.foto-werkzeuge__trenner { width: 1px; align-self: stretch; background: var(--line); margin: 0 0.2rem; }

.foto-griff {
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.9rem;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.12s ease, background 0.12s ease;
    z-index: 4;
    user-select: none;
}
.foto-karte:hover .foto-griff { opacity: 1; }
.foto-griff:active { cursor: grabbing; }
.foto-karte.wird-gezogen { opacity: 0.4; outline: 2px dashed var(--accent); outline-offset: -2px; }

/* Titelbild-Knopf (unten in der Leiste eingeblendet beim Hover) */
.foto-titel-form { position: absolute; left: 0.45rem; bottom: 2.4rem; margin: 0; z-index: 4; opacity: 0; transition: opacity 0.12s ease; }
.foto-karte:hover .foto-titel-form { opacity: 1; }
.foto-titel-btn {
    border: none; cursor: pointer;
    background: rgba(0,0,0,0.55); color: #fff;
    font-size: 0.68rem; padding: 0.22rem 0.5rem; border-radius: 5px;
    line-height: 1; white-space: nowrap;
}
.foto-titel-btn:hover { background: var(--accent); color: var(--accent-text); }
.foto-titel-badge {
    position: absolute; top: 0.4rem; left: 2.2rem;
    background: var(--accent); color: var(--accent-text);
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 0.18rem 0.45rem; border-radius: 99px; z-index: 3;
}

/* Dropzone */
#dropzone { position: relative; transition: border-color 0.12s ease, background 0.12s ease; }
#dropzone.dropzone--aktiv { border-color: var(--accent); border-style: dashed; background: var(--bg-sub); }
.dropzone-hinweis {
    display: none;
    position: absolute; inset: 0;
    align-items: center; justify-content: center;
    background: rgba(224,120,32,0.10);
    border: 2px dashed var(--accent);
    border-radius: var(--radius);
    font-weight: 600; color: var(--accent);
    z-index: 5; pointer-events: none;
}
#dropzone.dropzone--aktiv .dropzone-hinweis { display: flex; }

/* ---------------- Logo in der Sidebar ---------------- */
.marke__logo { max-height: 40px; max-width: 180px; width: auto; display: block; }

/* ---------------- Teilen & QR-Karte ---------------- */
.teilen-karte { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.qr-bild { border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; background: #fff; }
.teilen-karte__inhalt { flex: 1; min-width: 220px; }
.teilen-knoepfe { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ---------------- Plan-Karte (Dashboard) ---------------- */
.plan-karte { border-left: 3px solid var(--accent); }
.plan-karte--pro { border-left-color: var(--gut); }
.plan-karte--studio { border-left-color: var(--accent); }
.plan-karte__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.plan-karte__name { font-family: var(--headline); font-size: 1.35rem; font-weight: 600; }
.plan-karte__features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.plan-karte__features li { font-size: 0.9rem; position: relative; padding-left: 1.1rem; }
.plan-karte__features li::before { content: "•"; position: absolute; left: 0; color: var(--cta); }
.plan-karte__upgrade { margin: 1rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------------- Dashboard: Trends, Grid, Aktivität ---------------- */
.kennzahl__trend { font-size: 0.8rem; margin-top: 0.55rem; font-weight: 500; }
.kennzahl__trend--gut { color: var(--gut); }
.kennzahl__trend--warn { color: var(--warn); }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.dash-kopf__titel { margin: 0; font-family: var(--headline); font-size: 1.15rem; font-weight: 600; }

.zeile-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.zeile-pfeil { color: var(--muted); font-size: 1.1rem; }
.zeile-pfeil:hover { color: var(--cta); }

.feed { list-style: none; margin: 0; padding: 0; }
.feed__item { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.feed__item:last-child { border-bottom: none; }
.feed__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--bg-sub); display: flex; align-items: center; justify-content: center; color: var(--cta); }
.feed__icon .ic { width: 1em; height: 1em; }
.feed__text { font-size: 0.9rem; line-height: 1.4; }
.feed__zeit { font-size: 0.76rem; color: var(--muted); margin-top: 0.15rem; }
.feed__leer { color: var(--muted); font-size: 0.9rem; padding: 0.5rem 0; }

/* ---------------- Filter-Pills (Listen) ---------------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pill { display: inline-flex; align-items: center; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--cream); font-size: 0.85rem; transition: border-color 0.12s ease, color 0.12s ease; }
.pill:hover { border-color: var(--cta); color: var(--text); }
.pill--aktiv { border-color: var(--cta); color: var(--cta); }

/* ---------------- Moderne SVG-Icons ---------------- */
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.ic--gross { width: 1.4em; height: 1.4em; }
.btn .ic { vertical-align: -0.16em; }

/* Theme-bewusste Auswahlfelder/Eingaben (lesbar in ALLEN Studio-Designs) */
.studio-feld {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    font: inherit;
    font-size: 0.9rem;
}
.studio-feld:focus { outline: none; border-color: var(--accent); }
.studio-feld option { background: var(--panel); color: var(--text); }

/* Icons in Buttons sauber zentrieren */
.album-btn, .foto-karte__btn, .foto-griff, .nutzer-btn, .fw-btn { display: inline-flex; align-items: center; justify-content: center; }
.btn .ic { margin-right: 0.05rem; }
