/*
Theme Name: Fitnesscoach Mareen
Theme URI: https://xpress-webdesign.de
Author: Xpress Webdesign
Author URI: https://xpress-webdesign.de
Description: Individuelles WordPress Theme für Mareen Grünheit – Personal Training, Fitness Coaching und Royal Coaching - Die Fitness Community.
Version: 2.0.0
Text Domain: fitnesscoach-mareen
*/


/* =========================================================
   01. ROOT / DESIGN SYSTEM
========================================================= */

:root {

    --mg-white: #ffffff;
    --mg-black: #10171c;

    --mg-dark: #26343d;
    --mg-dark-2: #33434d;

    --mg-text: #2f3d45;
    --mg-muted: #687780;

    --mg-soft: #f6fbfd;
    --mg-ice: #eef8fc;
    --mg-blue-soft: #ddf2f9;

    --mg-blue: #58b6d4;
    --mg-blue-strong: #279bc2;
    --mg-blue-dark: #1e87aa;

    --mg-yellow: #f4c542;
    --mg-yellow-soft: #fff3bd;

    --mg-border: rgba(38, 52, 61, 0.10);
    --mg-border-blue: rgba(39, 155, 194, 0.18);

    --mg-shadow-sm:
        0 8px 28px rgba(38, 52, 61, 0.08);

    --mg-shadow:
        0 18px 55px rgba(38, 52, 61, 0.11);

    --mg-shadow-lg:
        0 30px 80px rgba(38, 52, 61, 0.15);

    --mg-container: 1180px;

    --mg-header-height: 78px;

    --mg-section-space: 82px;

    --mg-radius-sm: 14px;
    --mg-radius: 22px;
    --mg-radius-lg: 30px;

    --mg-ease:
        cubic-bezier(0.22, 1, 0.36, 1);

}


/* =========================================================
   02. RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;

    width: 100%;

    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    width: 100%;

    min-width: 320px;

    overflow-x: hidden;

    background: var(--mg-white);

    color: var(--mg-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body.mg-menu-open,
body.mg-lightbox-open {
    overflow: hidden;
}


img,
svg,
video,
picture {
    display: block;

    max-width: 100%;
}


img {
    height: auto;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


a {
    color: inherit;

    text-decoration: none;
}


p {
    margin:
        0
        0
        18px;
}


p:last-child {
    margin-bottom: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin:
        0
        0
        18px;

    color: var(--mg-dark);

    line-height: 1.08;

    letter-spacing: -0.025em;
}


ul,
ol {
    margin-top: 0;
}


/* =========================================================
   03. ACCESSIBILITY
========================================================= */

.screen-reader-text {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   04. GLOBAL CONTAINER
========================================================= */

.mg-container {
    width:
        min(
            calc(100% - 48px),
            var(--mg-container)
        );

    margin-inline: auto;
}


/* =========================================================
   05. GLOBAL PAGE / SECTIONS
========================================================= */

.mg-home,
.mg-index-page,
.mg-legal-page {
    width: 100%;

    overflow: clip;
}


.mg-home {
    padding-top:
        var(--mg-header-height);
}


.mg-index-page,
.mg-legal-page {
    padding-top:
        var(--mg-header-height);
}


.mg-section {
    position: relative;

    width: 100%;

    padding:
        var(--mg-section-space)
        0;

    overflow: clip;
}


.mg-section--white {
    background:
        var(--mg-white);
}


.mg-section--soft {
    background:
        linear-gradient(
            180deg,
            #f7fbfd 0%,
            #eef8fc 100%
        );
}


.mg-section--about {
    background:
        var(--mg-white);
}


.mg-section--gallery {
    background:
        var(--mg-white);
}


.mg-section--community {
    background:
        linear-gradient(
            135deg,
            #f7fbfd 0%,
            #eef8fc 100%
        );
}


.mg-section--experience {
    background:
        var(--mg-white);
}


.mg-section--reviews {
    background:
        linear-gradient(
            180deg,
            #f8fcfd 0%,
            #eef8fc 100%
        );
}


.mg-section--contact {
    background:
        var(--mg-white);
}


/* =========================================================
   06. SECTION HEAD
========================================================= */

.mg-section-head {
    width: min(100%, 760px);

    margin:
        0
        auto
        42px;

    text-align: center;
}


.mg-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 12px;

    color: var(--mg-blue-strong);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.13em;

    line-height: 1.3;

    text-transform: uppercase;
}


.mg-eyebrow::before {
    content: "";

    width: 24px;
    height: 3px;

    flex: 0 0 24px;

    border-radius: 999px;

    background:
        var(--mg-yellow);
}


.mg-section-title {
    max-width: 820px;

    margin:
        0
        auto
        18px;

    font-size:
        clamp(
            34px,
            4.5vw,
            56px
        );

    font-weight: 850;

    line-height: 1.04;
}


.mg-section-subtitle {
    max-width: 720px;

    margin:
        0
        auto;

    color: var(--mg-muted);

    font-size:
        clamp(
            16px,
            1.5vw,
            19px
        );

    line-height: 1.7;
}


.mg-display-title {
    margin-bottom: 22px;

    font-size:
        clamp(
            42px,
            6vw,
            70px
        );

    font-weight: 900;

    line-height: 0.98;
}


/* =========================================================
   07. BUTTONS
========================================================= */

.mg-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding:
        12px
        22px;

    border:
        2px solid transparent;

    border-radius: 999px;

    cursor: pointer;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.2;

    text-align: center;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.mg-btn:hover {
    transform:
        translateY(-2px);
}


.mg-btn--primary {
    background:
        var(--mg-blue-strong);

    color:
        var(--mg-white);

    box-shadow:
        0 12px 28px rgba(39, 155, 194, 0.23);
}


.mg-btn--primary:hover {
    background:
        var(--mg-blue-dark);

    box-shadow:
        0 14px 35px rgba(39, 155, 194, 0.30);
}


.mg-btn--outline {
    border-color:
        rgba(39, 155, 194, 0.30);

    background:
        var(--mg-white);

    color:
        var(--mg-blue-strong);
}


