html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat' !important;
    font-size: 18px !important;
    color: #242424;
}

h2 {
    font-family: 'JuliusSansOne' !important;
    font-size: 40px !important;
    color: #3B5B8A !important;
    letter-spacing: 1px !important;
}

h3 {
    text-transform: uppercase;
    font-size: 20px;
}

@media (max-width: 1199px) {
    h2 {
        font-size: 32px;
        letter-spacing: 0.5px;
    }

    h3 {
        text-transform: uppercase;
        font-size: 18px;
    }

    body {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 26px;
    }
}


.headerimg {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.hero-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    width: 100%;
}

.hero-video-box {
    width: 800px;
    max-width: 90%;
    aspect-ratio: 16 / 9;
    object-fit: cover; 
    display: block;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    transition: transform .35s ease, box-shadow .35s ease;
}

.hero-video-box:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.language-switch{
    display:flex;
    align-items:center;
    gap:18px;
    margin-left:40px;
}

.lang-switch img{
    width:34px;
    height:24px;
    border-radius:4px;
    object-fit:cover;
    transition:transform .25s ease;
}

.lang-switch:hover img{
    transform:scale(1.15);
}


.item-intro {
    margin: 120px auto;
    position: relative;
    text-align: center;
}

.item-intro img {
    width: 240px;
    height: auto;
    position: absolute;
    left: 60px;
    bottom: -130px;
}

.item-philo {
    margin: 200px auto 100px;
    text-align: center;
    font-family: 'JuliusSansOne';
    text-transform: uppercase;
}

.item-philo-inner {
    display: flex;
    gap: 15px;
}

.item-about {
    position: relative;
    height: 80vh;
    background-image: url("../media/p3.jpeg");
    background-size: cover;
    background-attachment: fixed;
}

.item-about .btn {
    color: #fff;
    border: 1px solid #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 45%;
    width: max-content;
    margin: 0 auto;
    padding: 20px 30px;
    text-transform: uppercase;
    transition: all 0.5s ease;
}

.btn:hover {
    color: #242424;
    background-color: #D0E2F2;
    border: 1px solid #D0E2F2;
}

.icon {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.icon:hover {
    transform: scale(1.08);
}

.divider {
    width: 200px;
    height: 3px;
    border: none;
    background-color: #3B5B8A !important;
    margin: 40px auto;
}

.item-booking {
    height: 80vh;
    background-size: cover;
    background-attachment: fixed;
}

.download-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 280px;
    height: 60px;

    padding: 12px 20px;
    margin: 0;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    color: #3B5B8A;
    border: 1.5px solid #3B5B8A;
    border-radius: 10px;
    background: white;

    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    color: #3B5B8A;

}

.download-btn i {
    font-size: 1.2rem;
}

