* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #F5F1ED;
    color: #36261a;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
}

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

a:hover {
    font-size: 2.8vh;
    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;
}

.logo {
    width: 9rem;
    height: 5.5rem;
    display: block;
}

.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);
}

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

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

.button1 {
    background-color: #D4A373;
    color: #fff;
    width: 17%;
    min-width: 13rem;
    height: 4.5vh;
    border: 1px solid #4B9758;
    border-radius: 10px;
    position: absolute;
    right: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.button1:hover {
    background-color: #fff;
    color: #D4A373;
    transform: translateY(-2px);
}

.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;
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 2.9rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.header-actions .button1 {
    position: relative;
    inset: auto;
    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 .button1::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -55%;
    width: 42%;
    height: 180%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(18deg);
    transition: left 0.45s ease;
}

.header-actions .button1:hover {
    background: linear-gradient(135deg, #e0b07d 0%, #c18d58 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(143, 98, 54, 0.28);
    font-size: 0.95rem;
}

.header-actions .button1:hover::before {
    left: 125%;
}

.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);
}

.header-actions .button-offerte:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #214f27 0%, #5aa767 100%);
    color: #fff;
    font-size: 0.95rem;
}

.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);
}

.kopstuk {
    width: min(98%, 1400px);
    min-height: 360px;
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    border-radius: 38px;
    background: linear-gradient(135deg, #3f2d1d, #8b5e3c, #f5e6cc);
    box-shadow: 0 24px 50px rgba(79, 54, 32, 0.15);
}

.kopstuk-tekst {
    max-width: 700px;
    padding: 4rem;
    color: white;
    animation: verschijnen 1s ease both;
}

.kopstuk-tekst h1 {
    margin: 0 0 1rem;
    font-size: 6vh;
}

.kopstuk-tekst p {
    margin: 0;
    font-size: 2vh;
    line-height: 1.7;
}

.contact-deel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: min(1100px, calc(100% - 2rem));
    margin: 3rem auto;
}

.contact-gegevens,
.contact-formulier {
    padding: 2rem;
    border: 1px solid #ece4dc;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 16px 34px rgba(90, 69, 48, 0.08);
    animation: verschijnen 1s ease both;
}

.contact-formulier {
    animation-delay: 0.2s;
}

.contact-gegevens h2,
.contact-formulier h2 {
    margin-top: 0;
    font-size: 3vh;
}

.contact-gegevens p,
.contact-regel span {
    color: #6f665f;
    line-height: 1.6;
}

.contact-regel {
    margin-top: 1.3rem;
}

.contact-regel strong {
    display: block;
    margin-bottom: 0.3rem;
}

.contact-regel span,
.footer p,
.footer a {
    overflow-wrap: anywhere;
}

label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #d8c8b9;
    border-radius: 10px;
    font: inherit;
}

textarea {
    resize: vertical;
}

.contact-formulier button {
    margin-top: 1.2rem;
    padding: 0.9rem 1.4rem;
    border: 0;
    border-radius: 10px;
    background-color: #D4A373;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.contact-formulier button:hover{
    background-color: #9e7953;
    scale: 0.95;
}

.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: 50%;
    object-fit: cover;
}

.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.20rem;
    opacity: 0.86;
}

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

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

.footer-links a {
    display: block;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.86;
    transition: opacity 0.3s ease, transform 0.3s ease, font-weight 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: scale(1.04);
    font-weight: 600;
    font-size: 1.5rem;
}

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

.footer-social a {
    display: block;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.86;
    transition: opacity 0.3s ease, transform 0.3s ease, font-weight 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(1.04);
    font-weight: 600;
    font-size: 1.5rem;
    color: #D4A373;
}

.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;
}

.footer-copy a:hover {
    color: #D4A373;
    font-size: 1rem;
}

