/* =========================================================
   SODEUR MONTAGEBETRIEB
   Business Website
   ========================================================= */

:root {
    --navy: #0c2438;
    --navy-light: #173a55;
    --green: #285f4d;
    --green-light: #dfece6;
    --green-pale: #f1f6f3;

    --white: #ffffff;
    --off-white: #f7f8f6;
    --light-gray: #e6e9e7;
    --gray: #69716e;
    --dark: #14201d;

    --container: 1180px;
    --radius: 6px;
    --shadow: 0 18px 50px rgba(12, 36, 56, 0.09);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 100px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    width: 170px;
    /* height: 52px; */
    border: 2px solid var(--navy);
    background: var(--green-pale);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: translateY(40px);
}

.company-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.company-name-main {
    color: var(--navy);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.company-name-sub {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 6px;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-light);
    color: var(--white);
    padding: 11px 16px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.main-nav a:hover {
    background-color: var(--green);
    color: var(--white);
}

.main-nav a.nav-button {
    background-color: var(--navy);
    color: var(--white);
}

.main-nav a.nav-button:hover {
    background-color: var(--green);
}


/* =========================================================
   GENERAL TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

h1,
h2,
h3 {
    color: var(--navy);
    line-height: 1.12;
}

h1 {
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 800;
    letter-spacing: -2.5px;
}

h1 span {
    display: block;
    color: var(--green);
}

h2 {
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -1.5px;
}

p {
    color: var(--gray);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--navy);
    color: var(--white);
}

.button-primary:hover {
    background: var(--green);
}

.button-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.button-secondary:hover {
    background: var(--green-pale);
    border-color: var(--green);
}

.button-light {
    background: var(--white);
    color: var(--navy);
}

.button-light:hover {
    background: var(--green-light);
}


/* =========================================================
   IMAGE PLACEHOLDERS
   ========================================================= */

.image-placeholder {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #e9eeeb 25%, #f4f6f4 25%, #f4f6f4 50%, #e9eeeb 50%, #e9eeeb 75%, #f4f6f4 75%);
    background-size: 32px 32px;
    min-height: 280px;
    border: 1px solid #d8dfdc;
}

.placeholder-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--navy);
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 25px;
    margin-bottom: 12px;
}

.placeholder-content strong {
    font-size: 13px;
    letter-spacing: 2px;
}

.placeholder-content small {
    color: var(--gray);
    margin-top: 5px;
    font-size: 11px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 85px 0 100px;
    background:
        linear-gradient(90deg, var(--white) 0%, var(--white) 53%, var(--green-pale) 53%, var(--green-pale) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.hero-content {
    padding-left: 20px;
}

.hero-text {
    max-width: 540px;
    font-size: 17px;
    margin: 27px 0 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image {
    min-height: 500px;
    box-shadow: var(--shadow);
}

.hero-image-with-border {
    border-style: solid;
    border-color: var(--navy);
    border-radius: 10px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading p {
    margin-top: 20px;
    font-size: 16px;
}

.services-section {
    background: var(--white);
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 38px;
    border: 1px solid var(--light-gray);
    min-height: 370px;
    background: var(--white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card-featured {
    background: var(--navy);
    border-color: var(--navy);
}

.service-card-featured h3,
.service-card-featured p,
.service-card-featured .service-number {
    color: var(--white);
}

.service-number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.service-icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 27px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 30px;
}

.text-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.services-grid .service-card:nth-child(1) {
    background-color: #0c2438;
    border-color: #0c2438;
}

.services-grid .service-card:nth-child(2) {
    background-color: #173a55;
    border-color: #173a55;
}

.services-grid .service-card:nth-child(3) {
    background-color: #28506b;
    border-color: #28506b;
}

.services-grid .service-card h3,
.services-grid .service-card p,
.services-grid .service-card .service-number {
    color: #ffffff;
}

.services-grid .service-card .text-link {
    color: #dfece6;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-image {
    min-height: 560px;
}

.about-content > p {
    max-width: 600px;
    margin-top: 22px;
}

.about-points {
    margin-top: 35px;
    border-top: 1px solid var(--light-gray);
}

.about-points div {
    display: flex;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.about-points strong {
    color: var(--green);
    font-size: 12px;
}

.about-points span {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   PROJECTS / GALLERY
   ========================================================= */

.projects-section {
    background: var(--white);
}

.section-heading-row {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 80px;
    align-items: end;
}

.section-heading-row p {
    margin-bottom: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.gallery-item {
    position: relative;
}

.gallery-item .image-placeholder {
    min-height: 320px;
}

.gallery-large .image-placeholder {
    min-height: 500px;
}

.gallery-caption {
    display: flex;
    flex-direction: column;
    padding-top: 13px;
}

.gallery-caption span {
    color: var(--green);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.gallery-caption strong {
    color: var(--navy);
    font-size: 16px;
    margin-top: 3px;
}


/* =========================================================
   BEFORE / AFTER
   ========================================================= */

.before-after {
    margin-top: 100px;
    padding: 60px;
    background: var(--green-pale);
}

.before-after-heading {
    margin-bottom: 35px;
}

.before-after-heading h3 {
    font-size: 30px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    gap: 20px;
}

.before-after-item {
    position: relative;
}

.before-after-item .image-placeholder {
    min-height: 400px;
}

.image-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 7px 13px;
    background: var(--navy);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-after-arrow {
    font-family: Arial, Helvetica, sans-serif;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid yellow;
    background-color: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    justify-self: center;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 75px 0;
    background: var(--navy);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(32px, 4vw, 48px);
}

.eyebrow-light {
    color: var(--green-light);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #091b2a;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.7fr;
    gap: 60px;
    padding: 75px 0 60px;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 22px;
    color: #aab8b3;
    font-size: 14px;
}

.footer-company-name .company-name-main {
    color: var(--white);
}

.footer-company-name .company-name-sub {
    color: var(--green-light);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.footer-column a,
.footer-column span {
    color: #aab8b3;
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #7f928b;
    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .main-nav {
        gap: 16px;
    }

    .hero {
        background: var(--white);
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-image {
        min-height: 400px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-large {
        grid-column: span 2;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 650px) {

    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .site-header {
        height: auto;
        padding: 15px 0;
    }

    .header-inner {
        gap: 20px;
    }

    .main-nav {
        display: none;
    }

    .company-name-main {
        font-size: 17px;
    }

    .hero {
        padding: 65px 0 70px;
    }

    h1 {
        letter-spacing: -1.5px;
    }

    .hero-image {
        min-height: 300px;
    }

    .section {
        padding: 75px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: auto;
    }

    .gallery-large .image-placeholder,
    .gallery-item .image-placeholder {
        min-height: 330px;
    }

    .before-after {
        margin-top: 70px;
        padding: 30px 20px;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .before-after-arrow {
        transform: rotate(90deg);
    }

    .before-after-item .image-placeholder {
        min-height: 280px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}