.my-button {
    width: 300px;
    height: 70px;
    font-size: 130%;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.item-middle {
    display: flex;
    justify-content: center;
}

.item-middle .my-button {
    position: static;
}

.social {
    height: 30px;
    width: auto;
}

.item-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.item-left .social-links {
    display: flex;
    gap: 15px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    padding: 60px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item p {
    margin-top: 15px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.gallery-personal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    justify-items: center;
    padding: 50px 0;
}

.gallery-personal-item {
    text-align: center;
}

.gallery-personal-item img {
    width: 350px;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease !important;
    cursor: pointer;
}

.gallery-personal-item img:hover {
    transform: scale(1.05);
}

.gallery-personal-item p {
    margin-top: 15px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

a,
a:visited {
    text-decoration: none !important;
}

footer a {
    color: #242424 !important;
    text-decoration: none !important;
}

footer a:hover {
    color: #242424 !important;
    text-decoration: none !important;
}

.download-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.video-container {
    width: 90%;
    max-width: 1200px;

    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.video-box {
    width: 500px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    object-fit: cover;
}

.video-1 {
    width: 100%;
    min-height: 60vh;
    background: #D0E2F2 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    color: #3B5B8A;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}


.service-icons {
    display: flex;
    justify-content: center;
    gap: 150px;
    flex-wrap: wrap;
    text-align: center;
}

.service-icons>div {
    width: 180px;
}


.scrolldown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: auto;
    z-index: 10;
    cursor: pointer;
}

.burger {
    display: none;
}


/* Responsive Design */



img {
    max-width: 100%;
    height: auto;
}

.headerimg {
    min-height: 100vh;
}

.headerimg>.item-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}


/* Tablet */

@media (max-width: 992px) {

    .item-intro {
        margin: 70px auto;
        padding: 0 20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-item img {
        width: 100%;
        height: 350px;
    }

    .gallery-personal {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-personal-item img {
        width: 100%;
        height: 250px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .my-button {
        width: 260px;
    }

    .download-wrapper {
        flex-wrap: wrap;
    }

    .video-container {
        gap: 40px;
    }

}


/* Smartphone */
@media (max-width:768px) {

    body {
        font-size: 16px;
    }

    h2 {
        font-size: 30px !important;
        line-height: 1.3;
    }

    h3 {
        font-size: 18px;
    }

    /* HEADER */

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .item-contact {
        display: flex;
        gap: 20px;
        margin: 0;
    }

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;

        background: none;
        border: 0;
        cursor: pointer;

        padding: 0 50px 0 0;
    }

    .item-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;

        flex-direction: column;
        align-items: stretch;
        gap: 10px;

        width: 190px;
        box-sizing: border-box;

        background: #fff;
        padding: 18px;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
        z-index: 999;
    }

    .item-nav.active {
        display: flex;
    }

    .item-nav a {
        display: block;
        width: 100%;
        margin: 0 !important;
        text-align: left;
        color: #242424 !important;
        white-space: normal;
    }

    header .item-contact img {
        filter: none !important;
    }

    header .item-nav a {
        color: #242424 !important;
    }

    header .item-nav a+a {
        margin-left: 0 !important;
        margin-top: 15px;
    }

    /* HEADER ENDE */

    .headerimg {
        min-height: 70vh;
    }

    .headerimg>.item-img {
        width: 100%;
        height: 70vh;
        object-fit: cover;
        object-position: center center;
    }

    .scrolldown {
        width: 35px;
    }

    .item-intro {
        margin: 50px auto;
        padding: 0 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .gallery-item img {
        width: 100%;
        max-width: 340px;
        height: auto;
    }

    .gallery-personal {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .gallery-personal-item img {
        width: 100%;
        height: auto;
    }

    .icon {
        width: 80px;
    }

    section.container>div {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .video-container {
        width: 100%;
        padding: 20px;
    }

    .video-box {
        width: 100%;
    }

    .download-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .download-btn {
        width: 100%;
        max-width: 320px;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
    }

    .my-button {
        width: 260px;
        height: 60px;
        font-size: 18px;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .item-left,
    .item-middle,
    .item-right {
        align-items: center;
    }

    .item-left .social-links {
        justify-content: center;
    }

    .service-icons {
        flex-direction: column;
        align-items: center;
    }

    .service-icons>div {
        width: 100%;
        max-width: 280px;
    }

    .scrolldown,
    .scrollup {
        width: 35px;
    }
}

/* Testimonials */


*{
    box-sizing: border-box;
}

.testimonial-wrapper{
    max-width: 1400px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-window{
    overflow: hidden;
    flex: 1;
}

.testimonial-track{
    display:flex;
    flex-wrap: nowrap;
    gap:30px;
    transition:transform .5s ease;
}


.testimonial-card{
    flex: 0 0 calc((100% - 60px) / 3);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center !important;
    text-align:center !important;

    min-height:320px;

    padding:35px;

    background:#fff;
    border:2px solid #3B5B8A;
    border-radius:20px;

    transition:all .35s ease;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition: transform .35s ease, box-shadow .35s ease;
    transform-origin:center;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}


.testimonial-header{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    margin-bottom:20px;
}

.testimonial-header img{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-header h3{
    margin: 0;
    font-size: 20px;
    color: #222;
}

/* Sterne */

.stars{
    margin-top: 5px;
    color: #FFC107;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Text */

.testimonial-card p{
    margin-top: 18px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Pfeile */

.arrow{
    width:50px;
    height:50px;
    border-radius:50%;
    border:1px solid #d9d9d9;
    background:#fff;
    color:#3B5B8A;
    font-size:24px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.arrow:hover{
    background:#3B5B8A;
    color:#fff;
}

/* Tablet */

@media (max-width: 992px){

    .testimonial-card{
        min-width: calc(100% / 2);
    }

}

/* Smartphone */

@media (max-width: 768px){

    .testimonial-wrapper{
        gap: 10px;
    }

    .testimonial-card{
        min-width: 100%;
    }

    .arrow{
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

}

