/* ============================================================
   KLEIDERKAMMER (seit Schritt 19)

   Eigene Datei, damit seite.css unverändert aus base.html
   übernommen bleibt. Enthält:
     1. die Marke an der Projektkachel (geöffnet / geschlossen)
     2. das Hinweisband auf der Startseite
     3. die Seite /kleiderkammer.php
   ============================================================ */

/* ------------------------------------------------------------
   1. Marke an der Projektkachel
   ------------------------------------------------------------ */

.proj-marke-offen {
    background: rgba(47, 107, 42, .12);
    color: #24521f;
}

.proj-marke-zu {
    background: rgba(179, 38, 30, .12);
    color: #8a1d16;
}

.proj-marke-hinweis {
    background: rgba(216, 165, 49, .18);
    color: #6b4f0b;
}

/* ------------------------------------------------------------
   2. Hinweisband auf der Startseite
   Liegt unter der festen Navigation im oberen Rand des Startbilds
   und scrollt mit der Seite.
   ------------------------------------------------------------ */

.kk-band {
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(calc(100% - 32px), 760px);
    padding: 9px 16px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #fff4f2;
    border: 1.5px solid rgba(179, 38, 30, .35);
    box-shadow: 0 6px 18px rgba(60, 20, 10, .12);
    color: #6d1812;
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none !important;
}

.kk-band:hover,
.kk-band:focus-visible {
    background: #ffe9e5;
}

.kk-band-punkt {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b3261e;
    box-shadow: 0 0 0 3px rgba(179, 38, 30, .2);
}

.kk-band-mehr {
    margin-left: auto;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .kk-band {
        border-radius: 14px;
        font-size: .84rem;
    }

    .kk-band-mehr {
        display: none;
    }
}

/* ------------------------------------------------------------
   3. Seite
   ------------------------------------------------------------ */

.kk-karte {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--r-m);
    border: 1.5px solid;
}

.kk-karte-offen {
    background: rgba(47, 107, 42, .07);
    border-color: rgba(47, 107, 42, .3);
    color: #1f451b;
}

.kk-karte-zu {
    background: rgba(179, 38, 30, .06);
    border-color: rgba(179, 38, 30, .32);
    color: #6d1812;
}

.kk-karte-hinweis {
    background: rgba(216, 165, 49, .1);
    border-color: rgba(216, 165, 49, .4);
    color: #5a410a;
}

.kk-karte-punkt {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 50%;
    background: #2f6b2a;
    box-shadow: 0 0 0 4px rgba(47, 107, 42, .18);
}

.kk-karte-zu .kk-karte-punkt {
    background: #b3261e;
    box-shadow: 0 0 0 4px rgba(179, 38, 30, .18);
}

.kk-karte-hinweis .kk-karte-punkt {
    background: #d8a531;
    box-shadow: 0 0 0 4px rgba(216, 165, 49, .25);
}

.kk-karte-titel {
    display: block;
    font-size: 1.12rem;
}

.kk-karte-text,
.kk-karte-hinweis {
    display: block;
    margin-top: 4px;
    font-size: .95rem;
}

span.kk-karte-hinweis {
    padding-top: 6px;
    border-top: 1px dashed currentColor;
    opacity: .9;
}

.kk-raster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.kk-titel {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.kk-zeiten {
    display: grid;
    gap: 2px;
    margin: 0;
}

.kk-zeiten > div {
    display: grid;
    grid-template-columns: 9.5em minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--r-s);
}

.kk-zeiten > div.kk-heute {
    background: rgba(47, 107, 42, .08);
}

.kk-zeiten dt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

.kk-zeiten dd {
    margin: 0;
}

.kk-zeit {
    display: block;
    font-variant-numeric: tabular-nums;
}

.kk-zeit small {
    display: block;
    color: var(--ink-3);
}

.kk-klein {
    margin-top: 10px;
    font-size: .88rem;
}

.kk-ort {
    margin: 0 0 6px;
    font-weight: 800;
    font-size: 1.05rem;
}

.kk-liste ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-liste li {
    position: relative;
    padding: 6px 0 6px 28px;
    border-bottom: 1px dashed var(--line);
}

.kk-liste li:last-child {
    border-bottom: none;
}

.kk-liste li::before {
    position: absolute;
    left: 2px;
    top: 5px;
    font-weight: 800;
}

.kk-liste-ja li::before {
    content: "✓";
    color: #2f6b2a;
}

.kk-liste-nein li::before {
    content: "✕";
    color: #b3261e;
}

.kk-kontakt {
    margin-bottom: 22px;
}

.kk-wege {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 0;
}

@media (max-width: 760px) {
    .kk-raster {
        grid-template-columns: minmax(0, 1fr);
    }

    .kk-zeiten > div {
        grid-template-columns: 8em minmax(0, 1fr);
    }
}
