/* ==========================================================
   Designed by Anke | landingspagina "persoonlijk notitieboek"
   Eigen stylesheet, los van de Tailwind-build (site.css).
   ========================================================== */

:root {
    --inkt:        #294269;   /* donkerblauw, koppen en lijnen */
    --tekst:       #2E3445;   /* lopende tekst, licht naar blauw getint */
    --zacht:       #5A6378;   /* bijschriften */
    --roze:        #CA747B;   /* accent, handschrift, lijnen */
    --roze-diep:   #B05A62;   /* knoppen (contrast 4,7 met wit) */
    --roze-donker: #974A51;   /* knop hover */
    --papier:      #FAF7F4;   /* gebroken wit, basis */
    --vel:         #FFFDFB;   /* los vel papier, polaroid */
    --blos:        #F7ECED;   /* lichtroze vlak */
    --lijn:        rgba(41, 66, 105, .14);
    --tape:        rgba(226, 209, 186, .72);

    --hand:  'Satisfy', 'Segoe Script', cursive;
    --kop:   Georgia, 'Times New Roman', serif;
    --romp:  'Nunito', system-ui, sans-serif;

    --breed: 72rem;
    --uit:   cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--papier);
    color: var(--tekst);
    font-family: var(--romp);
    font-size: 1.0625rem;
    line-height: 1.65;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--inkt); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--roze-diep);
    outline-offset: 3px;
}

h1, h2, h3 { font-family: var(--kop); color: var(--inkt); font-weight: 400; margin: 0; }
p { margin: 0; }

.binnen { max-width: var(--breed); margin: 0 auto; padding: 0 1.5rem; }

.hand { font-family: var(--hand); color: var(--roze-diep); font-weight: 400; line-height: 1.2; }

/* ---------- Knoppen ---------- */
.knop {
    display: inline-block;
    background: var(--roze-diep);
    color: #fff;
    text-decoration: none;
    font-size: .98rem;
    padding: .95rem 1.75rem;
    border-radius: 2px;
    transition: background-color .25s var(--uit), transform .25s var(--uit);
}
.knop:hover { background: var(--roze-donker); transform: translateY(-1px); }

.pijllink {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--inkt); text-decoration: none; font-size: .98rem;
    border-bottom: 1px solid var(--roze);
    padding-bottom: 2px;
}
.pijllink svg { width: 22px; height: 11px; transition: transform .25s var(--uit); }
.pijllink:hover svg { transform: translateX(4px); }

