/* ==========================================================================
   HouseMotion — stijlblad
   Kleuren en typografie volgen de huisstijl-PDF en het Framer-ontwerp.
   ========================================================================== */

:root {
    --sage: #9aaa86;
    --grijsgroen: #7f867f;
    --terracotta: #cba78d;
    --creme: #fffffb;
    --zand: #e2dfda;
    --bos: #3a4239;
    --inkt: #232821;
    --inkt-zacht: #5c635b;
    --lijn: rgba(35, 40, 33, 0.18);
    --lijn-zacht: rgba(35, 40, 33, 0.1);

    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --marge: 56px;
    --max: 1088px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--creme);
    color: var(--inkt);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* --- Typografie ---------------------------------------------------------- */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    margin: 0;
}

h1 {
    font-size: clamp(44px, 8.6vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

h1 em {
    font-style: italic;
}

h2 {
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.22;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 20px;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: clamp(17px, 1.9vw, 20px);
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

.zacht {
    color: var(--inkt-zacht);
}

.smal {
    max-width: 480px;
}

/* --- Layout -------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: calc(var(--max) + var(--marge) * 2);
    margin: 0 auto;
    padding-inline: var(--marge);
}

section {
    padding-block: clamp(64px, 9vw, 110px);
}

.sectiekop {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 60px);
    margin-bottom: clamp(36px, 5vw, 64px);
}

.sectiekop > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.sectiekop > div:first-child .label {
    margin-bottom: 20px;
}

.sectiekop .sectiekop-tekst {
    flex: 0 1 360px;
    color: var(--inkt-zacht);
}

/* Puntje voor een label */
.punt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.punt::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: var(--terracotta);
}

.punt.sage::before {
    background: var(--sage);
}

/* --- Knoppen ------------------------------------------------------------- */

.knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease,
        border-color 0.18s ease;
}

.knop-vol {
    background: var(--bos);
    color: var(--creme);
}

.knop-vol:hover,
.knop-vol:focus-visible {
    background: var(--inkt);
}

.knop-lijn {
    background: transparent;
    color: var(--inkt);
    border-color: var(--zand);
}

.knop-lijn:hover,
.knop-lijn:focus-visible {
    border-color: var(--inkt);
}

.knoprij {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.tekstlink {
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid var(--lijn);
    padding-bottom: 3px;
    transition: border-color 0.18s ease;
}

.tekstlink:hover,
.tekstlink:focus-visible {
    border-color: var(--inkt);
}

/* --- Kop / navigatie ----------------------------------------------------- */

.kop {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--creme);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.kop.geplakt {
    border-bottom-color: var(--zand);
}

.kop-binnen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
}

.merk {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.merk img {
    width: 140px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-knop {
    display: none;
}

.uitklap {
    position: relative;
}

.uitklap > button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--inkt);
}

.uitklap > button svg {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.uitklap[data-open="true"] > button svg {
    transform: rotate(180deg);
}

.uitklap-paneel {
    position: absolute;
    top: 100%;
    left: -20px;
    padding-top: 18px;
    display: none;
}

.uitklap[data-open="true"] .uitklap-paneel {
    display: block;
}

.uitklap-paneel ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 210px;
    background: var(--creme);
    border: 1px solid var(--zand);
}

.uitklap-paneel a {
    display: block;
    padding: 13px 20px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.uitklap-paneel a:hover,
.uitklap-paneel a:focus-visible {
    background: var(--zand);
}

.nav .knop {
    padding: 14px 24px;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 56px);
    padding-block: clamp(48px, 6vw, 72px) clamp(48px, 6vw, 64px);
}

.hero-tekst {
    flex: 1 1 0;
    min-width: 0;
}

.hero-tekst .label {
    margin-bottom: 30px;
}

.hero-tekst h1 {
    margin-bottom: 28px;
}

.hero-tekst .lead {
    max-width: 440px;
    color: var(--inkt-zacht);
}

.hero-beeld {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    padding-bottom: 74px;
}

.hero-vlak {
    position: absolute;
    inset: 0 -6% 74px -6%;
    background: var(--sage);
    transform: rotate(-3deg);
    z-index: 0;
}

.hero-video {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    background: var(--zand);
    aspect-ratio: 16 / 9;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-kaart {
    position: relative;
    z-index: 2;
    width: 256px;
    max-width: 100%;
    margin-top: -44px;
    margin-left: clamp(0px, 2vw, 0px);
    background: var(--creme);
    padding: 20px 22px;
}

.hero-kaart .label {
    margin-bottom: 8px;
    color: var(--inkt-zacht);
}

/* --- Stappenbalk --------------------------------------------------------- */

.stappenbalk {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-block: 70px;
}

.stappenbalk .lijn {
    flex: 1 1 auto;
    height: 1px;
    background: var(--zand);
}

/* --- Rijenlijst ---------------------------------------------------------- */

.rijen {
    border-bottom: 1px solid var(--zand);
}

.rij {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 4vw, 40px);
    padding-block: 34px;
    border-top: 1px solid var(--zand);
}

.rij h3 {
    flex: 0 0 320px;
    max-width: 320px;
}

.rij p {
    flex: 1 1 auto;
    max-width: 480px;
    color: var(--inkt-zacht);
}

/* --- Kaartenraster ------------------------------------------------------- */

.raster {
    display: grid;
    gap: 1px;
    background: var(--zand);
    border: 1px solid var(--zand);
}

.raster-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.kaart {
    background: var(--creme);
    padding: clamp(28px, 3.5vw, 40px);
}

.kaart .cijfer {
    font-family: var(--serif);
    font-style: italic;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--sage);
    margin-bottom: 20px;
}

