/* CSS für Sammelbestellung Wattschmiede */

/* Reset und Grundeinstellungen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Formular-Karte */
.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    padding: 30px;
}

/* Header Top: Logo links, Social Media rechts */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-placeholder {
    flex: 0 0 auto;
}

.logo {
    max-height: 80px;
    max-width: 200px;
    height: auto;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Social Media im Header */
.social-media-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    font-size: 0.9em;
    opacity: 0.9;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Platform-spezifische Hover-Farben */
.social-icon.youtube:hover {
    background: #ff0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-icon.tiktok:hover {
    background: #ff0050;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

/* Header Main: Titel und Untertitel */
.header-main {
    margin-bottom: 25px;
    text-align: center;
}

.header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 300;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 0;
}

/* Partner Section */
.partner-section {
    margin-bottom: 25px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 80px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1) opacity(0.9);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.partner-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2) opacity(1);
    background: rgba(255, 255, 255, 0.2);
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    font-size: 0.95em;
    text-align: left;
}

/* Responsive Design für Mobile */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-media-header {
        justify-content: center;
    }
    
    .partner-logos {
        gap: 20px;
    }
    
    .partner-logo {
        height: 60px;
        max-width: 170px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
}

/* Form Sections */
.form-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: #2c5f2d;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Form Groups & Rows */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group.flex-grow {
    flex: 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Produktauswahl */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.bms-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.fertigspeicher-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    background: #f0f8ff; /* Test-Hintergrund um Sichtbarkeit zu prüfen */
    padding: 20px;
    border: 2px solid red; /* Test-Border */
}

/* Fertigspeicher als Checkboxen in Grid-Layout */
.fertigspeicher-grid .product-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fertigspeicher-label {
    display: block;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.fertigspeicher-label:hover {
    border-color: #97bc62;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fertigspeicher-grid input[type="checkbox"]:checked + .fertigspeicher-label {
    border-color: #97bc62;
    background: linear-gradient(135deg, #97bc62, #7da54e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(151, 188, 98, 0.3);
}

.product-item {
    position: relative;
}

.product-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-label {
    display: block;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.product-label:hover {
    border-color: #2c5f2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-item input[type="radio"]:checked + .product-label {
    border-color: #2c5f2d;
    background: #f0f7f0;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.2);
}

.product-image {
    text-align: center;
    margin-bottom: 15px;
}

.product-image img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.1);
}

/* Lightbox für vergrößerte Bilder */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: #ccc;
}

/* Abholungsstandorte */
.abholung-section {
    margin-top: 20px;
    padding: 20px;
    background: #f0f7f0;
    border-radius: 8px;
    border: 1px solid #2c5f2d;
}

.abholung-section h3 {
    color: #2c5f2d;
    margin-bottom: 20px;
    text-align: center;
}

.standorte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.standort-item {
    position: relative;
}

.standort-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.standort-label {
    display: block;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.standort-label:hover {
    border-color: #2c5f2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.standort-item input[type="radio"]:checked + .standort-label {
    border-color: #2c5f2d;
    background: #f9fff9;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.2);
}

.standort-info h4 {
    color: #2c5f2d;
    font-size: 1.3em;
    margin-bottom: 8px;
    text-align: center;
}

.standort-info p {
    color: #666;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.product-info h3 {
    color: #2c5f2d;
    font-size: 1.2em;
    margin-bottom: 8px;
    text-align: center;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-price {
    display: block;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    color: #2c5f2d;
}

/* Checkbox-Gruppe */
.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #2c5f2d;
}

.checkbox-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    cursor: pointer;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-item label:hover {
    background: #f0f7f0;
}

.checkbox-item input[type="checkbox"]:checked + label {
    background: #f0f7f0;
    border-left: 4px solid #2c5f2d;
}

.checkbox-text {
    font-weight: 500;
}

.checkbox-price {
    color: #2c5f2d;
    font-weight: bold;
}

.terms-checkbox {
    justify-content: center;
    background: #f0f7f0;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #2c5f2d;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.terms-checkbox label {
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.terms-checkbox a {
    color: #2c5f2d;
    text-decoration: underline;
}

/* Zubehör-Gruppe mit Eingabefeldern */
.accessory-group {
    display: grid;
    gap: 15px;
}

.accessory-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.accessory-item:hover {
    background: #f0f7f0;
}

.accessory-item > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.accessory-label {
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
}

.accessory-text {
    font-weight: 500;
    margin-bottom: 4px;
}

.accessory-price {
    color: #2c5f2d;
    font-weight: bold;
    font-size: 0.9em;
}

.help-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
    padding: 8px 12px;
    background: #e8f4e8;
    border-radius: 4px;
    border-left: 3px solid #2c5f2d;
    font-style: italic;
}

.quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    background: white;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Preisübersicht */
.price-summary {
    background: #f9f9f9;
}

.price-breakdown {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #ddd;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.price-line:last-child {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #2c5f2d;
}

.price-line.total {
    font-size: 1.2em;
    color: #2c5f2d;
}

/* Submit Section */
.submit-section {
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
}

.submit-btn {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9em;
}

/* Modal für Teilnahmebedingungen */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    color: #2c5f2d;
}