.mg-btn--outline:hover {
    border-color:
        var(--mg-blue);

    background:
        var(--mg-blue-soft);
}


.mg-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


.mg-section-action {
    display: flex;

    justify-content: center;

    margin-top: 30px;
}


.mg-text-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 22px;

    color:
        var(--mg-blue-strong);

    font-weight: 800;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.mg-text-link:hover {
    color:
        var(--mg-blue-dark);

    transform:
        translateX(3px);
}


/* =========================================================
   08. REVEAL SYSTEM

   Standard = sichtbar.
   Verstecken erst nach erfolgreichem JS-Start.
========================================================= */

[data-mg-reveal] {
    opacity: 1;

    transform: none;
}


.mg-js.mg-ready [data-mg-reveal] {
    opacity: 0;

    transition:
        opacity 0.75s var(--mg-ease),
        transform 0.75s var(--mg-ease);

    will-change:
        opacity,
        transform;
}


.mg-js.mg-ready [data-mg-reveal="left"] {
    transform:
        translate3d(-55px, 0, 0);
}


.mg-js.mg-ready [data-mg-reveal="right"] {
    transform:
        translate3d(55px, 0, 0);
}


.mg-js.mg-ready [data-mg-reveal="bottom"] {
    transform:
        translate3d(0, 45px, 0);
}


.mg-js.mg-ready [data-mg-reveal="top"] {
    transform:
        translate3d(0, -45px, 0);
}


.mg-js.mg-ready [data-mg-reveal="scale"] {
    transform:
        scale(0.95);
}


.mg-js.mg-ready [data-mg-reveal].is-visible {
    opacity: 1;

    transform:
        translate3d(0, 0, 0)
        scale(1);
}


/* =========================================================
   09. HEADER
========================================================= */

.mg-header {
    position: fixed;

    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;

    height:
        var(--mg-header-height);

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid rgba(38, 52, 61, 0.08);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        transform 0.35s var(--mg-ease),
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.mg-header.is-scrolled {
    box-shadow:
        0 8px 30px rgba(38, 52, 61, 0.08);
}


.mg-header.is-hidden {
    transform:
        translateY(-105%);
}


.mg-header__inner {
    height: 100%;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 24px;
}


/* =========================================================
   10. HEADER BRAND
========================================================= */

.mg-header__brand {
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.mg-header__brand-name {
    color:
        var(--mg-dark);

    font-size: 17px;

    font-weight: 900;

    letter-spacing: 0.035em;

    line-height: 1.05;

    white-space: nowrap;
}


.mg-header__brand-subtitle {
    margin-top: 4px;

    color:
        var(--mg-blue-strong);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.12em;

    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   11. HEADER NAV
========================================================= */

.mg-header__nav {
    min-width: 0;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap:
        clamp(
            13px,
            1.35vw,
            22px
        );

    overflow: hidden;
}


.mg-header__nav a {
    position: relative;

    display: inline-flex;

    align-items: center;

    height:
        var(--mg-header-height);

    color:
        var(--mg-dark);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;
}


.mg-header__nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    border-radius: 999px;

    background:
        var(--mg-blue-strong);

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform 0.25s ease;
}


.mg-header__nav a:hover::after {
    transform:
        scaleX(1);
}


.mg-header__actions {
    display: flex;

    align-items: center;
}


.mg-header__cta {
    min-height: 42px;

    padding:
        10px
        16px;

    font-size: 12px;

    white-space: nowrap;
}


/* =========================================================
   12. MOBILE MENU TOGGLE
========================================================= */

.mg-menu-toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--mg-ice);

    cursor: pointer;
}


.mg-menu-toggle span {
    position: absolute;

    width: 20px;
    height: 2px;

    border-radius: 999px;

    background:
        var(--mg-dark);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.mg-menu-toggle span:nth-child(1) {
    transform:
        translateY(-6px);
}


.mg-menu-toggle span:nth-child(3) {
    transform:
        translateY(6px);
}


.mg-menu-toggle.is-active span:nth-child(1) {
    transform:
        rotate(45deg);
}


.mg-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}


.mg-menu-toggle.is-active span:nth-child(3) {
    transform:
        rotate(-45deg);
}


/* =========================================================
   13. MOBILE MENU
========================================================= */

.mg-mobile-menu {
    position: fixed;

    z-index: 1500;

    inset: 0;

    visibility: hidden;

    pointer-events: none;
}


.mg-mobile-menu.is-open {
    visibility: visible;

    pointer-events: auto;
}


.mg-mobile-menu__backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(13, 20, 25, 0.55);

    opacity: 0;

    cursor: pointer;

    transition:
        opacity 0.3s ease;
}


.mg-mobile-menu.is-open
.mg-mobile-menu__backdrop {
    opacity: 1;
}


.mg-mobile-menu__panel {
    position: absolute;

    top: 0;
    right: 0;

    width:
        min(
            92vw,
            440px
        );

    height: 100%;

    padding:
        22px
        22px
        30px;

    overflow-y: auto;

    background:
        var(--mg-white);

    transform:
        translateX(102%);

    box-shadow:
        -20px 0 60px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.4s var(--mg-ease);
}


.mg-mobile-menu.is-open
.mg-mobile-menu__panel {
    transform:
        translateX(0);
}


.mg-mobile-menu__top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 26px;
}


.mg-mobile-menu__brand {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.mg-mobile-menu__brand-name {
    color:
        var(--mg-dark);

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 0.035em;
}


.mg-mobile-menu__brand-subtitle {
    margin-top: 4px;

    color:
        var(--mg-blue-strong);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.11em;
}


.mg-mobile-menu__close {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--mg-ice);

    color:
        var(--mg-dark);

    cursor: pointer;

    font-size: 28px;

    line-height: 1;
}


.mg-mobile-menu__nav {
    display: flex;

    flex-direction: column;

    border-top:
        1px solid var(--mg-border);
}


