body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

h1 {
    font-size: 3em;
    font-weight: bold;
    color: #f9faf8;
}

h2 {
    font-size: 2em;
    font-weight: bold;
    color: #1f2937;
}

h3 {
    font-size: 24px;
    font-weight: bold;
}

ul {
    list-style-type: none;
    display: flex;
    gap: 2em;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: #e5e7eb;
    font-size: 18px;
}

.header {
    background-color: #BFACC8;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #fff;
}

nav a:hover {
    background-color: #aa99b3;
    border: #aa99b3;
    border-radius: 8px;
}

nav li:first-child {
    margin-right: auto;
}

.logo {
    height: 64px;
    width: auto;
    filter: none;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #BFACC8;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px #1f2937;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.open {
    transform: translateX(0);
    /* Added */
    opacity: 1;
    /* Added */
}

.sidebar li {
    width: 100%;
    padding-top: 20px;
}

.sidebar a {
    width: 100%;
}

.sidebar a:hover {
    color: #dadada;
}

nav img {
    height: 26px;
    width: 26px;
    filter: invert();
}

.menubtn {
    display: none;
}

.secone {
    background-color: #BFACC8;
    display: flex;
    justify-content: center;
    flex: 1;
    align-items: center;
    gap: 4em;
    padding: 7em;
}

.seconeleft {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 50em;
    color: #e5e7eb;
    font-size: 1.1em;
    text-align: justify;
    padding: 20px;
}

.seconebutton {
    background-color: #4A4063;
    color: white;
    border-radius: 8px;
    font-size: large;
    padding: 0.5em 2em;
    border: 0;
    font-weight: 400;
    margin-top: 20px;
}

.seconebutton:hover {
    background-color: #3f3655;
}

.seconeright {
    max-width: 100em;
}

.seconeright img {
    filter: drop-shadow(2px 2px 10px #000000);
}

.biglogo {
    width: 20em;
}

.sectwo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3em;
}

.productcontainer {
    display: flex;
    align-items: center;
    overflow-y: auto;
    width: 100%;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prodimg img {
    height: 16em;
    width: 14em;
    border-style: solid;
    border-radius: 10px;
    border-width: 1px;
    border-color: #4A4063;
    margin: 3em;
    margin-bottom: 1em;
}

.prodtext {
    color: black;
    opacity: 60%;
    margin: 0;
    margin-bottom: 2em;
}

.configbutton {
    margin-bottom: 8px;
    margin-top: 20px;
    background-color: #BFACC8;
    color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
    border-color: white;
    font-size: large;
    padding: 10px 16px;
    font-weight: lighter;
}

.configbutton img {
    height: 12px;
}

.configbutton:hover {
    background-color: #ae9db6;
}

.configurator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: solid 1px #4A4063;
    min-width: 80%;
    min-height: 324px;
    border-radius: 20px;
    margin: 24px;
    padding: 24px 48px 24px 48px;
    text-align: center;
}

#answers {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
}

#answers button {
    background-color: #4A4063;
    color: white;
    border-radius: 8px;
    font-size: large;
    padding: 0.5em 2em;
    border: 0;
    font-weight: 400;
    margin-top: 20px;
}

#answers button:hover {
    background-color: #3f3655;
}

#images {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
}

#images img {
    background-blend-mode: multiply;
    min-width: auto;
}

.result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.result a {
    font-size: 16px;
    color: #aa9bcf;
}



.reviewimg img {
    height: auto;
    width: 18em;
    border-style: solid;
    border-radius: 10px;
    border-width: 1px;
    border-color: #4A4063;
    margin: 1em 2em 1em 0.5em;
}

.secthree {
    background-color: #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 3em;
}

.preisliste {
    margin-top: 1em;
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    text-align: center;
}

.secthreecontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10em;
    margin-bottom: 4em;
    padding-top: 3em;
    width: 100%;
    height: 100%;
}

.secthreecontent img {
    /* Ehemals Preislistenbild */
    max-height: 20em;
}

.secthreecontent iframe {
    max-width: 100%;
}

.secthreebutton {
    background-color: #BFACC8;
    color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
    border-color: white;
    font-size: large;
    padding: 10px 16px;
    font-weight: lighter;
}

.secthreebutton:hover {
    background-color: #ae9db6;
}

