/* ==========================================
   ÖFFNUNGSZEITEN (Menüpunkt, js/oeffnungszeiten.js)
   Text direkt auf der Kachel: --content-* (Designer "Content-Kachel"),
   eigene Flächen (Status, Reiter, Partner): --kunde-*.
   ========================================== */

.oez-kachel {
    --oez-offen: var(--success-color);
    --oez-bald: var(--warning-color);
    --oez-zu: var(--danger-color);
    --oez-abstand: 12px;
}

/* --- Adresse --- */
.oez-adresse {
    display: flex;
    align-items: flex-start;
    gap: var(--oez-abstand);
    margin-bottom: var(--oez-abstand);
}

.oez-adresse-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--kunde-gelb);
    color: var(--kunde-schwarz);
    font-size: 1.25rem;
}

.oez-adresse-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--content-text-farbe);
    font-size: 0.9375rem;
}

.oez-adresse-text strong {
    color: var(--content-titel-farbe);
    font-size: 1.0625rem;
}

/* --- Navigieren / Anrufen --- */
.oez-aktionen {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.oez-aktionen .oez-aktion {
    flex: 1;
    padding: 12px 10px;
    font-weight: 600;
}

.oez-aktionen .btn-primary {
    background-color: var(--kunde-gelb);
    color: var(--kunde-schwarz);
}

.oez-aktionen .oez-aktion--zweit {
    background-color: transparent;
    color: var(--kunde-gelb);
    border: 2px solid var(--kunde-gelb);
}

/* --- Live-Status --- */
.oez-status {
    display: flex;
    align-items: center;
    gap: var(--oez-abstand);
    padding: 14px;
    border-radius: 10px;
    background-color: var(--kunde-flaeche);
    border-left: 5px solid var(--oez-farbe);
    margin-bottom: 14px;
}

.oez-status--offen { --oez-farbe: var(--oez-offen); }
.oez-status--bald { --oez-farbe: var(--oez-bald); }
.oez-status--zu { --oez-farbe: var(--oez-zu); }

.oez-status-punkt {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--oez-farbe);
}

.oez-status--offen .oez-status-punkt,
.oez-status--bald .oez-status-punkt {
    animation: oez-puls 2s ease-in-out infinite;
}

@keyframes oez-puls {
    0%, 100% { box-shadow: 0 0 0 0 var(--oez-farbe); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.oez-status-text {
    display: flex;
    flex-direction: column;
    color: var(--kunde-text-hell);
}

.oez-status-text strong {
    font-size: 1.0625rem;
    color: var(--oez-farbe);
}

.oez-status-text span {
    font-size: 0.875rem;
    color: var(--kunde-text-grau);
}

/* --- Saison --- */
.oez-saison-hinweis {
    color: var(--content-titel-farbe);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 10px;
}

.oez-reiterleiste {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.oez-reiter {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--kunde-rand);
    background-color: var(--kunde-flaeche);
    color: var(--kunde-text-hell);
    font-size: 0.9375rem;
    cursor: pointer;
}

.oez-reiter small {
    font-size: 0.6875rem;
    opacity: 0.8;
}

.oez-reiter--aktiv {
    background-color: var(--kunde-gelb);
    border-color: var(--kunde-gelb);
    color: var(--kunde-schwarz);
    font-weight: 600;
}

.oez-zeitraum {
    font-size: 0.8125rem;
    color: var(--content-text-farbe);
    opacity: 0.7;
    text-align: center;
    margin-bottom: 6px;
}

/* --- Wochentabelle --- */
.oez-woche {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--kunde-rand);
}

.oez-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    color: var(--content-text-farbe);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--kunde-rand);
}

.oez-tag:last-child {
    border-bottom: none;
}

.oez-tag-zeit {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.oez-tag-zu {
    opacity: 0.6;
    font-weight: 400;
}

.oez-tag--heute {
    background-color: var(--kunde-gelb);
    color: var(--kunde-schwarz);
    font-weight: 700;
}

.oez-tag--heute .oez-tag-zu {
    opacity: 1;
}

.oez-tag-name small {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 6px;
}

.oez-tag-feiertag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
}

.oez-tag-feiertag i {
    font-size: 0.625rem;
    margin-right: 2px;
}

/* --- Saisonwechsel --- */
.oez-wechsel {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px dashed var(--kunde-gelb);
    color: var(--content-text-farbe);
    font-size: 0.875rem;
}

.oez-wechsel i {
    color: var(--kunde-gelb);
    margin-right: 6px;
}

.oez-leer {
    margin-top: 0;
}

/* --- Verbund-Standorte --- */
.oez-verbund-hinweis {
    color: var(--content-text-farbe);
    opacity: 0.75;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.oez-verbund-liste {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oez-partner {
    border: 1px solid var(--kunde-rand);
    border-radius: 10px;
    background-color: var(--kunde-flaeche);
    overflow: hidden;
}

.oez-partner-kopf {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    cursor: pointer;
    list-style: none;
    color: var(--kunde-text-hell);
}

.oez-partner-kopf::-webkit-details-marker {
    display: none;
}

.oez-partner-name {
    flex: 1;
    font-weight: 600;
    color: var(--kunde-gelb);
}

.oez-pfeil {
    color: var(--kunde-gelb);
    transition: transform 0.2s ease;
}

.oez-partner[open] .oez-pfeil {
    transform: rotate(180deg);
}

.oez-partner-inhalt {
    padding: 0 14px 14px 14px;
}

.oez-status-klein {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--oez-farbe);
}

.oez-status-klein .oez-status-punkt {
    width: 9px;
    height: 9px;
}