.mg-mobile-menu__nav a {
    display: flex;

    align-items: center;

    min-height: 50px;

    border-bottom:
        1px solid var(--mg-border);

    color:
        var(--mg-dark);

    font-size: 15px;

    font-weight: 750;
}


.mg-mobile-menu__contact {
    display: grid;

    gap: 10px;

    margin-top: 24px;
}


.mg-mobile-menu__contact-item {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding:
        14px
        16px;

    border:
        1px solid var(--mg-border-blue);

    border-radius:
        var(--mg-radius-sm);

    background:
        var(--mg-soft);
}


.mg-mobile-menu__contact-label {
    color:
        var(--mg-blue-strong);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.mg-mobile-menu__contact-item strong {
    overflow-wrap: anywhere;

    color:
        var(--mg-dark);

    font-size: 14px;
}


.mg-mobile-menu__actions {
    display: grid;

    gap: 10px;

    margin-top: 22px;
}


.mg-mobile-menu__actions .mg-btn {
    width: 100%;
}


/* =========================================================
   14. ABOUT
========================================================= */

.mg-about {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    align-items: center;

    gap:
        clamp(
            48px,
            6vw,
            80px
        );
}


.mg-about__media {
    position: relative;

    min-width: 0;
}


.mg-about__media::before {
    content: "";

    position: absolute;

    z-index: 0;

    top: -18px;
    left: -18px;

    width: 130px;
    height: 130px;

    border-radius:
        28px;

    background:
        var(--mg-blue-soft);

    transform:
        rotate(-7deg);
}


.mg-about__media::after {
    content: "";

    position: absolute;

    z-index: 0;

    right: -15px;
    bottom: -16px;

    width: 86px;
    height: 86px;

    border-radius:
        22px;

    background:
        var(--mg-yellow-soft);

    transform:
        rotate(10deg);
}


.mg-about__image {
    position: relative;

    z-index: 1;

    width: 100%;

    overflow: hidden;

    border-radius:
        var(--mg-radius-lg);

    background:
        var(--mg-soft);

    box-shadow:
        var(--mg-shadow-lg);
}


.mg-about__image img {
    width: 100%;

    aspect-ratio:
        4 / 5;

    object-fit: cover;

    object-position: center;
}


.mg-about__content {
    min-width: 0;
}


.mg-about__lead {
    color:
        var(--mg-dark);

    font-size:
        clamp(
            18px,
            1.7vw,
            21px
        );

    font-weight: 650;

    line-height: 1.6;
}


.mg-about__content p:not(.mg-eyebrow):not(.mg-about__lead) {
    color:
        var(--mg-muted);

    font-size: 17px;

    line-height: 1.72;
}


/* =========================================================
   15. SERVICE SLIDER
========================================================= */

.mg-service-slider {
    width: 100%;

    min-width: 0;

    overflow: hidden;
}


.mg-slider-viewport {
    width: 100%;

    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    padding:
        6px
        0
        18px;

    scrollbar-width: none;

    -ms-overflow-style: none;

    scroll-snap-type:
        x mandatory;

    overscroll-behavior-inline:
        contain;

    touch-action:
        pan-x pan-y;

    cursor: grab;
}


.mg-slider-viewport::-webkit-scrollbar {
    display: none;
}


.mg-slider-viewport.is-dragging {
    cursor: grabbing;

    user-select: none;
}


.mg-service-track,
.mg-gallery-track,
.mg-review-track {
    display: flex;

    gap: 18px;

    width: max-content;

    max-width: none;
}


.mg-service-card {
    position: relative;

    width: 320px;

    max-width:
        calc(100vw - 48px);

    min-height: 250px;

    flex: 0 0 auto;

    padding:
        30px
        28px;

    overflow: hidden;

    border:
        1px solid var(--mg-border-blue);

    border-radius:
        var(--mg-radius);

    background:
        var(--mg-white);

    box-shadow:
        var(--mg-shadow-sm);

    scroll-snap-align:
        start;

    transition:
        transform 0.3s var(--mg-ease),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.mg-service-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(39, 155, 194, 0.35);

    box-shadow:
        var(--mg-shadow);
}


.mg-service-card__accent {
    display: block;

    width: 42px;
    height: 5px;

    margin-bottom: 24px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--mg-blue-strong),
            var(--mg-yellow)
        );
}


.mg-service-card h3 {
    margin-bottom: 14px;

    font-size: 23px;
}


.mg-service-card p {
    color:
        var(--mg-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   16. SLIDER CONTROLS
========================================================= */

.mg-slider-controls {
    display: flex;

    justify-content: flex-end;

    gap: 9px;

    margin-top: 12px;
}


.mg-slider-arrow {
    width: 46px;
    height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--mg-border-blue);

    border-radius: 50%;

    background:
        var(--mg-white);

    color:
        var(--mg-dark);

    cursor: pointer;

    box-shadow:
        var(--mg-shadow-sm);

    font-size: 20px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}


.mg-slider-arrow:hover:not(:disabled) {
    transform:
        translateY(-2px);

    background:
        var(--mg-blue-strong);

    color:
        var(--mg-white);
}


.mg-slider-arrow:disabled {
    opacity: 0.28;

    cursor: default;
}


/* =========================================================
   17. GALLERY
========================================================= */

.mg-gallery-slider {
    width: 100%;

    min-width: 0;

    overflow: hidden;
}


.mg-gallery-card {
    position: relative;

    width: 340px;

    max-width:
        calc(100vw - 48px);

    flex: 0 0 auto;

    padding: 0;

    overflow: hidden;

    border: 0;

    border-radius:
        var(--mg-radius);

    background:
        var(--mg-soft);

    box-shadow:
        var(--mg-shadow-sm);

    cursor: pointer;

    scroll-snap-align:
        start;

    text-align: left;

    transition:
        transform 0.3s var(--mg-ease),
        box-shadow 0.3s ease;
}


.mg-gallery-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        var(--mg-shadow);
}


.mg-gallery-card img {
    width: 100%;

    aspect-ratio:
        4 / 5;

    object-fit: cover;

    object-position: center;

    pointer-events: none;

    transition:
        transform 0.45s var(--mg-ease);
}