/* ---------- Kopregel ---------- */
.kopregel { border-bottom: 1px solid var(--lijn); background: var(--papier); position: relative; z-index: 20; }
.kopregel .binnen { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; gap: 1.5rem; }
.kopregel .logo img { width: 300px; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--inkt); }
.nav a:not(.knop):hover { color: var(--roze-diep); }
.nav .knop { padding: .6rem 1.15rem; font-size: .9rem; color: #fff; }

.menu { display: none; position: relative; }
.menu summary {
    list-style: none; cursor: pointer; font-size: .95rem; color: var(--inkt);
    border: 1px solid var(--inkt); padding: .45rem .9rem; border-radius: 2px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
    position: absolute; right: 0; top: calc(100% + .6rem);
    background: var(--vel); border: 1px solid var(--lijn);
    box-shadow: 0 12px 30px rgba(41,66,105,.12);
    padding: 1rem 1.25rem; display: grid; gap: .7rem; min-width: 13rem;
}
.menu nav a { text-decoration: none; color: var(--inkt); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero .binnen { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .groet { font-size: clamp(1.7rem, 3vw, 2.2rem); transform: rotate(-2deg); transform-origin: left; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 1.6rem; }
.onderstreept { position: relative; white-space: nowrap; }
.onderstreept svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .42em; overflow: visible; }
.onderstreept .streep { stroke-dasharray: 1; stroke-dashoffset: 1; animation: teken 2s cubic-bezier(.65, 0, .35, 1) .9s forwards; }
.hero .intro { font-size: 1.15rem; max-width: 34rem; margin-bottom: 2.2rem; }
.hero .acties { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

.schetsvel {
    position: relative;
    background: var(--vel);
    padding: 1.6rem 1.4rem 1.2rem;
    box-shadow: 0 1px 0 rgba(41,66,105,.05), 0 18px 40px -18px rgba(41,66,105,.28);
    transform: rotate(1.4deg);
    background-image: radial-gradient(rgba(41,66,105,.13) 1px, transparent 1.2px);
    background-size: 18px 18px;
}
.schetsvel::before, .polaroid::before {
    content: ""; position: absolute; top: -14px; left: 50%;
    width: 110px; height: 28px; background: var(--tape);
    transform: translateX(-50%) rotate(-3deg);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.briefje {
    position: absolute; right: -10px; bottom: -26px;
    background: var(--blos); padding: .8rem 1.1rem .9rem;
    transform: rotate(-4deg);
    box-shadow: 0 10px 22px -12px rgba(41,66,105,.35);
    text-align: center;
}
.briefje .hand { font-size: 1.45rem; color: var(--inkt); display: block; }
.briefje small { font-size: .8rem; color: var(--zacht); }

/* teken-animatie van de schets */
.schets .lijn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: teken 3s var(--uit) forwards; }
.schets .lijn:nth-child(n+4)  { animation-delay: .6s; }
.schets .lijn:nth-child(n+9)  { animation-delay: 1.2s; }
.schets .lijn:nth-child(n+14) { animation-delay: 1.8s; }
.schets .lijn:nth-child(n+18) { animation-delay: 2.4s; }
.schets .notitie { opacity: 0; animation: verschijn 1.5s var(--uit) 3.6s forwards; }
@keyframes teken { to { stroke-dashoffset: 0; } }
@keyframes verschijn { to { opacity: 1; } }

/* ---------- Herken je dit ---------- */
.herken { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--vel); border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.herken .binnen { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.herken h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 1.2rem; }
.herken .sub { color: var(--zacht); max-width: 24rem; }
.blocnote {
    position: relative;
    background-color: var(--vel);
    background-image:
        linear-gradient(90deg, transparent 3.4rem, rgba(202,116,123,.45) 3.4rem, rgba(202,116,123,.45) calc(3.4rem + 1px), transparent calc(3.4rem + 1px)),
        repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.6rem - 1px), rgba(41,66,105,.12) calc(2.6rem - 1px), rgba(41,66,105,.12) 2.6rem);
    padding: 1.3rem 1.5rem 1.6rem 4.4rem;
    border: 1px solid var(--lijn);
    box-shadow: 0 18px 40px -26px rgba(41,66,105,.35);
}
.blocnote ul { list-style: none; margin: 0; padding: 0; }
.blocnote li { position: relative; top: -.6rem; line-height: 2.6rem; min-height: 2.6rem; font-size: 1.08rem; }
.blocnote li svg { position: absolute; left: -2.6rem; top: .55rem; width: 1.5rem; height: 1.5rem; }
.blocnote .slot { position: relative; top: -.75rem; margin-top: 0; font-family: var(--hand); color: var(--roze-diep); font-size: 1.65rem; line-height: 2.6rem; }

/* ---------- Over mij ---------- */
.overmij { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.overmij .binnen { display: grid; grid-template-columns: 22rem 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.polaroid {
    position: relative; background: var(--vel);
    padding: .9rem .9rem 0;
    box-shadow: 0 22px 44px -22px rgba(41,66,105,.4);
    transform: rotate(-2.5deg);
}
.polaroid figcaption { font-family: var(--hand); color: var(--inkt); font-size: 1.6rem; text-align: center; padding: .7rem 0 .9rem; }
.overmij h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 1.6rem; }
.overmij .tekst { max-width: 38rem; }
.overmij .tekst p + p { margin-top: 1.1rem; }
.overmij .nadruk { font-family: var(--kop); font-size: 1.3rem; color: var(--inkt); line-height: 1.45; }

/* ---------- Portfolio ---------- */
.werk { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--blos); }
.werk .kop { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.werk h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.werk .kop .hand { font-size: 1.6rem; }
.project { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.project + .project { margin-top: clamp(4rem, 8vw, 6.5rem); }
.project:nth-of-type(even) { grid-template-columns: 1fr 1.3fr; }
.project:nth-of-type(even) .apparaten { order: 2; }
.apparaten { position: relative; display: block; padding: 0 9% 9% 0; text-decoration: none; }
.project:nth-of-type(even) .apparaten { padding: 0 0 9% 9%; }
.scherm {
    display: block; background: var(--vel); padding: .7rem .7rem .8rem;
    box-shadow: 0 20px 40px -24px rgba(41,66,105,.45);
    transform: rotate(-1deg); transition: transform .4s var(--uit);
}
.project:nth-of-type(even) .scherm { transform: rotate(1deg); }
.scherm img, .mobiel img { display: block; width: 100%; height: auto; }
.scherm .balk { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .3rem .55rem; }
.scherm .balk i { width: 42%; height: 9px; border-radius: 5px; border: 1.2px solid rgba(41,66,105,.3); }
.scherm .balk .vensterknoppen { width: 46px; height: 9px; color: rgba(41,66,105,.45); flex-shrink: 0; }
.mobiel {
    position: absolute; right: 0; bottom: 0; width: 24%;
    background: var(--inkt); padding: .45rem .35rem; border-radius: 1.1rem;
    box-shadow: 0 18px 34px -16px rgba(41,66,105,.6);
    transform: rotate(2deg); transition: transform .4s var(--uit);
}
.mobiel img { border-radius: .75rem; }
.project:nth-of-type(even) .mobiel { right: auto; left: 0; transform: rotate(-2deg); }
.apparaten:hover .scherm, .apparaten:focus-visible .scherm { transform: rotate(0deg) translateY(-3px); }
.apparaten:hover .mobiel, .apparaten:focus-visible .mobiel { transform: rotate(0deg) translateY(-6px); }
.project .soort { font-family: var(--hand); color: var(--roze-diep); font-size: 1.35rem; }
.project h3 { font-size: 1.6rem; margin: .1rem 0 .2rem; }
.project .waar { font-size: .9rem; color: var(--zacht); margin-bottom: .8rem; }
.project p.uitleg { max-width: 30rem; }
.project .pijllink { margin-top: 1rem; }

/* ---------- Werkwijze ---------- */
.werkwijze { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.werkwijze h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.werkwijze .sub { color: var(--zacht); max-width: 34rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; position: relative; }
.stappen::before {
    content: ""; position: absolute; left: 2rem; right: 2rem; top: 1.75rem; height: 2px;
    background-image: linear-gradient(90deg, var(--roze) 55%, transparent 0);
    background-size: 12px 2px; opacity: .55;
}
.stap { position: relative; }
.stap .nr {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 3.5rem; height: 3.5rem; margin-bottom: 1.2rem;
    font-family: var(--hand); font-size: 1.9rem; color: var(--roze-diep);
    background: var(--papier);
}
.stap .nr svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stap h3 { font-family: var(--romp); font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; }
.stap p { font-size: .98rem; }
.stap .opmerking { font-family: var(--hand); color: var(--roze-diep); font-size: 1.3rem; margin-top: .6rem; transform: rotate(-2deg); transform-origin: left; }

/* ---------- Aanbod ---------- */
.aanbod { padding: clamp(4.5rem, 10vw, 7.5rem) 0; background: var(--vel); border-top: 1px solid var(--lijn); }
.aanbod .kop { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.aanbod h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.aanbod .kop p { color: var(--zacht); max-width: 30rem; }
.kaarten { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 1.6rem; align-items: stretch; }
.kaart {
    position: relative; display: flex; flex-direction: column;
    background: var(--papier); border: 1px solid var(--lijn);
    padding: 2rem 1.8rem 1.8rem;
}
.kaart.uitgelicht { background: var(--vel); border-color: var(--roze); box-shadow: 0 24px 46px -28px rgba(41,66,105,.45); }
.kaart h3 { font-family: var(--romp); font-weight: 700; font-size: 1.1rem; }
.kaart .prijs { font-family: var(--kop); font-size: 2.5rem; color: var(--inkt); line-height: 1.1; margin-top: .6rem; }
.kaart .btw { font-size: .82rem; color: var(--zacht); }
.kaart ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 1.2rem 0 0; border-top: 1px dashed rgba(41,66,105,.22); display: grid; gap: .55rem; }
.kaart li { position: relative; padding-left: 1.6rem; font-size: .98rem; }
.kaart li svg { position: absolute; left: 0; top: .35rem; width: 1rem; height: 1rem; }
.kaart .knop, .kaart .knop-rand { margin-top: auto; text-align: center; }
.knop-rand {
    display: inline-block; text-decoration: none; color: var(--inkt);
    border: 1px solid var(--inkt); padding: .9rem 1.5rem; border-radius: 2px; font-size: .98rem;
    transition: background-color .25s var(--uit), color .25s var(--uit);
}
.knop-rand:hover { background: var(--inkt); color: #fff; }
.kaart .krabbel { position: absolute; top: -1.15rem; right: 1.2rem; font-size: 1.45rem; transform: rotate(4deg); background: var(--vel); padding: 0 .4rem; }
.voetnoot { font-size: .85rem; color: var(--zacht); margin-top: 1.2rem; }
.nazorg { margin-top: 2.2rem; max-width: 46rem; font-size: .98rem; }
.nazorg strong { color: var(--inkt); font-weight: 700; }

/* ---------- Contact ---------- */
.contact { padding: clamp(4.5rem, 10vw, 7.5rem) 0; background: var(--blos); }
.contact .binnen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.1rem); line-height: 1.12; margin-bottom: 1.3rem; }
.contact .intro p + p { margin-top: .8rem; }
.contact .knop { margin-top: 2rem; }
.gegevens { list-style: none; margin: 2.4rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid rgba(41,66,105,.16); display: grid; gap: .6rem; font-size: .98rem; }
.gegevens a { text-decoration: none; }
.gegevens a:hover { color: var(--roze-diep); }

.formulier {
    position: relative; background: var(--vel); padding: 2rem 1.8rem 1.8rem;
    box-shadow: 0 24px 46px -28px rgba(41,66,105,.45);
}
.formulier .hand.titel { font-size: 1.7rem; margin-bottom: 1rem; display: block; color: var(--inkt); }
.veld { margin-bottom: 1.1rem; }
.veld label { display: block; font-size: .88rem; color: var(--inkt); margin-bottom: .35rem; }
.veld input, .veld textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--tekst);
    background: var(--papier); border: 0; border-bottom: 1.5px solid rgba(41,66,105,.3);
    padding: .65rem .2rem; border-radius: 0;
    transition: border-color .2s var(--uit);
}
.veld textarea { resize: vertical; min-height: 7.5rem; }
.veld input:focus, .veld textarea:focus { outline: none; border-bottom-color: var(--roze-diep); }
.veld input::placeholder, .veld textarea::placeholder { color: rgba(41,66,105,.42); }
.formulier .knop { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.formulier .klein { font-size: .82rem; color: var(--zacht); margin-top: .9rem; }
.verborgen { position: absolute; left: -9999px; }
#form-feedback { display: none; font-size: .95rem; padding: .8rem 1rem; margin-bottom: 1rem; background: var(--papier); }
#form-feedback.fb-ok  { display: block; border: 1px solid var(--roze); color: var(--inkt); }
#form-feedback.fb-err { display: block; border: 1px solid #B42318; color: #B42318; }

/* ---------- Voet ---------- */
.voet { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--lijn); font-size: .92rem; }
.voet .binnen { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.voet .merk { font-family: var(--hand); font-size: 1.8rem; color: var(--inkt); }
.voet .regel { color: var(--zacht); margin-top: .4rem; max-width: 18rem; }
.voet .kopje { font-family: var(--romp); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--zacht); font-weight: 600; margin: 0 0 .8rem; }
.voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--roze-diep); }
.voet .kvk { color: var(--zacht); font-size: .82rem; margin-top: .6rem; }
.voet .copy { grid-column: 1 / -1; border-top: 1px solid var(--lijn); padding-top: 1.4rem; margin-top: 1rem; color: var(--zacht); font-size: .82rem; }

