@media (max-width: 1230px) {
    .container {
        padding: 0px 20px;
    }

    .mobile-menu-header-right {
        margin-left: 30px;
    }
}

@media (max-width: 1127px) {
    .main-button {
        font-size: 15px;
        width: 230px;
    }
}

@media (max-width: 1005px) {
    .hero-buttons .main-button {
        margin-top: 0px;
    }

    .hero-title {
        font-size: 37px;
    }

    .main-button {
        font-size: 18px;
        width: 300px;
        margin-top: 47px;
    }

    .burger {
        display: block;
        z-index: 1000;
    }

    .logo-nav-menu img {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        background-color: var(--main-color);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.6s ease, opacity 0.6s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
        padding: 24px;
    }

    .menu-close {
        display: block;
        font-size: 32px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--main-text-color);
    }

    .navigation ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 32px;
    }

    .menu-item a {
        font-size: 24px;
        text-transform: uppercase;
    }

    .mobile-menu-header-right {
        padding: 20px 40px 0px 0px;
        align-items: flex-end;
        flex-direction: column;
    }

    .ueber-mich-buttons {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .logo-nav-menu img {
        left: 70px;
    }
}

@media (max-width: 639px) {
    .logo-nav-menu img {
        left: 70px;
    }
}

@media (max-width: 577px) {
    .logo-nav-menu img {
        left: 310px;
    }

    .hero-title {
        text-align: center;
    }

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

    .hero-subtitle {
        max-width: 440px;
        text-align: center;
    }

    .hero-buttons .secondary-button {
        margin-top: 30px;
        margin-left: 0;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 90px;
    }
}

@media (max-width: 425px) {
    .logo-nav-menu img {
        left: 430px;
    }

    .menu-item a {
        font-size: 20px;
    }
}

@media (max-width: 355px) {
    .main-button {
        font-size: 14px;
        width: 230px;
    }
}

@media (max-width: 320px) {
    .logo-nav-menu img {
        left: 500px;
    }
}

@media (max-width: 662px) {
    .hero-title {
        font-size: 30px;
    }
}

@media (max-width: 454px) {
    .hero-title {
        font-size: 25px;
    }

    .hero-subtitle {
        font-weight: 300;
        font-size: 14px;
    }
}

@media (max-width: 1165px) {
    .ueber-mich-content {
        align-items: center;
        flex-direction: column;
    }

    .ueber-mich-left {
        margin-bottom: 80px;
    }

    .ueber-mich-right {
        margin-right: auto !important;
    }
}

@media (max-width: 622px) {
    .ueber-mich-right img {
        width: 200px;
    }
    .section-title {
        font-size: 36px;
    }
    .ueber-mich-text {
        font-size: 14px;
    }
    .ueber-mich-photo-2 {
        margin-left: 0px;
    }
}

@media (max-width: 555px) {
    .ueber-mich-button-2 {
        margin-left: 14px;
        font-size: 14px;
        width: 202px !important;
    }

    .ueber-mich-button-1 {
        font-size: 14px;
        width: 202px !important;
    }

    .ueber-mich-content {
        align-items: flex-start;
    }
}

@media (max-width: 558px) {
    .ueber-mich-right {
        width: 100%;
    }

    .ueber-mich-right .swiper-wrapper {
        display: flex !important;
    }

    .ueber-mich-image {
        width: 100% !important;
        display: block;
    }

    .ueber-mich-image-2 {
        margin-left: 0px !important;
    }
}

@media (min-width: 559px) {
    .ueber-mich-right:not(.swiper-initialized) .swiper-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 463px) {
    .ueber-mich-button-2 {
        margin-left: 0px;
        margin-top: 0px;
    }

    .ueber-mich-button-1 {
        margin-top: 0px;
    }

    .ueber-mich-buttons {
        margin-top: 26px;
    }
}

@media (max-width: 449px) {
    .ueber-mich-button-2 {
        margin-top: 22px;
    }

    .ueber-mich-left {
        margin-bottom: 62px;
    }
}

@media (max-width: 1173px) {
    .meine-leistungen-item:nth-child(n+3) {
        margin-top: 60px;
    }

    .meine-leistungen-cards {
        justify-content: center;
        column-gap: 70px;
    }

    .section-title {
        text-align: center;
    }

    #termin-title {
        text-align: left;
    }

    .section-subtitle {
        text-align: center;
        margin: 0px auto 40px;
    }
}

