/* Variablen */
:root {
    --wunsch-color1: #e9c477;
    --wunsch-color2: #313233;
    --aktion-font: "Sparose";
    --accent-color: #e9c477 !important;
    --produkte-label: #e9c477 !important;
    --produkt-detail-btn: #313233 !important;
    --rabatt-text: #313233 !important;
    --rabatt-label: #fff !important;
}
.no-break {
    white-space: nowrap;
}

/* ------------------ Produkte ------------------ */
#produkte {
    background-image: url('https://aktion.oculus.de/wp-content/uploads/sites/4/2025/11/Gold-Glitzer-oben.png'), url('https://aktion.oculus.de/wp-content/uploads/sites/4/2025/11/Gold-Glitzer-unten.png');
    background-position: center -40px, center 102%;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
}
.produkte {
    max-height: 185px;
    overflow: hidden;
}

.produkte.aktiv {
    max-height: 100%;
    aspect-ratio: auto;
    overflow: visible;
}

.produkte .long-description,
.produkte.aktiv .short-description,
.produkte .fusion-text ul,
.produkte .rabatt-text,
.produkte .produktbutton{
    display:none!important;
}

.produkte.aktiv .long-description,
.produkte.aktiv .fusion-text ul,
.produkte.aktiv .rabatt-text,
.produkte.aktiv .produktbutton{
    display:block!important;
}


.produktbutton:nth-child(-n+2) .fusion-button {
    background: var(--wunsch-color2);
    color: #fff;
    border-color: var(--wunsch-color2);
}

.produktbutton:nth-child(-n+2) .fusion-button:hover {
    background: #fff;
}

.produktbutton:nth-child(-n+2) .fusion-button:hover *{
    color: var(--wunsch-color2);
}

#post-8041 .rabatt img {
    width:92%;
}

#post-8041 .rabatt-zahl {
    font-size: 24px;
    font-family: var(--aktion-font) !important;
}

#post-8041 .produkte:hover .rabatt-zahl, #post-8041 .aktiv .rabatt-zahl {
    font-size: 27px;
}

#post-8041 .rabatt-typ {
    font-size: 17px;
}

#post-8041 .produkte:hover .rabatt-typ, #post-8041 .aktiv .rabatt-typ {
    font-size: 19px;
}

/* Rabatt-Kugel */
#rabatt-kugel {
    position: absolute;
    top: 0;
    right: 10px;
    width: 200px;
    overflow: hidden;
}
.allg-rabatt {
    opacity: 0;
}
.allg-rabatt-info {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%);
    width: 150px;
    line-height: 1.3;
    text-align: center;
    z-index: 12;
}
.allg-rabatt-wert {
    position: absolute;
    top: 58%;
    left: 50%;
    width: 100%;
    transform: translate(-50%);
    text-align: center;
    display: none;
    flex-direction: column;
    justify-content: center;

}
.allg-rabatt-zahl {
    font-size: 37px;
    line-height: 1;
    font-family: var(--aktion-font) !important;
}

[data-animate] {
    opacity: 0;
    will-change: auto;
}

.animated {
    transition: opacity .5s cubic-bezier(0.57, 0.08, 0.9, 0.36);
    -webkit-transition: opacity .5s cubic-bezier(0.57, 0.08, 0.9, 0.36); /* Safari Transition */
    opacity: 1;
}

#heading {
    font-weight: 400;
    color: var(--accent-color);
    font-size: 104px !important;
    text-align: center;
    margin: 0 0 77px 0;
}

#aktionHeading2{
    font-family: var(--aktion-font) !important;
    font-weight: 400;
    color: var(--accent-color);
    font-size: 195px !important;
    line-height: 0.47!important;
    text-align: center;
    margin: 0;
}

/* ------------------ Header ------------------ */
#ni-oc {
    margin-left: -55px;
    width: 80%;
    max-width: 600px;
}

#einleitung {
    background-position: center 150%!important;
}

/* Container für den Glitzer */
.sparkle-container {
    position: fixed;
    width: 100%;
    height: 60%;
    bottom: 0;
}

/* Funkelnde Punkte */
.sparkle {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #e9c477 0%, rgba(233,196,119,0) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 2s infinite;
    animation-timing-function: ease-in-out;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
}

     /* ------------------ Ansprechpartner ------------------ */
/* AP - Image */
.ansprechpartner-img {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.ansprechpartner-img img {
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-out;
}

.ansprechpartner-img .ap-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.ansprechpartner-wrapper:hover .ap-img-hover {
    opacity: 1;
}

.ap-img-mobil {
    display:none;
}

/* AP - Suche */
.ansprechpartner-finden {
    background-color: transparent !important;
    padding: 0 !important;
}

#post-8041 .ansprechpartner-suche h3 {
    color: #0086CD!important;
}

.ansprechpartner-suche span {
    color: #005f99 !important;
}

.ansprechpartner-suche .input-wrapper input,
.ansprechpartner-suche .input-wrapper i {
    color: #2B2E34 !important;
}

.ansprechpartner-suche .input-wrapper div,
.kontakt-felder {
    background-color: #DFECF7 !important;
}

.kontakt-felder {
    border: 3px solid #0086CD;
    transition: all 0.25s ease-out;
    margin-top: 6.5px!important;
}

.kontakt-felder:hover {
    border-color: #2B2E34;
    background-color:#fff!important;
}

.ansprechpartner-wrapper .kontakt-felder,
.ansprechpartner-wrapper .kontakt-felder a {
    color: #2B2E34 !important;
}

.ansprechpartner-gefunden {
    padding: 20px;
    background-color: #0086CD;
}

