/*
Theme Name: Meine alte Haustür Klassisch V2
Theme URI: https://meine-alte-haustür.de/
Author: Meine alte Haustür
Description: Klassische Creme-Papiergestaltung für Meine alte Haustür.
Version: 2.2.0
Text Domain: mah-klassisch-v2
*/

/* =========================================================
   BASIS
   ========================================================= */

:root {
    --cream: #f4efd7;
    --paper: #fbf8ef;
    --ink: #173d31;
    --rust: #b85734;
    --sage: #7f8f72;
    --line: #d9d2bb;
    --white: #fff;
    --shadow: 0 18px 55px rgba(39, 45, 34, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f0d8;
    color: #173c31;
    font: 17px/1.65 'Trebuchet MS', Arial, sans-serif;
}

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

a {
    color: inherit;
}

.mah-wrap {
    width: min(1320px, calc(100% - 70px));
    margin: auto;
}

.mah-serif,
h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
}


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

.mah-top {
    position: relative;
    z-index: 100;
    background: #fbf8ef;
    border-bottom: 0;
}

.mah-head {
    height: 98px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.mah-brand img {
    display: block;
    width: 300px;
    max-height: 78px;
    object-fit: contain;
}

.mah-nav {
    margin-left: auto;
}

.mah-nav > ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mah-nav li {
    position: relative;
}

.mah-nav a {
    display: block;
    padding: 36px 0;
    color: #173c31;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mah-nav a:hover {
    color: var(--rust);
}

.mah-nav .sub-menu {
    position: absolute;
    top: 82px;
    left: -18px;
    display: block;
    min-width: 245px;
    margin: 0;
    padding: 10px 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.mah-nav li:hover > .sub-menu,
.mah-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mah-nav .sub-menu a {
    padding: 10px 18px;
}

.mah-nav .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
}


/* =========================================================
   KNOPPEN
   ========================================================= */

.mah-ask,
.mah-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid #b55635;
    border-radius: 2px;
    background: #b55635;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

.mah-ask {
    padding: 13px 29px;
    background: transparent;
    border-color: #b95d3b;
    color: #a4492c;
}

.mah-ask:hover,
.mah-btn:hover {
    background: #963f24;
    color: #fff;
}

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

.mah-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.mah-actions-center {
    justify-content: center;
}


/* =========================================================
   MOBIEL MENU
   ========================================================= */

.mah-mobile {
    display: none;
    margin-left: auto;
}

.mah-mobile summary {
    cursor: pointer;
    padding: 11px 16px;
    border: 1px solid var(--rust);
    color: var(--rust);
    font-weight: 700;
    list-style: none;
}

.mah-mobile div {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 90px;
    padding: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.mah-mobile a {
    display: block;
    padding: 10px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}


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

.mah-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fbf8ef;
}

.mah-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.mah-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(18, 41, 31, .88) 0%,
            rgba(18, 41, 31, .70) 38%,
            rgba(18, 41, 31, .35) 65%,
            rgba(18, 41, 31, .08) 100%
        );
    pointer-events: none;
}

.mah-hero .mah-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 680px;
}

.mah-hero-copy {
    position: relative;
    width: min(700px, 55%);
    padding: 64px 0;
    color: #fff;
}

.mah-kicker {
    display: block;
    margin-bottom: 18px;
    color: #ebd6c6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

.mah-hero .mah-kicker {
    color: #ebd6c6;
}

.mah-hero h1 {
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(55px, 6.2vw, 92px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.02;
}

.mah-hero p {
    max-width: 650px;
    margin: 0 0 32px;
    color: #fff;
    font-size: 20px;
}

.mah-hero .mah-btn.alt {
    border-color: #fff;
    color: #fff;
}

.mah-hero .mah-btn.alt:hover {
    background: #963f24;
    border-color: #963f24;
}


/* =========================================================
   USP STRIP
   ========================================================= */

.mah-strip {
    background: #f8f4e7;
    border-bottom: 1px solid var(--line);
}

.mah-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.mah-strip article {
    padding: 30px 34px;
    border-right: 1px solid var(--line);
}

.mah-strip article:last-child {
    border: 0;
}

.mah-strip strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
}

.mah-strip span {
    font-size: 14px;
    color: #657064;
}


/* =========================================================
   ALGEMENE SECTIES
   ========================================================= */

.mah-section {
    padding: 90px 0;
    background: #fbf8ef;
}

.mah-section.cream {
    background: #f2ecd0;
}

.mah-heading {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.mah-heading .mah-kicker,
.mah-door-hero .mah-kicker {
    color: #a95538;
}

.mah-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.1;
}

.mah-heading p {
    margin: 0;
    color: #5f695f;
}


/* =========================================================
   KAARTEN
   ========================================================= */

.mah-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mah-card {
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #ded5ba;
    box-shadow: none;
}

.mah-card img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.mah-card-body {
    padding: 27px;
}

.mah-card h3 {
    margin: 0 0 10px;
    font-size: 33px;
}

.mah-card p {
    margin: 0 0 20px;
    color: #5f695f;
}

.mah-link {
    color: var(--rust);
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   WAARDEN
   ========================================================= */

.mah-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #d8cfb2;
    border: 1px solid #d8cfb2;
}

.mah-value {
    padding: 28px;
    border: 0;
    background: #fbf8ef;
}

.mah-value b {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    margin-bottom: 18px;
    border: 0;
    border-bottom: 1px solid #b55635;
    border-radius: 0;
    color: var(--rust);
}

.mah-value h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

.mah-value p {
    margin: 0;
    color: #5f695f;
}


/* =========================================================
   SPLIT SECTIE
   ========================================================= */

.mah-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mah-split img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid #d8cfb2;
    box-shadow: none;
}

