/*******************************************************
    Template Name    : Fedrichs Gutes Essen Landing Page Template
    Author           : Cute Themes
    Version          : 1.0
    Created          : 2025
    File Description : Main css file
*******************************************************/
@media only screen and (max-width: 1199px) {
    .gallery-area .img-print::before,
    .gallery-area .img-print--reverse::before {
        display: none;
    }

    #dein-catering .about-image.img-print--reverse::before {
        display: none;
        content: none;
    }

    .reservation-area,
    .reservation-area-2,
    .reservation-area-3 {
        background-attachment: scroll;
    }

    #uber-mich .about-content-text h3 {
        margin-top: 45px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 991px) {
    .gallery-area .row {
        text-align: center;
    }

    .gallery-area .img-print {
        margin-bottom: 20px;
    }

    .gallery-area .img-print img {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }

    .gallery-area .img-print::before,
    .gallery-area .img-print--reverse::before {
        display: none;
    }

    .gallery-area h4 {
        margin-top: 15px;
    }

    .gallery-area p {
        padding: 0 10px;
    }

    .mobile-extra {
        border-top: 1px solid rgba(255,255,255,0.2);
        margin-top: 10px;
        padding-top: 12px;
    }

    .mobile-inline {
        display: inline-flex !important;
        align-items: center;
        gap: 20px;
    }

    .mobile-inline .nav-link {
        display: inline-flex !important;
        align-items: center;
        padding: 6px 10px;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 991.98px) {
    #dein-catering .col-lg-6:first-child {
        order: 2;
    }

    #dein-catering .col-lg-6:last-child {
        order: 1;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .blog-area .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .blog-area .blog-item {
        flex: 0 0 48%;
        margin: 1%;
    }

    .blog-area .blog-item:nth-child(3) {
        flex: 0 0 96%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 768px) {
    .home-area {
        min-height: 100svh;
    }

    .home-area .home-content p {
        padding: 0 20px;
    }

    .about-image.img-print--reverse::before {
        right: -25px;
        bottom: -25px;
        width: 95%;
        height: 95%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .home-area .home-content h1 {
        font-size: 55px;
    }

    .home-area {
        padding-top: 170px;
        padding-bottom: 40px;
    }

    .about-image {
        text-align: center;
        margin-top: 30px;
    }

    .tab .tabs li {
        margin: 0 20px;
    }

    .contact-box-info-wrapper {
        margin-bottom: 50px;
    }

    .form-container-box {
        margin-left: 0;
    }
}

@media only screen and (min-width: 767px) {
    #leistungen .blog-item {
        min-height: 520px;
    }

    #leistungen .single-blog {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    #leistungen .single-blog .blog-img img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

    #leistungen .single-blog .blog-content {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    #leistungen .single-blog .blog-text {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
    }
}

@media only screen and (max-width: 767px) {
    .section-title h2 {
        font-size: 30px;
    }

    .header-navber-area .nav-top-bar {
        display: none;
    }

    #navbarDefault {
        height: auto;
        max-height: none;
        overflow-y: visible;
    }

    .home-area {
        padding-top: 130px;
    }

    .home-area .home-content h1 {
        font-size: 45px;
    }

    .home-area .home-content p {
        padding: 0 10px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .menu-day-product-content .menu-day-tab-list li {
        padding: 10px 15px;
        margin: 15px 0;
        border: 0;
    }

    .menu-day-product-content .menu-day-tab-list li a {
        font-size: 16px;
    }

    .reservation-area h2 {
        font-size: 35px;
        margin-bottom: 0;
    }

    .contact-box-info-wrapper {
        margin-bottom: 50px;
    }

    .form-container-box {
        margin-left: 0;
        padding: 25px 15px;
    }

    .footer-area {
        text-align: center;
    }

    .footer-area .footer-link ul {
        margin-top: 10px;
        text-align: center;
        list-style-type: none;
    }

    .blog-area {
        padding: 30px 15px;
    }

    .blog-area .row {
        margin-left: 0;
        margin-right: 0;
    }

    .blog-area .blog-item {
        width: 100%;
        margin-top: 20px;
        padding: 0 5px;
    }

    .blog-area .single-blog .blog-content {
        padding: 20px 15px;
    }

    .blog-area .single-blog .blog-content h3 a {
        font-size: 16px;
    }

    .single-blog .blog-content .blog-text p {
        font-size: 14px;
    }

    .blog-area .single-blog img {
        width: 100%;
        height: auto;
    }

    .blog-more-btn .button {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
    }

    #locations-partner .row {
        display: block;
    }

    #locations-partner .col-lg-6,
    #locations-partner .col-md-12 {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    #locations-partner img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    #locations-partner .lp-section--light h3 {
        font-size: 1.125rem;
        padding-left: 1rem;
    }

    #locations-partner .lp-section--light h3:after {
        left: 1rem;
    }

    #locations-partner .lp-section--beige h3 {
        padding-left: 0;
        font-size: 1.125rem;
    }

    #locations-partner .lp-section--light p,
    #locations-partner .lp-section--beige p {
        padding-left: 0;
        font-size: 0.875rem;
        line-height: 1.4rem;
    }

    #locations-partner .button {
        display: block;
        width: 80%;
        margin: 1rem auto 0;
        padding: 0.75rem 0;
        font-size: 1rem;
        text-align: center;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    #dein-catering {
        padding: 60px 30px;
    }

    #dein-catering .section-title h5 {
        font-size: 1.5rem;
    }

    #dein-catering .about-content-text p {
        font-size: 1rem;
    }

    #dein-catering .about-content-text .button {
        width: fit-content;
        padding: 14px 32px;
        min-width: 240px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 575px) {
    .gallery-area .img-print::before,
    .gallery-area .img-print--reverse::before {
        display: none;
    }

    .gallery-area p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .gallery-area .img-print img {
        max-width: 90%;
    }
}

