/* ============================================================
   SP-Mietlift – app.css
   Basiert auf dem finalen HTML-Preview
   ============================================================ */

:root {
    --navy:      #1a2e4a;
    --olive:     #8db600;
    --olive-dark:#6f9100;
    --light-bg:  #f2f2ec;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; color: #333; }
a    { text-decoration: none; }

/* ── NAVBAR ── */
.navbar {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--olive); }
.nav-links { display: flex; gap: 0.2rem; }
.nav-links a {
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem 2.5rem 1.5rem;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 65vh;
    min-height: 480px;
    overflow: visible;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center right;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15,28,48,0.55) 0%,
        rgba(15,28,48,0.35) 50%,
        rgba(15,28,48,0.05) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2.5rem 0 8%;
    max-width: 780px;
}
.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
}
.hero-content p {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 480px;
}
.btn-mehr-info {
    display: inline-block;
    background: #fff;
    border: 2px solid #fff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.6rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    text-transform: uppercase;
}
.btn-mehr-info:hover { background: transparent; color: #fff; }

.hero-phone {
    display: inline-flex;
    flex-direction: column;
    align-self: flex-start;
    background: var(--olive);
    padding: 1.4rem 1.6rem 1.2rem;
    margin-top: 2.2rem;
    position: relative;
    bottom: -5.5rem;
    border-radius: 6px;
}
.hero-phone::after {
    content: '';
    display: block;
    width: 55%;
    height: 2px;
    background: rgba(255,255,255,0.35);
    margin-top: 0.9rem;
}
.hero-phone .label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.3rem;
}
.hero-phone .number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}

/* ── FLEET SECTION ── */
.section-fleet {
    padding: 7.5rem 2.5rem 6rem;
    background: #fff;
}
.fleet-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;
}
.fleet-text { flex: 1; }
.fleet-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 1.4rem;
}
.fleet-text p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}
.fleet-image { flex: 1; }
.fleet-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .fleet-inner { flex-direction: column; gap: 2.5rem; }
}

/* ── BTN DARK ── */
.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btn-dark:hover { background: #0f1e33; color: #fff; }

/* ── BTN OLIVE ── */
.btn-olive {
    display: inline-block;
    background: var(--olive);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btn-olive:hover { background: var(--olive-dark); color: #fff; }

/* ── ABOUT ── */
.section-about {
    padding: 5.5rem 2.5rem;
    background: var(--light-bg);
    text-align: center;
}
.section-about h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--olive);
    margin-bottom: 0.6rem;
}
.divider {
    width: 55px;
    height: 3px;
    background: var(--olive);
    margin: 0 auto 2rem;
}
.section-about p {
    max-width: 760px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ── CONTACT BANNER ── */
.section-contact-banner {
    display: flex;
    min-height: 360px;
}
.contact-img {
    width: 50%;
    object-fit: cover;
    display: block;
}
.contact-info {
    width: 50%;
    background: #ebebeb;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.contact-info .sub {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}
.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; fill: #fff; }
@media (max-width: 768px) {
    .section-contact-banner { flex-direction: column; }
    .contact-img  { width: 100%; height: 260px; }
    .contact-info { width: 100%; padding: 2rem; }
}

/* ── VEHICLES SHOWCASE ── */
.section-vehicles {
    background: var(--olive);
    padding: 3rem 2.5rem 0;
}
.vehicles-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.vehicles-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #fff;
}
.search-block { text-align: right; }
.search-block .search-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    display: block;
}
.search-block .search-hint {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 0.5rem;
}
.search-block .search-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.search-block .search-row span {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
}
.search-block input {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    width: 260px;
    outline: none;
}
.vehicle-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: var(--olive);
}
.vehicle-cell img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}
.vehicle-cell img:hover { opacity: 0.88; }
@media (max-width: 768px) {
    .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vehicle-grid { grid-template-columns: 1fr; }
}

/* ── VEHICLES INDEX PAGE ── */
.page-header {
    background: var(--navy);
    padding: 4rem 2.5rem 3rem;
    color: #fff;
}
.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 1100px;
    margin: 0 auto;
}
.vehicles-section {
    padding: 4rem 2.5rem;
    background: var(--light-bg);
}
.vehicles-section .inner { max-width: 1100px; margin: 0 auto; }
.filter-bar {
    background: #fff;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.filter-bar input {
    border: 1px solid #ddd;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
    outline: none;
}
.filter-bar input:focus { border-color: var(--olive); }
.vehicle-card-item {
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vehicle-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.vehicle-card-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.vehicle-card-body { padding: 1.2rem; }
.vehicle-card-body h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.vehicle-card-body p { font-size: 0.88rem; color: #666; margin-bottom: 1rem; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid { grid-template-columns: 1fr; } }

/* ── VEHICLE DETAIL ── */
.vehicle-detail { padding: 4rem 2.5rem; background: var(--light-bg); }
.vehicle-detail .inner { max-width: 1100px; margin: 0 auto; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 2rem;
}
.back-link:hover { color: var(--olive); }
.vehicle-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.vehicle-detail-grid img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}
.vehicle-detail-info h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
.vehicle-detail-info p { color: #555; line-height: 1.8; margin-bottom: 1.5rem; }
.specs-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.specs-table tr { border-bottom: 1px solid #e0e0e0; }
.specs-table td { padding: 0.6rem 0; font-size: 0.9rem; }
.specs-table td:first-child { font-weight: 700; color: var(--navy); width: 45%; }
@media (max-width: 768px) {
    .vehicle-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── CONTACT PAGE ── */
.contact-page { padding: 5rem 2.5rem; background: #fff; }
.contact-page .inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}
.contact-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.contact-page .intro { color: #666; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail-row .icon {
    width: 44px;
    height: 44px;
    background: var(--olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-row .icon svg { width: 18px; height: 18px; fill: #fff; }
.contact-detail-row .text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}
.contact-detail-row .text a,
.contact-detail-row .text span { color: #555; font-size: 0.95rem; }
.contact-form-wrap { background: var(--light-bg); padding: 2.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 0.65rem 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--olive); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: #c0392b; font-size: 0.8rem; margin-top: 0.3rem; }
.alert-success {
    background: #f0f8e8;
    border-left: 4px solid var(--olive);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    color: #3a5a00;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .contact-page .inner { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.site-footer {
    background: var(--navy);
    padding: 3.5rem 2.5rem 1.5rem;
    color: rgba(255,255,255,0.7);
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.3fr 0.9fr;
    gap: 2.5rem;
}
.footer-col h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; line-height: 1.9; }
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}
.footer-logo span { color: var(--olive); }
.footer-search { display: flex; }
.footer-search input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.5rem 0.9rem;
    flex: 1;
    font-size: 0.88rem;
    outline: none;
}
.footer-search input::placeholder { color: rgba(255,255,255,0.4); }
.footer-search button {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-left: none;
    color: #fff;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.footer-search button:hover { background: rgba(255,255,255,0.25); }
.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.78rem;
    text-align: center;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.scroll-top:hover { opacity: 1; }
