/* Veranstaltungen Plugin – Frontend Styles */

.vera-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 20px 0;
}

.vera-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.vera-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.vera-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.vera-card-body {
    display: flex;
    padding: 20px;
    gap: 16px;
    flex: 1;
}

.vera-card-datum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 52px;
}

.vera-tag-monat {
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 6px 6px 0 0;
    width: 100%;
    text-align: center;
}

.vera-tag-tag {
    background: #1e40af;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 4px 8px 8px;
    border-radius: 0 0 6px 6px;
    width: 100%;
    text-align: center;
    line-height: 1;
}

.vera-card-content {
    flex: 1;
    min-width: 0;
}

.vera-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1e293b;
    line-height: 1.3;
}

.vera-card-meta {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 12px;
}

.vera-meta-icon {
    font-style: normal;
}

.vera-card-beschreibung {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.vera-card-beschreibung p { margin: 0 0 8px; }

/* Anmeldungen Info */
.vera-anmeldungen-info {
    font-size: 13px;
    color: #16a34a;
    margin-bottom: 10px;
    font-weight: 600;
}

.vera-ausgebucht {
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
}

/* Buttons */
.vera-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.vera-btn-anmelden {
    background: #2563eb;
    color: #fff;
}

.vera-btn-anmelden:hover {
    background: #1d4ed8;
    color: #fff;
}

.vera-btn-submit {
    background: #16a34a;
    color: #fff;
    margin-top: 8px;
}

.vera-btn-submit:hover {
    background: #15803d;
    color: #fff;
}

/* Formular */
.vera-formular {
    margin-top: 16px;
    border-top: 2px solid #e2e8f0;
    padding-top: 16px;
    animation: vera-fade-in 0.3s ease;
}

@keyframes vera-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vera-form h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1e293b;
}

.vera-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.vera-form-row-full {
    grid-template-columns: 1fr;
}

.vera-form label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    gap: 4px;
}

.vera-form input[type="text"],
.vera-form input[type="email"],
.vera-form input[type="number"],
.vera-form input[type="time"],
.vera-form select,
.vera-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.vera-form input:focus,
.vera-form select:focus,
.vera-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.vera-form textarea {
    resize: vertical;
    min-height: 70px;
}

.vera-datenschutz {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.vera-form-message {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: none;
}

.vera-form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block;
}

.vera-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.vera-keine-events {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    .vera-grid {
        grid-template-columns: 1fr;
    }
    .vera-form-row {
        grid-template-columns: 1fr;
    }
    .vera-card-body {
        flex-direction: column;
    }
    .vera-card-datum {
        flex-direction: row;
        min-width: auto;
        align-self: flex-start;
    }
    .vera-tag-monat {
        border-radius: 6px 0 0 6px;
        width: auto;
    }
    .vera-tag-tag {
        border-radius: 0 6px 6px 0;
        font-size: 18px;
        width: auto;
        padding: 4px 10px;
    }
}

/* ── Filterleiste ────────────────────────────────────────────────────────── */
.vera-filterbar {
    margin-bottom: 28px;
}

.vera-filter-form {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 20px;
}

.vera-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vera-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.vera-filter-select {
    padding: 7px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 160px;
}

.vera-filter-select:focus {
    outline: none;
    border-color: #2563eb;
}

.vera-filter-reset {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    transition: all 0.2s;
    white-space: nowrap;
}
.vera-filter-reset:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

/* ── Monats-Trenner ─────────────────────────────────────────────────────── */
.vera-monat-trenner {
    display: flex;
    align-items: center;
    margin: 32px 0 16px;
    gap: 14px;
}

.vera-monat-trenner::before,
.vera-monat-trenner::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    border-radius: 2px;
}

.vera-monat-trenner:first-of-type {
    margin-top: 0;
}

.vera-monat-label {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #fff;
    padding: 4px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Kategorie-Badges ───────────────────────────────────────────────────── */
.vera-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.vera-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    background: #dbeafe;
    color: #1d4ed8;
    white-space: nowrap;
}

