/* =============================================================
   vivaro.css – Vivaro-Landingpage-Styles
   ============================================================= */


/* ── 1. THEME RESET ──────────────────────────────────────────── */

body.page-template-vivaro-template .site-header,
body.page-template-vivaro-template #masthead,
body.page-template-vivaro-template .navigation-top,
body.page-template-vivaro-template #site-header-menu,
body.page-template-vivaro-template .site-footer,
body.page-template-vivaro-template #colophon {
    display: none !important;
}

/* Kein vom Theme gesetztes Padding oben (z. B. für Admin-Bar-Kompensation) */
body.page-template-vivaro-template {
    padding-top: 0 !important;
}


/* ── 2. NAVIGATION (.vv-header) ──────────────────────────────── */

.vv-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #1b2a3b;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Logo */
.vv-logo {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* Navigations-Links */
.vv-nav {
    display: flex;
    align-items: center;
}

.vv-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vv-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.vv-nav a:hover,
.vv-nav a.active,
.vv-nav .current-menu-item > a {
    color: #fff;
    border-bottom-color: #e63946;
}

/* Hamburger-Button – auf Desktop ausgeblendet */
.vv-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.vv-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}


/* ── 3. HERO (.vv-hero) ──────────────────────────────────────── */

.vv-hero {
    background: linear-gradient(135deg, #1b2a3b 0%, #243447 100%);
    padding: 80px 2rem;
    text-align: center;
}

.vv-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}

.vv-hero__headline {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.vv-hero__subline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Call-to-Action-Button im Hero */
.vv-hero__cta {
    display: inline-block;
    background: #e63946;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.vv-hero__cta:hover {
    background: #c0303c;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}


/* ── 4. HAUPT-INHALT (.vv-content) ───────────────────────────── */

.vv-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #1e293b;
    box-sizing: border-box;
}


/* ── 5. FOOTER (.vv-footer) ──────────────────────────────────── */

.vv-footer {
    background: #1b2a3b;
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.vv-footer__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.vv-footer__nav {
    display: flex;
    gap: 1.5rem;
}

.vv-footer__nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.vv-footer__nav a:hover {
    color: #fff;
}


/* ── 6. MOBILE (max-width: 768px) ────────────────────────────── */

@media (max-width: 768px) {
    /* Hamburger sichtbar machen */
    .vv-hamburger {
        display: flex;
    }

    /* Navigation standardmäßig ausblenden */
    .vv-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #1b2a3b;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .vv-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .vv-nav ul li a,
    .vv-nav a {
        display: block;
        padding: 0.85rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.95rem;
    }

    /* Geöffneter Zustand – JS setzt .vv-nav-open auf .vv-header */
    .vv-header.vv-nav-open .vv-nav {
        max-height: 400px;
        padding: 0.5rem 0;
    }

    /* Hero-Headline verkleinern */
    .vv-hero__headline {
        font-size: 1.8rem;
    }

    .vv-hero {
        padding: 56px 1.25rem;
    }

    .vv-content {
        padding: 2rem 1rem;
    }
}
