/* ---------- Lokale Schriftarten ---------- */
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/static/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   Wicklein Wood & Energy – Hauptstylesheet
   Aufbau:
     1. Grundlagen & Variablen
     2. Header / Navigation
     3. Hero
     4. Sections (allgemein)
     5. Über uns
     6. Produkte
     7. Verfügbarkeit
     8. Werksverkauf / Öffnungszeiten
     9. Kontakt
    10. Schluss-Banner & Footer
    11. Scroll-Reveal Animation
    12. Responsive
========================================================= */


/* ---------- 1. Grundlagen & Variablen ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #a9cf3d;          /* helles Flyer-Grün */
    --green-dark: #8bb72e;     /* Hover-Variante */
    --forest: #2d4a1e;         /* Waldgrün */
    --forest-deep: #1b2f13;    /* dunkelstes Grün */
    --text: #2a2a2a;
    --muted: #5b5b5b;
    --bg-light: #f6f7f2;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--forest);
    text-decoration: none;
}

a:hover {
    color: var(--green-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ---------- 2. Header / Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(169, 207, 61, 0.97);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 14px 0;
}

header.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.25s ease;
}

header.scrolled .logo-img {
    height: 38px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--forest-deep);
}

.menu-toggle {
    display: none;
    background: var(--green);
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 2px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--white);
    margin: 4px auto;
    transition: 0.3s;
}


/* ---------- 3. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 0 80px;
    background-image: linear-gradient(rgba(169, 207, 61, 0.35) 0%, rgba(27, 47, 19, 0.55) 100%),
                      url('../assets/images/about-saalebogen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-badges {
    position: absolute;
    top: 120px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 12px 16px;
}

.badge-cert {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-cert img {
    width: 90px;
    height: auto;
    display: block;
}

.badge-brand {
    background: var(--green-dark);
}

.badge-brand img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.badge-brand small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    line-height: 1.4;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero h1 .accent {
    color: var(--green);
    display: block;
}

.hero .tag-pill {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 2px;
}

.hero p.lead {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 20px auto 32px;
    font-weight: 400;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 12px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--forest);
}


/* ---------- 3b. Newsticker ---------- */
.ticker-wrap {
    background: var(--green-dark);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.ticker-track {
    display: inline-block;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    padding: 0 32px;
}

.ticker-sep {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ---------- 4. Sections (allgemein) ---------- */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .kicker {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-radius: 2px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--forest);
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.section-title h2 span {
    color: var(--green);
}

.section-title p {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Marken-Logo (z. B. Power Sticks) innerhalb einer Section-Überschrift */
.section-title .brand-logo {
    display: block;
    margin: 0 auto 8px;
    max-width: 260px;
    width: 100%;
    height: auto;
}


/* ---------- 5. Über uns ---------- */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--forest);
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--muted);
}

.about-features {
    list-style: none;
    margin-top: 24px;
}

.about-features li {
    padding: 10px 0 10px 34px;
    position: relative;
    font-weight: 600;
    color: var(--text);
}

.about-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    background: var(--green);
    border-radius: 50%;
}

.about-features li::after {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 9px;
    color: var(--white);
    font-weight: 900;
    font-size: 14px;
}

.about-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 6px solid var(--green);
}


/* ---------- 6. Produkte ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 50px;
    background: var(--bg-light);
    border-left: 5px solid var(--green);
    border-radius: 4px;
    padding: 28px 36px;
}

.brand-block-text {
    flex: 1;
}

.brand-block-logo {
    height: 52px;
    width: auto;
    margin-bottom: 12px;
}

.brand-block p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.brand-block p strong {
    color: var(--forest);
}

.brand-block-product {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.product-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--green);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
}

.product-image.pellets {
    background-image: url('../assets/images/neu/pellets.jpeg');
}

.product-image.sticks {
    background-image: url('../assets/images/power-sticks.jpg');
}

.product-image.chips {
    background-image: url('../assets/images/neu/hackschnitzel.jpeg');
}

.product-body {
    padding: 26px;
}

.product-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-body ul {
    list-style: none;
    margin-top: 16px;
}

.product-body ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--muted);
    font-size: 0.95rem;
}

.product-body ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}


/* ---------- 7. Verfügbarkeit ---------- */
.availability {
    background: var(--green);
    color: var(--white);
    padding: 70px 0;
}

.availability h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.availability-item {
    background: #fff;
    padding: 0;
    border-radius: 6px;
    text-align: center;
    border: none;
    backdrop-filter: none;
    overflow: hidden;
    color: var(--forest);
    transition: transform 0.25s, box-shadow 0.25s;
}

