/* ============================================================
   Elektronisches Tagebuch — das Buch (Version 1.9.2)
   Aufgeschlagenes Buch: links Kalender/Suche, rechts Schreibheft.
   Konfigurierbar über CSS-Variablen (werden aus den Einstellungen gesetzt).
   ============================================================ */

/* ---------- Schriften (selbst gehostet, keine Google-Fonts-Anfrage) ---------- */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Caveat';
    src: url('fonts/caveat.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Grundwerte ---------- */
:root {
    --papier: #fffefa;
    --tinte: #40382c;
    --tinte-leise: #8a7f6a;
    --linie: rgba(96, 126, 146, 0.22);
    --akzent: #b08a3e;
    --zeilenabstand: 32px;
    --groesse: 19px;
    --schrift: 'Montserrat', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    /* Der „Schreibtisch", auf dem das Buch liegt — dunkelblau (bleibt in beiden Modi) */
    background: radial-gradient(ellipse at 50% 20%, #1d3a5f 0%, #152a47 55%, #0d1c30 100%);
    background-attachment: fixed;
    color: #eee8dc;
}

main { flex: 1; display: flex; flex-direction: column; }

/* ================= HEADER ================= */
.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px 8px;
    position: relative;
}
.header-titel {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #f2ecdf;
    text-align: center;
}
.header-rechts {
    position: absolute;
    right: 18px;
    top: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-datum {
    font-size: 14px;
    color: #cfc6b4;
    white-space: nowrap;
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e8e0d0;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ================= ANSICHTEN ================= */
.ansicht[hidden] { display: none !important; }

/* ================= ANMELDEKARTE ================= */
.login-karte {
    width: min(92vw, 430px);
    margin: 7vh auto 4vh;
    background: var(--papier);
    color: var(--tinte);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
    padding: 34px 30px 26px;
    text-align: center;
}
.login-karte h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}
.login-zeile {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--tinte-leise);
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #d8d4c8;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.btn-google:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.g-logo { width: 20px; height: 20px; }

.testlogin-box {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.testlogin-box input {
    flex: 1;
    border: 1px solid #d8d4c8;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--tinte);
}
.btn-primaer {
    background: #4a3f30;
    color: #f6f0e2;
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}
.btn-primaer:hover { background: #5c4f3c; }

.login-karte > input {
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #d8d4c8;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--tinte);
}
.btn-link {
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--akzent);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
}
.login-hinweis {
    min-height: 18px;
    margin: 10px 0 0;
    font-size: 13px;
    color: #a34a3a;
}
/* Unübersehbarer Fehlerbanner — zeigt den Grund, warum die Anmeldung scheiterte */
.login-hinweis.fehler-banner {
    background: rgba(163, 74, 58, 0.16);
    border: 1px solid rgba(163, 74, 58, 0.6);
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffb4a4;
    font-weight: 600;
}
.login-unten-zeile {
    margin: 18px 0 0;
    font-size: 12.5px;
    color: var(--tinte-leise);
    line-height: 1.5;
}
.login-hilfe-zeile {
    margin: 16px 0 0;
    font-size: 13px;
}
.login-hilfe-zeile a { color: var(--akzent); }
.login-hilfe-zeile a:hover { color: var(--tinte); }
/* „Passphrase vergessen?" soll man nicht übersehen können */
#btn-passphrase-vergessen {
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px dashed var(--akzent);
    border-radius: 6px;
    text-decoration: none;
}
.recovery-warnung {
    font-size: 13px;
    line-height: 1.5;
    color: var(--tinte);
    text-align: left;
}
#recovery-code {
    display: block;
    margin: 10px 0 14px;
    padding: 10px;
    background: #f1e9d4;
    border-radius: 8px;
    font-size: 15px;
    letter-spacing: 0.06em;
    word-break: break-all;
    user-select: all;
}
.recovery-knoepfe { display: flex; gap: 8px; }

/* ================= DAS BUCH ================= */
.buch {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 2vh 0 3vh;
    padding: 0 22px;
    width: 100%;
    max-width: none;
    flex: 1;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.5));
}
.buchruecken {
    width: 40px;
    flex: 0 0 40px;
    background: linear-gradient(90deg, #2e241a 0%, #6b543a 30%, #8a6f4d 50%, #6b543a 70%, #2e241a 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    position: relative;
}
.buchruecken::before,
.buchruecken::after {
    content: '';
    position: absolute;
    left: 7px;
    right: 7px;
    height: 1px;
    background: rgba(255, 230, 190, 0.25);
}
.buchruecken::before { top: 14px; }
.buchruecken::after { bottom: 14px; }
.seite {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-height: calc(100vh - 210px);
    background:
        linear-gradient(100deg, rgba(60, 45, 25, 0.06) 0%, rgba(255, 255, 255, 0) 9%, rgba(255, 255, 255, 0) 91%, rgba(60, 45, 25, 0.05) 100%),
        var(--papier);
    color: var(--tinte);
    padding: 26px 38px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
    position: relative;
}
.seite-links {
    border-radius: 10px 0 0 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset -20px 0 28px -22px rgba(0, 0, 0, 0.5), 0 20px 46px rgba(0, 0, 0, 0.35);
}
.seite-rechts {
    border-radius: 0 10px 10px 0;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 20px 0 28px -22px rgba(0, 0, 0, 0.5), 0 20px 46px rgba(0, 0, 0, 0.35);
}

/* ================= LINKE SEITE: KALENDER ================= */
.kalender { margin-bottom: 22px; }
.kalender-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
#kalender-monat {
    font-size: 16px;
    font-weight: 600;
    color: var(--tinte);
    text-align: center;
}
.kalender-kopf .btn-ghost {
    background: none;
    border: none;
    color: var(--tinte-leise);
    font-size: 16px;
    padding: 4px 10px;
}
.kalender-kopf .btn-ghost:hover { color: var(--tinte); }
.kalender-wochentage {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 5px;
}
.kalender-wochentage span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--tinte-leise);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.kalender-raster {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.kalender-tag {
    position: relative;
    text-align: center;
    padding: 13px 0 14px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    color: var(--tinte);
    border: 1px solid rgba(176, 138, 62, 0.12);
    background: rgba(255, 255, 255, 0.28);
    font-family: inherit;
}
.kalender-tag:hover {
    background: rgba(176, 138, 62, 0.18);
    border-color: rgba(176, 138, 62, 0.4);
}
.kalender-tag.leer { cursor: pointer; background: none; border-color: transparent; }
.kalender-tag.leer:hover { background: rgba(176, 138, 62, 0.14); border-color: rgba(176, 138, 62, 0.35); }
/* Tage mit Eintrag: blass gefüllter Kreis */
.kalender-tag.hat-eintrag {
    background: radial-gradient(circle at 50% 45%, rgba(176, 138, 62, 0.25) 0 16px, transparent 17px), rgba(255, 255, 255, 0.28);
}
.kalender-tag.heute {
    background: radial-gradient(circle at 50% 45%, transparent 0 15.5px, var(--akzent) 15.5px 17px, transparent 17.5px), rgba(255, 255, 255, 0.28);
}
.kalender-tag.aktiv {
    color: #fff;
    font-weight: 600;
    background: radial-gradient(circle at 50% 45%, #c8b48a 0 16px, transparent 17px), rgba(255, 255, 255, 0.28);
}
.kalender-tag.aktiv.heute {
    background: radial-gradient(circle at 50% 45%, #c8b48a 0 14.5px, var(--akzent) 14.5px 16.5px, transparent 17px), rgba(255, 255, 255, 0.28);
}
.kalender-tag.hat-eintrag.heute {
    background: radial-gradient(circle at 50% 45%, rgba(176, 138, 62, 0.25) 0 14.5px, var(--akzent) 14.5px 16.5px, transparent 17px), rgba(255, 255, 255, 0.28);
}
.kalender-tag.aktiv.hat-eintrag {
    background: radial-gradient(circle at 50% 45%, #c8b48a 0 16px, transparent 17px), rgba(255, 255, 255, 0.28);
}
/* Tage mit Google-Termin: leuchtend roter Punkt unter der Zahl */
.kalender-tag.hat-termin::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2e2e;
    box-shadow: 0 0 5px rgba(255, 46, 46, 0.7);
}

/* ---------- Kalender-Legende ---------- */
.kalender-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 9px;
    font-size: 11px;
    color: var(--tinte-leise);
}
.kalender-legende span { display: inline-flex; align-items: center; gap: 5px; }
.lg-punkt { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg-eintrag { background: rgba(176, 138, 62, 0.55); }
.lg-termin { background: #ff2e2e; box-shadow: 0 0 4px rgba(255, 46, 46, 0.6); }

/* ---------- Suche ---------- */
.suche input {
    width: 100%;
    border: 1px solid #dcd4c0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.55);
    color: var(--tinte);
}
.suche input:focus { outline: 2px solid rgba(176, 138, 62, 0.5); outline-offset: 0; border-color: transparent; }
.suchtreffer { margin-top: 8px; }
.suchtreffer-eintrag {
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
}
.suchtreffer-eintrag:hover { background: rgba(176, 138, 62, 0.16); }
.suchtreffer-eintrag .t-datum {
    display: block;
    font-weight: 600;
    color: var(--akzent);
    margin-bottom: 2px;
}
.suchtreffer-eintrag .t-text { color: var(--tinte); }

/* ---------- Sicherung (Export/Import) ---------- */
.sicherung {
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(176, 138, 62, 0.07);
    border-left: 3px solid var(--akzent);
}
.sicherung-titel {
    font-size: 12px;
    font-weight: 600;
    color: var(--tinte-leise);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.sicherung-knoepfe { display: flex; gap: 4px; flex-wrap: wrap; }
.sicherung-knoepfe .werkzeug {
    border: 1px dashed rgba(64, 56, 44, 0.3);
    color: var(--tinte);
}
.sicherung-status {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--tinte-leise);
    min-height: 15px;
}

/* ================= RECHTE SEITE: SCHREIBHEFT ================= */
.seiten-kopf { margin-bottom: 6px; }
.seiten-datum {
    font-size: 17px;
    font-weight: 600;
    color: var(--tinte);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(176, 138, 62, 0.45);
    display: inline-block;
    min-width: 55%;
}
.seiten-kopf-zeile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.speicher-status {
    font-size: 12.5px;
    color: var(--tinte-leise);
    min-height: 16px;
}
#btn-kalender-mobil { display: none; }

.schreibheft {
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    /* Die Heft-Linien laufen über den ganzen Schreibbereich bis zum Seitenende.
       Ausgerichtet werden sie von linienAusrichten() in script.js. */
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent calc(var(--zeilenabstand) - 1px),
        var(--linie) calc(var(--zeilenabstand) - 1px),
        var(--linie) var(--zeilenabstand)
    );
}
.schreibheft-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.eintrag-zeit-hinweis {
    font-size: 12.5px;
    color: var(--tinte-leise);
    min-height: 16px;
}
#eintrag-text {
    flex: 1;
    width: 100%;
    min-height: 170px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    color: var(--tinte);
    font-family: var(--schrift);
    font-size: var(--groesse);
    line-height: var(--zeilenabstand);
    padding: 2px 2px 20px;
    overflow-y: auto;
    caret-color: var(--akzent);
}
#eintrag-text::placeholder { color: rgba(138, 127, 106, 0.65); }
/* Die Schreibschrift hat eine kleine x-Höhe — sie braucht etwas mehr Größe,
   damit beide Stile gleich gut lesbar sind. */
#eintrag-text.schrift-caveat { font-size: calc(var(--groesse) + 5px); }

/* ---------- Einträge des Tages (Liste mit Zeitstempeln) ---------- */
.eintraege-liste {
    flex: none;
    max-height: 45%;
    overflow-y: auto;
    margin-top: 10px;
    padding-top: 6px;
}
.eintrag-block {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(176, 138, 62, 0.07);
}
.eintrag-block-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.eintrag-block-zeit {
    font-size: 12px;
    font-weight: 600;
    color: var(--akzent);
}
.eintrag-block-knoepfe { display: flex; gap: 4px; }
.eintrag-block-knopf {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 6px;
    color: var(--tinte-leise);
    font-family: inherit;
}
.eintrag-block-knopf:hover { background: rgba(176, 138, 62, 0.2); color: var(--tinte); }
.eintrag-block-text {
    font-family: var(--schrift);
    font-size: var(--groesse);
    line-height: var(--zeilenabstand);
    color: var(--tinte);
    white-space: pre-wrap;
    word-break: break-word;
}

.termine {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(176, 138, 62, 0.08);
    border-left: 3px solid var(--akzent);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--tinte);
}
.termine-eintrag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    padding: 2px 0;
}
.termine-eintrag .t-zeit {
    color: var(--akzent);
    font-weight: 600;
    white-space: nowrap;
    min-width: 76px;
}
.termine-eintrag .t-ort {
    color: var(--tinte-leise);
    font-size: 12px;
}
.termine-eintrag .t-beschreibung {
    color: var(--tinte-leise);
    font-size: 12px;
    flex-basis: 100%;
}
.btn-verbinden {
    margin-bottom: 4px;
    border: 1px dashed rgba(64, 56, 44, 0.35);
    color: var(--tinte);
}

