* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    scroll-behavior: smooth;
}

a {
    color: #333;
}

.container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
}

.spacer {
    border: none;
    border-top: 1px solid white;
    border-radius: 3px;
    margin: 10px 50px;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 20px;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.header {
    background-image: url('/static/images/homepage.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.title-text {
    font-size: 7em;
    margin-bottom: 0px;
    line-height: 110px;
    background: linear-gradient(to right, #373a41 28.99%, #f78f50 99.16%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #333;
}

.title-subtext {
    font-size: 1.75em;
}

.text-block-homepage {
    margin-bottom: 100px;
}

.services, .prices, .info, .contact, .edit {
    background-color: #ffffff;
    color: #333;
    text-align: left;
}

.services {
    background-color: #2b2b2b14;
    transition: background-color 0.3s ease;
}

h2 {
    font-size: 5em;
    margin-bottom: 0px;
    color: #333;
}

h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 1.2em;
    color: #555;
}

.nav {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 10px;
    left: 50%;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.3s ease;
}

.nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav a:hover {
    background-color: #555;
}

.text-block-homepage {
    padding: 20px;
    border-radius: 10px;
}

.text-block {
    background-color: #ffffffe8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.homepage-nav {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    z-index: 1000;
    max-width: 50%;
    justify-content: center;
}

.homepage-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.homepage-nav a:hover {
    background-color: #555;
}

.scroll-down-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1;
    display: block;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: all 0.3s ease;
}

.scroll-down-button.visible {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.contact-button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;  
    text-decoration: none;
    margin: 0 auto;
}

/*
##################
Preise
##################
*/

#prices {
    position: relative;
    background-image: url('/static/images/pricingbg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-position: center;
    z-index: 1;
}

.pricing-title {
    margin-top: 30px;
}

.price-packages {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 70px;
}

.package {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 7px 17px 10px rgb(255 255 255 / 38%);
    padding: 20px;
    width: 26%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.price-packages {
    padding: 50px 0px 55px 0px; /* Add padding to avoid overflow */
    margin: 0 auto; /* Center the packages */
    overflow: hidden; /* Clip any overflow */
    position: relative; /* Ensure proper positioning */
}

.package.plus {
    transform: scale(1.1);
    transform-origin: center center; /* Keep scaling centered */
}

.package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(47 47 47 / 60%);
    z-index: 1;
}

.package .package-title,
.package .package-price,
.package .package-description,
.package .package-benefits,
.package .spacer,
.package .contact-button {
    position: relative;
    z-index: 2;
}

.package.plus {
    border: 3px solid #f78f50;
    background-color: #f78f5021;
    transform: scale(1.1);
    box-shadow: 0 8px 16px 4px rgb(255 87 51 / 41%);
    position: relative;
    z-index: 10;
}

.package-title {
    font-size: 1.75em;
    color: white;
    font-weight: bold;
    margin-bottom: -10px;
}

.package-price {
    font-size: 3em;
    font-weight: bold;
    color: #f78f50;
    margin: 10px 0;
}

.package-description {
    font-size: 1em;
    margin-bottom: 15px;
    color: white;
    height: 50px;
}

.package-benefits {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.package-benefits li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
    font-size: 0.9em;
    font-weight: 300;
    color: white;
    text-align: left;
}

.package-benefits .available,
.package-benefits .unavailable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9em;
    padding: 5px;
}

.package-benefits .fa-check {
    background-color: #333;
    color: white;
}

.package-benefits .fa-times {
    background-color: #f8f9fa;
}

.contact-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #f78f50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.contact-button:hover {
    transform: scale(1.05);
}

/*
##################
Services
##################
*/

.fullscreen-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.fullscreen-video-container.visible {
    opacity: 0.3;
    pointer-events: auto;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px);
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.fullscreen-video.visible {
    display: block;
    opacity: 1;
}
        
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 27%);
}

.service-icon {
    font-size: 24px;
    margin-bottom: 10px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #666;
}

.service-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}    

.service-card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}    

.service-card-textcontent {
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2;
    transform: scale(1);
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.service-card:hover .service-card-textcontent {
    opacity: 0;
    transform: scale(0.97);
    user-select: none;
}

.service-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .service-card-video {
    opacity: 1;
}

/*
##################
Info
##################
*/

#info {
    position: relative;
    background-image: url('/static/images/processbg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-position: center;
    z-index: 1;
}

.info-slider {
    padding: 20px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    text-align: center;
}

.slider {
    margin: 20px auto;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #4a90e2;
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-track {
    display: flex;
    padding: 35px;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.slider-step {
    flex: 0 0 200px;
    margin: 0 10px;
    text-align: center;
    position: relative;
    color: #555;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.slider-step.active {
    background-color: #333;
    color: white;
}

.slider-step:hover {
    transform: scale(1.075);
}

.slider-step i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 10px;
}

.slider-step p {
    font-size: 14px;
}

.slider-step h4 {
    margin: 10px 0 5px;
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.steps-details {
    margin-top: 30px;
    position: relative;
    height: 180px;
}

.step-content {
    display: none;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(20px);
    opacity: 0;
}

.step-content.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    height: 100%;
}

.step-content-title {
    height: 100%;
    width: 30%;
    background-color: #333;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.step-content-title h3 {
    color: white;
    margin-bottom: 0px;
}

.step-content-title h2 {
    color: rgb(85, 85, 85);
    line-height: 40px;
}

.step-content-text {
    padding: 20px 50px;
    width: 69%;
    display: flex;
    align-items: center;
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nav-arrow {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-arrow:hover:not(:disabled) {
    background-color: #0056b3;
}

.nav-arrow:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.slider-track .contact-step {
    background-color: #f78f50;
    color: white;
}

.slider-track .contact-step.active {
    background-color: #f78f50;
}

/*
##################
Kontakt
##################
*/
        
#contact-form {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 10px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button[type="submit"]:hover {
    background-color: #555;
}

#right-profile-holder {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #333;
    background-color: #333;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    text-align: center;
}

#right-profile-holder .profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ddd;
    background-image: url('/static/images/profilepicture.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

#right-profile-holder p {
    color: white;
    font-size: 1em;
}

#right-profile-holder .profile-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

#right-profile-holder .profile-description {
    font-size: 0.9em;
    line-height: 1.4;
    text-align: left;
    padding: 20px;
}

#right-profile-holder .profile-contact {
    max-width: max-content;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid white;
    background-color: white;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#contact-left {
    width: 50%;
}

