:root {
    --primary: #343434;
    --hover-color: rgba(255, 105, 180, 0.5); /* Pinker Hover-Effekt */
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.woff2') format('woff2'),
         url('./fonts/Roboto-Regular.woff') format('woff'),
         url('./fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Light.woff2') format('woff2'),
         url('./fonts/Roboto-Light.woff') format('woff'),
         url('./fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif; /* Roboto als Standard-Schriftart */
}

#main .container {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('./images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.logo {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo img {
    width: auto;
    height: 85px;
}

.menu {
    position: absolute;
    top: 40px;
    right: 40px;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li {
    margin-left: 20px;
}

.btn-link {
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding: 10px 15px;
    background: var(--primary);
    transition: background 0.3s ease;
    border: 2px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
}

.btn-link:hover, .btn-link.active {
    background: transparent;
    color: var(--primary);
}

.card {
    background: rgba(253, 220, 232, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(253, 220, 232, 0.3);
    color: var(--primary);
    width: auto;
    min-width: 700px;
    height: 400px;
    padding: 20px;
    text-align: center;
    line-height: 3;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.bottom-button a {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.treatment {
    font-size: 1.2em; /* Größe anpassen, leicht kleiner als Oberkategorien */
    font-weight: bold; /* Fett für die Behandlungen */
    padding: 10px; /* Padding für Boxen */
    margin: 2px 0; /* Minimaler Abstand zwischen den Boxen */
    border: 1px solid #ccc; /* Rahmen für die Box */
    border-radius: 5px; /* Runde Ecken */
    background-color: #fff; /* Hintergrundfarbe der Box */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.treatment:hover,
.treatment.open {
    background-color: var(--hover-color); /* Pinker Hover-Effekt oder wenn geöffnet */
}

.details {
    padding: 10px 10px 0px 10px;
    font-size: 0.9em;
    color: #555; /* Textfarbe für Details */
    transition: max-height 0.1s ease-in-out; /* Add transition effect */
    max-height: 0; /* Initially hidden */
    overflow: hidden;
}

.details > p {
    font-size: 1.1em;
    line-height: 1.4em;
}

.details.show {
    padding: 15px 10px 10px 10px; /* Abstand, wenn Details sichtbar sind */
    border: 1px solid var(--hover-color);
    border-radius: 0px 0px 5px 5px;
    border-top: none;
    margin-bottom: 15px;
    margin-top: -5px;
}

.collapse {
    float: right;
}

.collapse:after {
    content: '\002B'; /* Unicode character for "plus" sign (+) */
    font-size: 21px;
    color: var(--primary);
    float: right;
    margin-left: 40px;
}

.open:after {
    content: "\2212"; /* Unicode character for "minus" sign (-) */
}

.collapse-hidden:after {
    visibility: hidden;
}

.info-container {
    margin-top: 20px;
    gap: 50px;
}

.info-image img {
    object-fit: cover;
    width: 450px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* Optional: Shadow effect */
}

.more-images {
    flex-wrap: wrap;
    gap: 20px;
}

.more-images img {
    object-fit: cover;
    width: 200px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* Optional: Shadow effect */
}

@media (max-width: 480px) {
    .logo {
        top: 6%;
    }

    .logo img {
        height: 75px;
    }

    #main .container {
        background-size: cover;
        background-position: left;
    }

    .container-opacity {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: rgba(52, 52, 52, 0.137);
    }

    .menu {
        top: 85px;
        right: unset;
    }

    #main .menu { /* For Main page only due to opacity bg */
        position: relative;
        top: 65px;
    }

    .menu ul {
        justify-content: center;
        gap: 10px;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .content {
        margin-top: 130px !important;
    }

    .btn-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .card {
        right: 50%;
        transform: translate(50%, -47%);
        width: 50% !important;
        min-width: 400px !important;
        font-size: 12.5px;
        line-height: 2.3;
        height: 65%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .info-image img {
        width: unset;
    }

    .collapse {
        border-left: 2px solid var(--primary);
        float: unset;
    }

    .collapse:after {
        margin-left: 0;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo {
        top: 6%;
    }

    #main .container {
        background-size: cover;
        background-position: center center;
    }

    #main .menu {
        left: 50%;
        transform: translateX(-50%);
    }

    .menu {
        top: 80px;
        right: unset;
    }

    .menu ul {
        justify-content: center;
        gap: 10px;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .content {
        margin-top: 130px !important;
    }

    .btn-link {
        font-size: 15px;
        padding: 8px 12px;
    }

    .card {
        right: 50%;
        transform: translate(50%, -47%);
        width: 50% !important;
        min-width: 400px !important;
        font-size: 12.5px;
        line-height: 2.3;
        height: 65%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .logo {
        top: 6%;
    }

    #main .container {
        background-size: cover;
        background-position: center center;
    }

    .menu {
        top: 80px;
        right: unset;
    }

    #main .menu { /* For main page only */
        top: 15px;
        right: 20px;
    }

    .menu ul {
        justify-content: center;
        gap: 10px;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .content {
        margin-top: 130px !important;
    }

    .card {
        right: 50%;
        transform: translate(50%, -47%);
        width: 50% !important;
        min-width: 400px !important;
        font-size: 12.5px;
        line-height: 2.3;
        height: 45%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 1300px) {
    .info-container {
        flex-direction: column; /* Stack content and image vertically */
        align-items: flex-start; /* Align items to the start */
    }
    .more-images {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .content {
        width: 100% !important;
    }   
}

/* PAGE 2 & 3 */

:is(#page2,#page3,#pageInfo) .container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('./images/pastel-background.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100%;
}

.content {
    width: 70%;
    margin: 110px 0px;
    padding: 10px 20px;
    color: var(--primary);
}

.page-heading {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-heading {
    font-size: 26px;
}

h2, h3, h4, h5, h6, p :where(#page2, #page3, #pageInfo) {
    margin-bottom: 5px;
}

/* GENERAL */

.center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

p {
    font-size: 18px;
}
.treatment {
    font-family: 'Lato', sans-serif; /* Neue Schriftart für die Behandlungen */
    font-size: 1.2em; /* Größe anpassen */
    font-weight: bold; /* Fett für die Behandlungen */
    padding: 10px; /* Padding für Boxen */
    margin: 2px 0; /* Minimaler Abstand zwischen den Boxen */
    border: 1px solid #ccc; /* Rahmen für die Box */
    border-radius: 5px; /* Runde Ecken */
    background-color: #fff; /* Hintergrundfarbe der Box */
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.treatment:hover,
.treatment.open {
    background-color: var(--hover-color); /* Pinker Hover-Effekt oder wenn geöffnet */
}
@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Regular.woff2') format('woff2'),
         url('./fonts/Lato-Regular.woff') format('woff'),
         url('./fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Bold.woff2') format('woff2'),
         url('./fonts/Lato-Bold.woff') format('woff'),
         url('./fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}
.inquiry-text {
    font-weight: bold;
    font-size: 1.5em; /* Text wird größer */
    text-align: center; /* Text wird mittig ausgerichtet */
    margin-top: 30px; /* Platz oben */
    margin-bottom: 30px; /* Platz unten */
}

.gap-30px {
    gap: 30px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}