/* ---------- Werkzeugleiste unten ---------- */
.werkzeuge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.schrift-wahl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.werkzeug {
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 12.5px;
    color: var(--tinte-leise);
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, background 0.15s;
}
.werkzeug:hover { background: rgba(176, 138, 62, 0.14); color: var(--tinte); }
.werkzeug.aktiv {
    background: #e3d5b8;
    color: var(--tinte);
    font-weight: 600;
}
.trenner {
    width: 1px;
    height: 18px;
    background: rgba(64, 56, 44, 0.2);
    margin: 0 2px;
}

/* ---------- Schließen-Knopf im Kalender-Overlay (mobil) ---------- */
.schliessen {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
}

/* ================= FOOTER ================= */
.app-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px 20px;
    font-size: 12px;
    color: rgba(238, 232, 220, 0.72);
}
/* Das Logo steht genau vor den beiden Textzeilen (Text linksbündig darunter) */
.footer-logo { font-size: 16px; flex: 0 0 auto; display: flex; }
.footer-logo-img {
    height: 44px;
    border-radius: 4px;
}
.footer-zeilen {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.footer-version {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(238, 232, 220, 0.6);
}
.footer-links { display: flex; gap: 12px; margin-top: 3px; }
.footer-link {
    font-size: 11px;
    color: rgba(238, 232, 220, 0.6);
    text-decoration: none;
}
.footer-link:hover { color: #ffffff; text-decoration: underline; }

/* ================= PHASEN (Header/Footer je Zustand) ================= */
body.phase-login .app-header { display: none; }
body.phase-login .app-footer,
body.phase-entsperren .app-footer { margin-top: auto; }

/* ================= HELL/DUNKEL-MODUS =================
   Nur das Buch wechselt — der dunkelblaue Schreibtisch bleibt gleich. */
body.modus-dunkel {
    --papier: #232a35;
    --tinte: #f0ead9;
    --tinte-leise: #bcb29c;
    --linie: rgba(240, 234, 217, 0.16);
    --akzent: #cfa75a;
}
body.modus-dunkel .kalender-tag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(207, 167, 90, 0.14);
}
body.modus-dunkel .kalender-tag:hover { background: rgba(207, 167, 90, 0.18); }
body.modus-dunkel .kalender-tag.leer:hover { background: rgba(207, 167, 90, 0.14); }
body.modus-dunkel .suche input,
body.modus-dunkel .login-karte > input,
body.modus-dunkel .testlogin-box input {
    background: rgba(255, 255, 255, 0.07);
    color: var(--tinte);
    border-color: rgba(222, 216, 202, 0.2);
}
body.modus-dunkel #recovery-code { background: rgba(255, 255, 255, 0.08); }
body.modus-dunkel .werkzeug.aktiv { background: rgba(207, 167, 90, 0.22); }
body.modus-dunkel .eintrag-block { background: rgba(255, 255, 255, 0.05); }
body.modus-dunkel .termine { background: rgba(207, 167, 90, 0.10); }
body.modus-dunkel .btn-google { background: #2b313b; color: #e8e2d4; border-color: rgba(222, 216, 202, 0.2); }
body.modus-dunkel .btn-primaer { background: #3a3527; }
body.modus-dunkel #eintrag-text::placeholder { color: rgba(164, 155, 136, 0.7); }

/* ================= RESPONSIVE ================= */

/* Tablet hochkant / Smartphone: nur die Schreibseite,
   der Kalender öffnet als Overlay (Pflichtenheft Abschnitt 13). */
@media (max-width: 900px) {
    .buchruecken { display: none; }
    .seite {
        width: 100%;
        border-radius: 10px;
        min-height: 68vh;
        padding: 20px 20px 18px;
    }
    .seite-links { display: none; }
    .seite-links.offen {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 60;
        border-radius: 0;
        overflow-y: auto;
        padding: 24px 22px;
    }
    .seite-links.offen .schliessen { display: block; }
    #btn-kalender-mobil { display: inline-block; }
    .header-titel { font-size: 20px; }
    .header-datum { display: none; }
    .app-header { justify-content: flex-start; padding: 14px 14px 6px; }
    .header-rechts { right: 12px; top: 12px; }
}

@media (max-width: 560px) {
    .header-titel { font-size: 17px; }
    .seite { padding: 16px 14px 14px; }
    .seiten-datum { font-size: 15px; }
    .werkzeug { padding: 4px 8px; font-size: 11px; }
    .kalender-tag { font-size: 13px; padding: 8px 0 9px; }
    .login-karte { padding: 26px 18px 20px; }
}

/* Weniger Bewegung gewünscht: keine Übergänge erzwingen */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* Fokus sichtbar halten (Tastatur-Bedienung) */
button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--akzent);
    outline-offset: 2px;
}
