/* GFL Website - Custom Styles */
/* Farben basierend auf dem GFL Logo (Gelb-Grün-Gradient mit blauem Akzent) */

:root {
    --gfl-green-dark: #4a7c10;
    --gfl-green: #6b9b1e;
    --gfl-green-light: #8bc34a;
    --gfl-yellow: #c8d800;
    --gfl-yellow-light: #e8f060;
    --gfl-blue: #5c6bc0;
    --gfl-blue-light: #7986cb;
    --gradient-primary: linear-gradient(135deg, var(--gfl-yellow) 0%, var(--gfl-green) 100%);
    --gradient-hero: linear-gradient(160deg, var(--gfl-yellow-light) 0%, var(--gfl-green-light) 50%, var(--gfl-green) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background: #fafafa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #444 !important;
    padding: 0.8rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gfl-green) !important;
}

/* ========================================
   PAGE SECTIONS
   ======================================== */
.page-section {
    display: none;
    min-height: calc(100vh - 80px);
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: var(--gradient-hero);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #fafafa, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
}

/* Decorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--gfl-yellow);
    top: 10%;
    left: -10%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--gfl-blue-light);
    bottom: 20%;
    right: 5%;
}

/* ========================================
   PAGE HEADERS
   ======================================== */
.page-header {
    background: var(--gradient-hero);
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.page-header-small {
    min-height: 200px;
}

.page-header h1 {
    color: #fff;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

/* ========================================
   SECTION STYLING
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gfl-green-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ========================================
   BENEFIT CARDS
   ======================================== */
.benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(107, 155, 30, 0.15);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

.benefit-card h4 {
    color: var(--gfl-green-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   PARTNER SECTION
   ======================================== */
.partner-section {
    background: linear-gradient(180deg, #fafafa 0%, #f0f5e8 100%);
    padding: 6rem 0;
}

.partner-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.partner-card h3 {
    color: var(--gfl-green-dark);
    margin-bottom: 1.5rem;
}

.partner-card p {
    line-height: 1.8;
    color: #555;
}

.stat-box {
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: 16px;
}

.stat-big {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.stat-desc {
    color: rgba(255,255,255,0.9);
}

.divider {
    margin: 2.5rem 0;
    border-color: var(--gfl-yellow-light);
}

.regionalstrom-title {
    color: var(--gfl-green-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.regionalstrom-title svg {
    width: 30px;
    height: 30px;
    fill: var(--gfl-green);
    margin-right: 10px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.map-title {
    background: #f5f5f5;
    padding: 1rem;
    margin: 0;
    text-align: center;
    color: #666;
    font-weight: 600;
}

/* ========================================
   HIGHLIGHT BOX
   ======================================== */
.highlight-box {
    background: var(--gradient-primary);
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
}

.highlight-box h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.highlight-box-blue {
    background: linear-gradient(135deg, var(--gfl-blue) 0%, var(--gfl-blue-light) 100%);
}

/* ========================================
   CTA BOX
   ======================================== */
.cta-box {
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #f0f5e8 0%, #e8f0da 100%);
}

.cta-box h3 {
    color: var(--gfl-green-dark);
    margin-bottom: 1rem;
}

.cta-box p {
    color: #666;
    font-size: 1.1rem;
}

.cta-signature {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--gfl-green);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: linear-gradient(160deg, var(--gfl-green-dark) 0%, var(--gfl-green) 100%);
    padding: 6rem 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #fafafa, transparent);
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    height: 100%;
}

.contact-card h4 {
    color: var(--gfl-green-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gfl-yellow);
    display: flex;
    align-items: center;
}

.contact-card h4 svg {
    width: 24px;
    height: 24px;
    fill: var(--gfl-green);
    margin-right: 10px;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info strong {
    color: var(--gfl-green);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-info p {
    margin: 0;
    color: #555;
}

.contact-info a {
    color: var(--gfl-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--gfl-green);
}

/* ========================================
   LEGAL SECTIONS (Impressum & Datenschutz)
   ======================================== */
.legal-section {
    background: #f5f5f5;
    padding: 4rem 0;
}

.legal-content {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.legal-content h5 {
    color: var(--gfl-green-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gfl-yellow-light);
}

.legal-content h5:first-child {
    margin-top: 0;
}

.legal-content h6 {
    color: var(--gfl-green);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
}

.legal-content a {
    color: var(--gfl-blue);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ========================================
   STATS ROW
   ======================================== */
.stats-row {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-gfl {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(107, 155, 30, 0.3);
    display: inline-flex;
    align-items: center;
}

.btn-gfl:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 155, 30, 0.4);
    color: #fff;
}

.btn-gfl svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    margin-left: 8px;
}

.btn-outline-light {
    border-width: 2px;
    padding: 0.9rem 2.3rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 3rem 0 1.5rem;
}

footer p {
    margin: 0;
}

footer a {
    color: var(--gfl-yellow);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--gfl-green-light);
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 1rem;
   
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .contact-card {
        padding: 2rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .partner-card {
        padding: 2rem;
    }

    .page-header {
        min-height: 200px;
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gfl-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gfl-green-dark);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: var(--gfl-yellow);
    color: var(--gfl-green-dark);
}
