/* ============================================================
   Prozess-Wizard – Haupt-Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --farbe-primaer:    #2563eb;
    --farbe-primaer-h:  #1d4ed8;
    --farbe-text:       #1e293b;
    --farbe-hell:       #f8fafc;
    --farbe-rand:       #e2e8f0;
    --farbe-erfolg:     #16a34a;
    --farbe-warnung:    #d97706;
    --farbe-fehler:     #dc2626;
    --radius:           8px;
    --schatten:         0 1px 3px rgba(0,0,0,.1);
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 16px;
    color: var(--farbe-text);
    background: var(--farbe-hell);
    line-height: 1.6;
}

/* --- Navigation --- */
.hauptnavigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--farbe-primaer);
    color: white;
    padding: .75rem 2rem;
    box-shadow: var(--schatten);
}
.nav-logo { font-weight: 700; font-size: 1.1rem; }
.hauptnavigation ul { display: flex; gap: 1rem; list-style: none; }
.hauptnavigation a { color: rgba(255,255,255,.85); text-decoration: none; padding: .25rem .5rem; border-radius: 4px; }
.hauptnavigation a:hover, .hauptnavigation a.aktiv { color: white; background: rgba(255,255,255,.2); }
.nav-nutzer { margin-left: auto; font-size: .9rem; }
.nav-nutzer a { color: rgba(255,255,255,.85); }

