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

img, picture, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

header {
    background: #2e5d2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    nav {
        gap: 0.6rem;
        padding: 1rem;
        justify-content: center;
    }
    
    .logo {
        flex: 0 0 100%;
        text-align: center;
        order: -1;
    }
    
    .logo img {
        margin-right: 0;
        display: inline-block;
    }
    
    .nav-menu {
        flex: 0 0 100%;
        width: 100%;
        overflow: hidden;
        order: 0;
    }
    
    .nav-menu ul {
        width: 100%;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }
    
    .consent-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .consent-buttons {
        width: 100%;
    }
    
    .consent-btn {
        flex: 1;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-robot {
        width: 200px;
        height: auto;
    }
    
    .upcoming-content {
        grid-template-columns: 1fr;
    }
    
    .r2-gallery {
        grid-template-columns: 1fr;
    }
    
    .r1 .r1-content {
        grid-template-columns: 1fr;
    }
    
    .r1 .r1-robot {
        width: 100%;
        height: auto;
    }
    
    .r2-videos {
        grid-template-columns: 1fr;
    }
}

.hero {
    background: linear-gradient(135deg, #2c5f2d 0%, #1a3a1b 100%);
    color: white;
    padding: 2rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    text-align: center;
}

.hero-robot {
    width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: inline-block;
    object-fit: contain;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5f2d;
}

.upcoming {
    padding: 2rem 2rem;
    background: #f0f4ff;
    position: relative;
    overflow: hidden;
}

.upcoming-container {
    max-width: 1100px;
    margin: 0 auto;
}

.upcoming-content {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.upcoming-text {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
    color: #222;
}

.upcoming-text p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #444;
}

.upcoming-features {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.upcoming-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.upcoming-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-robot {
    width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(18,38,63,0.12);
}

.r2 {
    padding: 2rem 2rem;
    background: #f0f4ff;
}

.r2 .sub-container {
    max-width: 1100px;
    margin: 0 auto;
}

.r2 .sub-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
}

.r2 .r2-block {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
    color: #222;
    line-height: 1.5;
}

.r2 .r2-block h3 {
    margin-top: 0;
    color: #2c5f2d;
}

.r2-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.gallery-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
}

.gallery-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.gallery-container img.upcoming-robot {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: none;
}

.r1 {
    padding: 2rem 2rem;
    background: #f0f4ff;
}

.r1 .r1-block {
    max-width: 1100px;
    margin: 0 auto;
    display: block;
    padding: 2rem;
    border-radius: 16px;
    background: white;
}

.r1 .r1-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
    align-items: center;
}

.r1 .r1-text {
    margin: 0;
    color: #222;
    line-height: 1.5;
    font-size: 1rem;
}

.r1 .r1-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.r1 .r1-robot {
    width: 100%;
    max-width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(18,38,63,0.12);
}

.r2-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
}

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

footer {
    background: #2e5d2e;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    opacity: 0.8;
}

/* Cookie Consent Banner */
.consent-banner {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    margin-top: 2rem;
    display: none;
    border-radius: 8px;
    border: 2px solid #2d5016;
}

.consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.consent-content p {
    margin: 0;
    flex: 1;
}

.consent-buttons {
    display: flex;
    gap: 1rem;
}

.consent-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consent-btn.accept {
    background: #2d5016;
    color: white;
}

.consent-btn.accept:hover {
    background: #3d6820;
}

.consent-btn.decline {
    background: #444;
    color: white;
}

.consent-btn.decline:hover {
    background: #555;
}

/* YouTube Placeholder */
.youtube-placeholder {
    cursor: pointer;
    background: #1a1a1a;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-consent-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.video-consent-message p {
    margin: 0;
    font-size: 1.1rem;
}

.impressum {
    padding: 4rem 2rem;
    background: #f0f4ff;
    min-height: 60vh;
}

.impressum-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.impressum-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
    text-align: left;
    line-height: 1.8;
}

.impressum-content p {
    margin-bottom: 1.5rem;
    color: #333;
}

.impressum-content h2 {
    color: #2d5016;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.impressum-content h2:first-of-type {
    margin-top: 0;
}

.impressum-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.impressum-content li {
    margin: 0.5rem 0;
}

.impressum-content a {
    color: #2d5016;
    text-decoration: underline;
}

.impressum-content a:hover {
    opacity: 0.7;
}

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

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-image {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}