/* =========================================================
   Präzisionstauchen – Frontend CSS
   TSC Bietigheim · Tauch-Verein-Verwaltung v4
   ========================================================= */

/* --- Filter-Leiste ---------------------------------------- */

.vera-pz-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.vera-pz-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.vera-pz-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 99px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1;
}

.vera-pz-filter-btn:hover {
    border-color: #005a8e;
    color: #005a8e;
}

.vera-pz-filter-btn.active {
    background: #005a8e;
    border-color: #005a8e;
    color: #fff;
}

/* --- Übersichtsgitter ------------------------------------- */

.vera-pz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* --- Übungskarte ------------------------------------------ */

.vera-pz-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, border-color 0.18s;
}

.vera-pz-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #005a8e;
}

.vera-pz-card.hidden {
    display: none;
}

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

.vera-pz-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vera-pz-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.vera-pz-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}

.vera-pz-card-title a {
    color: #1a202c;
    text-decoration: none;
}

.vera-pz-card-title a:hover {
    color: #005a8e;
}

.vera-pz-card-ziel {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.5;
    flex: 1;
}

.vera-pz-card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.vera-pz-icon-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
}

.vera-pz-btn {
    display: block;
    text-align: center;
    padding: 9px 16px;
    background: #005a8e;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

.vera-pz-btn:hover {
    background: #004a78;
}

/* --- Badges / Chips --------------------------------------- */

.vera-pz-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.vera-pz-badge--kat-a { background: #dbeafe; color: #1e40af; }
.vera-pz-badge--kat-b { background: #d1fae5; color: #065f46; }
.vera-pz-badge--kat-c { background: #ede9fe; color: #5b21b6; }
.vera-pz-badge--kat-d { background: #fef3c7; color: #92400e; }
.vera-pz-badge--kat-e { background: #fee2e2; color: #991b1b; }
.vera-pz-badge--info  { background: #e0f2fe; color: #0369a1; }

.vera-pz-badge--belastung-gering { background: #d1fae5; color: #065f46; }
.vera-pz-badge--belastung-mittel { background: #fef3c7; color: #92400e; }
.vera-pz-badge--belastung-hoch   { background: #fee2e2; color: #991b1b; }

.vera-pz-empty {
    text-align: center;
    color: #9ca3af;
    padding: 40px 20px;
    font-size: 15px;
}

/* --- Einzelseite ------------------------------------------ */

.vera-pz-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.vera-pz-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.vera-pz-breadcrumb a {
    color: #005a8e;
    text-decoration: none;
}

.vera-pz-breadcrumb a:hover { text-decoration: underline; }

.vera-pz-single-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

@media (max-width: 860px) {
    .vera-pz-single-inner {
        grid-template-columns: 1fr;
    }
    .vera-pz-sidebar {
        order: -1;
    }
}

/* --- Hero ------------------------------------------------- */

.vera-pz-hero {
    margin-bottom: 36px;
}

.vera-pz-hero-kat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
}

.vera-pz-hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #111827;
}

.vera-pz-hero-meta {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 20px;
}

.vera-pz-hero-img img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* --- Abschnitte ------------------------------------------- */

.vera-pz-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f3f4f6;
}

.vera-pz-section:last-of-type {
    border-bottom: none;
}

.vera-pz-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #005a8e;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vera-pz-ziel-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.vera-pz-content {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* --- Listen ----------------------------------------------- */

.vera-pz-list {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.vera-pz-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    border-bottom: 1px solid #f9fafb;
}

.vera-pz-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #005a8e;
}

.vera-pz-list--bezug li::before {
    background: #10b981;
}

/* --- Sicherheitsbox --------------------------------------- */

.vera-pz-section--safety {
    background: #fff5f5;
    border: 1.5px solid #fca5a5;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.vera-pz-section-title--safety {
    color: #dc2626;
}

.vera-pz-section--safety .vera-pz-list li::before {
    background: #dc2626;
}

/* --- Quelle ----------------------------------------------- */

.vera-pz-quelle {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

/* --- Sidebar: Info-Karte ---------------------------------- */

.vera-pz-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.vera-pz-info-card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vera-pz-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.vera-pz-info-row:last-child { border-bottom: none; }

.vera-pz-info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.vera-pz-info-val {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

.vera-pz-check {
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}

/* --- Ausbildungsstand-Ampel ------------------------------- */

.vera-pz-niveau-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.vera-pz-niveau {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.vera-pz-niveau--aktiv  {
    background: #005a8e;
    color: #fff;
}

.vera-pz-niveau--inaktiv {
    background: #f3f4f6;
    color: #9ca3af;
}

/* --- Materialliste ---------------------------------------- */

.vera-pz-material-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vera-pz-material-list li {
    padding: 7px 0;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f9fafb;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.vera-pz-material-list li:last-child { border-bottom: none; }

.vera-pz-material-list li::before {
    content: '•';
    color: #005a8e;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Navigation Prev/Next --------------------------------- */

.vera-pz-prev-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.vera-pz-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.12s;
    line-height: 1.4;
}

.vera-pz-nav-link:hover {
    background: #f3f4f6;
    color: #005a8e;
}

.vera-pz-nav-link--next {
    justify-content: space-between;
}

.vera-pz-all-link {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #005a8e;
    text-decoration: none;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.vera-pz-all-link:hover { text-decoration: underline; }