.mg-gallery-card:hover img {
    transform:
        scale(1.03);
}


.mg-gallery-card__overlay {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding:
        48px
        20px
        18px;

    background:
        linear-gradient(
            0deg,
            rgba(12, 18, 22, 0.82),
            rgba(12, 18, 22, 0)
        );

    color:
        var(--mg-white);

    pointer-events: none;
}


.mg-gallery-card__overlay strong {
    font-size: 16px;
}


.mg-gallery-card__overlay span {
    color:
        rgba(255, 255, 255, 0.76);

    font-size: 13px;
}


/* =========================================================
   18. COMMUNITY
========================================================= */

.mg-community {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);

    align-items: center;

    gap:
        clamp(
            48px,
            6vw,
            80px
        );
}


.mg-community__content,
.mg-community__media {
    min-width: 0;
}


.mg-community__lead {
    color:
        var(--mg-dark);

    font-size: 19px;

    font-weight: 650;

    line-height: 1.6;
}


.mg-community__content > p:not(.mg-eyebrow):not(.mg-community__lead) {
    color:
        var(--mg-muted);

    font-size: 16px;
}


.mg-community__facts {
    margin-top: 24px;
}


.mg-community__location {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-bottom: 20px;

    padding:
        17px
        20px;

    border-radius:
        var(--mg-radius-sm);

    background:
        rgba(255, 255, 255, 0.75);

    border:
        1px solid var(--mg-border-blue);
}


.mg-community__location span {
    color:
        var(--mg-blue-strong);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.mg-community__location strong {
    color:
        var(--mg-dark);

    font-size: 17px;
}


.mg-community__media {
    position: relative;
}


.mg-community__media::before {
    content: "";

    position: absolute;

    z-index: 0;

    inset:
        16px
        -14px
        -16px
        16px;

    border-radius:
        var(--mg-radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--mg-blue-soft),
            var(--mg-yellow-soft)
        );

    transform:
        rotate(3deg);
}


.mg-community__media img {
    position: relative;

    z-index: 1;

    width: 100%;

    aspect-ratio:
        4 / 5;

    object-fit: cover;

    object-position: center;

    border-radius:
        var(--mg-radius-lg);

    box-shadow:
        var(--mg-shadow-lg);
}


/* =========================================================
   19. CHECK LIST
========================================================= */

.mg-check-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        12px
        24px;

    margin:
        0;

    padding: 0;

    list-style: none;
}


.mg-check-list li {
    position: relative;

    min-width: 0;

    padding-left: 25px;

    color:
        var(--mg-muted);

    font-size: 15px;

    line-height: 1.5;
}


.mg-check-list li::before {
    content: "✓";

    position: absolute;

    top: 0;
    left: 0;

    color:
        var(--mg-blue-strong);

    font-weight: 900;
}


/* =========================================================
   20. EXPERIENCE
========================================================= */

.mg-experience {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    align-items: center;

    gap:
        clamp(
            48px,
            6vw,
            80px
        );
}


.mg-experience__media,
.mg-experience__content {
    min-width: 0;
}


.mg-experience__media img {
    width: 100%;

    aspect-ratio:
        4 / 5;

    object-fit: cover;

    object-position: center;

    border-radius:
        var(--mg-radius-lg);

    box-shadow:
        var(--mg-shadow-lg);
}


.mg-experience__content > p:not(.mg-eyebrow) {
    color:
        var(--mg-muted);

    font-size: 16px;
}


.mg-experience__highlight {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin:
        24px
        0;

    padding:
        20px
        22px;

    border-left:
        5px solid var(--mg-yellow);

    border-radius:
        0
        var(--mg-radius-sm)
        var(--mg-radius-sm)
        0;

    background:
        var(--mg-soft);
}


.mg-experience__highlight strong {
    color:
        var(--mg-dark);

    font-size: 18px;
}


.mg-experience__highlight span {
    color:
        var(--mg-muted);

    font-size: 14px;
}


.mg-check-list--experience {
    grid-template-columns:
        1fr;
}


/* =========================================================
   21. REVIEWS
========================================================= */

.mg-review-summary {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.mg-review-summary__stars {
    color: var(--mg-yellow);

    letter-spacing: 0.05em;
}


.mg-review-summary strong {
    color: var(--mg-dark);

    font-size: 14px;
}


.mg-review-slider {
    width: 100%;

    min-width: 0;

    overflow: hidden;
}


.mg-review-track {
    align-items: flex-start;
}


/* =========================================================
   REVIEW CARD
========================================================= */

.mg-review-card {
    width: 360px;

    max-width:
        calc(100vw - 48px);

    flex:
        0
        0
        auto;

    display: flex;

    flex-direction: column;

    padding:
        24px;

    border:
        1px solid var(--mg-border-blue);

    border-radius:
        var(--mg-radius);

    background:
        var(--mg-white);

    box-shadow:
        var(--mg-shadow-sm);

    scroll-snap-align:
        start;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.mg-review-card:hover {
    box-shadow:
        var(--mg-shadow);
}


/* =========================================================
   STARS
========================================================= */

.mg-review-card__stars {
    margin-bottom: 17px;

    color:
        var(--mg-yellow);

    font-size: 18px;

    letter-spacing: 0.04em;
}


/* =========================================================
   TEXT
========================================================= */

.mg-review-card__text-wrap {
    position: relative;

    min-width: 0;
}


.mg-review-card__text {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color:
        var(--mg-dark-2);

    font-size: 15px;

    line-height: 1.65;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        6;

    line-clamp:
        6;
}


.mg-review-card__text p {
    margin: 0;
}


/* =========================================================
   FADE AM TEXTENDE
========================================================= */

.mg-review-card__fade {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 46px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95) 68%,
            #ffffff 100%
        );
}


.mg-review-card:not(.has-long-review)
.mg-review-card__fade {
    display: none;
}


/* =========================================================
   AUFGEKLAPPT
========================================================= */

.mg-review-card.is-expanded
.mg-review-card__text {
    display: block;

    overflow: visible;

    -webkit-line-clamp:
        unset;

    line-clamp:
        unset;
}


