/* Font fallbacks */
h1, h2, h3, h4, h5, h6, 
.logo-text,
.hero h1,
.section-title,
.service-title,
.about-title,
.feature-title,
.contact-title,
.stats-title,
.product-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-green: #96C020;
    --secondary-green: #7BA01A;
    --accent-green: #B8D040;
    --cream: #ffffff;
    --dark-text: #000000;
    --light-text: #ffffff;
    --soft-gray: #f8f8f8;
    --medium-gray: #eeeeee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--soft-gray);
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--light-text);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 50px);
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    transition: left 0.3s ease;
    z-index: 999;
    padding: 2rem;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: opacity 0.2s;
}

.mobile-menu ul li a:hover {
    opacity: 0.8;
}

.mobile-menu-overlay {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    aspect-ratio: 16/9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    background: var(--primary-green);
    color: var(--light-text);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
}

/* About Section */
.about {
    background: var(--light-text);
    padding: 4rem 0;
}

.about .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-sections-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.story-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid var(--primary-green);
    text-align: center;
}

.story-section h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(123, 160, 26, 0.1);
    border-radius: 50%;
    padding: 4px;
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.story-section p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.story-section p:last-child {
    margin-bottom: 0;
}

/* Products Section */
.products {
    background: var(--soft-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--light-text);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

/* Values Section */
.values {
    background: var(--secondary-green);
    color: var(--light-text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Miro 1 Section */
.alleskoenner {
    background: var(--soft-gray);
}

.alleskoenner-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.alleskoenner-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(150, 192, 32, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--soft-gray), var(--medium-gray));
}

.gallery-image img {
    width: 90%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.2s;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-content {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.gallery-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.gallery-content p {
    margin-bottom: 2rem;
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.3rem;
    color: var(--primary-green);
}

.alleskoenner-gallery-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-bottom-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: var(--cream);
    height: 250px;
    cursor: pointer;
}

.gallery-bottom-item:hover {
    transform: translateY(-5px);
}

.gallery-bottom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Media Section */
.media-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: rgba(150, 192, 32, 0.05);
    border-radius: 20px;
}

.media-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-container h3,
.brochure-container h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.brochure-card {
    background: var(--cream);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.brochure-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.brochure-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brochure-content h4 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-align: center;
}

.brochure-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

.brochure-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--light-text);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s;
    gap: 10px;
}

.brochure-download:hover {
    transform: translateY(-2px);
}

.brochure-download i {
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: var(--light-text);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--medium-gray);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info:hover {
    border-color: var(--primary-green);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    border-radius: 10px;
}

.contact-item:hover {
    background: rgba(150, 192, 32, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-green);
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    background: var(--medium-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form:hover {
    border-color: var(--primary-green);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--light-text);
    color: var(--dark-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--secondary-green);
    color: var(--light-text);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-green);
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.map-container {
    margin-bottom: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    position: relative;
    background: linear-gradient(135deg, var(--soft-gray), var(--medium-gray));
    border: 2px solid transparent;
}

.map-container:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.map-container iframe {
    position: relative;
    z-index: 2;
    transition: filter 0.2s;
    display: block;
    border: none;
}

.map-container:hover iframe {
    filter: contrast(1.05) brightness(1.02);
}

.coordinates-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.coord-item {
    background: var(--medium-gray);
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.2s;
    border: 1px solid rgba(150, 192, 32, 0.1);
}

.coord-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.coord-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.coord-item p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
footer {
    background: var(--primary-green);
    color: var(--light-text);
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    text-align: right;
    margin-top: 0.5rem;
}

.footer-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary-green);
    padding: 0.7rem 2.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    outline: none;
    transition: all 0.2s;
    margin: 0.5rem 0;
    cursor: pointer;
}

.footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close:hover {
    background: var(--primary-green);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-nav:hover {
    background: var(--primary-green);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(150, 192, 32, 0.95), rgba(123, 160, 26, 0.95));
    color: var(--light-text);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--light-text);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--light-text);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cookie-accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.cookie-decline:hover {
    background: var(--light-text);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.cookie-settings {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-settings:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 15000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cookie-modal h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
}

.cookie-category h4 {
    color: var(--secondary-green);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-toggle.active {
    background: var(--primary-green);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.cookie-toggle.active::after {
    transform: translateX(25px);
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .hero {
        padding: 0 15px;
        height: 100vh;
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .media-container {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

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

    .section-title {
        font-size: 1.7rem;
    }

    .gallery-content {
        padding: 1rem;
    }
}