@media (max-width: 855px) {
    .meine-leistungen-item:nth-child(2) {
        margin-left: 0px;
        margin-top: 60px;
    }

    .meine-leistungen-cards {
        flex-direction: column;
    }
}

@media (max-width: 410px) {
    .meine-leistungen-card {
        width: 288px;
    }

    .meine-leistungen-button {
        font-size: 14px;
        padding: 11px 59px;
    }

    .meine-leistungen-image {
        width: 263px;
    }

    .meine-leistungen-name {
        font-size: 19px;
    }
}

@media (max-width: 323px) {
    .meine-leistungen-card {
        width: 222px;
    }

    .meine-leistungen-image {
        width: 198px;
    }

    .meine-leistungen-button {
        padding: 11px 26px;
    }
}

@media (max-width: 1219px) {
    .s-h-i-m-content {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        justify-items: center;
    }

    #section-title-s-h-i-m {
        text-align: center;
    }
}

@media (max-width: 911px) {
    .s-h-i-m-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 612px) {
    .s-h-i-m-slider.swiper {
        width: 280px;
        overflow: hidden;
    }

    .s-h-i-m-card {
        width: 280px;
    }

    .s-h-i-m-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 1149px) {
    .meine-zertifikate-content {
        justify-content: center;
        gap: 60px;
    }

    .meine-zertifikate-button {
        margin: 0px auto;
        display: block;
    }

    .meine-zertifikate-button {
        width: auto;
        max-width: 516px;
    }
}

@media (max-width: 553px) {
    .meine-zertifikate-button {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .kundenbewertungen .container {
        display: grid;
        grid-template-areas:
            "title"
            "slider"
            "controls";
        gap: 16px;
    }

    .kundenbewertungen-top {
        display: contents;
    }

    #reviews-title {
        grid-area: title;
    }

    .kundenbewertungen-slider {
        grid-area: slider;
    }

    .reviews-controls {
        grid-area: controls;
        justify-content: center;
        text-align: center;
    }

    .kundenbewertungen-slider.swiper-initialized .kundenbewertungen-content {
        justify-content: flex-start !important;
    }

    .kundenbewertungen-slider {
        width: 380px;
    }
}

@media (max-width: 538px) {
    #reviews-title {
        font-size: 27px;
    }
}

@media (max-width: 417px) {
    .kundenbewertungen-card {
        max-width: 290px;
    }

    .kundenbewertungen-slider {
        width: 290px;
    }

    #reviews-title {
        font-size: 21px;
    }
}

@media (max-width: 417px) {
    .kundenbewertungen-card {
        max-width: 290px;
    }

    .kundenbewertungen-slider {
        width: 290px;
    }

    #reviews-title {
        font-size: 21px;
    }
}

@media (max-width: 337px) {
    .kundenbewertungen-card {
        max-width: 220px;
        padding: 24px 20px;
    }

    .kundenbewertungen-slider {
        width: 220px;
    }
}

@media (max-width: 819px) {

    .vorteile-image,
    .vorteile-image-2 {
        display: none;
    }

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

    .vorteile-card:last-child {
        margin-right: 0;
    }
}

@media (max-width: 568px) {

    .vorteile-image,
    .vorteile-image-2 {
        display: none;
    }

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

    .vorteile-card:last-child {
        margin-right: 0;
    }

    .vorteile-top {
        flex-direction: column;
        align-items: center;
    }

    .vorteile-card:first-child {
        margin-right: 0;
        margin-left: 0;
    }

    .vorteile-down {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .vorteile-card:nth-child(2) {
        margin-right: 0px;
        margin-top: 20px;
    }

    .vorteile-card:last-child {
        margin-top: 20px;
    }
}

@media (max-width: 900px) {
    .gallery-wrap {
        grid-template-columns: 1fr;
    }

    .gallery-arrows {
        flex-direction: row;
        justify-content: center;
    }

    .gallery-thumbs .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-main img {
        height: 320px;
    }
}

@media (max-width: 734px) {
    .zitate-text {
        font-size: 25px;
    }

    .zitate-content img {
        width: 91px;
    }
}

@media (max-width: 436px) {
    .zitate-text {
        font-size: 19px;
        margin: 43px 0px;
    }

    .zitate-content img {
        width: 61px;
    }
}

@media (max-width: 1215px) {
    .faq-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    #faq-title {
        text-align: center;
    }

    .faq-image {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .faq-item {
        width: 500px;
    }
}

@media (max-width: 530px) {
    .faq-item {
        width: 390px;
    }
}

@media (max-width: 459px) {
    .faq-item {
        width: 300px;
    }

    .faq-image {
        width: 300px;
    }
}

@media (max-width: 359px) {
    .faq-item {
        width: 240px;
    }

    .faq-image {
        width: 240px;
    }
}

@media (max-width: 720px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-pick-title {
        font-size: 26px;
    }
}

@media (max-width: 1092px) {
    .termin-buchen-content {
        flex-direction: column;
        align-items: center;
    }

    .termin-buchen-content {
        gap: 64px;
    }

    #termin-title {
        text-align: center;
    }

    .form-subtitle {
        margin: 0 auto;
    }
}

