/* Hintergrundebene: Gorilla-Bar-Inhalt, unscharf und abgedunkelt */
.background-blur-overlay {
    position: fixed;
    inset: 0;
    overflow: auto;
    z-index: 0;
    filter: blur(12px) brightness(0.6);
    transform: scale(1.01);
}

/* Grundlegende Schrift & Reset */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: transparent;
    color: #000;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow: hidden;
}

.background-blur-overlay {
    position: fixed;
    inset: 0;
    overflow: auto;
    z-index: 0;
    filter: blur(20px) brightness(0.6) grayscale(0.7) contrast(0.7);
    transform: scale(1.1);
    background: url('/img/gorilla-bg.webp') repeat;
}

/* Modal-Container */
.modal__container {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 1rem;
    z-index: 1001;
    box-sizing: border-box;
}

/* Modal-Inhalt */
.modal-dialog {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #000;
    box-sizing: border-box;
    z-index: 1002;
}

.modal-branding img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 100%;
    height: auto;
}

.modal-header {
    margin-bottom: 1rem;
    text-align: center;
    color: #000;
}

.modal-header .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.modal-body {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #000;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Slider */
#slider-container {
    width: 100%;
    max-width: 360px;
    height: 70px;
    background: #e0e0e0;
    border-radius: 32px;
    position: relative;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    align-items: center;
}

#slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #f5f5f5;
    padding-left: 80px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border: 2px solid #8f0f0f;
}

#slider-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, #b21919, #9e1818);
    border-radius: 50%;
    border: 2.8px solid #8f0f0f;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.85), 0 6px 12px rgba(162, 9, 95, 0.9);
    transition: left 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
    touch-action: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

#slider-handle.dragging {
    background: linear-gradient(145deg, #b21919, #9e1818);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.85), 0 8px 16px rgba(162, 9, 95, 0.9);
}

#slider-handle svg {
    stroke: #fff;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

#slider-text {
    position: relative;
    font-weight: 600;
    user-select: none;
    pointer-events: none;
    font-size: 1.25rem;
    white-space: normal;
    color: #9e1818;
    z-index: 1;
    width: 80%;
    text-align: center;
}

/* Gorilla-Bar spezifisches Design */
.banner-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.banner-section img {
    width: 100%;
    height: auto;
    display: block;
}
.banner-text {
    position: absolute;
    top: 40px;
    left: 40px;
    text-align: left;
    color: #2d1c0b;
    max-width: 60%;
}
.banner-text h1 {
    margin: 0 0 12px 0;
    font-size: 5em;
    font-weight: 900;
    line-height: 1.1;
}
.banner-text p {
    margin: 0;
    font-size: 2.5em;
    font-weight: 500;
}
.banner-sub {
    display: block;
    margin-top: 30px;
    font-size: 1.3em;
    font-weight: 400;
    color: #333;
    max-width: 580px;
    line-height: 1.4;
}
.main {
    max-width: 1200px;
    margin: 0 auto 48px auto;
    background: #fff8efcc;
    color: #3a2c18;
    padding: 36px 20px 60px 20px;
    box-sizing: border-box;
    width: 100vw;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
}
h1 {
    margin-top: 0;
    color: #8b6f3f;
    font-weight: 700;
}
h2 {
    margin-top: 4px;
    margin-bottom: 0;
    color: #5a4523;
    font-weight: 600;
}
p.intro {
    font-size: 1.15em;
    margin-top: 0;
    max-width: 760px;
    line-height: 1.5;
}
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 36px;
    justify-content: center;
}
.product-card {
    background: linear-gradient(120deg, #fff4dc 0%, #f2e7cc 100%);
    border-radius: 18px;
    box-shadow: 0 3px 16px rgba(100,70,20,0.25);
    padding: 24px;
    max-width: 340px;
    flex: 1 1 320px;
    color: #4d3f23;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    transition: transform 0.2s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(100,70,20,0.35);
}
.product-card img {
    width: 90%;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.product-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 4px;
    color: #6b5423;
    text-align: center;
}
.product-desc {
    font-size: 1.02em;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
}
.product-desc ul {
    text-align: left;
    margin-left: 20px;
    list-style-type: disc;
}
.newsletter-section {
    background: linear-gradient(90deg, #f7eed3 0%, #efe2c5 100%);
    border-radius: 20px;
    box-shadow: 0 3px 18px rgba(100,70,20,0.15);
    margin: 40px auto 0 auto;
    padding: 32px 24px 22px 24px;
    text-align: center;
    color: #6b5423;
    max-width: 1162px;
}
.newsletter-headline {
    color: #7a6127;
    font-size: 1.35em;
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 600;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}
.newsletter-input {
    padding: 9.5px 18px;
    border: 2px solid #7a6127;
    border-radius: 30px;
    font-size: 1.1em;
    background: #fff;
    color: #6b5423;
    height: 44px;
    width: 300px;
    box-sizing: border-box;
    text-align: left;
}
.newsletter-btn {
    padding: 0 30px;
    border: none;
    border-radius: 30px;
    background: #7a6127;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.newsletter-btn:hover,
.newsletter-btn:focus {
    background: #a38a34;
    color: #fff;
}
.newsletter-hint {
    font-size: 0.95em;
    color: #7a6127;
    margin-top: 14px;
    opacity: 0.9;
}
.footer {
    padding-top: 20px;
    color: #f5f3e9;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #4a4a33;
}

/* Responsive */
@media (max-width: 900px) {
    .products {
        flex-direction: column;
        gap: 18px;
    }
    .product-card {
        margin: 0 auto;
    }
    .banner-text {
        left: 20px;
        top: 20px;
        max-width: 90%;
    }
    .banner-text h1 {
        font-size: 2.2em;
    }
    .banner-text p {
        font-size: 0.95em;
        max-width:76%
    }
}
@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        max-width: 100%;
    }
    .modal-header .modal-title {
        font-size: 1.8rem;
    }
    .modal-body {
        font-size: 1.3rem;
    }
    #slider-container {
        max-width: 100%;
        height: 66px;
    }
    #slider-track {
        padding-left: 70px;
    }
    #slider-handle {
        top: 2px;
        left: 2px;
        border-width: 2px;
    }
    #slider-text {
        font-size: 1.1rem;
    }
    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        border-radius: 30px;
        text-align: center;
    }
}
