/* De footer (11 nov 2026, partials/footer.hbs). Met de hand geschreven: dit bestand is de bron.
   Ali Abdaal-opbouw (zwevende nieuwsbriefkaart op een zacht vlak met een boog, productkaarten, ronde social-knoppen,
   drie linkkolommen) in de kleuren van ons thema: #191919, kaarten #222/#252525, accent #008CFF, witte pil-knop. */

html.dark-mode .site-footer.voet {
    margin-top: max(10vmin, 64px);
    padding: 0 0 40px;
    background: #191919;
}
.voet .inner { display: block; text-align: left; }
html.dark-mode .site-footer.voet { padding-left: max(4vmin, 16px); padding-right: max(4vmin, 16px); }
.voet a { text-decoration: none; }

/* ---------- 1. De nieuwsbriefkaart ---------- */
.voet-lijst {
    position: relative;
    padding: 56px clamp(16px, 4vw, 56px) 64px;
    border-radius: 28px;
    background:
        radial-gradient(120% 90% at 50% -30%, rgba(0, 140, 255, 0.16), transparent 60%),
        #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    scroll-margin-top: 100px;
}
/* de boog bovenin, zoals bij Ali */
.voet-lijst::before {
    content: "";
    position: absolute;
    left: -10%; right: -10%; top: -62%;
    height: 100%;
    border-radius: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.voet-lijst-kaart {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4.5vw, 56px);
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.voet-lijst-boven {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(2.1rem, 2.6vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.voet-lijst-titel {
    position: relative;
    display: block;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(3rem, 4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.voet-lijst-vliegtuig {
    display: inline-block;
    width: 54px; height: 34px;
    margin-left: 8px;
    vertical-align: top;
    color: #008CFF;
    transform: translateY(-10px) rotate(-8deg);
}
.voet-lijst-van {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.45rem;
    line-height: 1.45;
}
.voet-lijst-foto {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #008CFF;
    flex-shrink: 0;
}
.voet-lijst-tekst {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.75rem;
    line-height: 1.6;
}

/* het formulier: veld met de knop erin (zelfde pil als de hero) */
.voet-form-rij {
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 22px;
    background: #191919;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    transition: border-color .2s, box-shadow .2s;
}
.voet-form-rij:focus-within {
    border-color: rgba(0, 140, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.15);
}
.voet-form-veld {
    flex: 1;
    min-width: 0;
    padding: 11px 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 1.55rem;
}
.voet-form-veld::placeholder { color: rgba(255, 255, 255, 0.38); }
.voet-form-knop {
    flex-shrink: 0;
    padding: 12px 24px;
    background: #fff;
    color: #191919;
    border: 0;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}
.voet-form-knop:hover { opacity: .9; }
.voet-form.loading .voet-form-knop { opacity: .6; pointer-events: none; }
.voet-form-gelukt, .voet-form-fout { display: none; margin: 12px 0 0; font-size: 1.45rem; }
.voet-form-gelukt { color: #4ade80; }
.voet-form-fout { color: #f87171; }
.voet-form.success .voet-form-rij { display: none; }
.voet-form.success .voet-form-gelukt,
.voet-form.error .voet-form-fout { display: block; }
.voet-form-klein {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1.25rem;
    line-height: 1.55;
}
.voet-form-klein a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }

/* lid */
.voet-lid { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.voet-lid-kop { margin: 0; color: #4ade80; font-size: 1.6rem; font-weight: 600; }
.voet-lid-knop {
    display: inline-block;
    padding: 12px 22px;
    background: #fff;
    color: #191919 !important;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ---------- 2. De producten ---------- */
.voet-producten {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 24px;
    margin: 56px 0 0;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.voet-product { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.voet-product-beeld {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630; /* 11 nov: zelfde vorm als de productkaarten op de homepage, zodat het Codehustle-beeld er helemaal op staat */
    margin-bottom: 16px;
    overflow: hidden;
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    transition: border-color .2s, transform .25s;
}
.voet-product:hover .voet-product-beeld { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-3px); }
.voet-product-beeld img { width: 100%; height: 100%; object-fit: cover; }
.voet-product-leeg {
    display: flex; align-items: center; justify-content: center;
    height: 100%; padding: 16px;
    color: rgba(255, 255, 255, 0.35); font-size: 1.8rem; font-weight: 700;
}
/* 11 nov (Thijs): het gouden "Aanbevolen" is weg; onder de titel van Codehustle een klein "Nieuw"-labeltje */
.voet-product { position: relative; }
/* "Nieuw" als subtiel vlaggetje: zachte mint, inkeping rechts, geen stip (rand = buitenlaag, vulling = ::before) */
.voet-nieuw {
    position: absolute; z-index: 3;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 1px;
    background: rgba(110, 231, 183, 0.45);
    border-radius: 5px 0 0 5px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}
.voet-nieuw::before {
    content: "";
    position: absolute; inset: 1px;
    border-radius: 4px 0 0 4px;
    background: linear-gradient(90deg, #17362c, #1d4134);
    clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%);
}
.voet-nieuw span {
    position: relative;
    display: block;
    padding: 3px 15px 3px 8px;
    color: #e3fbf1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    line-height: 1.4;
}
.voet-product-vak { position: relative; display: block; width: 100%; margin-bottom: 28px; }
.voet-product-vak .voet-product-beeld { margin-bottom: 0; }
.voet-product-kaartje {
    position: absolute; z-index: 2;
    left: 50%; bottom: -15px;
    transform: translateX(-50%);
    max-width: calc(100% - 12px);
    padding: 6px 13px;
    border-radius: 50px;
    background: #fff;
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
@media (max-width: 600px) { .voet-product-kaartje { white-space: normal; width: max-content; font-size: 1.1rem; padding: 5px 10px; } }
.voet-product-titel {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
}
.voet-product:hover .voet-product-titel { text-decoration-color: #008CFF; }
.voet-product-tekst {
    margin-top: 8px;
    max-width: 32ch;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.4rem;
    line-height: 1.5;
}

/* ---------- 3. Naam, socials, links ---------- */
.voet-onder {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.voet-naam { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.01em; }
.voet-naam-foto { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.14); }
.voet-zin { margin: 8px 0 18px; max-width: 30ch; color: rgba(255, 255, 255, 0.5); font-size: 1.4rem; line-height: 1.55; }
.voet-zin-content { margin: 0 0 12px; color: #fff; font-size: 1.45rem; font-weight: 600; }
.voet-social { display: flex; flex-wrap: wrap; gap: 10px; }
.voet-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    transition: background .2s, color .2s;
}
.voet-social a:hover { background: #008CFF; color: #fff; border-color: #008CFF; }
.voet-social svg { width: 17px; height: 17px; fill: currentColor; }
.voet-kolom { display: flex; flex-direction: column; gap: 12px; }
.voet-kolom h3 { margin: 0 0 6px; color: #fff; font-size: 1.45rem; font-weight: 700; }
.voet-kolom a {
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.45rem;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.18);
    text-underline-offset: 4px;
    transition: color .2s, text-decoration-color .2s;
}
.voet-kolom a:hover { color: #fff; text-decoration-color: #008CFF; }
.voet-regel {
    display: flex; gap: 18px; flex-wrap: wrap;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.3rem;
}
.voet-regel a { color: rgba(255, 255, 255, 0.45); text-decoration: underline; text-underline-offset: 3px; }
/* 11 nov (Thijs): blauwe knop rechts in de onderste balk; op mobiel onder de regel, volle breedte */
.voet-regel { align-items: center; }
.voet-regel a.voet-regel-knop {
    margin-left: auto;
    padding: 11px 20px;
    border-radius: 50px;
    background: #008CFF;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0, 140, 255, 0.25);
    transition: background .2s, transform .2s;
}
.voet-regel a.voet-regel-knop:hover { background: #2b9dff; transform: translateY(-1px); }
@media (max-width: 560px) {
    .voet-regel a.voet-regel-knop { flex-basis: 100%; margin-left: 0; text-align: center; padding: 14px 20px; }
}

/* ---------- Telefoon ---------- */
@media (max-width: 860px) {
    .voet-lijst-kaart { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .voet-onder { grid-template-columns: 1fr 1fr 1fr; gap: 32px 20px; }
    .voet-merk { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .voet-lijst { padding: 28px 12px 32px; border-radius: 22px; }
    .voet-lijst-kaart { padding: 26px 20px; border-radius: 18px; }
    .voet-lijst-vliegtuig { width: 44px; height: 28px; }
    .voet-lijst-tekst { font-size: 1.6rem; }
    .voet-form-rij { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px; border-radius: 16px; }
    .voet-form-veld { padding: 12px 14px; }
    .voet-form-knop { border-radius: 12px; padding: 14px; }
    .voet-producten { gap: 24px 14px; margin-top: 40px; padding-bottom: 40px; }
    .voet-product { flex-basis: calc(50% - 7px); }
    .voet-product-titel { font-size: 1.55rem; }
    .voet-product-tekst { font-size: 1.3rem; }
    .voet-onder { grid-template-columns: 1fr 1fr; padding-top: 40px; }
    .voet-onder .voet-kolom:last-child { grid-column: auto; }
}
