/* Publieke pagina's van MijnWijnKelder (fase 0.3.1, tweede iteratie): homepage en /privacy.
   Eigen art direction, los van de app. Lettertypen lokaal (SIL OFL 1.1, zie static/fonts/). */

@font-face {
    font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400;
    src: url(/static/fonts/instrument-serif-latin-ext-400-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400;
    src: url(/static/fonts/instrument-serif-latin-400-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: italic; font-display: swap; font-weight: 400;
    src: url(/static/fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: italic; font-display: swap; font-weight: 400;
    src: url(/static/fonts/instrument-serif-latin-400-italic.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.home {
    --creme: #f4efe6;
    --creme-diep: #ebe3d5;
    --inkt: #1d1c19;
    --grafiet: #4a4741;      /* 8:1 op --creme */
    --olijf: #2f3b25;
    --olijf-licht: #a7b483;
    --zand: #9a7448;
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --rond: 28px;
    background: var(--creme);
    color: var(--inkt);
    font-size: 17px;
    line-height: 1.6;
}
.home a { color: inherit; }
.home :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* --- knoppen --- */
.knop {
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
    padding: 0 26px; border-radius: 999px; font: 600 15px/1 'Schibsted Grotesk', system-ui, sans-serif;
    text-decoration: none; letter-spacing: 0.01em; transition: background .2s, color .2s;
}
.knop-licht { background: var(--creme); color: var(--inkt) !important; }
.knop-licht:hover { background: #fff; }
.knop-donker { background: var(--inkt); color: var(--creme) !important; }
.knop-donker:hover { background: var(--olijf); }
.knop-klein { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* --- kop --- */
.kop { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(20px, 3vw, 40px); }
.merk { font-family: var(--serif); font-size: 26px; line-height: 1; text-decoration: none; letter-spacing: 0.005em; }
.kop-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.kop-anker { text-decoration: none; font-size: 15px; opacity: .92; }
.kop-anker:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* --- hero --- */
.hero {
    position: relative; margin: 12px; border-radius: var(--rond); overflow: hidden; color: var(--creme);
    min-height: min(calc(100svh - 24px), 940px); display: flex; flex-direction: column; justify-content: space-between;
}
.hero-beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero-sluier {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(18,14,9,.62) 0%, rgba(18,14,9,.30) 45%, rgba(18,14,9,0) 70%),
        linear-gradient(180deg, rgba(18,14,9,.45) 0%, rgba(18,14,9,0) 22%, rgba(18,14,9,0) 55%, rgba(18,14,9,.55) 100%);
}
.hero .kop, .hero-inhoud { position: relative; }
.hero-inhoud { padding: 0 clamp(20px, 5vw, 72px) clamp(36px, 6vw, 80px); max-width: 880px; }
.bovenregel { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.hero h1 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7.4vw, 108px);
    line-height: .95; letter-spacing: -0.012em; margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: #f6ddb0; }
.hero-lead { font-size: clamp(17px, 1.45vw, 20px); max-width: 46ch; opacity: .92; }
.hero-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.hero-beta { font-size: 14px; max-width: 34ch; opacity: .8; line-height: 1.45; }

/* voorbeeldkaart: bovenaan de beloften, half over de onderrand van de hero */
.beloften-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.kaart {
    position: relative; z-index: 2; flex: 0 0 260px; color: var(--creme);
    margin-top: calc(-1 * clamp(72px, 10vw, 140px) - 120px);
    padding: 20px 22px; border-radius: 20px; background: rgba(27, 30, 20, .92);
    border: 1px solid rgba(244, 239, 230, .16); box-shadow: 0 18px 40px rgba(20, 16, 10, .25);
}
.kaart-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.kaart-wijn { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.kaart-meta { font-size: 13px; opacity: .75; margin-top: 4px; }
.kaart-venster { height: 6px; border-radius: 3px; background: rgba(244,239,230,.18); margin: 16px 0 10px; position: relative; }
.kaart-venster span { position: absolute; left: 22%; width: 54%; top: 0; bottom: 0; border-radius: 3px; background: var(--olijf-licht); }
.kaart-status { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.stip { width: 8px; height: 8px; border-radius: 50%; background: var(--olijf-licht); display: inline-block; }

/* --- secties --- */
.home main { display: block; }
.sectie-titel { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.01em; }

.beloften { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.beloften .sectie-titel { max-width: 16ch; margin-bottom: clamp(40px, 5vw, 72px); }
.beloften-rij { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.belofte .nummer { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--zand); margin-bottom: 18px; }
.belofte h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.belofte p { color: var(--grafiet); }
.beloften-regel { margin-top: clamp(40px, 5vw, 64px); max-width: 82ch; font-size: 15px; color: var(--grafiet); }

.straks { margin: 0 12px; border-radius: var(--rond); background: var(--olijf); color: var(--creme); }
.straks-binnen { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px); }
.label-in-ontwikkeling {
    display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid rgba(244,239,230,.4); border-radius: 999px; padding: 6px 14px; margin-bottom: 26px;
}
.straks .sectie-titel { max-width: 15ch; }
.straks-intro { font-size: clamp(17px, 1.4vw, 19px); opacity: .85; margin: 20px 0 clamp(40px, 5vw, 64px); max-width: 52ch; }
.straks-rij { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.straks h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 10px; color: #f6ddb0; }
.straks-rij p { opacity: .85; }
.straks-noot { margin-top: clamp(36px, 4vw, 56px); font-size: 14px; opacity: .7; }

.advies {
    max-width: 1240px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start;
}
.advies h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.advies p { color: var(--grafiet); max-width: 60ch; }
.advies strong { color: var(--inkt); font-weight: 600; }

.beta-cta {
    margin: 0 12px; border-radius: var(--rond); background: var(--creme-diep); text-align: center;
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}
.beta-cta p { color: var(--grafiet); margin: 16px auto 32px; max-width: 44ch; }

/* --- voet --- */
.voet {
    max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 72px);
    display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 32px; font-size: 14px; color: var(--grafiet); line-height: 1.7;
}
.voet .merk { color: var(--inkt); margin-bottom: 10px; display: block; }
.voet-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--inkt); margin-bottom: 8px; }
.voet a { text-underline-offset: 3px; }

/* --- tekstpagina (privacy) --- */
.kop-licht { max-width: 1240px; margin: 0 auto; color: var(--inkt); }
.artikel { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 40px) clamp(48px, 7vw, 96px); }
.artikel .bovenregel { color: var(--zand); opacity: 1; }
.artikel h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; margin-bottom: 20px; }
.artikel-lead { font-size: 19px; color: var(--grafiet); margin-bottom: 20px; }
.artikel h2 { font-size: 20px; font-weight: 700; margin: 40px 0 8px; }
.artikel p { color: var(--grafiet); }
.voet-kort { display: block; text-align: center; padding-top: 0; }

/* --- responsief --- */
@media (max-width: 960px) {
    .kaart { display: none; }
    .beloften-rij, .straks-rij { grid-template-columns: 1fr; }
    .advies { grid-template-columns: 1fr; }
    .voet { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .kop-anker { display: none; }
    .hero { min-height: 92svh; margin: 8px; border-radius: 22px; }
    .hero-beeld { object-position: 86% 50%; }   /* glas en fles naar rechts, weg van de kop */
    .hero-sluier { background: linear-gradient(180deg, rgba(18,14,9,.40) 0%, rgba(18,14,9,.30) 35%, rgba(18,14,9,.80) 100%); }
    .straks, .beta-cta { margin: 0 8px; border-radius: 22px; }
    .hero-acties .knop { width: 100%; }
    .voet { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .knop { transition: none; } }
