/* --- Variablen --- */
:root {
    --primary-color: #000000;
    --accent-color: #f2f2f2;
    --text-color: #333333;
    --bg-color: #ffffff;
    --font-main: 'Open Sans', sans-serif;
}

/* --- Grundlegende Einstellungen --- */
* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    
    /* NEU HINZUFÜGEN FÜR STICKY FOOTER: */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mindesthöhe ist 100% des Sichtfensters */
}

main {
    flex: 1; /* Nimmt den gesamten verfügbaren Platz zwischen Header und Footer ein */
    width: 100%; /* Sicherstellen, dass die Breite passt */
}

img { max-width: 100%; height: auto; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* --- Header & Navigation --- */
.site-header {
    background: #fff; padding: 20px 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 100;
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 900px; margin: 0 auto; padding: 0 20px;
}

.logo-link { display: flex; align-items: center; text-decoration: none; color: #000; }
.header-logo-img { height: 50px; width: auto; margin-right: 15px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.logo-sub { font-weight: 300; font-size: 0.9rem; color: #666; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: #000; text-decoration: underline; }

/* Sprach-Button */
.lang-toggle-btn {
    background: none; border: none; cursor: pointer;
    font-size: 1.5rem; padding: 0 10px; transition: transform 0.2s;
}
.lang-toggle-btn:hover { transform: scale(1.1); }

/* Mobile Navigation Toggle (Checkbox Hack) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .nav-toggle-label { display: block; width: 30px; height: 30px; position: relative; }
    .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
        display: block; background: #333; height: 2px; width: 100%; position: absolute; top: 14px; transition: all 0.3s;
    }
    .nav-toggle-label span::before { content: ''; top: -8px; }
    .nav-toggle-label span::after { content: ''; top: 8px; }
    
    nav { width: 100%; display: none; margin-top: 20px; text-align: center; }
    nav ul { flex-direction: column; gap: 15px; }
    .nav-toggle:checked ~ nav { display: block; }
}

/* --- Hero Section --- */
.hero { background-color: var(--accent-color); padding: 60px 0; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #555; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { border-radius: 50%; width: 300px; height: 300px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Buttons */
.btn-primary {
    display: inline-block; background: var(--primary-color); color: #fff;
    padding: 12px 24px; text-decoration: none; border-radius: 30px;
    font-weight: 600; transition: background 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #333; }

/* Video Section */
.video-section { text-align: center; margin: 40px auto; padding: 20px; background-color: var(--accent-color); border-radius: 8px; }
.video-responsive {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 800px; margin: 20px auto;
}
.video-responsive iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Intro & Newsletter */
.intro { padding: 60px 0; text-align: center; }
.divider { height: 1px; background: #eee; width: 100px; margin: 40px auto; }
.newsletter { background: #f9f9f9; padding: 60px 0; text-align: center; }
.form-grid { display: flex; gap: 10px; max-width: 500px; margin: 20px auto; }
.form-grid input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }

/* Footer */
footer { background: #111; color: #fff; padding: 40px 0; margin-top: 60px; }
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-info a { color: #fff; text-decoration: underline; }
.copyright { font-size: 0.8rem; opacity: 0.7; }

/* SPRACHSTEUERUNG */
.lang-lv { display: none; }
.lang-de { display: block; }
body.show-lv .lang-lv { display: block; }
body.show-lv .lang-de { display: none; }

@media (max-width: 768px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .form-grid { flex-direction: column; }
}

/* --- Google Forms Integration (Optimiert) --- */
.google-form-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    overflow: hidden; /* Versteckt den Scrollbalken, falls er übersteht */
}

.google-form-container iframe {
    width: 100%;
    border: none;
    overflow: hidden; /* Scrollbalken im Iframe unterdrücken */
    min-height: 1400px; /* Standard-Höhe für Mobile (sicher ist sicher) */
}

/* Auf großen Bildschirmen (PC/Laptop) ist das Formular breiter und damit kürzer */
@media (min-width: 769px) {
    .google-form-container iframe {
        min-height: 1250px; /* Am PC reicht meist etwas weniger Höhe */
    }
}


/* Shop & Kontakt Styles */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.product-card { border: 1px solid #eee; padding: 20px; text-align: center; transition: box-shadow 0.3s; }
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-image { font-size: 3rem; margin-bottom: 10px; }
.price { font-size: 1.25rem; font-weight: bold; margin: 10px 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; }
@media (max-width: 768px) { .contact-wrapper { grid-template-columns: 1fr; } }
