/* ==========================================================================
   FONTS – lokal gehostet (keine Verbindung zu Google)
   Montserrat & Open Sans, SIL Open Font License 1.1, Subset "latin"
   ========================================================================== */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 600;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/open-sans-latin.woff2') format('woff2');
}


/* ==========================================================================
   DESIGN SYSTEM – Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #00AEEF;
    --color-primary-hover: #0091CC;
    --color-primary-light: #E6F7FE;
    --color-primary-rgb: 0, 174, 239;

    --color-text-heading: #2D2D2D;
    --color-text-body: #4A4A4A;
    --color-text-subtle: #9D9D9C;

    --color-bg-white: #FFFFFF;
    --color-bg-light: #F5F5F5;
    --color-bg-footer: #1A1A2E;

    --color-border: #E0E0E0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --fs-h1: clamp(2.25rem, 5vw, 3.5rem);
    --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
    --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
    --fs-body: clamp(0.9375rem, 1.5vw, 1.0625rem);
    --fs-small: clamp(0.8125rem, 1.2vw, 0.9375rem);
    --fs-label: 0.8125rem;

    /* Spacing */
    --section-padding: clamp(3.5rem, 8vw, 6rem);
    --container-max: 1200px;
    --container-padding: 1.25rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Header */
    --header-height: 80px;
}


/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: break-word;
}

/* Lange deutsche Wörter (z. B. „Behandlungsspektrum“) auf schmalen Handys trennen */
@media (max-width: 479px) {
    h1, h2, h3 {
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section {
    padding-block: var(--section-padding);
    overflow-x: clip;
}

.section--gray {
    background-color: var(--color-bg-light);
}

.section--blue {
    background-color: var(--color-primary-light);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
}

.section__subtitle {
    color: var(--color-text-subtle);
    font-size: var(--fs-body);
    max-width: 560px;
    margin-inline: auto;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn--outline:hover {
    background-color: #fff;
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn--lg {
    padding: 0.9375rem 2.25rem;
    font-size: var(--fs-body);
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    /* Kein backdrop-filter hier: er würde den Header zum Containing Block
       für position:fixed machen und das mobile Menü auf 80 px begrenzen. */
    background-color: rgba(255, 255, 255, 0.97);
    transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo img {
    height: 56px;
    width: auto;
}

.header__nav {
    display: none;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-text-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-block: 0.25rem;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

/* Mobil: nur Telefon-Icon (44×44 Tippfläche), Nummer erst ab Desktop */
.header__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-text-heading);
}

.header__phone:hover {
    color: var(--color-primary);
}

.header__phone span {
    display: none;
}

.header__cta {
    display: none;
}


/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-heading);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* Mobile Navigation Overlay */
.header__nav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.header__nav.open .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.header__nav.open .nav__link {
    font-size: 1.25rem;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 85vh;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero__text-side {
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    padding: clamp(3rem, 8vw, 5rem) var(--container-padding);
}

.hero__text-inner {
    max-width: 560px;
    margin-inline: auto;
}

.hero__image-side {
    position: relative;
    min-height: 320px;
}

.hero__image-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-heading);
    font-size: var(--fs-h1);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero__text {
    font-size: clamp(1rem, 2vw, 1.175rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Outline button on light hero background */
.hero .btn--outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.hero .btn--outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}


/* ==========================================================================
   ABOUT
   ========================================================================== */

.about__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 20%;
    aspect-ratio: 4 / 3;
}

.about__content .section__label {
    display: block;
    margin-bottom: 0.5rem;
}

.about__content .section__title {
    margin-bottom: 1.5rem;
}

.about__text {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.feature__title {
    font-size: var(--fs-body);
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.feature__text {
    font-size: var(--fs-small);
    color: var(--color-text-subtle);
}


/* ==========================================================================
   SERVICES
   ========================================================================== */

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--color-bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.service-card__title {
    font-size: var(--fs-h3);
    margin-bottom: 0.5rem;
}

.service-card__text {
    font-size: var(--fs-small);
    color: var(--color-text-subtle);
    line-height: 1.6;
}

.training-info {
    max-width: 680px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.75rem;
    background: var(--color-bg-white);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.training-info__title {
    font-size: var(--fs-h3);
    margin-bottom: 0.75rem;
}

.training-info__list {
    list-style: disc;
    padding-left: 1.25rem;
}

.training-info__list li {
    margin-bottom: 0.25rem;
}

.section__note {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-subtle);
    font-size: var(--fs-small);
}


/* ==========================================================================
   TEAM
   ========================================================================== */

.team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.team-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-card__image {
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-card__image img {
    transform: scale(1.05);
}

.team-card__info {
    padding: 1.25rem 1.5rem;
}

.team-card__name {
    font-size: var(--fs-h3);
    margin-bottom: 0.125rem;
}

.team-card__role {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
}

.team-card__qualifications {
    font-size: var(--fs-small);
    color: var(--color-text-subtle);
}

.team-card--featured {
    border: 2px solid var(--color-primary-light);
}


/* ==========================================================================
   GALLERY / PRAXIS
   ========================================================================== */

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 174, 239, 0);
    color: #fff;
    transition: background-color var(--transition-base);
}

.gallery__overlay svg {
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    background-color: rgba(0, 174, 239, 0.3);
}

.gallery__item:hover .gallery__overlay svg {
    opacity: 1;
    transform: scale(1);
}


/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border: none;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox::backdrop {
    background: transparent;
}

.lightbox[open] {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.75rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    opacity: 1;
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
}

.lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}


/* ==========================================================================
   KONTAKT
   ========================================================================== */

.kontakt__grid {
    display: grid;
    gap: 2.5rem;
}

.kontakt__block {
    margin-bottom: 1.75rem;
}

.kontakt__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-h3);
    margin-bottom: 0.5rem;
    color: var(--color-text-heading);
}

.kontakt__heading svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.kontakt__block p,
.kontakt__block a {
    font-size: var(--fs-body);
    color: var(--color-text-body);
    line-height: 1.7;
}

.kontakt__note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary-light);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: var(--fs-small) !important;
}

