* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: #f7f5f1;
    color: #2f261f;
    font-family: 'Poppins', sans-serif;
}

ul {
    display: flex;
    align-items: center;
    gap: 5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.3s;
}

a:hover {
    font-weight: 600;
}

header {
    height: 5.5rem;
    background-color: #EDE7DF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    padding: 0 1rem;
    border-bottom: 1px solid #E5E1DC;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 22px rgba(134, 115, 94, 0.08);
}

.logo-link {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    height: 5.5rem;
    background-color: #EDE7DF;
    overflow: hidden;
}

.logo {
    width: 9rem;
    height: 5.5rem;
    display: block;
    object-fit: contain;
    background: transparent;
}

.navigatie {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 25.5rem 0 9rem;
}

.navigatie ul {
    gap: clamp(1.25rem, 3vw, 5rem);
}

.navigatie a:hover {
    transform: translateY(-2px);
}

.line1 {
    display: block;
    background-color: black;
    width: 0.5px;
    height: 2.5rem;
}

.menu-knop {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background-color: #d4a373;
    box-shadow: 0 8px 18px rgba(134, 115, 94, 0.16);
    cursor: pointer;
}

.menu-knop span {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-knop.open span:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
}

.menu-knop.open span:nth-child(2) {
    opacity: 0;
}

.menu-knop.open span:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
}