/* --- Hauptinhalt --- */
.hauptinhalt {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
.hauptinhalt h1 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.hauptinhalt h2 { font-size: 1.25rem; margin: 2rem 0 1rem; }

/* --- Kacheln / Dashboard --- */
.kacheln {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.kachel {
    background: white;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--schatten);
}
.kachel-zahl { font-size: 2.5rem; font-weight: 700; color: var(--farbe-primaer); }
.kachel-label { font-size: .9rem; color: #64748b; margin-top: .25rem; }

/* --- Tabellen --- */
.datentabelle {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schatten);
}
.datentabelle th {
    background: var(--farbe-primaer);
    color: white;
    padding: .75rem 1rem;
    text-align: left;
    font-weight: 600;
}
.datentabelle td { padding: .75rem 1rem; border-bottom: 1px solid var(--farbe-rand); }
.datentabelle tr:last-child td { border-bottom: none; }
.datentabelle tr:hover td { background: #f1f5f9; }

/* --- Formulare --- */
.formfeld { margin-bottom: 1rem; }
.formfeld label { display: block; font-weight: 600; margin-bottom: .25rem; font-size: .9rem; }
.formfeld input, .formfeld select, .formfeld textarea {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}
.formfeld input:focus, .formfeld select:focus, .formfeld textarea:focus {
    outline: none;
    border-color: var(--farbe-primaer);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: .6rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.btn-primary  { background: var(--farbe-primaer); color: white; }
.btn-primary:hover { background: var(--farbe-primaer-h); }
.btn-block    { display: block; width: 100%; text-align: center; }

/* --- Hinweise --- */
.hinweis {
    padding: .75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: .95rem;
}
.hinweis-fehler  { background: #fef2f2; border: 1px solid #fca5a5; color: var(--farbe-fehler); }
.hinweis-erfolg  { background: #f0fdf4; border: 1px solid #86efac; color: var(--farbe-erfolg); }
.hinweis-warnung { background: #fffbeb; border: 1px solid #fcd34d; color: var(--farbe-warnung); }

/* --- Login-Seite --- */
.login-seite { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    width: 100%;
    max-width: 420px;
}
.login-box h1 { font-size: 1.5rem; margin-bottom: .25rem; color: var(--farbe-primaer); }
.login-untertitel { color: #64748b; margin-bottom: 1.5rem; }
.login-hinweis { margin-top: 1rem; font-size: .85rem; color: #64748b; text-align: center; }

/* --- Öffentlicher Header --- */
.seiten-header {
    background: white;
    border-bottom: 1px solid var(--farbe-rand);
    box-shadow: var(--schatten);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-innen {
    max-width: 1200px;
    margin: 0 auto;
    padding: .75rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--farbe-primaer);
    text-decoration: none;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}
.header-nav a {
    color: var(--farbe-text);
    text-decoration: none;
    font-size: .95rem;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
}
.header-nav a:hover  { color: var(--farbe-primaer); }
.header-nav a.aktiv  { color: var(--farbe-primaer); border-bottom-color: var(--farbe-primaer); }
.header-nutzer       { font-size: .9rem; color: #64748b; }
.header-nutzer a     { color: #64748b; }

/* --- Öffentliche Seite --- */
.seiten-main    { min-height: calc(100vh - 130px); }
.seiten-inhalt  { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.seiten-kopf    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.seiten-kopf h1 { font-size: 1.75rem; }

/* --- Footer --- */
.seiten-footer { background: white; border-top: 1px solid var(--farbe-rand); margin-top: 3rem; }
.footer-innen  {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: #94a3b8;
}
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: var(--farbe-text); }

/* --- Status-Badge Prozesse --- */
.status-badge {
    display: inline-block;
    padding: .15rem .6rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}
.status-entwurf    { background: #fef9c3; color: #854d0e; }
.status-review     { background: #dbeafe; color: #1e40af; }
.status-freigegeben{ background: #dcfce7; color: #166534; }
.status-archiviert { background: #f1f5f9; color: #64748b; }

/* --- Leer-Hinweis & Willkommen --- */
.leer-hinweis, .willkommen-box {
    background: white;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--schatten);
}
.leer-hinweis p, .willkommen-box p { color: #64748b; margin-bottom: 1.5rem; }
.willkommen-box h2 { margin-bottom: 1rem; }

/* --- Admin-Layout (Sidebar) --- */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #1e293b;
    color: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: white;
}
.sidebar-logo a { color: white; text-decoration: none; display: block; }
.sidebar-logo a:hover { opacity: .8; }
.sidebar-nav { flex: 1; padding: 1rem 0; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav li a {
    display: block;
    padding: .6rem 1.5rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .9rem;
    transition: background .15s, color .15s;
}
.sidebar-nav li a:hover  { background: rgba(255,255,255,.08); color: white; }
.sidebar-nav li a.aktiv  { background: var(--farbe-primaer); color: white; }
.nav-gruppe {
    padding: 1rem 1.5rem .3rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
}
.sidebar-nutzer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .85rem;
}
.sidebar-nutzer-name  { font-weight: 600; color: white; }
.sidebar-nutzer-rolle { color: rgba(255,255,255,.5); font-size: .8rem; margin-bottom: .4rem; }
.sidebar-abmelden     { color: rgba(255,255,255,.5); text-decoration: none; font-size: .8rem; }
.sidebar-abmelden:hover { color: white; }

.admin-inhalt  { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-kopf    { background: white; padding: 1.25rem 2rem; border-bottom: 1px solid var(--farbe-rand); }
.admin-kopf h1 { font-size: 1.4rem; margin: 0 0 .25rem; }
.admin-main    { padding: 2rem; }

.seiten-aktionen { margin-bottom: 1.5rem; }
.formular-aktionen { margin-top: 1rem; display: flex; gap: .75rem; }
.feld-hinweis { font-size: .8rem; color: #64748b; margin-top: .25rem; }

/* Breadcrumb im Admin-Kopf */
.breadcrumb         { font-size: .85rem; color: #64748b; display: flex; align-items: center; gap: .4rem; }
.breadcrumb a       { color: var(--farbe-primaer); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-trenner { color: #cbd5e1; }

/* Kachel-Link */
.kachel-link        { text-decoration: none; color: var(--farbe-text); transition: box-shadow .15s, transform .15s; cursor: pointer; }
.kachel-link:hover  { box-shadow: 0 4px 12px rgba(0,0,0,.12); transform: translateY(-2px); }
.kachel-icon        { font-size: 2rem; margin-bottom: .5rem; }

/* --- Karte (Inhaltsblock) --- */
.karte {
    background: white;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--schatten);
}
.karte h2 { margin-bottom: 1rem; font-size: 1.1rem; }
.karte-info { background: #f8fafc; }

/* --- Formzeile (mehrspaltig) --- */
.formzeile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* --- Buttons klein --- */
.btn-klein  { padding: .3rem .75rem; font-size: .85rem; }
.btn-grau   { background: #64748b; color: white; }
.btn-grau:hover { background: #475569; }
.btn-rot    { background: var(--farbe-fehler); color: white; }
.btn-rot:hover  { background: #b91c1c; }

/* --- Rollen-Badge --- */
.rolle-badge {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}
.rolle-admin       { background: #fef3c7; color: #92400e; }
.rolle-berater     { background: #dbeafe; color: #1e40af; }
.rolle-mitarbeiter { background: #dcfce7; color: #166534; }
.rolle-gast        { background: #f1f5f9; color: #475569; }

/* --- Status --- */
.status-aktiv   { color: var(--farbe-erfolg); font-weight: 600; }
.status-inaktiv { color: var(--farbe-fehler); font-weight: 600; }
.reihe-inaktiv td { opacity: .55; }
.eigener-account  { font-size: .8rem; color: #94a3b8; }

/* --- Aktionen-Spalte --- */
.aktionen { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }

/* --- Info-Tabelle --- */
.info-tabelle { width: 100%; border-collapse: collapse; }
.info-tabelle th { text-align: left; padding: .5rem 1rem .5rem 0; font-weight: 600; width: 160px; color: #64748b; }
.info-tabelle td { padding: .5rem 0; border-bottom: 1px solid var(--farbe-rand); }
.info-tabelle tr:last-child td { border-bottom: none; }

/* --- Breadcrumb --- */
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb a { color: var(--farbe-primaer); text-decoration: none; font-size: .9rem; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Einmalkennwort --- */
.karte-erfolg { background: #f0fdf4; border-left: 4px solid var(--farbe-erfolg); }
.einmalkennwort-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 2px dashed var(--farbe-erfolg);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
}
.einmalkennwort-label { font-weight: 600; color: #166534; white-space: nowrap; }
.einmalkennwort-wert  { font-size: 1.4rem; letter-spacing: .15em; font-family: monospace; color: #111; }
.einmalkennwort-hinweis { font-size: .85rem; color: #475569; margin-bottom: 1rem; }
.hinweis-text { margin-bottom: 1.2rem; color: #475569; }
.badge-einmalkennwort { color: #d97706; font-size: .85rem; margin-left: .3rem; cursor: default; }
.karte-otp { background: #fffbeb; border-left: 4px solid #f59e0b; }
.otp-abgelaufen { color: var(--farbe-fehler); font-weight: 600; }
.otp-aktiv      { color: var(--farbe-erfolg); font-weight: 600; }

/* --- Mandanten-Zuweisung --- */
.mandanten-auswahl { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.mandant-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border: 1px solid var(--farbe-rand);
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.mandant-checkbox:has(input:checked) { border-color: var(--farbe-primaer); background: #eff6ff; }
.mandant-checkbox input { accent-color: var(--farbe-primaer); width: 16px; height: 16px; }
.mandant-name   { font-weight: 600; }
.mandant-kuerzel { font-size: .8rem; color: #64748b; }
.mandant-inaktiv { opacity: .55; }
.badge-inaktiv  { font-size: .75rem; background: #fee2e2; color: #991b1b; padding: .1rem .4rem; border-radius: 4px; }

/* ================================================================
   WIZARD
   ================================================================ */

/* Fortschrittsanzeige */
.wizard-fortschritt {
    display: flex; align-items: center; gap: .5rem;
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
.wf-schritt { font-size: .9rem; color: #94a3b8; }
.wf-schritt a { color: #94a3b8; text-decoration: none; }
.wf-schritt.aktiv  { color: var(--farbe-primaer); font-weight: 700; }
.wf-schritt.erledigt { color: var(--farbe-erfolg); }
.wf-schritt.erledigt a { color: var(--farbe-erfolg); }
.wf-trenner { color: #cbd5e1; }

/* Prozess-Kontext-Zeile */
.prozess-kontext {
    background: #f8fafc; border: 1px solid var(--farbe-rand);
    border-radius: 6px; padding: .6rem 1rem; margin-bottom: 1.2rem;
    font-size: .9rem; color: #475569;
}
.badge-teilprozess {
    background: #ede9fe; color: #5b21b6;
    font-size: .75rem; padding: .15rem .5rem; border-radius: 4px; margin-left: .5rem;
}
.badge-mandant {
    background: #dbeafe; color: #1e40af;
    font-size: .75rem; padding: .15rem .5rem; border-radius: 4px; margin-left: .5rem;
}

/* Checkbox-Label */
.checkbox-label { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; }
.checkbox-label input { margin-top: .15rem; accent-color: var(--farbe-primaer); }
.feld-optional { font-size: .8rem; color: #94a3b8; font-weight: 400; }

/* Rollen */
.rolle-zeile { display: flex; gap: .75rem; align-items: center; margin-bottom: .6rem; flex-wrap: wrap; }
.formfeld-schmal { max-width: 130px; }

/* Dokument-Zeilen */
.doc-zeile { display: flex; gap: .5rem; align-items: center; margin-bottom: .4rem; }
.doc-zeile input { flex: 1; }
.btn-entfernen {
    background: none; border: none; cursor: pointer;
    color: #94a3b8; font-size: 1rem; padding: .2rem .4rem;
    border-radius: 4px; line-height: 1;
}
.btn-entfernen:hover { background: #fee2e2; color: #dc2626; }

/* Schritt-Blöcke */
.schritt-block {
    border: 1px solid var(--farbe-rand); border-radius: 8px;
    margin-bottom: 1rem; overflow: hidden;
}
.schritt-block-unter {
    margin-left: 2rem; margin-top: .5rem;
    border-color: #c7d2fe; background: #fafafe;
}
.schritt-kopf {
    display: flex; align-items: center; gap: .75rem;
    background: #f8fafc; padding: .6rem 1rem;
    border-bottom: 1px solid var(--farbe-rand);
}
.schritt-block-unter .schritt-kopf { background: #eff2ff; }
.schritt-nummer { font-weight: 700; color: var(--farbe-primaer); white-space: nowrap; }
.schritt-nummer-unter { color: #6366f1; font-weight: 600; }
.schritt-typ-wrapper { flex: 1; }
.schritt-typ-sel { font-size: .85rem; padding: .25rem .5rem; border-radius: 4px; border: 1px solid var(--farbe-rand); }
.schritt-kopf-aktionen { display: flex; gap: .4rem; }
.schritt-felder { padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.schritt-felder-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: .75rem; }
.schritt-aktionen-global { margin-top: .75rem; }
.unterschritte-container { padding: 0 .75rem .75rem; }

/* Prozessliste Hierarchie */
.prozess-teilprozess td { background: #fafafe; }
.prozess-einzug { color: #94a3b8; margin-right: .3rem; }
.badge-auto { color: #0891b2; cursor: default; }

/* Status-Badges Prozesse */
.status-badge { display: inline-block; padding: .15rem .5rem; border-radius: 4px; font-size: .8rem; font-weight: 600; }
.status-entwurf    { background: #fef3c7; color: #92400e; }
.status-review     { background: #dbeafe; color: #1e40af; }
.status-freigegeben{ background: #dcfce7; color: #166534; }
.status-archiviert { background: #f1f5f9; color: #475569; }

/* ================================================================
   GENERIEREN-SEITE
   ================================================================ */

.generieren-schritt-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.generieren-nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--farbe-primaer);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .1rem;
}
.generieren-schritt-header h2 { margin-bottom: .25rem; }
.generieren-schritt-header .hinweis-text { margin-bottom: 0; }

.prompt-kopieren-wrapper { position: relative; }
.prompt-textarea {
    width: 100%;
    min-height: 320px;
    font-family: monospace;
    font-size: .85rem;
    line-height: 1.5;
    padding: 1rem;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
    background: #f8fafc;
    resize: vertical;
    color: #334155;
}
.btn-kopieren {
    margin-top: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.kopiert-meldung {
    color: var(--farbe-erfolg);
    font-weight: 600;
    margin-left: .75rem;
}
.prompt-meta {
    margin-top: .5rem;
    color: #94a3b8;
    font-size: .8rem;
}

.karte-import { border-left: 4px solid var(--farbe-primaer); }
.json-import-textarea {
    width: 100%;
    min-height: 200px;
    font-family: monospace;
    font-size: .85rem;
    line-height: 1.5;
    resize: vertical;
}

/* ================================================================
   ERGEBNIS-SEITE
   ================================================================ */

.ergebnis-header-inhalt {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.ergebnis-header h1 { font-size: 1.5rem; margin-bottom: .5rem; }
.ergebnis-meta {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.ergebnis-meta-item { font-size: .85rem; color: #64748b; }
.ergebnis-ziel { color: #475569; font-size: .95rem; margin-top: .25rem; }
.ergebnis-aktionen { display: flex; gap: .5rem; flex-shrink: 0; }

/* Tabs */
.tabs-nav {
    display: flex;
    gap: .5rem;
    margin-bottom: -1px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: .6rem 1.25rem;
    border: 1px solid var(--farbe-rand);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    font-size: .9rem;
    font-family: inherit;
    transition: background .15s, color .15s;
}
.tab-btn:hover { background: #e2e8f0; color: var(--farbe-text); }
.tab-btn.aktiv {
    background: white;
    color: var(--farbe-primaer);
    font-weight: 700;
    border-color: var(--farbe-rand);
    position: relative;
    z-index: 1;
}

.tab-inhalt {
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    margin-bottom: 1.5rem;
}

.tab-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--farbe-rand);
}
.tab-kopf h2 { margin: 0; }

/* Text-Ausgabe */
.text-ausgabe {
    line-height: 1.8;
    color: #334155;
    white-space: pre-wrap;
    font-size: .95rem;
}

/* BPMN-Bereich */
#bpmn-canvas {
    background: #f8fafc;
    border-radius: var(--radius);
    overflow: hidden;
}
.bpmn-xml-box {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--farbe-rand);
    border-radius: var(--radius);
}
.bpmn-ladefehler {
    padding: 2rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed var(--farbe-rand);
    border-radius: var(--radius);
    line-height: 1.7;
}

.ergebnis-erstellt {
    text-align: right;
    font-size: .8rem;
    color: #94a3b8;
    margin-top: -.75rem;
    margin-bottom: 2rem;
}

/* ================================================================
   HILFE-SYMBOLE
   ================================================================ */

.hilfe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    cursor: pointer;
    font-size: .65rem;
    font-weight: 700;
    color: #475569;
    margin-left: .35rem;
    vertical-align: middle;
    line-height: 1;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.hilfe-btn:hover, .hilfe-btn.aktiv {
    background: var(--farbe-primaer);
    color: white;
}
.hilfe-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 3px solid var(--farbe-primaer);
    border-radius: 6px;
    padding: .6rem .9rem;
    margin-top: .3rem;
    margin-bottom: .5rem;
    font-size: .85rem;
    color: #334155;
    line-height: 1.6;
}
.hilfe-box b { color: #1e40af; }