.mg-review-card.is-expanded
.mg-review-card__fade {
    display: none;
}


/* =========================================================
   WEITERLESEN
========================================================= */

.mg-review-card__toggle {
    align-self: flex-start;

    margin:
        12px
        0
        18px;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        var(--mg-blue-strong);

    cursor: pointer;

    font-size: 13px;

    font-weight: 800;

    line-height: 1.3;

    transition:
        color 0.2s ease;
}


.mg-review-card__toggle:hover {
    color:
        var(--mg-blue-dark);
}


.mg-review-card__toggle[hidden] {
    display: none;
}


/* =========================================================
   PERSON / GOOGLE
========================================================= */

.mg-review-card__footer {
    display: flex;

    flex-direction: column;

    gap: 2px;

    margin-top: auto;

    padding-top: 16px;

    border-top:
        1px solid var(--mg-border);
}


.mg-review-card__footer strong {
    color:
        var(--mg-dark);

    font-size: 15px;
}


.mg-review-card__footer span {
    color:
        var(--mg-muted);

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 780px
) {

    .mg-review-card {
        width:
            min(
                82vw,
                350px
            );

        padding:
            22px;
    }


    .mg-review-card__text {
        font-size: 14px;

        line-height: 1.62;

        -webkit-line-clamp:
            6;

        line-clamp:
            6;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 560px
) {

    .mg-review-card {
        width:
            calc(100vw - 62px);

        padding:
            21px
            19px;
    }


    .mg-review-card__stars {
        margin-bottom: 14px;

        font-size: 17px;
    }


    .mg-review-card__text {
        font-size: 14px;

        line-height: 1.6;

        -webkit-line-clamp:
            6;

        line-clamp:
            6;
    }


    .mg-review-card__toggle {
        margin:
            11px
            0
            16px;
    }


    .mg-review-card__footer {
        padding-top: 14px;
    }

}

/* =========================================================
   22. CONTACT
========================================================= */

.mg-contact {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    gap:
        clamp(
            40px,
            5vw,
            70px
        );

    padding:
        clamp(
            36px,
            5vw,
            64px
        );

    border-radius:
        var(--mg-radius-lg);

    background:
        linear-gradient(
            135deg,
            #24323a 0%,
            #314955 100%
        );

    color:
        var(--mg-white);

    box-shadow:
        var(--mg-shadow-lg);
}


.mg-contact__content,
.mg-contact__form {
    min-width: 0;
}


.mg-contact__content .mg-eyebrow {
    color:
        var(--mg-blue-soft);
}


.mg-contact__content .mg-section-title {
    margin-left: 0;

    margin-right: 0;

    color:
        var(--mg-white);

    text-align: left;
}


.mg-contact__lead {
    color:
        rgba(255, 255, 255, 0.78);

    font-size: 17px;

    line-height: 1.7;
}


.mg-contact__options {
    display: grid;

    gap: 10px;

    margin-top: 28px;
}


.mg-contact-option {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding:
        15px
        17px;

    border:
        1px solid rgba(255, 255, 255, 0.11);

    border-radius:
        var(--mg-radius-sm);

    background:
        rgba(255, 255, 255, 0.06);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.mg-contact-option:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(88, 182, 212, 0.40);

    background:
        rgba(255, 255, 255, 0.10);
}


.mg-contact-option__label {
    color:
        var(--mg-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.mg-contact-option strong {
    overflow-wrap: anywhere;

    color:
        var(--mg-white);

    font-size: 15px;
}


.mg-contact__community {
    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: 24px;

    padding-top: 21px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}


.mg-contact__community span {
    color:
        rgba(255, 255, 255, 0.60);

    font-size: 12px;
}


.mg-contact__community a {
    color:
        var(--mg-blue);

    font-size: 14px;

    font-weight: 800;
}


/* =========================================================
   23. CONTACT FORM
========================================================= */

.mg-contact__form {
    align-self: start;

    padding:
        30px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius:
        var(--mg-radius);

    background:
        rgba(255, 255, 255, 0.97);

    color:
        var(--mg-text);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.18);
}


.mg-contact__form-head {
    margin-bottom: 24px;
}


.mg-contact__form-head h3 {
    margin-bottom: 10px;

    font-size: 28px;
}


.mg-contact__form-head p {
    color:
        var(--mg-muted);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   24. FORMINATOR
========================================================= */

.mg-form .forminator-ui {
    margin: 0 !important;
}


.mg-form .forminator-row {
    margin-bottom:
        14px !important;
}


.mg-form .forminator-label {
    display: block !important;

    margin-bottom:
        6px !important;

    color:
        var(--mg-dark) !important;

    font-size:
        12px !important;

    font-weight:
        800 !important;
}


.mg-form input,
.mg-form textarea,
.mg-form select {
    width: 100% !important;

    min-height: 49px !important;

    padding:
        11px
        14px !important;

    border:
        1px solid rgba(38, 52, 61, 0.15) !important;

    border-radius:
        11px !important;

    background:
        var(--mg-white) !important;

    color:
        var(--mg-dark) !important;

    box-shadow:
        none !important;

    outline:
        none !important;
}


.mg-form textarea {
    min-height:
        120px !important;

    resize: vertical;
}


.mg-form input:focus,
.mg-form textarea:focus,
.mg-form select:focus {
    border-color:
        var(--mg-blue) !important;

    box-shadow:
        0 0 0 3px rgba(88, 182, 212, 0.12) !important;
}


.mg-form .forminator-button {
    width: 100% !important;

    min-height: 50px !important;

    border: 0 !important;

    border-radius:
        999px !important;

    background:
        var(--mg-blue-strong) !important;

    color:
        var(--mg-white) !important;

    font-weight:
        800 !important;

    cursor:
        pointer !important;
}


.mg-form .forminator-button:hover {
    background:
        var(--mg-blue-dark) !important;
}


.mg-form__fallback {
    text-align: center;
}


/* =========================================================
   25. LIGHTBOX
========================================================= */

.mg-lightbox {
    position: fixed;

    z-index: 3000;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.mg-lightbox.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


.mg-lightbox__backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(8, 13, 16, 0.92);

    cursor: pointer;
}


.mg-lightbox__dialog {
    position: relative;

    z-index: 2;

    width:
        min(
            100%,
            1000px
        );

    display: flex;

    align-items: center;
    justify-content: center;
}


.mg-lightbox__figure {
    position: relative;

    width: auto;

    max-width: 100%;

    margin: 0;

    overflow: hidden;

    border-radius:
        var(--mg-radius);

    background:
        var(--mg-black);

    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.55);
}


.mg-lightbox__image {
    display: block;

    width: auto;

    max-width:
        min(
            88vw,
            900px
        );

    max-height:
        82vh;

    object-fit: contain;
}


.mg-lightbox__caption {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

    padding:
        46px
        20px
        17px;

    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.78),
            transparent
        );

    color:
        var(--mg-white);
}