.secfour {
    margin: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.secfourinner {
    background-color: #4A4063;
    color: white;
    border-radius: 18px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 4em;
    gap: 7em;
}

.secfourleft {
    text-align: justify;
    flex-basis: 40em;
}

.secfourright {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.secfourbutton {
    background-color: #4A4063;
    color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
    border-color: white;
    font-size: large;
    padding: 8px 10px;
    font-weight: bold;
}

.secfourbutton img {
    max-width: 1em;
    filter: invert();
}

.beautinda {
    background-color: #4A4063;
    color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
    border-color: white;
    font-size: large;
    padding: 8px 10px;
    font-weight: bold;
}

.beautinda img {
    max-width: 6em;
}

.secfourbutton:hover,
.beautinda:hover {
    background-color: #39314d;
}

.btn {
    background-color: #4A4063;
    color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
    border-color: white;
    font-size: large;
    padding: 8px 10px;
    font-weight: bold;
}

.btn img {
    max-width: 6em;
}

.impressum {
    background-color: rgb(197, 182, 204);
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 2em 4em;
    gap: 1em;
}

.impressum h3 {
    margin-bottom: 0;
}

.impressum p {
    margin: 0;
}

.imprcontainer {
    margin-left: 2em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14em;

}

.datenschutz {
    width: 100%;
}

.footer {
    background-color: #BFACC8;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    padding: 1em;
    flex-direction: column;
}

.footer ul {
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
}

.contacttxt2 {
    display: none;
}

.buttonrow {
    display: none;
}

.totop {
    background: #aa99b3;
    position: fixed;
    bottom: 64px;
    right: 64px;
    width: 32px;
    height: 32px;
    border: #aa99b3;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0 4px #000000;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}

.totop.active {
    bottom: 64px;
    opacity: 80%;
    pointer-events: auto;
}

.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    backdrop-filter: blur(10px);
    /* Weicher Blur-Effekt */
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    /* Start mit 0 */
    visibility: hidden;
    /* Verhindert Interaktionen, wenn unsichtbar */
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* Sanfte Animation */
    /* display: none; */
}

.message-overlay.visible {
    opacity: 1;
    /* Wird sichtbar */
    visibility: visible;
    /* Aktiviert Interaktionen */
}

.message {
    position: fixed;
    /* oder fixed, wenn es auch beim Scrollen mittig bleiben soll */
    top: 50%;
    /* Positioniert in der Mitte von oben */
    left: 50%;
    /* Positioniert in der Mitte von links */
    transform: translate(-50%, -50%);
    /* Verschiebt die Mitte des Elements */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #625584;
    max-width: 34em;
    padding: 2em;
    border: solid #cabdec 2px;
    border-radius: 24px;
    color: #e2cbed;
    text-align: center;
}


.message h2 {
    color: #ddc8e6;
    font-size: xx-large;
    margin-top: 0;
}

.message p {
    margin: 4px;
}

.message h1 {
    font-size: xx-large;
}

#close-message {
    align-self: flex-end;
    width: 8px;
    height: auto;
    margin: 0;
    filter: invert();
}

.message button:hover {
    background-color: #625584;
    transition: all ease-in-out 0.5s;
}

@media all and (max-width: 420px) {
    .seconeleft h1 {
        font-size: x-large;
    }
}


@media all and (max-width: 664px) {
    .sidebar {
        width: 100%;
    }

    .biglogo {
        display: none;
    }

    .secone {
        padding-top: 0;
        margin-top: 0;
        position: relative;
        z-index: 1;
    }

    .secone::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background-image: url("./static/images/portraitbig.png");
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(8px);
        opacity: 0.3;
        z-index: -1;
    }

    .seconeleft {
        display: flex;
        justify-content: center;
        padding-top: 0;
    }

    .seconeleft h1 {
        margin-top: 0;
    }

    .sectwo h2 {
        font-size: larger;
    }

    .configurator {
        margin: 4px;
        padding: 24px;
    }

    #images img {
        max-width: 30%;
        height: 40px;
    }

    .secthreecontent {
        flex-direction: column;
        gap: 2em;
    }

    .secfour {
        margin: 2em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .secfourright {
        display: none;
    }

    .contacttxt1 {
        display: none;
    }

    .contacttxt2 {
        display: inline;
    }

    .imprcontainer {
        display: block;
    }

    .ihk {
        margin-top: 20px;
    }

    .totop.active {
        bottom: 24px;
        right: 24px;
        opacity: 60%;

    }
}

@media all and (max-width: 890px) {
    .header a {
        font-size: medium;
    }

    .hideOnMobile {
        display: none;
    }

    .menubtn {
        display: block;
    }

    .secone {
        width: auto;
    }

    .secone p {
        font-size: medium;
    }

    .seconeright {
        max-width: 20em;
    }

    .biglogo {
        width: 12em;
    }

    .secfourright {
        display: none;
    }

    .beautinda {
        display: none;
    }

    .buttonrow {
        display: flex;
        justify-content: space-evenly;
        gap: 4px;
    }

    .contacttxt1 {
        display: none;
    }

    .contacttxt2 {
        display: block;
    }

    .imprcontainer {
        gap: 4em;
    }

    .footer {
        text-align: center;
    }
}

@media all and (max-width: 1000px) {
    .header a {
        font-size: small;
    }

    .secone {
        gap: 0;
        padding: 20px 30px;
    }

    .seconeleft {
        width: 50em;
        font-size: 1em;
    }

    .seconeleft p {
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2em;
        font-weight: bold;
        color: #f9faf8;
    }

}

/* Observer animation */

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}