/* ---------- Klein scherm ---------- */
@media (max-width: 900px) {
    .nav { display: none; }
    .menu { display: block; }
    .kopregel .logo img { width: 220px; }
    .hero .binnen, .herken .binnen, .overmij .binnen, .contact .binnen, .aanbod .kop { grid-template-columns: 1fr; }
    .schetsvel { width: 100%; max-width: 30rem; margin: 1.5rem auto 2rem; }
    .overmij .binnen { justify-items: start; }
    .polaroid { max-width: 18rem; }
    .project, .project:nth-of-type(even) { grid-template-columns: 1fr; }
    .project:nth-of-type(even) .apparaten { order: 0; padding: 0 9% 9% 0; }
    .project:nth-of-type(even) .mobiel { left: auto; right: 0; }
    .apparaten { max-width: 36rem; }
    .kaarten { grid-template-columns: 1fr; }
    .stappen { grid-template-columns: 1fr 1fr; }
    .stappen::before { display: none; }
    .voet .binnen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .stappen { grid-template-columns: 1fr; }
    .onderstreept { white-space: normal; }
    .briefje { right: 0; }
    .voet .binnen { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .schets .lijn { animation: none; stroke-dashoffset: 0; }
    .schets .notitie { animation: none; opacity: 1; }
    .onderstreept .streep { animation: none; stroke-dashoffset: 0; }
    .knop, .scherm, .mobiel, .pijllink svg { transition: none; }
}

/* ==========================================================
   Subpagina's: privacy en algemene voorwaarden
   ========================================================== */
.terug { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--inkt); font-size: .95rem; }
.terug svg { width: 22px; height: 11px; transform: scaleX(-1); transition: transform .25s var(--uit); }
.terug:hover svg { transform: scaleX(-1) translateX(4px); }
.terug:hover { color: var(--roze-diep); }