.mg-lightbox__caption strong {
    font-size: 16px;
}


.mg-lightbox__caption span {
    color:
        rgba(255, 255, 255, 0.72);

    font-size: 13px;
}


.mg-lightbox__close {
    position: fixed;

    z-index: 4;

    top: 16px;
    right: 16px;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12);

    color:
        var(--mg-white);

    cursor: pointer;

    font-size: 27px;
}


.mg-lightbox__arrow {
    position: fixed;

    z-index: 4;

    top: 50%;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12);

    color:
        var(--mg-white);

    cursor: pointer;

    font-size: 21px;

    transform:
        translateY(-50%);
}


.mg-lightbox__arrow--prev {
    left: 18px;
}


.mg-lightbox__arrow--next {
    right: 18px;
}


.mg-lightbox__arrow:disabled {
    display: none;
}


/* =========================================================
   26. FOOTER
========================================================= */

.mg-footer {
    background:
        #1e2a31;

    color:
        rgba(255, 255, 255, 0.68);
}


.mg-footer__main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, 0.8fr)
        minmax(0, 1fr)
        minmax(0, 0.7fr);

    gap:
        clamp(
            28px,
            4vw,
            55px
        );

    padding:
        62px
        0
        46px;
}


.mg-footer__brand,
.mg-footer__column {
    min-width: 0;
}


.mg-footer__brand-link {
    display: inline-flex;

    flex-direction: column;

    margin-bottom: 18px;
}


.mg-footer__brand-name {
    color:
        var(--mg-white);

    font-size: 19px;

    font-weight: 900;

    letter-spacing: 0.045em;
}


.mg-footer__brand-subtitle {
    margin-top: 4px;

    color:
        var(--mg-blue);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.mg-footer__text {
    max-width: 390px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 14px;

    line-height: 1.7;
}


.mg-footer__location {
    margin-top: 15px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 14px;

    font-weight: 700;
}


.mg-footer__title {
    margin-bottom: 15px;

    color:
        var(--mg-white);

    font-size: 15px;
}


.mg-footer__nav {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.mg-footer__nav a {
    color:
        rgba(255, 255, 255, 0.57);

    font-size: 13px;

    line-height: 1.5;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.mg-footer__nav a:hover {
    color:
        var(--mg-blue);

    transform:
        translateX(3px);
}


.mg-footer__bottom {
    min-height: 64px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    color:
        rgba(255, 255, 255, 0.44);

    font-size: 12px;
}


.mg-footer__credit a {
    margin-left: 4px;

    color:
        var(--mg-white);

    font-weight: 800;
}


/* =========================================================
   27. SCROLL TOP
========================================================= */

.mg-scroll-top {
    position: fixed;

    z-index: 900;

    right: 20px;
    bottom: 20px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--mg-blue-strong);

    color:
        var(--mg-white);

    cursor: pointer;

    box-shadow:
        0 10px 28px rgba(39, 155, 194, 0.28);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}


.mg-scroll-top.is-visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.mg-scroll-top:hover {
    background:
        var(--mg-blue-dark);
}


/* =========================================================
   28. LEGAL
========================================================= */

.mg-legal-page
.mg-section:first-child {
    padding-top: 58px;

    padding-bottom: 42px;
}


.mg-legal-page
.mg-section:first-child
.mg-section-head {
    margin-bottom: 0;
}


.mg-legal-card {
    width:
        min(
            100%,
            900px
        );

    margin:
        0
        auto;

    padding:
        clamp(
            26px,
            4vw,
            50px
        );

    border:
        1px solid var(--mg-border);

    border-radius:
        var(--mg-radius-lg);

    background:
        var(--mg-white);

    box-shadow:
        var(--mg-shadow);
}


.mg-legal-block {
    padding-bottom: 28px;

    margin-bottom: 28px;

    border-bottom:
        1px solid var(--mg-border);
}


.mg-legal-block:last-of-type {
    margin-bottom: 0;

    border-bottom: 0;
}


.mg-legal-block h2 {
    margin-bottom: 15px;

    font-size:
        clamp(
            21px,
            2.5vw,
            28px
        );
}


.mg-legal-block p,
.mg-legal-block li {
    color:
        var(--mg-muted);

    font-size: 15px;
}


.mg-legal-block ul {
    padding-left: 21px;
}


.mg-legal-block a {
    color:
        var(--mg-blue-strong);

    font-weight: 700;
}


.mg-legal-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 32px;
}


/* =========================================================
   29. INDEX
========================================================= */

.mg-index-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 24px;
}


.mg-index-card {
    overflow: hidden;

    border:
        1px solid var(--mg-border);

    border-radius:
        var(--mg-radius);

    background:
        var(--mg-white);

    box-shadow:
        var(--mg-shadow-sm);

    transition:
        transform 0.3s var(--mg-ease),
        box-shadow 0.3s ease;
}


.mg-index-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--mg-shadow);
}


.mg-index-card__image {
    display: block;

    overflow: hidden;
}


.mg-index-card__image img {
    width: 100%;

    aspect-ratio:
        16 / 10;

    object-fit: cover;
}