.kontakt__hours {
    width: 100%;
    border-collapse: collapse;
}

.kontakt__hours td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--fs-body);
}

.kontakt__hours td:last-child {
    text-align: right;
    font-weight: 500;
}

.kontakt__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 350px;
    background-color: var(--color-bg-light);
}

.map-consent[hidden] {
    display: none;
}

.map-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
    padding: 2rem;
    text-align: center;
}

.map-consent__content {
    max-width: 320px;
}

.map-consent__content svg {
    color: var(--color-text-subtle);
    margin-bottom: 1rem;
}

.map-consent__content h3 {
    font-size: var(--fs-h3);
    margin-bottom: 0.5rem;
}

.map-consent__content p {
    font-size: var(--fs-small);
    color: var(--color-text-subtle);
    margin-bottom: 1.25rem;
}

.map-container {
    height: 100%;
    min-height: 350px;
}

.map-container[hidden] {
    display: none;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--color-bg-footer);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer__slogan {
    font-size: var(--fs-small);
    line-height: 1.7;
}

.footer__partner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer__partner img {
    height: 44px;
    width: auto;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 4px;
}

.footer__partner span {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
    line-height: 1.4;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-small);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__contact p {
    font-size: var(--fs-small);
    margin-bottom: 0.375rem;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    font-size: var(--fs-small);
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-small);
}

.footer__legal a:hover {
    color: var(--color-primary);
}


/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

/* Elements are visible by default. JS adds .will-animate to hide them,
   then IntersectionObserver adds .visible to reveal them. */

.reveal,
.reveal-left,
.reveal-right {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-left.will-animate {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-right.will-animate {
    opacity: 0;
    transform: translateX(30px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Staggered reveal delays */
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }


/* ==========================================================================
   RESPONSIVE – Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    /* Services grid */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Team grid */
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Gallery grid */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .gallery__item--large {
        grid-column: span 2;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Kontakt */
    .kontakt__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


/* ==========================================================================
   RESPONSIVE – Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    /* Hero split screen */
    .hero {
        grid-template-columns: 1fr 1fr;
        max-height: 900px;
    }

    .hero__text-side {
        padding-inline: clamp(2rem, 5vw, 5rem);
    }

    .header__nav {
        display: flex;
    }

    .header__actions {
        margin: 0;
    }

    .header__phone {
        min-width: 0;
    }

    .header__phone span {
        display: inline;
    }

    .header__cta {
        display: inline-flex;
    }

    /* Services grid */
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Team grid */
    .team__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Gallery grid */
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery__item--large img {
        aspect-ratio: auto;
    }

    /* About */
    .about__grid {
        gap: 4rem;
    }

    .about__features {
        flex-direction: row;
        gap: 1.5rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}


/* ==========================================================================
   RESPONSIVE – Wide (1280px+)
   ========================================================================== */

@media (min-width: 1280px) {
    :root {
        --container-max: 1240px;
    }

    .nav__list {
        gap: 2.5rem;
    }
}