.availability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    background: #fff;
}

.avail-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--forest);
}

.avail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
}

.avail-img--white {
    background: #fff;
}


.avail-img--cover img {
    object-fit: cover;
    padding: 0;
}

.availability-item h4 {
    color: var(--forest);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    padding: 14px 16px 4px;
}

.availability-item p {
    font-size: 0.9rem;
    color: #555;
    opacity: 1;
    padding: 0 16px 18px;
}


.avail-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 14px 28px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.avail-cert img {
    height: 48px;
    width: auto;
    display: block;
}

.avail-cert span {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* ---------- 8. Werksverkauf / Öffnungszeiten ---------- */
.hours {
    background: var(--green-dark);
    color: var(--white);
    background-image: linear-gradient(rgba(169, 207, 61, 0.3), rgba(100, 140, 30, 0.4)),
                      url('../assets/images/neu/wald.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hours .section-title h2 {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hours .section-title p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hours-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    padding: 44px;
    border-radius: 6px;
    border: 1px solid rgba(169, 207, 61, 0.5);
    text-align: center;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest);
}

.hours-row .time {
    color: var(--green-dark);
    font-weight: 700;
}

.hours-note {
    margin-top: 22px;
    font-size: 0.95rem;
    color: var(--muted);
}


/* ---------- 9. Kontakt ---------- */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--green);
}

.contact-subtitle {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.contact-persons {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.contact-person {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.contact-person .name {
    margin-bottom: 0;
}

.contact-person .contact-item {
    justify-self: start;
}

.contact-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: var(--forest);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-card .role {
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-card .name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 0;
}

.contact-card > .name {
    margin-bottom: 28px;
}


.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--text);
}

.contact-item .c-icon {
    width: 38px;
    height: 38px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--green-dark);
}


/* ---------- 10. Schluss-Banner & Footer ---------- */
.closing-banner {
    position: relative;
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(169, 207, 61, 0.5), rgba(122, 158, 40, 0.55)),
                      url('../assets/images/closing-warmth.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.closing-banner h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

footer {
    background: var(--green);
    color: #fff;
    padding: 50px 0 20px;
    text-align: center;
}

footer .logo {
    justify-content: center;
    margin-bottom: 20px;
}

footer .logo-img {
    height: 60px;
}

footer p {
    margin: 8px 0;
    font-size: 0.9rem;
}

footer p a {
    color: #fff;
    text-decoration: none;
}

footer p a:hover {
    color: #fff;
    opacity: 0.7;
}

.footer-line {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--forest);
    font-size: 0.82rem;
    color: #fff;
}


/* ---------- 11. Impressum / Datenschutz ---------- */
.page-content {
    padding: 130px 0 80px;
    min-height: 70vh;
}

.textcontent {
    max-width: 860px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.98rem;
}

.textcontent h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.textcontent h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--forest);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.textcontent a {
    color: var(--green-dark);
    text-decoration: underline;
}

.textcontent a:hover {
    color: var(--forest);
}

.footer-line a {
    color: #fff;
    text-decoration: none;
}

.footer-line a:hover {
    color: var(--white);
    text-decoration: underline;
}


/* ---------- 12. Scroll-Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- 12. Responsive ---------- */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-block {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .brand-block-product {
        width: 160px;
    }

    .availability-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-badges {
        top: 90px;
        right: 20px;
    }

    .badge {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 55px;
    }
}


@media (max-width: 640px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #7a9e28;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    nav ul.open {
        max-height: 400px;
    }

    nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav ul li a {
        display: block;
        padding: 16px 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .availability-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-block {
        padding: 24px 20px;
    }

    .hero,
    .hours,
    .closing-banner {
        background-attachment: scroll;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        padding-bottom: 48px;
    }

    .hero-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 32px;
        padding: 0 24px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
    }

    section {
        padding: 60px 0;
    }

    .hours-card {
        padding: 28px 20px;
    }

    .hours-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .contact-person {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-person .contact-item {
        justify-self: start;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 44px 0;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 36px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p.lead {
        font-size: 0.95rem;
    }

    .btn {
        padding: 13px 24px;
        font-size: 13px;
        display: block;
        width: 100%;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero-badges {
        gap: 10px;
    }

    .badge-cert img,
    .badge-brand img {
        width: 70px;
    }

    .avail-img {
        height: 130px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .hours-card {
        padding: 20px 14px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .brand-block {
        padding: 20px 16px;
    }

    .brand-block-logo {
        height: 38px;
    }
}