.header-actions {
    position: absolute;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-actions .button1,
.header-actions .button-offerte {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.9rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-actions .button1 {
    border: 1px solid rgba(212, 163, 115, 0.45);
    background: linear-gradient(135deg, #D4A373 0%, #b9824e 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(143, 98, 54, 0.2);
}

.header-actions .button-offerte {
    border: 1px solid rgba(23, 63, 29, 0.22);
    background: linear-gradient(135deg, #173f1d 0%, #4B9758 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(23, 63, 29, 0.2);
}

.samensteller {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 1rem;
}

.intro {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.intro span,
.label {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.42rem 0.78rem;
    border-radius: 6px;
    background: rgba(23, 63, 29, 0.08);
    color: #32713c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro h1 {
    margin: 0;
    color: #2f261f;
    font-family: 'Poltawski Nowy', serif;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.03;
}

.intro p {
    max-width: 700px;
    margin: 1rem 0 0;
    color: #6f665f;
    font-size: 1.05rem;
    line-height: 1.75;
}

.afstapplan {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin: 0 0 1.4rem;
}

.afstapplan div {
    min-height: 8rem;
    padding: 1rem;
    border: 1px solid rgba(47, 38, 31, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(47, 38, 31, 0.06);
}

.afstapplan span,
.afstapplan strong,
.afstapplan p {
    display: block;
}

.afstapplan span {
    color: #4B9758;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.afstapplan strong {
    margin-top: 0.65rem;
    color: #2f261f;
    font-size: 1rem;
}

.afstapplan p {
    margin: 0.35rem 0 0;
    color: #71685f;
    font-size: 0.88rem;
    line-height: 1.5;
}

.configurator {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 2rem;
    align-items: start;
}

.visual-panel,
.keuze-panel {
    border: 1px solid rgba(47, 38, 31, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(47, 38, 31, 0.08);
}

.visual-panel {
    position: sticky;
    top: 7rem;
    overflow: hidden;
    padding: 1rem;
}

.visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.visual-top span {
    color: #6f665f;
    font-size: 0.92rem;
    font-weight: 700;
}

.reset-knop {
    border: 0;
    background: transparent;
    color: #8f6236;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.progress {
    height: 0.34rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e6e0d8;
}

.progress span {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #D4A373, #4B9758);
    transition: width 0.35s ease;
}

.veranda-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 1.2rem;
    overflow: hidden;
    border-radius: 8px;
    background: #e9e4dc;
    box-shadow: 0 16px 34px rgba(57, 39, 24, 0.12);
}

.veranda-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18, 17, 15, 0.02), rgba(18, 17, 15, 0.24));
    pointer-events: none;
}

.veranda-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.preview-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: rgba(23, 63, 29, 0.82);
    color: #fffaf2;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(23, 30, 20, 0.22);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.mini-samenvatting {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #173f1d;
    color: #f7f1e9;
}

.mini-samenvatting strong,
.mini-samenvatting span {
    display: block;
}

.mini-samenvatting span {
    margin-top: 0.35rem;
    color: rgba(247, 241, 233, 0.78);
    line-height: 1.55;
}

.keuze-panel {
    overflow: hidden;
    padding: 2rem;
}

.stap {
    display: none;
    animation: stapBinnen 0.32s ease;
}

.stap.actief {
    display: block;
}

.stap h2 {
    margin: 0;
    color: #2f261f;
    font-family: 'Poltawski Nowy', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.stap p {
    margin: 0.65rem 0 1.2rem;
    color: #6f665f;
    line-height: 1.65;
}

.keuzes,
.checkbox-grid,
.contact-grid {
    display: grid;
    gap: 0.8rem;
}

.keuze {
    position: relative;
    width: 100%;
    min-height: 5rem;
    padding: 1rem 1.1rem 1rem 3.2rem;
    border: 2px solid #ebe5dd;
    border-radius: 8px;
    background: #fffdf9;
    color: #2f261f;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.keuze::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1.25rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid #c9c3ba;
    border-radius: 50%;
    background: white;
}

.keuze.actief {
    border-color: #D98324;
    box-shadow: 0 14px 28px rgba(217, 131, 36, 0.14);
}

.keuze.actief::before {
    border-color: #D98324;
    box-shadow: inset 0 0 0 4px white;
    background: #D98324;
}

.keuze:hover {
    transform: translateY(-2px);
    border-color: rgba(75, 151, 88, 0.38);
}

.keuze strong,
.keuze span {
    display: block;
}

.keuze strong {
    font-size: 1.02rem;
}

.keuze span {
    margin-top: 0.25rem;
    color: #756a60;
}

.keuze em {
    position: absolute;
    top: 1.1rem;
    right: 1rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: #F57C00;
    color: white;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

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

label {
    color: #35271f;
    font-size: 0.92rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(72, 53, 33, 0.16);
    border-radius: 12px;
    background: #fffdf9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(72, 53, 33, 0.045);
    color: #2f261f;
    font: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4B9758;
    box-shadow: 0 0 0 4px rgba(75, 151, 88, 0.12), 0 12px 24px rgba(75, 151, 88, 0.12);
}

textarea {
    resize: vertical;
}

.checkbox-grid {
    grid-template-columns: 1fr 1fr;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 4.3rem;
    padding: 1rem;
    border: 1px solid rgba(72, 53, 33, 0.12);
    border-radius: 8px;
    background: #fffdf9;
}

.checkbox-grid input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #4B9758;
}

.contact-grid {
    gap: 0.65rem;
}

.eindkaart {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #173f1d, #4B9758);
    color: #fffaf2;
}

.eindkaart span,
.eindkaart strong,
.eindkaart p {
    display: block;
}

.eindkaart span {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eindkaart strong {
    margin-top: 0.35rem;
    font-size: clamp(1.45rem, 3.8vw, 2.35rem);
    line-height: 1.1;
}

.eindkaart p {
    margin-bottom: 0;
    color: rgba(255, 250, 242, 0.78);
}

.stap-acties {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.stap-acties button {
    min-height: 3.15rem;
    border: 1px solid rgba(23, 63, 29, 0.16);
    border-radius: 10px;
    font: inherit;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.stap-acties button:hover {
    transform: translateY(-2px);
}

.terug {
    background: #fffaf2;
    color: #173f1d;
    box-shadow: 0 8px 18px rgba(72, 53, 33, 0.08);
}

.volgende,
.verzend {
    background: #173f1d;
    color: #fff;
    box-shadow: 0 12px 24px rgba(23, 63, 29, 0.17);
}

.terug:hover {
    background: #ffffff;
    box-shadow: 0 12px 22px rgba(72, 53, 33, 0.12);
}

.volgende:hover,
.verzend:hover {
    background: #24512a;
    box-shadow: 0 16px 28px rgba(23, 63, 29, 0.22);
}

.verzend {
    display: none;
    grid-column: 1 / 3;
}

.footer {
    background-color: #173f1d;
    margin-top: 6rem;
    padding: 1rem 1.7rem 0.85rem 1.7rem;
}

.footer-title {
    margin: 0;
    text-align: center;
    color: #f3eee5;
    font-family: 'Poltawski Nowy', serif;
    font-size: 1.8rem;
}

.footer-line {
    display: block;
    width: 92%;
    height: 1px;
    background-color: #f3eee5;
    margin: 1rem auto 1.3rem auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
}

.logo-footer {
    width: 10rem;
    height: 10rem;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.footer-heading,
.footer-contact p,
.footer-links a,
.footer-social a,
.footer-copy {
    color: #f3eee5;
    font-family: 'Poltawski Nowy', serif;
}

.footer-heading {
    margin: 0 0 0.8rem 0;
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.86;
}

.footer-contact {
    max-width: 20rem;
}

.footer-contact p {
    margin: 0 0 0.7rem 0;
    font-size: 1.2rem;
    opacity: 0.86;
}

.footer-small {
    max-width: 18rem;
    line-height: 1.45;
    font-size: 1.05rem;
    opacity: 0.74;
}

.footer-links,
.footer-social {
    min-width: 11rem;
    padding-top: 0.2rem;
}

.footer-links a,
.footer-social a {
    display: block;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.86;
}

.footer-social {
    border-left: 1px solid rgba(243, 238, 229, 0.3);
    padding-left: 2rem;
}

.footer-copy {
    margin: 0.7rem 0 0 0;
    text-align: center;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    opacity: 0.65;
}

.footer-copy a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@keyframes stapBinnen {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .visual-panel {
        position: static;
    }
}

@media (max-width: 900px) {
    header {
        justify-content: space-between;
        min-height: 5.5rem;
        padding: 0.75rem 1rem;
    }

    .logo-link {
        position: static;
        z-index: 31;
    }

    .logo {
        width: 7.5rem;
        height: 4.5rem;
    }

    .menu-knop {
        display: flex;
        position: relative;
        z-index: 31;
    }

    .navigatie {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1.25rem;
        border-radius: 8px;
        background: rgba(237, 231, 223, 0.98);
        box-shadow: 0 18px 30px rgba(134, 115, 94, 0.18);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 30;
    }

    .navigatie.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navigatie ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .navigatie li {
        width: 100%;
    }

    .line1 {
        width: 100%;
        height: 1px;
    }

    .header-actions {
        position: static;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .header-actions .button1,
    .header-actions .button-offerte {
        width: 100%;
        height: 3.25rem;
        padding: 0 1rem;
    }

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

    .footer-social {
        border-left: 0;
        border-top: 1px solid rgba(243, 238, 229, 0.3);
        padding-left: 0;
        padding-top: 1.2rem;
    }
}

@media (max-width: 620px) {
    .samensteller {
        width: min(100% - 1rem, 1180px);
        padding-top: 1.6rem;
    }

    .intro h1,
    .stap h2 {
        font-size: 2rem;
    }

    .visual-panel,
    .keuze-panel {
        border-radius: 8px;
    }

    .keuze-panel {
        padding: 1.1rem;
    }

    .compact,
    .checkbox-grid,
    .afstapplan {
        grid-template-columns: 1fr;
    }

    .keuze {
        padding-right: 0.9rem;
    }

    .keuze em {
        position: static;
        display: inline-flex;
        margin-top: 0.55rem;
    }

    .stap-acties {
        grid-template-columns: 1fr;
    }

    .verzend {
        grid-column: auto;
    }
}