.kaart h3 {
    margin-bottom: 12px;
}

.kaart p {
    color: var(--inkt-zacht);
}

/* --- Videoblok ----------------------------------------------------------- */

.videoblok video {
    width: 100%;
    background: var(--zand);
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.videobijschrift {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 20px;
    padding-top: 20px;
    color: var(--inkt-zacht);
}

/* --- Placeholder zolang er nog geen video online staat --------------------- */

.video-binnenkort {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--zand);
    border: 1px solid var(--lijn-zacht);
}

.hero-video .video-binnenkort {
    height: 100%;
    aspect-ratio: auto;
    border: 0;
}

.video-binnenkort p {
    margin: 0;
    padding: 0 24px;
    font-family: var(--serif);
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.2;
    color: var(--inkt-zacht);
    text-align: center;
}

/* --- Prijstabel ---------------------------------------------------------- */

.tabelwrap {
    overflow-x: auto;
    border: 1px solid var(--zand);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

th,
td {
    text-align: left;
    padding: 20px 24px;
    border-bottom: 1px solid var(--zand);
}

th {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--inkt-zacht);
    background: var(--creme);
}

tbody tr:last-child td {
    border-bottom: none;
}

td:last-child {
    font-family: var(--serif);
    font-size: 22px;
}

/* --- Accordeon ----------------------------------------------------------- */

.accordeon {
    border-bottom: 1px solid var(--zand);
}

.accordeon-item {
    border-top: 1px solid var(--zand);
}

.accordeon-item button {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 40px);
    padding: 30px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--inkt);
}

.accordeon-vraag {
    font-family: var(--serif);
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.accordeon-icoon {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 10px;
}

.accordeon-icoon::before,
.accordeon-icoon::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--sage);
}

.accordeon-icoon::after {
    transform: rotate(90deg);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordeon-item[data-open="true"] .accordeon-icoon::after {
    transform: rotate(0deg);
}

.accordeon-antwoord {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordeon-item[data-open="true"] .accordeon-antwoord {
    grid-template-rows: 1fr;
}

.accordeon-antwoord > div {
    overflow: hidden;
}

.accordeon-antwoord p {
    max-width: 640px;
    padding-bottom: 30px;
    color: var(--inkt-zacht);
}

/* --- Contactblok --------------------------------------------------------- */

.contactblok {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 60px);
}

.contactblok > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.contactblok .lead {
    max-width: 420px;
    color: var(--inkt-zacht);
    margin-top: 24px;
}

.contactkaart {
    flex: 0 1 420px;
    background: var(--zand);
    padding: clamp(28px, 4vw, 42px);
}

.contactkaart .label {
    color: var(--inkt-zacht);
    margin-bottom: 14px;
}

.contactkaart h3 {
    margin-bottom: 14px;
    word-break: break-word;
}

.contactkaart h3 a {
    text-decoration: none;
    border-bottom: 1px solid var(--lijn);
}

.contactkaart p {
    color: var(--inkt-zacht);
    margin-bottom: 24px;
}

.contactkaart .knop {
    width: 100%;
}

/* --- Voet ---------------------------------------------------------------- */

.voet {
    background: var(--sage);
    color: var(--inkt);
    padding-block: 64px 40px;
}

.voet-boven {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 56px;
}

.voet-merk {
    flex: 1 1 240px;
}

.voet-merk .woordmerk {
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.voet-merk p {
    max-width: 280px;
}

.voet-kolom {
    flex: 0 1 200px;
}

.voet-kolom .label {
    margin-bottom: 14px;
}

.voet-kolom ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voet a {
    text-decoration: none;
}

.voet a:hover,
.voet a:focus-visible {
    text-decoration: underline;
}

.voet-lijn {
    height: 1px;
    background: var(--lijn);
}

.voet-onder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-top: 26px;
}

.voet-onder ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* --- Toegankelijkheid ---------------------------------------------------- */

:focus-visible {
    outline: 2px solid var(--bos);
    outline-offset: 3px;
}

.overslaan {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--bos);
    color: var(--creme);
    padding: 12px 20px;
    z-index: 100;
    text-decoration: none;
}