.vera-badge-serie {
    background: #fef3c7;
    color: #92400e;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .vera-filter-form { flex-direction: column; align-items: flex-start; gap: 10px; }
    .vera-filter-group { width: 100%; }
    .vera-filter-select { flex: 1; min-width: 0; }
}

/* ── Veranstaltungsort auf der Karte ──────────────────────────────────────── */
.vera-ort-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #93c5fd;
    transition: color 0.2s, border-color 0.2s;
}
.vera-ort-link:hover {
    color: #1d4ed8;
    border-bottom-style: solid;
}

.vera-ort-beschr {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOOLBAR (Filter + View-Switcher)
══════════════════════════════════════════════════════════════════════════ */
.vera-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.vera-filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

/* View-Switcher */
.vera-view-switcher {
    display: flex;
    gap: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.vera-view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.vera-view-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vera-view-btn:hover {
    background: #fff;
    color: #1e293b;
}

.vera-view-btn.active {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* ══════════════════════════════════════════════════════════════════════════
   LISTENANSICHT
══════════════════════════════════════════════════════════════════════════ */
.vera-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vera-list-item {
    display: flex;
    flex-direction: row;      /* Bild links, Body rechts */
    background: #fff;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    transition: background 0.15s;
    overflow: hidden;
}

.vera-list-item:first-of-type { border-radius: 10px 10px 0 0; }
.vera-list-item:last-of-type  { border-bottom: 1px solid #e2e8f0; border-radius: 0 0 10px 10px; }
.vera-list-item:only-of-type  { border: 1px solid #e2e8f0; border-radius: 10px; }

.vera-list-item:hover { background: #f8fafc; }

/* ── Bild-Bereich links ─────────────────────────────────────────────── */
.vera-list-image-wrap {
    position: relative;
    width: 160px;
    min-width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.vera-list-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.vera-list-item:hover .vera-list-image-wrap img {
    transform: scale(1.05);
}

/* Datum-Overlay auf dem Listenbild */
.vera-list-image-wrap .vera-card-datum-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(6px);
    border-radius: 7px;
    padding: 4px 8px;
    text-align: center;
    line-height: 1.1;
}

.vera-list-image-wrap .vera-tag-monat {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
}

.vera-list-image-wrap .vera-tag-tag {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* Body nimmt den restlichen Platz ein */
.vera-list-item .vera-card-body {
    flex: 1;
    flex-direction: row;   /* Infos links, Aktionen rechts */
    padding: 14px 20px;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.vera-list-item .vera-card-content {
    flex: 1;
    padding-right: 16px;
    min-width: 0;
}

/* ── Rechte Aktionsspalte ───────────────────────────────────────────── */
.vera-list-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    min-width: 160px;
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.vera-list-btn-details {
    text-align: center;
    white-space: nowrap;
}

.vera-ausgebucht-label {
    font-size: 0.82rem;
    color: #991b1b;
    font-weight: 600;
    text-align: center;
}

.vera-anmeldungen-info-klein {
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
}

@media (max-width: 560px) {
    .vera-list-item {
        flex-direction: column;
    }
    .vera-list-image-wrap {
        width: 100%;
        min-width: unset;
        height: 180px;
    }
    .vera-list-actions {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        min-width: unset;
        padding: 12px 16px;
    }
}

.vera-list-item .vera-card-datum {
    min-width: 48px;
    flex-shrink: 0;
}

.vera-list-item .vera-card-beschreibung {
    display: none; /* Beschreibung in Listenansicht ausblenden */
}

.vera-list-item .vera-card-title {
    font-size: 15px;
    margin-bottom: 4px;
}

.vera-list-item .vera-card-meta {
    font-size: 12px;
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════════════════
   KALENDERANSICHT
══════════════════════════════════════════════════════════════════════════ */
.vera-kalender {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

/* Navigation */
.vera-kal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff;
}

.vera-kal-monat-titel {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #fff;
}

.vera-kal-nav-btn {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    transition: all 0.18s;
    white-space: nowrap;
}

.vera-kal-nav-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Kalender-Grid */
.vera-kal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

.vera-kal-header {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 4px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.vera-kal-zelle {
    min-height: 90px;
    padding: 6px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    position: relative;
    transition: background 0.12s;
}

.vera-kal-zelle:hover { background: #f8fafc; }
.vera-kal-leer { background: #fafafa; }

.vera-kal-heute {
    background: #eff6ff;
}

.vera-kal-heute .vera-kal-tag-nr {
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vera-kal-tag-nr {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
    line-height: 24px;
    width: 24px;
    text-align: center;
}

.vera-kal-hat-events { cursor: default; }

.vera-kal-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 2px;
}

.vera-kal-event-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1d4ed8;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.15s;
    line-height: 1.4;
    border-left: 3px solid #2563eb;
}

.vera-kal-event-pill:hover,
.vera-kal-event-pill.active {
    background: #2563eb;
    color: #fff;
    border-left-color: #1e40af;
}

/* Detail-Panel */
.vera-kal-detail {
    border-top: 2px solid #2563eb;
    padding: 20px;
    background: #f0f9ff;
    animation: vera-fade-in 0.2s ease;
}

.vera-kal-detail .vera-list-item {
    border-radius: 10px !important;
    border: 1px solid #bae6fd !important;
    border-bottom: 1px solid #bae6fd !important;
    background: #fff;
}

/* Responsive */
@media (max-width: 700px) {
    .vera-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .vera-view-switcher { justify-content: center; }
    .vera-view-btn span { display: none; }
    .vera-view-btn { padding: 8px 12px; }

    .vera-kal-zelle { min-height: 56px; padding: 4px 2px; }
    .vera-kal-tag-nr { font-size: 11px; width: 20px; }
    .vera-kal-event-pill { font-size: 9px; padding: 2px 4px; }
    .vera-kal-nav { padding: 12px; }
    .vera-kal-monat-titel { font-size: 15px; }

    .vera-list-item .vera-card-beschreibung { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   GANZTÄGIG / MEHRTÄGIG BADGES
══════════════════════════════════════════════════════════════════════════ */
.vera-badge-ganztaegig {
    background: #dcfce7;
    color: #166534;
}

.vera-badge-mehrtaegig {
    background: #fef3c7;
    color: #92400e;
}

/* Kalender-Pills für ganztägig/mehrtägig */
.vera-kal-event-pill.vera-kal-ganztaegig {
    background: #dcfce7;
    color: #166534;
    border-left-color: #16a34a;
}
.vera-kal-event-pill.vera-kal-ganztaegig:hover,
.vera-kal-event-pill.vera-kal-ganztaegig.active {
    background: #16a34a;
    color: #fff;
    border-left-color: #15803d;
}

.vera-kal-event-pill.vera-kal-mehrtaegig {
    background: #fef3c7;
    color: #92400e;
    border-left-color: #d97706;
}
.vera-kal-event-pill.vera-kal-mehrtaegig:hover,
.vera-kal-event-pill.vera-kal-mehrtaegig.active {
    background: #d97706;
    color: #fff;
    border-left-color: #b45309;
}

/* ══════════════════════════════════════════════════════════════════════════
   DETAILS-LINK IN DER KACHEL
══════════════════════════════════════════════════════════════════════════ */
.vera-card-details-link {
    margin: 10px 0 6px;
}

.vera-btn-details {
    display: inline-block;
    padding: 7px 16px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.vera-btn-details:hover {
    background: #1d4ed8;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   WICHTIG-CONTAINER
══════════════════════════════════════════════════════════════════════════ */
.vera-wichtig-container {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe08a 100%);
    border: 2px solid #f0a500;
    border-radius: 12px;
    padding: 20px 24px 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(240, 165, 0, 0.25);
}

.vera-wichtig-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.vera-wichtig-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.vera-wichtig-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #7a4a00;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.vera-wichtig-grid {
    margin-top: 0 !important;
}

.vera-wichtig-list {
    margin-top: 0 !important;
}

/* Karte im Wichtig-Container leicht hervorgehoben */
.vera-wichtig-container .vera-card {
    border: 1px solid #f0a500;
    box-shadow: 0 2px 8px rgba(240, 165, 0, 0.15);
}

.vera-wichtig-container .vera-card:hover {
    box-shadow: 0 6px 20px rgba(240, 165, 0, 0.35);
}

/* ══════════════════════════════════════════════════════════════════════════
   META-ZEILEN (Datum / Zeit / Ort untereinander, linksbündig)
══════════════════════════════════════════════════════════════════════════ */
.vera-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 8px 0 10px;
}

.vera-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

.vera-meta-row .vera-meta-icon {
    flex-shrink: 0;
    width: 1.3em;
    text-align: center;
    margin-top: 1px;
}

.vera-meta-row > span:last-child {
    flex: 1;
}

.vera-meta-adresse {
    display: block;
    font-size: 0.82rem;
    color: #666;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   KACHEL MIT BILD — Body links unten über dem Bild
══════════════════════════════════════════════════════════════════════════ */
.vera-card-has-image {
    position: relative;
    min-height: 280px;
    background: #1a1a2e;
}

.vera-card-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vera-card-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.vera-card-has-image:hover .vera-card-image-bg img {
    transform: scale(1.05);
}

/* Gradient-Overlay: dunkel unten links, transparent oben rechts */
.vera-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* Body über dem Bild, links unten */
.vera-card-has-image .vera-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: transparent;
    z-index: 2;
}

/* Text im Overlay hell */
.vera-card-has-image .vera-card-title {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.vera-card-has-image .vera-meta-row {
    color: rgba(255, 255, 255, 0.88);
}

.vera-card-has-image .vera-card-datum .vera-tag-monat,
.vera-card-has-image .vera-card-datum .vera-tag-tag {
    color: #fff;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.vera-card-has-image .vera-meta-adresse {
    color: rgba(255,255,255,0.65);
}

.vera-card-has-image .vera-card-details-link .vera-btn-details {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff !important;
}

.vera-card-has-image .vera-card-details-link .vera-btn-details:hover {
    background: rgba(255,255,255,0.35);
}

.vera-card-has-image .vera-ort-link {
    color: rgba(255,255,255,0.9) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   KACHEL MIT BILD — Datum-Badge über dem Bild, Body darunter
══════════════════════════════════════════════════════════════════════════ */
.vera-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.vera-card-image-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.vera-card:hover .vera-card-image-wrap img {
    transform: scale(1.04);
}

/* Datum-Badge links unten auf dem Bild */
.vera-card-datum-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    min-width: 44px;
    color: #fff;
    line-height: 1.1;
}

.vera-card-datum-overlay .vera-tag-monat {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.vera-card-datum-overlay .vera-tag-tag {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   ANMELDESCHLUSS & GEBÜHREN
══════════════════════════════════════════════════════════════════════════ */
.vera-card-zusatz {
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vera-gebuehr-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════════
   DETAIL-SEITE
══════════════════════════════════════════════════════════════════════════ */
.vera-detail-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 60px;
}

/* ── Hero-Bild ────────────────────────────────────────────────────────── */
.vera-detail-hero {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    margin-bottom: 32px;
}

.vera-detail-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.vera-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}

.vera-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 40px;
    z-index: 2;
}

.vera-detail-hero-kats {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vera-badge-hero {
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.35);
}

.vera-detail-hero-title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.vera-detail-hero-datum {
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    margin: 0;
}

/* ── Header ohne Bild ─────────────────────────────────────────────────── */
.vera-detail-header-plain {
    padding: 32px 0 24px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 32px;
}

.vera-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 8px 0 0;
    color: #1a1a2e;
}

/* ── Vergangen-Banner ─────────────────────────────────────────────────── */
.vera-detail-vergangen-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0 0 24px;
    color: #92400e;
    font-weight: 600;
}

/* ── Body unterhalb Hero ──────────────────────────────────────────────── */
.vera-detail-body {
    padding: 32px 0 0;
}

/* ── Meta-Kacheln (horizontal, umbrechen auf mobil) ───────────────────── */
.vera-detail-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.vera-detail-meta-tile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    flex: 1 1 220px;
    min-width: 180px;
}

.vera-detail-meta-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.vera-detail-meta-tile > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vera-detail-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.vera-detail-meta-value {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
}

.vera-detail-meta-sub {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

.vera-detail-gebuehr-zeile {
    display: block;
    font-size: 0.9rem;
}

/* ── Beschreibung ─────────────────────────────────────────────────────── */
.vera-detail-beschreibung {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 36px;
}

.vera-detail-beschreibung p { margin: 0 0 1em; }

/* ── Anmeldebereich ───────────────────────────────────────────────────── */
.vera-detail-anmeldung-bereich {
    background: #f0f7ff;
    border: 2px solid #2563eb;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.vera-detail-anmeldung-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #dbeafe;
}

/* ── Zurück-Button ────────────────────────────────────────────────────── */
.vera-detail-zurueck {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.vera-btn-zurueck {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.vera-btn-zurueck:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

@media (max-width: 600px) {
    .vera-detail-meta-tile {
        flex: 1 1 100%;
    }
    .vera-detail-hero-content {
        padding: 20px 16px;
    }
    .vera-detail-anmeldung-bereich {
        padding: 20px 18px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   VERANSTALTER IN DER KACHEL
══════════════════════════════════════════════════════════════════════════ */
.vera-card-veranstalter {
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: 4px;
}

.vera-veranstalter-name {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e293b;
}

.vera-veranstalter-kontakt {
    display: block;
    font-size: 0.82rem;
    color: #475569;
    margin-top: 2px;
}

.vera-veranstalter-kontakt a {
    color: #2563eb;
    text-decoration: none;
}

.vera-veranstalter-kontakt a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   KALENDER ABONNIEREN
══════════════════════════════════════════════════════════════════════════ */
.vera-kal-abonnieren {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 20px;
}

.vera-kal-abo-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    margin-right: 4px;
}

.vera-kal-abo-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.vera-kal-abo-btn:hover {
    opacity: 0.85;
}

.vera-kal-abo-apple {
    background: #1c1c1e;
    color: #fff !important;
}

.vera-kal-abo-google {
    background: #4285f4;
    color: #fff !important;
}

.vera-kal-abo-ics {
    background: #fff;
    color: #1e40af !important;
    border: 1px solid #93c5fd;
}

/* ══════════════════════════════════════════════════════════════════════════
   WIDGET: KOMMENDE VERANSTALTUNGEN
══════════════════════════════════════════════════════════════════════════ */

.vera-widget .vera-widget-title-inner {
    font-weight: 700;
}

.vera-widget-leer {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* ── Liste ──────────────────────────────────────────────────────────── */
.vera-widget-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vera-widget-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vera-widget-item:last-child {
    border-bottom: none;
}

/* Heute-Eintrag farblich hervorheben */
.vera-widget-item-heute {
    background: #fffbeb;
    margin: 0 -8px;
    padding: 10px 8px;
    border-radius: 6px;
    border-bottom: 1px solid #fde68a !important;
}

/* ── Vorschaubild ───────────────────────────────────────────────────── */
.vera-widget-img-link {
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    width: 72px;
    height: 54px;
}

.vera-widget-img-link img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.vera-widget-item:hover .vera-widget-img-link img {
    transform: scale(1.06);
}

/* ── Textbereich ────────────────────────────────────────────────────── */
.vera-widget-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.vera-widget-badge-heute {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 1px 7px;
    border-radius: 4px;
    align-self: flex-start;
}

.vera-widget-titel {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b !important;
    text-decoration: none !important;
    line-height: 1.3;
    display: block;
}

.vera-widget-titel:hover {
    color: #2563eb !important;
}

.vera-widget-datum {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
}

.vera-widget-ort {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vera-widget-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.vera-widget-badge-anm {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 4px;
}

/* ── "Alle anzeigen"-Link ───────────────────────────────────────────── */
.vera-widget-alle-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb !important;
    text-decoration: none !important;
    padding: 7px 0;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #f0f7ff;
    transition: background 0.2s;
}

.vera-widget-alle-link:hover {
    background: #dbeafe;
}