.terms-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Nachrichten */
.message-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 0 20px;
}

.success-message,
.error-message {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.success-icon,
.error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.success-icon {
    background: #27ae60;
}

.error-icon {
    background: #e74c3c;
}

.success-message h2 {
    color: #2c5f2d;
    margin-bottom: 15px;
}

.error-message h2 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.order-summary h3 {
    color: #2c5f2d;
    margin-bottom: 15px;
}

.order-summary p {
    margin-bottom: 8px;
}

.new-order-btn,
.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.new-order-btn:hover,
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .form-card {
        border-radius: 0;
        margin: 0;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-label {
        padding: 15px;
    }
    
    .checkbox-item {
        flex-direction: row;
        align-items: center;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    .checkbox-item label {
        margin-left: 0;
        flex: 1;
    }
    
    .submit-btn {
        width: 100%;
        padding: 18px;
        font-size: 16px;
    }
    
    .price-line {
        font-size: 0.9em;
    }
    
    .price-line.total {
        font-size: 1.1em;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .header h1 {
        font-size: 1.5em;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .form-section h2 {
        font-size: 1.2em;
    }
    
    .product-info h3 {
        font-size: 1.1em;
    }
    
    .product-description {
        font-size: 0.85em;
    }
    
    .checkbox-text {
        font-size: 0.9em;
    }
    
    .checkbox-price {
        font-size: 0.9em;
    }
    
    .bms-grid {
        grid-template-columns: 1fr;
    }
    
    .success-message,
    .error-message {
        padding: 30px 20px;
    }
}

/* Zusätzliche Verbesserungen für bessere UX */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #27ae60;
}

/* Loading State für Submit Button */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Smooth Scrolling für bessere Navigation */
html {
    scroll-behavior: smooth;
}

/* Standort-Grid für Abholung */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.location-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.location-option:hover {
    border-color: #2c5f2d;
}

.location-option input[type="radio"] {
    display: none;
}

.location-option input[type="radio"]:checked + .location-label {
    border-color: #2c5f2d;
    background: #f8fff8;
}

.location-label {
    display: block;
    padding: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.location-info {
    padding: 20px;
    background: white;
}

.location-info h4 {
    color: #2c5f2d;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.location-info p {
    margin: 5px 0;
    color: #666;
}

.map-container {
    height: 200px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.footer {
    background: #2c5f2d;
    color: white;
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: #97d297;
    margin-bottom: 15px;
}

.footer-section p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-section a {
    color: #97d297;
    text-decoration: none;
    display: inline-block;
    margin: 2px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Media Links */
.social-subtitle {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #b8d8b8;
    transition: all 0.3s ease;
    border: 1px solid rgba(184, 216, 184, 0.2);
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(184, 216, 184, 0.4);
    transform: translateY(-1px);
}

.social-icon {
    font-size: 20px;
    margin-right: 12px;
    min-width: 24px;
    text-align: center;
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-weight: 600;
    font-size: 0.95em;
}

.social-desc {
    font-size: 0.8em;
    opacity: 0.8;
    margin-top: 2px;
}

.youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.tiktok:hover {
    border-color: #ff0050;
    background: rgba(255, 0, 80, 0.1);
}

.instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.footer-bottom {
    border-top: 1px solid #4a7c4a;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Legal Content Styles */
.legal-content {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.legal-content h3 {
    color: #2c5f2d;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content h4 {
    color: #4a7c4a;
    margin-top: 15px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 95, 45, 0.95);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 10000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h3 {
    color: #97d297;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #97d297;
    color: #2c5f2d;
}

.cookie-btn.accept:hover {
    background: #7bc97b;
}

.cookie-btn.settings {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn.settings:hover {
    background: white;
    color: #2c5f2d;
}

.cookie-btn.reject {
    background: #666;
    color: white;
}

.cookie-btn.reject:hover {
    background: #555;
}

/* Cookie Settings */
.cookie-settings {
    max-height: 500px;
    overflow-y: auto;
}

.cookie-category {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.cookie-category h3 {
    color: #2c5f2d;
    margin: 0 0 10px 0;
}

.cookie-category p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .slider {
    background-color: #2c5f2d;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #97d297;
    cursor: not-allowed;
}

.toggle-label {
    font-weight: bold;
    color: #666;
}

.cookie-buttons-modal {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Mobile Responsive für Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 120px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