.overslaan:focus {
    left: 8px;
    top: 8px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1000px) {
    :root {
        --marge: 40px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-tekst .lead {
        max-width: none;
    }

    .hero-beeld {
        width: 100%;
        padding-bottom: 60px;
    }

    .hero-vlak {
        inset: 0 -4% 60px -4%;
    }

    .sectiekop {
        flex-direction: column;
        align-items: flex-start;
    }

    .sectiekop .sectiekop-tekst {
        flex: 1 1 auto;
        max-width: 560px;
    }

    .rij {
        flex-direction: column;
        gap: 12px;
    }

    .rij h3 {
        flex: 1 1 auto;
        max-width: none;
    }

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

    .contactblok {
        flex-direction: column;
        align-items: stretch;
    }

    .contactkaart {
        flex: 1 1 auto;
    }

    .contactblok .lead {
        max-width: none;
    }
}

/* ==========================================================================
   Mobiel
   ========================================================================== */

@media (max-width: 720px) {
    :root {
        --marge: 24px;
    }

    body {
        font-size: 16px;
    }

    section {
        padding-block: 56px;
    }

    /* Navigatie wordt een uitklapmenu */
    .nav-knop {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--inkt);
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--creme);
        border-top: 1px solid var(--zand);
        border-bottom: 1px solid var(--zand);
        padding: 8px var(--marge) 24px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .kop[data-menu-open="true"] .nav {
        display: flex;
    }

    .uitklap {
        border-bottom: 1px solid var(--zand);
    }

    .uitklap > button {
        width: 100%;
        justify-content: space-between;
        padding: 18px 0;
        font-size: 17px;
    }

    .uitklap-paneel {
        position: static;
        padding-top: 0;
    }

    .uitklap-paneel ul {
        border: none;
        background: none;
        padding: 0 0 12px;
        min-width: 0;
    }

    .uitklap-paneel a {
        padding: 12px 0 12px 16px;
        border-left: 1px solid var(--zand);
    }

    .uitklap-paneel a:hover,
    .uitklap-paneel a:focus-visible {
        background: none;
        text-decoration: underline;
    }

    .nav .knop {
        margin-top: 20px;
        padding: 16px 24px;
    }

    .merk img {
        width: 118px;
    }

    /* Hero */
    .hero {
        padding-block: 36px 40px;
    }

    .hero-tekst .label {
        margin-bottom: 22px;
    }

    .hero-tekst h1 {
        margin-bottom: 22px;
    }

    .knoprij {
        margin-top: 28px;
    }

    .knoprij .knop {
        flex: 1 1 100%;
    }

    .hero-kaart {
        width: 100%;
        margin-top: -30px;
    }

    /* Stappenbalk stapelt */
    .stappenbalk {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-block: 44px;
    }

    .stappenbalk .lijn {
        display: none;
    }

    .raster-3,
    .raster-2 {
        grid-template-columns: 1fr;
    }

    .accordeon-item button {
        padding: 22px 0;
        gap: 16px;
    }

    .accordeon-icoon {
        margin-top: 6px;
    }

    .accordeon-antwoord p {
        padding-bottom: 22px;
    }

    th,
    td {
        padding: 16px 18px;
    }

    .voet {
        padding-block: 48px 32px;
    }

    .voet-boven {
        gap: 32px;
        padding-bottom: 40px;
    }

    .voet-kolom {
        flex: 1 1 140px;
    }
}

/* --- Telefoonframe (marketingreel) --------------------------------------- */

.telefoonwrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-block: 20px;
}

.telefoon {
    position: relative;
    width: 260px;
    max-width: 70vw;
    aspect-ratio: 9 / 19.5;
    background: var(--bos);
    border: 8px solid var(--inkt);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 22px;
    text-align: center;
}

.telefoon::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 251, 0.35);
}

.telefoon video,
.telefoon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telefoon .label {
    color: var(--sage);
}

.telefoon .telefoon-tekst {
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.2;
    color: var(--creme);
}

