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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;
    background: #f7f1e8;
}

.pagina {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.achtergrond {
    width: 100%;
    height: 100%;
    background-image: url("website-nl.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.taalkeuze {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.taalkeuze button {
    border: none;
    background: none;
    padding: 2px 3px;
    color: #5a4a3a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.taalkeuze button:hover {
    color: #a87922;
}

.taalkeuze button.actief {
    color: #a87922;
    font-weight: bold;
}

.email-formulier {
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    width: min(430px, calc(100% - 30px));
    padding: 16px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(7px);
    font-family: Arial, sans-serif;
    color: #5a4a3a;
    box-shadow: 0 6px 25px rgba(70, 45, 20, 0.12);
}

.email-formulier label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.email-uitleg {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #6b5a49;
}

.naam-regel {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.naam-regel input {
    min-width: 0;
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(120, 90, 50, 0.25);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    color: #4b3c2f;
    font-size: 14px;
    outline: none;
}

.naam-regel input:focus {
    border-color: #a87922;
    box-shadow: 0 0 0 2px rgba(168, 121, 34, 0.12);
}

.email-regel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-formulier input {
    min-width: 0;
    flex: 1;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(120, 90, 50, 0.25);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    color: #4b3c2f;
    font-size: 14px;
    outline: none;
}

.email-formulier input:focus {
    border-color: #a87922;
    box-shadow: 0 0 0 2px rgba(168, 121, 34, 0.12);
}

.email-formulier button {
    width: 100%;
    flex: none;
    height: 40px;
    padding: 0 14px;
    border: none;
    border-radius: 9px;
    background: #a87922;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.email-formulier button:hover {
    background: #8f651c;
}

.email-formulier button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.formulier-status {
    min-height: 18px;
    margin-top: 7px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .achtergrond {
        background-image: url("website-nl-mobiel.png");
    }

    .taalkeuze {
        top: 15px;
        right: 15px;
        padding: 7px 10px;
    }

    .email-formulier {
        right: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
        padding: 12px 13px;
    }

    .naam-regel {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .naam-regel input,
    .email-regel input,
    .email-regel button {
        width: 100%;
        flex: none;
    }

    .email-regel {
        flex-direction: column;
        gap: 8px;
    }
}

/* Alle invoervelden exact gelijk */
.email-formulier .naam-regel > input,
.email-formulier .email-regel > input[type="email"] {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 40px !important;
    appearance: none;
    -webkit-appearance: none;
}

.email-formulier .naam-regel > input {
    width: calc(50% - 5px) !important;
}

.email-formulier .email-regel > input[type="email"] {
    flex: none !important;
}

@media (max-width: 768px) {
    .email-formulier .naam-regel > input {
        width: 100% !important;
    }
}