@media (max-width: 526px) {
    .form-group .form-row {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
    }
}

@media (max-width: 1096px) {
    .kontakt-content {
        flex-direction: column;
        align-items: center;
    }

    .kontakt-left {
        row-gap: 52px;
        margin-bottom: 55px;
    }

    .whatsapp .contact-type-content {
        max-width: 280px;
    }
}

@media (max-width: 633px) {
    .kontakt-left {
        grid-template-columns: repeat(1, 1fr);
    }

    .whatsapp .contact-type-content {
        max-width: 210px;
    }

    .map-consent {
        width: 400px;
    }
}

@media (max-width: 1046px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .graphic-line {
        display: none;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        margin-top: 21px;
        padding-bottom: 50px;
    }
}

@media (max-width: 515px) {
    .development-info {
        margin-right: 0px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-info {
        text-align: left;
    }

    .copyright {
        text-align: left;
    }

    .footer-content address {
        margin-top: 35px;
    }

    .footer-content nav {
        margin-top: 35px;
    }
}

@media (max-width: 430px) {
    .footer-content {
        align-content: center;
    }
}

@media (max-width: 1149px) {
    .meine-zertifikate-card:nth-child(n+3) {
        margin-top: 30px;
    }
}

@media (max-width: 779px) {
    .meine-zertifikate-card:nth-child(n+1) {
        margin-top: 30px;
    }

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

@media (max-width: 1032px) {
    .map-consent {
        width: 100%;
    }
}
@media (max-width: 400px) {
    .meine-zertifikate-image {
        max-width: 370px !important;
        width: auto;
    }
}
@media (max-width: 1203px) {
    .gutschein-content {
        flex-direction: column;
        align-items: center;
    }
    .gutschein .section-title {
        text-align: center;
    }
    .gutschein-right {
        margin-top: 60px;
    }
}
@media (max-width: 743px) {
    .form-contact-data {
        flex-direction: column;
        align-items: center;
    }
    .form-right {
        margin-top: 20px;
    }
    .submit-button {
        width: 440px;
    }
    .gutschein-form-label label span {
        max-width: 240px;
        display: flex;
        margin-top: 7px;
    }
    .gutschein-left form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 459px) {
    .form-contact-data {
        flex-direction: column;
        align-items: center;
    }
    .form-right {
        margin-top: 20px;
    }
    .submit-button {
        width: 440px;
    }
    .gutschein-form-label label span {
        max-width: 240px;
        display: flex;
        margin-top: 7px;
    }
    .gutschein-left form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gutschein-form-label label, .form-right label {
        font-size: 15px;
    }
    .gutschein-form-label input {
        font-size: 15px;
    }
    .amounts button {
        font-size: 18px;
        padding: 18px 21px;
    }
    .submit-button {
        width: 300px;
        font-size: 14px;
    }
}
@media (max-width: 323px) {
    .gutschein .section-title {
        font-size: 26px;
    }
    .submit-button {
        max-width: 222px;
    }
}
@media (max-width: 450px) {
    .section-title {
        font-size: 25px;
    }
}
@media (max-width: 1046px) {
    .content-404 {
        flex-direction: column-reverse;
    }
}
@media (max-width: 1046px) {
    .content-404 {
        flex-direction: column-reverse;
    }
}
@media (max-width: 410px) {
    .page-404-text a {
        width: 241px;
    }
}
@media (max-width: 325px) {
    .page-404-text a {
        width: 175px;
    }
}