.subkop { background: var(--blos); padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 3.5rem); }
.subkop .smal, .juridisch { max-width: 48rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.subkop .hand { font-size: 1.7rem; transform: rotate(-2deg); transform-origin: left; margin-bottom: .4rem; }
.subkop h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1.1; }
.subkop .meta { color: var(--zacht); margin-top: .9rem; font-size: .95rem; }

.juridisch { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.juridisch .artikel + .artikel { border-top: 1px dashed rgba(41,66,105,.22); margin-top: 2.2rem; padding-top: 2.2rem; }
.juridisch h2 { font-size: 1.4rem; line-height: 1.3; margin-bottom: .9rem; }
.juridisch p + p, .juridisch p + ul, .juridisch ul + p, .juridisch p + ol, .juridisch p + dl { margin-top: .9rem; }
.juridisch ol, .juridisch ul { margin: 0; padding-left: 1.35rem; }
.juridisch ul { list-style: disc; }
.juridisch li + li { margin-top: .5rem; }
.juridisch li::marker { color: var(--roze-diep); }
.juridisch strong { color: var(--inkt); font-weight: 700; }
.juridisch dl { margin: 0; }
.juridisch dl div + div { margin-top: .55rem; }
.juridisch dt { display: inline; font-weight: 700; color: var(--inkt); }
.juridisch dd { display: inline; margin: 0; }
.juridisch .versie { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--lijn); font-size: .85rem; color: var(--zacht); }

@media print {
    .kopregel, .voet, .terug { display: none !important; }
    .subkop { background: none; padding: 0 0 1rem; }
    body { background: #fff; }
}