.telefoon .telefoon-klein {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 251, 0.7);
}

/* Uitgelicht blok, voor het abonnement */
.uitgelicht {
    background: var(--bos);
    color: var(--creme);
    padding: clamp(32px, 5vw, 56px);
}

.uitgelicht h2,
.uitgelicht h3 {
    color: var(--creme);
}

.uitgelicht p {
    color: rgba(255, 255, 251, 0.78);
}

.uitgelicht .label {
    color: var(--sage);
}

.uitgelicht .grens {
    border-left: 2px solid var(--sage);
    padding-left: 20px;
    margin-top: 28px;
    color: var(--creme);
}

.uitgelicht .knop-lijn {
    color: var(--creme);
    border-color: rgba(255, 255, 251, 0.35);
}

.uitgelicht .knop-lijn:hover {
    border-color: var(--creme);
}

@media (max-width: 720px) {
    .telefoon {
        width: 220px;
    }
}


/* --- Aanvullingen 1.2 ----------------------------------------------------- */

.accordeon-kop {
    margin: 0;
    font: inherit;
}

/* Prijs of getal in een kaart, zonder er een kop van te maken */
.kaartcijfer {
    font-family: var(--serif);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.kaartcijfer a {
    text-decoration: none;
    border-bottom: 1px solid var(--lijn);
}

.kaart-klein {
    font-size: 14px;
    line-height: 1.6;
    color: var(--inkt-zacht);
    margin-top: 12px;
}

.kaartprijs {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.4;
    margin-top: 14px;
}

.meer-diensten {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--zand);
}

.lijst {
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--inkt-zacht);
}

.lijst li {
    margin-bottom: 8px;
}

.verborgen {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Over ons */
.overzicht {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 6vw, 72px);
}

.overzicht-foto {
    flex: 0 1 420px;
}

.overzicht-foto img {
    width: 100%;
    height: auto;
    background: var(--zand);
}

.overzicht-tekst {
    flex: 1 1 0;
    min-width: 0;
    max-width: 520px;
}

.overzicht-tekst h1 {
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.06;
    margin: 20px 0 20px;
}

.overzicht-tekst .lead {
    color: var(--inkt-zacht);
    margin-bottom: 20px;
}

@media (max-width: 1000px) {
    .overzicht {
        flex-direction: column;
    }

    .overzicht-foto {
        flex: 1 1 auto;
        max-width: 420px;
    }
}

/* Groter aanraakvlak voor links in de voet en het menu op mobiel */
@media (max-width: 720px) {
    .voet-kolom ul a,
    .voet-onder ul a {
        display: inline-block;
        padding-block: 9px;
    }
}

/* Een gesloten antwoord mag geen toetsenbordfocus krijgen */
.accordeon-antwoord > div {
    visibility: hidden;
    transition: visibility 0s linear 0.32s;
}

.accordeon-item[data-open="true"] .accordeon-antwoord > div {
    visibility: visible;
    transition-delay: 0s;
}

/* --- Kleurenpalet bij een interieurstijl ---------------------------------- */

.palet {
    display: flex;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--lijn);
    border-radius: 999px;
    overflow: hidden;
}

.palet-vlak {
    flex: 1 1 0;
    height: 34px;
}

/* Een tabel met twee prijskolommen: ook de voorlaatste is een bedrag */
.tabel-tweeprijzen td:nth-last-child(2) {
    font-family: var(--serif);
    font-size: 22px;
}

/* --- Tabellen op een telefoon -------------------------------------------- */
/* Vier of vijf kolommen passen niet op 375 px; de prijs viel buiten beeld.
   Onder 720 px wordt elke rij een blokje met het kolomhoofd voor de waarde. */
@media (max-width: 720px) {
    .tabelwrap {
        overflow-x: visible;
    }

    table {
        min-width: 0;
    }

    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    tbody tr {
        display: block;
        padding: 22px 20px;
        border-bottom: 1px solid var(--zand);
    }

    tbody tr:last-child {
        border-bottom: none;
    }

    tbody td {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 18px;
        padding: 5px 0;
        border: none;
        text-align: right;
    }

    tbody td::before {
        content: attr(data-kop);
        flex: 0 1 auto;
        font-family: var(--sans, inherit);
        font-size: 11px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--inkt-zacht);
        text-align: left;
    }

    tbody td:first-child {
        display: block;
        padding: 0 0 12px;
        font-size: 18px;
        text-align: left;
    }

    tbody td:first-child::before {
        content: none;
    }

    tbody td:last-child,
    .tabel-tweeprijzen tbody td:nth-last-child(2) {
        font-size: 20px;
    }
}

