/* ================================================
   TSC Wettbewerb – Frontend-Styles
   ================================================ */

.vera-wb-container {
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Info / Meldungen ── */
.vera-wb-info {
    padding: 14px 18px;
    background: #f0f4f8;
    border-left: 4px solid #378ADD;
    border-radius: 4px;
    margin-bottom: 24px;
    color: #0C447C;
}
.vera-wb-geschlossen {
    border-left-color: #888780;
    background: #F1EFE8;
    color: #444441;
}
.vera-wb-abgeschlossen {
    border-left-color: #0F6E56;
    background: #E1F5EE;
    color: #085041;
}
.vera-wb-fehler {
    padding: 12px 16px;
    background: #FCEBEB;
    border-left: 4px solid #E24B4A;
    border-radius: 4px;
    color: #791F1F;
    margin-bottom: 16px;
}
.vera-wb-erfolg {
    padding: 14px 18px;
    background: #E1F5EE;
    border-left: 4px solid #0F6E56;
    border-radius: 4px;
    color: #085041;
    margin-bottom: 20px;
}

/* ── Tabs ── */
.vera-wb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}
.vera-wb-tab {
    padding: 10px 22px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    color: #444441;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.vera-wb-tab.active,
.vera-wb-tab:hover {
    color: #0F6E56;
    border-bottom-color: #0F6E56;
}

/* ── Formular ── */
.vera-wb-form {
    max-width: 560px;
}
.vera-wb-hidden {
    display: none;
}
.vera-wb-feld {
    margin-bottom: 18px;
}
.vera-wb-feld label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.vera-wb-feld input[type="text"],
.vera-wb-feld input[type="date"],
.vera-wb-feld textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.vera-wb-feld input:focus,
.vera-wb-feld textarea:focus {
    outline: none;
    border-color: #0F6E56;
    box-shadow: 0 0 0 3px rgba(15,110,86,0.12);
}
.vera-wb-feld input[type="file"] {
    font-size: 14px;
    color: #444;
}
.vera-wb-hinweis {
    font-weight: normal;
    font-size: 12px;
    color: #767676;
}
.vera-wb-hinweis-box {
    padding: 10px 14px;
    background: #F1EFE8;
    border-radius: 6px;
    font-size: 13px;
    color: #444441;
    margin-bottom: 18px;
}
.vera-wb-btn {
    display: inline-block;
    padding: 11px 28px;
    background: #0F6E56;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.vera-wb-btn:hover {
    background: #085041;
}

/* ── Verifikation ── */
.vera-wb-verif-box {
    background: #F5FAF8;
    border: 1px solid #9FE1CB;
    border-radius: 10px;
    padding: 24px;
    max-width: 480px;
    margin-bottom: 32px;
}
.vera-wb-verif-box h3 {
    margin-top: 0;
    color: #085041;
}
.vera-wb-verif-status {
    background: #E1F5EE;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    color: #085041;
    margin-bottom: 24px;
}

/* ── Kategorie-Titel ── */
.vera-wb-kategorie-titel {
    font-size: 22px;
    color: #0F6E56;
    border-bottom: 2px solid #9FE1CB;
    padding-bottom: 8px;
    margin: 36px 0 20px;
}

/* ── Galerie-Grid ── */
.vera-wb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}
.vera-wb-karte {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.vera-wb-karte:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.vera-wb-bild-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.vera-wb-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}
.vera-wb-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vera-wb-video-fehler {
    padding: 40px 16px;
    text-align: center;
    color: #767676;
    font-size: 13px;
}
.vera-wb-karte-info {
    padding: 14px;
}
.vera-wb-karte-titel {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.vera-wb-karte-autor {
    font-size: 13px;
    color: #767676;
    margin-bottom: 6px;
}
.vera-wb-karte-beschr {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ── Sternebewertung ── */
.vera-wb-sterne-wahl {
    display: flex;
    gap: 4px;
    margin: 8px 0 4px;
}
.vera-wb-stern {
    font-size: 26px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    line-height: 1;
}
.vera-wb-stern:hover,
.vera-wb-stern.aktiv {
    color: #EF9F27;
    transform: scale(1.15);
}
.vera-wb-bereits-bewertet {
    font-size: 13px;
    color: #0F6E56;
    font-weight: 600;
    display: block;
    margin-top: 8px;
}
.vera-wb-bewertung-status {
    font-size: 13px;
    color: #0F6E56;
    min-height: 20px;
    margin-top: 4px;
}

/* ── Sterne Anzeige (nach Abstimmung) ── */
.vera-wb-ergebnis-sterne {
    margin-top: 10px;
}
.vera-wb-sterne-anzeige .vera-wb-stern-voll {
    color: #EF9F27;
    font-size: 18px;
}
.vera-wb-sterne-anzeige .vera-wb-stern-leer {
    color: #ddd;
    font-size: 18px;
}
.vera-wb-wert {
    font-size: 14px;
    font-weight: 700;
    color: #EF9F27;
    margin-left: 4px;
}
.vera-wb-stimmen-zahl {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

/* ── Ergebnisse / Sieger ── */
.vera-wb-ergebnis-titel {
    text-align: center;
    font-size: 28px;
    color: #0F6E56;
    margin-bottom: 8px;
}
.vera-wb-sieger-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.vera-wb-sieger {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: transform 0.2s;
}
.vera-wb-sieger:hover {
    transform: translateY(-3px);
}
.vera-wb-platz-1 { border-color: #EF9F27; }
.vera-wb-platz-2 { border-color: #B4B2A9; }
.vera-wb-platz-3 { border-color: #D85A30; }

.vera-wb-platz-badge {
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}
.vera-wb-platz-1 .vera-wb-platz-badge { background: #FAEEDA; color: #633806; }
.vera-wb-platz-2 .vera-wb-platz-badge { background: #F1EFE8; color: #444441; }
.vera-wb-platz-3 .vera-wb-platz-badge { background: #FAECE7; color: #712B13; }

.vera-wb-sieger img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}
.vera-wb-sieger .vera-wb-video-wrapper {
    padding-bottom: 56.25%;
}
.vera-wb-sieger-titel {
    font-weight: 700;
    font-size: 16px;
    padding: 12px 14px 4px;
    color: #1a1a1a;
}
.vera-wb-sieger-autor {
    font-size: 13px;
    color: #767676;
    padding: 0 14px 8px;
}
.vera-wb-sieger .vera-wb-ergebnis-sterne {
    padding: 0 14px 14px;
}