#contact-right {
    width: 49%; text-align: right; display: flex; align-items: stretch; color: white;
}

#contact-content {
    flex-direction: row;
}

#gallery-content {
    flex-direction: row;
}

/* On Gallery Page */

#gallery-content-left {
    width: 50%;
}

#gallery-content-right {
    width: 49%;
}


/* Mobile Styles */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }

    .title-text {
        font-size: 2.3em !important; 
        margin-bottom: 0px;
        line-height: 50px;
    }
    
    .title-subtext {
        font-size: 15px;
    }

    .text-block-homepage {
        padding: 0px;
        border-radius: 10px;
    }

    img, video, iframe, embed, object {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 26px;
    }

    p {
        font-size: 15px;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;    
    }
    body {
        position: relative
    }
    /* Container Styles */
    .container {
        height: auto;
        overflow-y: auto;
        scroll-snap-type: none;
        width: 100%;
    }

    /* Section Styles */
    section {
        min-height: auto;
        padding: 10px;
    }

    /* Content Styles */
    .content {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Header Styles */
    .header {
        height: 50vh;
        padding: 0px;
    }

    .header h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    /* Services Styles */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* Prices Styles */
    .price-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        font-size: 15px;
    }

    .price-table th, .price-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    /* Contact Styles */
    #contact {
        flex-direction: column;
    }

    #left, #right {
        width: 100%;
    }

    #contact-form {
        max-width: 100%;
        margin: 20px 0;
    }

    #right-profile-holder {
        max-width: 100%;
        margin: 20px 0;
    }

    /* Info Styles */
    .accordion {
        margin-top: 20px;
    }

    .accordion-item {
        margin-bottom: 20px;
    }

    .accordion-header {
        padding: 10px;
        font-size: 0.6em;
    }

    .accordion-content {
        padding: 10px;
    }

    .info-tip {
        margin-bottom: 20px;
    }

    .info-tip i {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .info-tip p {
        font-size: 14px;
    }

    #contact-left {
        width: 100%;
    }
    
    #contact-right {
        width: 100%; 
        text-align: right; 
        display: flex; 
        align-items: stretch; 
        color: white;
    }
    
    #contact-content {
        display: flex; 
        justify-content: space-between;
        flex-direction: column;
    }

    .scroll-down-button {
        display: none;
    }

    #gallery-bg-img {
          height: 100vh;
          object-fit: cover;
    }

    .homepage-nav {
        flex-direction: column;
    }

    .homepage-nav a {
        font-size: 15px;
    }

    #gallery-content {
        align-items: center;
        flex-direction: column-reverse;
    }

    #gallery-content-left {
        width: 100%;
        text-align: center;
    }

    #gallery-content-right {
        width: 100%;
    }

    #gallery-content-nav {
        justify-content: center;
    }

    .slider {
        margin: 10px auto;
    }

    .slider-track {
        padding: 20px;
    }

    .slider-step {
        flex: 0 0 150px;
        margin: 0 5px;
        padding: 15px;
    }

    .slider-step i {
        font-size: 2rem;
    }

    .slider-step h4 {
        font-size: 14px;
    }

    .steps-details {
        margin-top: 20px;
        height: 240px;
    }

    .step-content {
        height: auto;
        flex-direction: column-reverse;
    }

    .step-content-title {
        width: 100%;
        height: 19%;
        flex-direction: row;
    }

    .step-content-title h2 {
        margin-bottom: 0px;
        margin-right: 10px;
        font-size: 1.5em;
    }

    .step-content-title h3 {
        font-size: 1.5em;
    }

    .step-content-text {
        padding: 15px 20px;
        width: 100%;
        height: 80%;
    }

    #prices {
        background-position: center;
        padding: 20px;
    }

    .pricing-title {
        margin-top: 0px;
    }

    .price-packages {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
        padding: 0px;
    }

    .package {
        width: 90%; /* Adjust to take most of the screen width */
        padding: 15px;
        box-shadow: 0px 4px 10px 5px rgb(255 255 255 / 30%);
        transform: scale(1); /* Remove scaling for simplicity */
    }

    .package.plus {
        transform: scale(1.02); /* Slight scale for 'highlighted' package */
    }

    .package-title {
        font-size: 1.5em;
        margin-bottom: 0;
    }

    .package-price {
        font-size: 2.2em;
    }

    .package-description {
        font-size: 0.9em;
        height: auto; /* Allow height to adjust */
    }

    .package-benefits li {
        font-size: 0.9em;
        margin: 8px 0;
    }

    .package-benefits .available,
    .package-benefits .unavailable {
        width: 12px;
        height: 12px;
        margin-right: 8px;
        font-size: 0.8em;
    }

    .contact-button {
        font-size: 0.9em;
        padding: 8px 12px;
        margin-top: 10px;
        text-align: center;
    }
}