.ansprechpartner-gefunden .back {
    color: #FFE595 !important;
}

/* Modal */
.modal-title {
    color: #fff;
}

/* Formular */
#nex-forms .grips-datenschutz-label .the_input_element {
    color: #fff !important;
}

#nex-forms .grips-datenschutz-label .the_input_element #oc-agb {
    color: #fff !important;
    border-bottom: 2px solid;
}

#nex-forms .error_msg {
    color: #fff !important;
}

#nex-forms .nex_success_message_container .form_field.html .the_input_element {
    color: #fff !important;
}

#nex-forms .submit-button button.btn {
    background-color: #005f99!important;
    border: 3px solid #005f99!important;
}

#nex-forms .submit-button button.btn:hover {
    background-color: #fff!important;
    border: 3px solid #fff!important;
}

#angebot #nex-forms .submit-button button.btn {
    background-color: var(--wunsch-color1) !important;
    border: 3px solid var(--wunsch-color1) !important;
    color: var(--wunsch-color2) !important;
}

#angebot #nex-forms.rabatt_aktion .form_field button.btn:hover {
    color: var(--wunsch-color2) !important;
}

/* -------------------- Kugeln -------------------- */
.weihnachtskugeln {
    position: absolute;
}

#kugel-info {
    top: -29vh;
    left: -4vw;
    width: min(475px, 21vw);
    opacity: 0;
    z-index: 2;
}

#stern1 {
    top: -8vh;
    left: -12%;
    width:17%;
}

#stern2 {
    top: -35vh;
    right: -8vw;
    width: min(550px,24vw);
}


/* -------------------- responsive -------------------- */
@media only screen and (max-width: 1600px) {
    #heading {
        font-size:70px!important;
    }
    #aktionHeading2{
        font-size: 150px!important;
    }

    #kugel-info {
        left: -1vw;
        width: 27vw;
    }
    #stern1 {
        top: -125px;
        left: -4vw;
        width: 15vw;
    }
    #stern2 {
        right: 2vw;
        width:26vw;
    }

    .produkte {
        max-height: 175px;
    }

    .produkte .titel {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 1025px) {
    #heading {
        font-size:50px!important;
    }
    #aktionHeading2{
        font-size: 130px!important;
    }
    
    .ap-img-default, .ap-img-hover {
        display:none;
    }
    .ap-img-mobil {
        display:block;
    }

    .ansprechpartner-finden {
        position: relative !important;
        top: unset !important;
        left: unset !important;
        transform: unset !important;
        width: 100% !important;
        background-color: #E3E3E3 !important;
    }

    .ansprechpartner-suche {
        padding: 40px !important;
    }

    .produkte {
        max-height: 165px;
    }

}

@media only screen and (max-width: 1025px) and (min-width: 1023px) {
    .fusion-no-medium-visibility {
        display:none!important;
    }
}

@media only screen and (max-width: 900px) {
    #heading {
        margin-bottom: 20px;
        margin-top: 37%;
    }

    #aktionHeading2{
        line-height: 1.2!important;
    }

    .respo-txt{
        margin-top: 50px;
    }

    #stern1 {
        top: -6vh;
        left: 3vw;
        width: 18vw;
    }

    #kugel-info {
        top: -32vh;
        left: 15vw;
        width: 41vw;
    }

    #stern2 {
        top: -28vh;
        right: 2vw;
        width: 38vw;
    }
}

@media only screen and (max-width: 641px) {
    #post-8041 h2 {
        font-size: 32px!important;
    }

    #post-8041 h3 {
        font-size: 22px!important;
    }

    #stern1 {
        top: -6vh;
        left: 3vw;
        width: 18vw;
    }

    #kugel-info {
        top: -36vh;
        left: 13vw;
        width: 49vw;
    }

    #stern2 {
        top: -14vh;
        right: 2vw;
        width: 34vw;
    }

    #heading {
        font-size: 35px!important;
    }

    #aktionHeading2{
        font-size: 70px !important;
        line-height: 55px !important;
    }

    .respo-txt{
        font-size: 16px;
        margin-top: 50px;
        line-height: 1.3;
    }
    .respo-txt br,
    #produkte .fusion-text-2 br{
        display: none;
    }

    #einleitung {
        background-position: center 81% !important;
        background-size: 250%;
        background-attachment: fixed!important;
    }

    #ni-oc {
        margin-left: -10px;
    }

    #produkte {
        background-position: 20% 0px, center 100%;
        background-size: 225%, 200%;
    }

    #produkte .fusion-text-2 *{
        font-size: 16px!important;
    } 

    .produkte {
        max-height: 155px;
    }

    #produkte .titel {
        margin-bottom: 10px!important;
    }

    #rabatt-kugel {
        width: 130px;
        font-size: 16px;
    }

    .allg-rabatt-zahl {
        font-size: 24px;
    }

    .allg-rabatt-info {
        font-size:14px;
        width: 127px;
    }

    .ansprechpartner-suche {
        padding: 40px 10px !important;
    }

    .page-id-8041 .fusion-modal .modal-dialog {
        max-height: unset;
        margin-top: 10px;
    }

}

@media only screen and (max-width: 450px) {
    #heading {
        margin-top: 40%;
    }

    #stern1 {
        top: -4vh;
        left: 3vw;
        width: 18vw;
    }

    #kugel-info {
        top: -30vh;
        left: 13vw;
        width: 53vw;
    }

    #stern2 {
        top: -13vh;
        right: 2vw;
        width: 38vw;
    }

    .produkte ul {
        width: 150%;
        padding-top: 5px;
    }
}