@media only screen and (max-width: 575.98px) {
    #dein-catering {
        padding: 30px 15px;
    }

    #dein-catering .section-title h5 {
        font-size: 1.2rem;
    }

    #dein-catering .about-content-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #dein-catering .about-content-text .button {
        width: 100%;
        min-width: unset;
        padding: 12px 0;
        margin: 20px 0 0 0;
    }

    #dein-catering .row {
        flex-direction: column;
    }

    #dein-catering .col-lg-6,
    #dein-catering .col-md-12,
    #dein-catering .col-sm-12 {
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    #uber-mich .about-content-text h3 {
        margin-top: 45px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .blog-area {
        padding: 20px 10px;
    }

    .blog-area .single-blog .blog-content {
        padding: 15px 10px;
    }

    .blog-area .single-blog .blog-content h3 a {
        font-size: 15px;
    }

    .single-blog .blog-content .blog-text p {
        font-size: 13px;
    }

    .blog-more-btn .button {
        font-size: 15px;
        padding: 10px 0;
    }
}

@media only screen and (max-width: 479px) {
    .section-title h2 {
        font-size: 30px;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .navbar-b .nav-item {
        margin-bottom: 10px;
    }

    .navbar-b .nav-item:last-child {
        margin-bottom: 0px;
    }

    .home-area .home-content h1 {
        font-size: 50px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .reservation-area h2 {
        font-size: 35px;
        margin-bottom: 0;
    }

    .contact-box-info-wrapper {
        margin-bottom: 50px;
    }

    .form-container-box {
        margin-left: 0;
        padding: 25px 15px;
    }

    .footer-area {
        text-align: center;
    }

    .footer-area .footer-link ul {
        margin-top: 10px;
        text-align: center;
        list-style-type: none;
    }
}

@media only screen and (max-width: 375px) {
    .blog-area .single-blog .blog-content h3 a {
        font-size: 14px;
    }

    .single-blog .blog-content .blog-text p {
        font-size: 12px;
    }

    .blog-more-btn .button {
        font-size: 14px;
        padding: 8px 0;
    }
}

@media only screen and (max-width: 370px) {
    body {
        font-size: calc(16px * (100vw / 375));
    }

    .gallery-area .img-print img,
    .gallery-area .img-print--reverse img {
        width: 90%;
    }

    .gallery-area .img-print::before,
    .gallery-area .img-print--reverse::before {
        bottom: -15px;
        width: 85%;
        height: 85%;
    }

    .gallery-area p {
        font-size: 0.8rem;
    }

    #locations-partner img {
        width: 95%;
    }

    #locations-partner .lp-section--light h3,
    #locations-partner .lp-section--beige h3 {
        font-size: 1rem;
    }

    #locations-partner .lp-section--light p,
    #locations-partner .lp-section--beige p {
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    #locations-partner .button {
        width: 90%;
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 320px) and (min-width: 0px) {
    .section-title h2 {
        font-size: 30px;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .navbar-b .nav-item {
        margin-bottom: 10px;
    }

    .navbar-b .nav-item:last-child {
        margin-bottom: 0px;
    }

    #navbarDefault {
        height: auto;       /* дозволяємо меню “рости” по контенту */
        max-height: none;   /* прибираємо обмеження */
        overflow-y: visible; /* вимикаємо прокрутку */
    }

    .home-area .home-content {
        margin-bottom: 30px;
        text-align: center;
    }

    .home-area {
        padding-top: 110px;
    }

    .home-area .home-content h1 {
        font-size: 40px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .reservation-area h2 {
        font-size: 35px;
        margin-bottom: 0;
    }

    .contact-box-info-wrapper {
        margin-bottom: 50px;
    }

    .form-container-box {
        margin-left: 0;
        padding: 25px 15px;
    }

    .footer-area {
        text-align: center;
    }

    .footer-area .footer-link ul {
        margin-top: 10px;
        text-align: center;
        list-style-type: none;
    }

}