.mg-index-card__content {
    padding:
        23px;
}


.mg-index-card__meta {
    margin-bottom: 8px;

    color:
        var(--mg-blue-strong);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.06em;
}


.mg-index-card__title {
    margin-bottom: 11px;

    font-size: 22px;
}


.mg-index-card__excerpt {
    color:
        var(--mg-muted);

    font-size: 14px;
}


.mg-pagination {
    margin-top: 42px;
}


.mg-pagination .nav-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;
}


.mg-pagination .page-numbers {
    min-width: 40px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        12px;

    border:
        1px solid var(--mg-border);

    border-radius: 999px;

    background:
        var(--mg-white);

    color:
        var(--mg-dark);

    font-size: 13px;

    font-weight: 700;
}


.mg-pagination .page-numbers.current,
.mg-pagination .page-numbers:hover {
    border-color:
        var(--mg-blue-strong);

    background:
        var(--mg-blue-strong);

    color:
        var(--mg-white);
}


.mg-empty-state {
    max-width: 650px;

    margin-inline: auto;

    text-align: center;
}


/* =========================================================
   30. DESKTOP MEDIUM
========================================================= */

@media (
    max-width: 1180px
) {

    .mg-header__inner {
        gap: 18px;
    }


    .mg-header__nav {
        gap: 14px;
    }


    .mg-header__nav a {
        font-size: 12px;
    }


    .mg-header__cta {
        padding:
            9px
            14px;

        font-size: 11px;
    }


    .mg-footer__main {
        grid-template-columns:
            1.3fr
            0.8fr
            1fr;
    }


    .mg-footer__column:last-child {
        grid-column:
            2 / 4;
    }

}


/* =========================================================
   31. TABLET / MOBILE HEADER
========================================================= */

