/* Öffentliche Termine — Aktuell + 4 Spalten */
.termine-public {
    max-width: 1180px;
    margin: 0 auto 80px;
    padding: 24px 16px;
    color: #fff;
}
.termine-public h1 {
    font-weight: 400;
    margin-bottom: 8px;
    color: #D4272A;
    text-shadow: 0 0 69px hsla(0, 0%, 100%, 1);
}
.termine-public .lead {
    opacity: 0.92;
    line-height: 1.55;
    margin-bottom: 28px;
}
.termine-filter {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: flex-end;
}
.termine-filter label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9em;
}
.termine-filter input[type="text"] {
    padding: 8px 10px;
    min-width: 140px;
}
.termine-filter button {
    padding: 8px 16px;
    background: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
    font: inherit;
}
.termine-tage {
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 8px 12px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}
.termine-tage legend {
    padding: 0 6px;
    font-size: 0.85em;
    opacity: 0.9;
}
.termine-tage__opt {
    flex-direction: row !important;
    align-items: center;
    gap: 6px !important;
    cursor: pointer;
}
.termine-manage {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 8px 0;
}
.termine-cookie-hinweis {
    margin: 0 0 24px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    line-height: 1.55;
}
.termine-cookie-hinweis form {
    margin-top: 14px;
}
.termine-cookie-hinweis button {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.termine-aktuell,
.termine-uebersicht {
    margin-bottom: 40px;
}
.termine-aktuell h2,
.termine-uebersicht h2 {
    font-weight: 400;
    font-size: 1.45em;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.termine-aktuell-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.termine-day h3 {
    margin: 0 0 10px;
    font-size: 1.05em;
    font-weight: 500;
}
.termine-day h3 span {
    opacity: 0.75;
    font-weight: 400;
    margin-left: 6px;
}

.termine-spalten {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
.termine-spalte {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    padding: 14px 12px 16px;
    min-height: 120px;
}
.termine-spalte h3 {
    margin: 0 0 12px;
    font-size: 1.05em;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(212, 39, 42, 0.55);
}
.termine-spalte__more {
    margin: 12px 0 0;
    font-size: 0.9em;
}
.termine-spalte__more a {
    color: #fff;
}
.termine-empty {
    opacity: 0.75;
    font-size: 0.92em;
    line-height: 1.45;
}

.termin-karte {
    /* layout.css stylt global `article` als Flex-Zeile — hier zurücksetzen */
    display: block;
    float: none;
    width: 100%;
    min-height: 0;
    overflow: visible;
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-sizing: border-box;
}
.termin-karte > * {
    display: block;
    width: auto;
    max-width: 100%;
}
.termin-karte__bild {
    margin: 0 0 10px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
}
.termin-karte__bild img {
    display: block;
    width: 100%;
    max-height: 160px;
    object-fit: cover;
}
.termin-karte__meta {
    font-size: 0.78em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.82;
    margin-bottom: 5px;
}
.termin-karte__title {
    margin: 0 0 6px;
    font-size: 1.02em;
    font-weight: 500;
    line-height: 1.3;
}
.termin-karte__title a {
    color: inherit;
    text-decoration: none;
}
.termin-karte__title a:hover {
    text-decoration: underline;
}
.termin-karte__when,
.termin-karte__ort {
    margin: 0 0 3px;
    font-size: 0.9em;
}
.termin-karte__hinweis {
    margin: 6px 0 0;
    font-size: 0.88em;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .termine-spalten {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .termine-spalten {
        grid-template-columns: 1fr;
    }
    .termine-aktuell-days {
        grid-template-columns: 1fr;
    }
}
