/* FF Fahrzeuge – Modernes Feuerwehr-Wallerfangen-Design */

.ff-fahrzeuge-wrap,
.ff-fahrzeug-detail-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.ff-fahrzeuge-head {
    margin: 0 0 26px 0;
    padding-bottom: 12px;
    border-bottom: 4px solid #0b3a6f;
}

.ff-fahrzeuge-head h2 {
    margin: 0;
    color: #0b3a6f;
    font-size: 34px;
    line-height: 1.15;
}

.ff-fahrzeuge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ff-fahrzeug-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border-top: 6px solid #0b3a6f;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ff-fahrzeug-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
    border-top-color: #d71920;
}

.ff-fahrzeug-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    background: #f4f8fc;
    overflow: hidden;
    text-decoration: none;
}

.ff-fahrzeug-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    padding: 8px;
}

.ff-fahrzeug-placeholder {
    font-size: 64px;
}

.ff-fahrzeug-card-body {
    padding: 22px 24px 24px;
}

.ff-fahrzeug-kicker,
.ff-fahrzeug-hero-kicker {
    color: #6f7b88;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ff-fahrzeug-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.18;
}

.ff-fahrzeug-card h3 a {
    color: #0b3a6f;
    text-decoration: none;
}

.ff-fahrzeug-card h3 a:hover {
    color: #d71920;
}

.ff-fahrzeug-funk,
.ff-fahrzeug-standort {
    margin: 0 0 7px 0;
    color: #24384d;
    line-height: 1.45;
}

.ff-fahrzeug-button {
    display: inline-flex;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #0b3a6f;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
}

.ff-fahrzeug-button:hover {
    background: #d71920;
}

.ff-fahrzeug-back {
    display: inline-flex;
    margin: 0 0 24px 0;
    color: #0b3a6f;
    font-weight: 800;
    text-decoration: none;
}

.ff-fahrzeug-back:hover {
    color: #d71920;
}

.ff-fahrzeug-detail {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

.ff-fahrzeug-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    min-height: 300px;
    background: linear-gradient(135deg, #10213b 0%, #0b3a6f 45%, #155d99 100%);
}

.ff-fahrzeug-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 56px;
    color: #ffffff;
}

.ff-fahrzeug-hero-text h1 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: clamp(22px, 2.25vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.ff-fahrzeug-hero-text p {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}

.ff-fahrzeug-hero-kicker {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
}

.ff-fahrzeug-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.ff-fahrzeug-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    padding: 8px;
}

.ff-fahrzeug-hero-placeholder {
    font-size: 84px;
}

.ff-fahrzeug-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 22px;
    padding: 0 40px 26px;
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.ff-fahrzeug-panel {
    background: #ffffff;
    border: 1px solid rgba(11,58,111,0.13);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.ff-fahrzeug-panel h2 {
    margin: 0 0 18px 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.1;
}

.ff-fahrzeug-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ff-fahrzeug-data-item {
    padding: 14px;
    border: 1px solid rgba(11,58,111,0.10);
    border-radius: 14px;
    background: #ffffff;
}

.ff-fahrzeug-data-item span {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ff-fahrzeug-data-item strong {
    display: block;
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
}

.ff-fahrzeug-equipment {
    margin: 0;
    padding-left: 20px;
    color: #24384d;
    line-height: 1.7;
}

.ff-fahrzeug-muted {
    color: #6b7280;
    font-weight: 700;
}

.ff-fahrzeug-description,
.ff-fahrzeug-gallery-section {
    margin: 0 40px 26px;
}

.ff-fahrzeug-description {
    color: #24384d;
    line-height: 1.7;
}

.ff-fahrzeug-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ff-fahrzeug-gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f8fc;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.ff-fahrzeug-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.22s ease;
}

.ff-fahrzeug-gallery-item:hover img {
    transform: scale(1.04);
}

.ff-fahrzeuge-empty {
    background: #ffffff;
    border-left: 6px solid #0b3a6f;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    color: #24384d;
    font-weight: 700;
}

.ff-fahrzeug-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.86);
    align-items: center;
    justify-content: center;
    padding: 34px;
}

.ff-fahrzeug-lightbox.is-open {
    display: flex;
}

.ff-fahrzeug-lightbox img {
    max-width: 94vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
}

.ff-fahrzeug-lightbox-close {
    position: fixed;
    top: 22px;
    right: 28px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #0b3a6f;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 980px) {
    .ff-fahrzeuge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ff-fahrzeug-hero {
        grid-template-columns: 1fr;
    }

    .ff-fahrzeug-hero-image {
        min-height: 300px;
    }

    .ff-fahrzeug-detail-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        margin-top: 0;
    }

    .ff-fahrzeug-description,
    .ff-fahrzeug-gallery-section {
        margin: 0 24px 24px;
    }

    .ff-fahrzeug-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ff-fahrzeuge-grid {
        grid-template-columns: 1fr;
    }

    .ff-fahrzeug-hero-text {
        padding: 34px 26px;
    }

    .ff-fahrzeug-hero-text h1 {
        font-size: 42px;
    }

    .ff-fahrzeug-hero-text p {
        font-size: 18px;
    }

    .ff-fahrzeug-data-grid {
        grid-template-columns: 1fr;
    }

    .ff-fahrzeug-gallery {
        grid-template-columns: 1fr;
    }
}




/* Fahrzeugtitel passend klein – lange Fahrzeugnamen vollständig lesbar */
.ff-fahrzeug-hero-text h1 {
    font-size: clamp(22px, 2.25vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
}


/* Fahrzeugtitel in Übersicht vollständig lesbar */
.ff-fahrzeug-card h3 {
    font-size: 22px !important;
    line-height: 1.18 !important;
    overflow: visible !important;
}

.ff-fahrzeug-card h3 a {
    display: block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
}