@media (
    max-width: 1040px
) {

    :root {
        --mg-header-height: 72px;
        --mg-section-space: 68px;
    }


    .mg-header__inner {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 16px;
    }


    .mg-header__nav,
    .mg-header__actions {
        display: none;
    }


    .mg-menu-toggle {
        display: flex;

        margin-left: auto;
    }


    .mg-about,
    .mg-community,
    .mg-experience,
    .mg-contact {
        grid-template-columns:
            1fr;

        gap: 42px;
    }


    .mg-about__media,
    .mg-community__media,
    .mg-experience__media {
        width: min(100%, 620px);

        margin-inline: auto;
    }


    .mg-about__content,
    .mg-community__content,
    .mg-experience__content {
        width: min(100%, 760px);

        margin-inline: auto;
    }


    .mg-contact {
        padding:
            42px;
    }


    .mg-contact__content,
    .mg-contact__form {
        width: 100%;

        max-width: 760px;

        margin-inline: auto;
    }


    .mg-index-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .mg-footer__main {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .mg-footer__brand {
        grid-column:
            1 / -1;

        max-width: 650px;
    }


    .mg-footer__column:last-child {
        grid-column: auto;
    }

}


/* =========================================================
   32. SMALL TABLET
========================================================= */

@media (
    max-width: 780px
) {

    :root {
        --mg-section-space: 58px;
    }


    .mg-container {
        width:
            calc(100% - 32px);
    }


    .mg-section-head {
        margin-bottom: 34px;
    }


    .mg-section-title {
        font-size:
            clamp(
                30px,
                8vw,
                42px
            );
    }


    .mg-display-title {
        font-size:
            clamp(
                38px,
                10vw,
                54px
            );
    }


    .mg-about__content p:not(.mg-eyebrow):not(.mg-about__lead),
    .mg-community__content > p:not(.mg-eyebrow):not(.mg-community__lead),
    .mg-experience__content > p:not(.mg-eyebrow) {
        font-size: 16px;
    }


    .mg-about {
        gap: 34px;
    }


    .mg-about__media::before {
        top: -10px;
        left: -8px;

        width: 95px;
        height: 95px;
    }


    .mg-about__media::after {
        right: -7px;
        bottom: -8px;

        width: 65px;
        height: 65px;
    }


    .mg-service-card {
        width:
            min(
                82vw,
                320px
            );

        min-height: 230px;

        padding:
            27px
            24px;
    }


    .mg-gallery-card {
        width:
            min(
                79vw,
                330px
            );
    }


    .mg-review-card {
        width:
            min(
                85vw,
                410px
            );
    }


    .mg-slider-controls {
        display: none;
    }


    .mg-check-list {
        grid-template-columns:
            1fr;
    }


    .mg-community__location {
        margin-bottom: 17px;
    }


    .mg-contact {
        gap: 30px;

        padding:
            34px
            26px;
    }


    .mg-contact__form {
        padding:
            25px
            21px;
    }


    .mg-index-grid {
        grid-template-columns:
            1fr;
    }


    .mg-footer__main {
        grid-template-columns:
            1fr
            1fr;

        gap:
            34px
            26px;

        padding:
            52px
            0
            38px;
    }


    .mg-footer__brand {
        grid-column:
            1 / -1;
    }


    .mg-footer__bottom {
        min-height: auto;

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding:
            18px
            0;

        text-align: center;
    }


    .mg-lightbox {
        padding: 16px;
    }


    .mg-lightbox__arrow {
        width: 42px;
        height: 42px;
    }


    .mg-lightbox__arrow--prev {
        left: 8px;
    }


    .mg-lightbox__arrow--next {
        right: 8px;
    }

}


/* =========================================================
   33. MOBILE
========================================================= */

@media (
    max-width: 560px
) {

    :root {
        --mg-header-height: 70px;
        --mg-section-space: 52px;
    }


    body {
        font-size: 15px;
    }


    .mg-container {
        width:
            calc(100% - 28px);
    }


    .mg-header__brand {
        max-width:
            calc(100% - 60px);
    }


    .mg-header__brand-name {
        font-size: 14px;
    }


    .mg-header__brand-subtitle {
        font-size: 6.5px;

        letter-spacing: 0.09em;
    }


    .mg-menu-toggle {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .mg-mobile-menu__panel {
        width: 100%;

        padding:
            18px
            17px
            26px;
    }


    .mg-mobile-menu__brand-name {
        font-size: 14px;
    }


    .mg-mobile-menu__brand-subtitle {
        font-size: 6.5px;
    }


    .mg-section-head {
        margin-bottom: 30px;
    }


    .mg-eyebrow {
        margin-bottom: 10px;

        font-size: 10px;
    }


    .mg-section-title {
        font-size:
            clamp(
                29px,
                9vw,
                38px
            );

        line-height: 1.08;
    }


    .mg-section-subtitle {
        font-size: 15px;

        line-height: 1.65;
    }


    .mg-display-title {
        font-size:
            clamp(
                36px,
                12vw,
                48px
            );

        line-height: 1;
    }


    .mg-about {
        gap: 28px;
    }


    .mg-about__lead {
        font-size: 17px;
    }


    .mg-about__content p:not(.mg-eyebrow):not(.mg-about__lead) {
        font-size: 15px;
    }


    .mg-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 23px;
    }


    .mg-actions .mg-btn {
        width: 100%;
    }


    .mg-service-track,
    .mg-gallery-track,
    .mg-review-track {
        gap: 14px;
    }


    .mg-service-card {
        width:
            calc(100vw - 50px);

        min-height: 220px;

        padding:
            24px
            21px;
    }


    .mg-service-card h3 {
        font-size: 21px;
    }


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


    .mg-gallery-card {
        width:
            calc(100vw - 50px);
    }


    .mg-community {
        gap: 30px;
    }


    .mg-community__lead {
        font-size: 17px;
    }


    .mg-community__content > p:not(.mg-eyebrow):not(.mg-community__lead) {
        font-size: 15px;
    }


    .mg-community__location {
        padding:
            15px
            16px;
    }


    .mg-community__location strong {
        font-size: 16px;
    }


    .mg-check-list {
        gap: 10px;
    }


    .mg-check-list li {
        font-size: 14px;
    }


    .mg-experience {
        gap: 30px;
    }


    .mg-experience__highlight {
        margin:
            20px
            0;

        padding:
            17px
            18px;
    }


    .mg-review-card {
        width:
            calc(100vw - 50px);

        padding:
            24px
            21px;
    }


    .mg-review-card blockquote {
        font-size: 15px;

        line-height: 1.68;
    }


    .mg-section-action {
        margin-top: 24px;
    }


    .mg-section-action .mg-btn {
        width: 100%;
    }


    .mg-contact {
        padding:
            28px
            19px;

        border-radius:
            22px;
    }


    .mg-contact__lead {
        font-size: 15px;
    }


    .mg-contact__options {
        margin-top: 22px;
    }


    .mg-contact-option {
        padding:
            14px
            15px;
    }


    .mg-contact__form {
        padding:
            22px
            16px;
    }


    .mg-contact__form-head h3 {
        font-size: 24px;
    }


    .mg-footer__main {
        grid-template-columns:
            1fr;

        gap: 30px;

        padding:
            46px
            0
            34px;
    }


    .mg-footer__brand {
        grid-column: auto;
    }


    .mg-footer__brand-name {
        font-size: 17px;
    }


    .mg-footer__brand-subtitle {
        font-size: 7px;
    }


    .mg-footer__title {
        margin-bottom: 12px;
    }


    .mg-footer__nav {
        gap: 7px;
    }


    .mg-footer__bottom {
        padding:
            16px
            0;
    }


    .mg-scroll-top {
        right: 14px;
        bottom: 14px;

        width: 40px;
        height: 40px;

        font-size: 14px;
    }


    .mg-legal-page
    .mg-section:first-child {
        padding-top: 44px;

        padding-bottom: 34px;
    }


    .mg-legal-card {
        padding:
            25px
            18px;

        border-radius:
            20px;
    }


    .mg-legal-block {
        padding-bottom: 24px;

        margin-bottom: 24px;
    }


    .mg-legal-block h2 {
        font-size: 21px;
    }


    .mg-legal-block p,
    .mg-legal-block li {
        font-size: 14px;
    }


    .mg-legal-actions {
        flex-direction: column;
    }


    .mg-legal-actions .mg-btn {
        width: 100%;
    }


    .mg-lightbox__close {
        top: 10px;
        right: 10px;

        width: 42px;
        height: 42px;
    }


    .mg-lightbox__arrow {
        width: 38px;
        height: 38px;

        font-size: 17px;
    }

}


/* =========================================================
   34. VERY SMALL MOBILE
========================================================= */

@media (
    max-width: 380px
) {

    .mg-header__brand-name {
        font-size: 12px;
    }


    .mg-header__brand-subtitle {
        font-size: 5.7px;
    }


    .mg-section-title {
        font-size: 28px;
    }


    .mg-display-title {
        font-size: 35px;
    }


    .mg-service-card,
    .mg-gallery-card,
    .mg-review-card {
        width:
            calc(100vw - 42px);
    }

}


/* =========================================================
   35. HOVER DEVICES
========================================================= */

@media (
    hover: none
) {

    .mg-btn:hover,
    .mg-service-card:hover,
    .mg-gallery-card:hover,
    .mg-contact-option:hover,
    .mg-index-card:hover {
        transform: none;
    }


    .mg-gallery-card:hover img {
        transform: none;
    }

}


/* =========================================================
   36. REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }


    [data-mg-reveal],
    .mg-js.mg-ready [data-mg-reveal] {
        opacity: 1 !important;

        transform: none !important;
    }

}


/* =========================================================
   37. PRINT
========================================================= */

@media print {

    .mg-header,
    .mg-mobile-menu,
    .mg-footer,
    .mg-scroll-top,
    .mg-slider-controls,
    .mg-lightbox {
        display:
            none !important;
    }


    body {
        color: #000000;

        background: #ffffff;
    }


    .mg-home,
    .mg-index-page,
    .mg-legal-page {
        padding-top: 0;
    }


    [data-mg-reveal] {
        opacity: 1 !important;

        transform: none !important;
    }

}