@keyframes verschijnen {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    ul {
        gap: 2rem;
    }

    .button1 {
        width: auto;
        right: 1rem;
        padding: 0 1rem;
    }

    .contact-deel {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 900px) {
    header {
        justify-content: space-between;
    }

    .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: 1.5rem;
        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;
        padding: 1.25rem;
        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;
    }

    .button1 {
        position: static;
        width: 100%;
        min-width: 0;
        height: 3.25rem;
        margin-top: 1rem;
    }

    .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;
        margin-top: 0;
        padding: 0 1rem;
    }

    a:hover {
        font-size: 1.2rem;
    }

    .kopstuk {
        min-height: 340px;
    }

    .kopstuk-tekst {
        padding: 3rem 2rem;
    }

    .contact-deel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
    }

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

    .footer-links,
    .footer-contact {
        width: 100%;
    }

    .footer-small {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .kopstuk {
        width: calc(100% - 1rem);
        min-height: 420px;
        border-radius: 26px;
    }

    .kopstuk-tekst {
        padding: 2.4rem 1.25rem;
    }

    .kopstuk-tekst h1 {
        font-size: 5vh;
    }

    .kopstuk-tekst p {
        font-size: 1.8vh;
    }

    .contact-gegevens,
    .contact-formulier {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .contact-formulier button {
        width: 100%;
    }

    .logo-footer {
        width: 9rem;
        height: 9rem;
    }
}

@media (max-width: 420px) {
    .kopstuk-tekst h1 {
        font-size: 4.3vh;
    }

    .contact-deel {
        width: calc(100% - 1rem);
    }

    input,
    textarea {
        padding: 0.75rem;
    }
}

body {
    position: relative;
    background:
        linear-gradient(120deg, rgba(75, 151, 88, 0.07) 0 1px, transparent 1px 100%),
        linear-gradient(145deg, #F5F1ED 0%, #fbf7f0 46%, #eef6eb 100%);
    background-size: 42px 42px, auto;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 34rem;
    height: 11rem;
    top: 8rem;
    right: -10rem;
    border: 1px solid rgba(212, 163, 115, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(212, 163, 115, 0.08));
    transform: rotate(-15deg);
    animation: achtergrondBeweging 18s ease-in-out infinite;
}

body::after {
    width: 28rem;
    height: 12rem;
    left: -8rem;
    bottom: 8rem;
    border: 1px solid rgba(75, 151, 88, 0.14);
    background: linear-gradient(135deg, rgba(75, 151, 88, 0.08), rgba(255, 255, 255, 0.34));
    transform: rotate(13deg);
    animation: achtergrondBeweging 22s ease-in-out infinite reverse;
}

.navigatie a:hover {
    font-size: 1.2rem;
    transform: translateY(-2px);
}

.kopstuk {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #173f1d 0%, #5f7d45 46%, #d4a373 100%);
}

.kopstuk::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    pointer-events: none;
}

.kopstuk::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: 2rem;
    width: 26rem;
    height: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(-18deg);
}

.kopstuk-tekst {
    position: relative;
    z-index: 1;
}

.contact-gegevens,
.contact-formulier {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 56px rgba(72, 53, 33, 0.11);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-gegevens::before,
.contact-formulier::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #173f1d, #4B9758, #D4A373);
}

.contact-gegevens:hover,
.contact-formulier:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 64px rgba(72, 53, 33, 0.15);
}

.contact-regel {
    padding: 1rem;
    border: 1px solid rgba(75, 151, 88, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-regel:hover {
    transform: translateX(5px);
    border-color: rgba(75, 151, 88, 0.28);
}

input,
textarea {
    background: #fffdf9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(72, 53, 33, 0.045);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

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);
    transform: translateY(-1px);
}

.contact-formulier button {
    background: linear-gradient(135deg, #173f1d, #4B9758 55%, #D4A373);
    box-shadow: 0 16px 30px rgba(75, 151, 88, 0.2);
}

.contact-formulier button:hover {
    transform: translateY(-3px);
    scale: 1;
    box-shadow: 0 22px 40px rgba(75, 151, 88, 0.28);
}

.footer-vakmanschap {
    color: #f3eee5;
}

@keyframes achtergrondBeweging {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 18px -14px;
    }
}

@media (max-width: 640px) {
    body::before,
    body::after {
        opacity: 0.5;
    }

    .kopstuk::before {
        inset: 0.7rem;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 1rem 1.2rem 0.8rem 1.2rem;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-line {
        width: 90%;
        margin: 0.8rem auto 1.2rem auto;
    }

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

    .logo-footer {
        width: 7rem;
        height: 7rem;
    }

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

    .footer-heading {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .footer-contact p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-small {
        max-width: 18rem;
        font-size: 0.95rem;
    }

    .footer-links,
    .footer-social {
        min-width: 0;
        width: 100%;
        padding-top: 0;
    }

    .footer-links a,
    .footer-social a {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-links a:hover,
    .footer-social a:hover {
        font-size: 1.2rem;
    }

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

    .footer-copy {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }
}