.mah-split h2 {
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.1;
}

.mah-list {
    padding: 0;
    list-style: none;
}

.mah-list li {
    position: relative;
    margin: 12px 0;
    padding-left: 28px;
}

.mah-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rust);
    font-weight: 900;
}


/* =========================================================
   VIDEO
   ========================================================= */

.mah-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #d8cfb2;
    box-shadow: none;
}


/* =========================================================
   CTA
   ========================================================= */

.mah-cta {
    padding: 90px 0;
    background: #173c31;
    color: #fff;
    text-align: center;
}

.mah-cta h2 {
    max-width: 850px;
    margin: 0 auto 20px;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.1;
}

.mah-cta p {
    margin: 0 0 30px;
}


/* =========================================================
   NORMALE PAGINA'S
   ========================================================= */

.mah-page-hero {
    padding: 88px 0;
    background: #f2ecd0;
    text-align: center;
}

.mah-page-hero h1 {
    margin: 0;
    font-size: clamp(48px, 5vw, 74px);
}

.mah-content {
    padding: 70px 0;
}

.mah-content .entry-content {
    max-width: 900px;
    margin: auto;
}

.mah-content h2 {
    font-size: 38px;
}

.mah-content input,
.mah-content textarea,
.mah-content select {
    max-width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
}


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

.mah-footer {
    padding: 65px 0 25px;
    background: #102c24;
    color: #fff;
}

.mah-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.mah-footer h3 {
    font-size: 23px;
}

.mah-footer a {
    display: block;
    margin: 7px 0;
    color: #fff;
    text-decoration: none;
}

.mah-fine {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 13px;
    color: #c7d0ca;
}


/* =========================================================
   WOOCOMMERCE
   ========================================================= */

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--rust) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--rust) !important;
}


/* =========================================================
   DEURCONCEPT PAGINA
   ========================================================= */

.mah-door-hero {
    padding: 90px 0 70px;
    background: #fbf8ef;
}

.mah-door-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: center;
}

.mah-door-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(52px, 5.5vw, 82px);
    line-height: 1.04;
}

.mah-door-hero p {
    font-size: 19px;
}

.mah-door-hero img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
}

.mah-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #d8cfb2;
}

.mah-option {
    padding: 28px;
    border: 0;
    background: #fffdf8;
}

.mah-option h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.mah-doors3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mah-doors3 figure {
    margin: 0;
    padding: 12px;
    background: #fbf8ef;
    border: 1px solid #d8cfb2;
}

.mah-doors3 img {
    width: 100%;
    height: 520px;
    object-fit: contain;
}

.mah-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.mah-choice a {
    display: block;
    padding: 45px;
    background: #173c31;
    color: #fff;
    text-decoration: none;
}

.mah-choice h3 {
    margin: 0 0 12px;
    font-size: 36px;
}

.mah-choice a:last-child {
    background: #ad5535;
}


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

@media (max-width: 1050px) {

    .mah-nav,
    .mah-ask {
        display: none;
    }

    .mah-mobile {
        display: block;
    }

    .mah-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .mah-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mah-grid3 {
        grid-template-columns: 1fr 1fr;
    }

    .mah-hero-copy {
        width: 68%;
    }
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 700px) {

    .mah-wrap {
        width: min(calc(100% - 30px), 1320px);
    }

    .mah-head {
        height: 86px;
    }

    .mah-brand img {
        width: 225px;
    }

    .mah-mobile div {
        top: 85px;
    }

    .mah-hero {
        min-height: 620px;
    }

    .mah-hero-bg {
        object-position: 62% center;
    }

    .mah-hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(18, 41, 31, .82),
                rgba(18, 41, 31, .55)
            );
    }

    .mah-hero .mah-wrap {
        min-height: 620px;
    }

    .mah-hero-copy {
        width: 100%;
        padding: 75px 0;
    }

    .mah-hero h1 {
        font-size: 52px;
        letter-spacing: -1px;
    }

    .mah-grid3,
    .mah-values,
    .mah-strip-grid,
    .mah-split,
    .mah-footer-grid,
    .mah-door-hero-grid,
    .mah-options,
    .mah-doors3,
    .mah-choice {
        grid-template-columns: 1fr;
    }

    .mah-strip article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .mah-card img {
        height: 330px;
    }

    .mah-doors3 img {
        height: auto;
        max-height: 620px;
    }

    .mah-section {
        padding: 68px 0;
    }

    .mah-actions {
        flex-direction: column;
    }

    .mah-btn {
        width: 100%;
    }
}
/* /* =========================================================
   NL HOMEPAGE - DESKTOP CORRECTIE
   ========================================================= */

body.page-id-383649 .mah-hero {
    min-height: 560px;
}

body.page-id-383649 .mah-hero .mah-wrap {
    min-height: 560px;
}

body.page-id-383649 .mah-hero-copy {
    width: 620px;
    max-width: 48%;
    padding: 45px 0;
}

body.page-id-383649 .mah-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(44px, 3.6vw, 60px);
    line-height: 1.05;
    letter-spacing: -1px;
}

body.page-id-383649 .mah-hero p {
    max-width: 610px;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 1050px) {
    body.page-id-383649 .mah-hero-copy {
        width: 62%;
        max-width: 62%;
    }

    body.page-id-383649 .mah-hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 700px) {
    body.page-id-383649 .mah-hero,
    body.page-id-383649 .mah-hero .mah-wrap {
        min-height: 600px;
    }

    body.page-id-383649 .mah-hero-copy {
        width: 100%;
        max-width: 100%;
    }

    body.page-id-383649 .mah-hero h1 {
        font-size: 42px;
    }

    body.page-id-383649 .mah-hero p {
        font-size: 17px;
    }
}